QC View v's QC Renderer performance?

I'm very new at this - I've made a small cocoa app with a Quartz Composition to display a live feed from a firewire connected DV camera. I used QC View to add the composition into a window and have a QCPatchController to allow the user to change a few published settings.
With standard DV input the performance is fine, but the app does use about 30-40% of the processor's on a Dual G5 2.0. However I am also trying to make the app work with a DVCPRO HD input which is a more processor intensive codec and the performance for this is unusable.
In reading on a bit further, it seems that what I should do now is to use QC Renderer to play the composition. Does this allow greater performance with the overlay as its using an 'OpenGL context'?
What's not entirely clear to me is what advantage I will get by using the QCRenderer - obviously its a lot more about actual code writing but the Apple doc,s have gotten me this far!
Alternatively, perhaps I should be using QTKit instead of a Quartz Composition - the main features must be allow live preview of video input, allow real time 180 degree rotation and real time de-saturation.
Any insight's much appreciated.
Mark
P.S - Here is the current app:
http://homepage.mac.com/mark.burton/app/FlipFlop.zip

.

Similar Messages

  • How to write a  SQL based on a  view can get the best performance ?

    Hi ,
        I am thinking about performance of  sql based on VIEW .<b>For the best performance ,How to do when I create  and use a view ?</b>  for example , Should i use key in my where clause as select data from table?  (of cause ,this key refers to the key of table which structure the view. ) , <b>Could you give me any advice on creating and using view in term of performance</b> ?

    Hi Guixin Chen,
    Performance depends on various factors. The major key factors are:
    1.  Result Set should be Small
    2.  Amount of Data Transferred should be minimum.
    3.  Number of Data Transfers should be minimum.
    4.  Search Overhead should be minimum.
    5.  Database Load should be minimum.
    For more details, check the following docs.
    <b>Performance Notes</b>
    http://help.sap.com/saphelp_nw04s/helpdata/en/fc/eb3b7e358411d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/5b/320c40ac368f5ce10000000a155106/frameset.htm
    You can also check Performance by,
    1.  Transaction code ST05
    2.   From ABAP Workbench using the menu path Test Performance Trace.
    Dont forget to reward pts, if it helps ;>)
    Regards,
    Rakesh.

  • Design view of jspx not rendering : Error exercising tag : afh:head

    I'm using JDeveloper 10.1.3.4 and I have an intermittent problem where by the jspx does not render correctly in design view - it just shows a whole load of nested boxes.
    By following a suggestion from another website I turned on "Design time messages in log" in jdeveloper JSP visual editor preferences.
    The error messages being sent to the log window are :
    Error exercising tag : afh:head
    java.lang.NullPointerException
         at oracle.adfinternal.view.faces.renderkit.AdfRenderingContext.getTranslatedString(AdfRenderingContext.java:70)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.jsLibs.GlobalVariablesScriptlet.outputScriptletContent(GlobalVariablesScriptlet.java:49)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.jsLibs.Scriptlet.outputScriptletImpl(Scriptlet.java:111)
    Error exercising tag : af:forEach
    javax.servlet.jsp.JspTagException: 'begin' and 'end' should be specified if 'items' is not specified
         at oracle.adfinternal.view.faces.taglib.ForEachTag._validateAttributes(ForEachTag.java:320)
         at oracle.adfinternal.view.faces.taglib.ForEachTag.doStartTag(ForEachTag.java:93)
    Error exercising tag : afh:body
    java.lang.NullPointerException
         at oracle.adfinternal.view.faces.renderkit.core.CoreAdfRenderingContext.getStyleClass(CoreAdfRenderingContext.java:211)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.XhtmlRenderer.renderStyleClass(XhtmlRenderer.java:338)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer._renderLibraryDownloadElement(PanelPartialRootRenderer.java:480)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.renderPPRSupport(PanelPartialRootRenderer.java:340)
    How can I fix this ?
    Cheers,
    Brent

    Hi Didier,
    Sorry, intermittent problem is not very descriptive ! What I actually meant is that some of my applications have the problem while others dont. Once the problem exists, it always does regardless of restarting JDeveloper.
    Starting JDeveloper using the console provided similar error message to outputting the JSP visual editor to the log file :
    SEVERE: Element End name:head does not match start name:script
    04-Dec-2009 17:28:38 oracle.adfinternal.view.faces.io.HtmlResponseWriter endElem
    ent
    SEVERE: Element End name:html does not match start name:div
    Reading other posts, problems seemed to stem from errors within the faces-config or web.xml files so I compared them between apps displaying pages correctly and ones that weren't. I found a difference in the filter-mapping section of the web.xml. Changing the entries to match the applications that displayed correctly has worked !!
    The entries for the apps that didn't display correctly :
        <filter-mapping>
            <filter-name>adfFaces</filter-name>
            <servlet-name>Faces Servlet</servlet-name>
            <dispatcher>FORWARD</dispatcher>
            <dispatcher>REQUEST</dispatcher>
        </filter-mapping>
        <filter-mapping>
            <filter-name>adfBindings</filter-name>
            <url-pattern>*.jsp</url-pattern>
        </filter-mapping>
        <filter-mapping>
            <filter-name>adfBindings</filter-name>
            <url-pattern>*.jspx</url-pattern>
        </filter-mapping> 
      <filter-mapping>
        <filter-name>adfBindings</filter-name>
        <servlet-name>ordDeliverMedia</servlet-name>
      </filter-mapping>
      <filter-mapping>
        <filter-name>jhsAuthenticationFilter</filter-name>
        <url-pattern>*.jsp</url-pattern>
      </filter-mapping>
      <filter-mapping>
        <filter-name>jhsAuthenticationFilter</filter-name>
        <url-pattern>*.jspx</url-pattern>
      </filter-mapping>... and the entries for the apps that did display correctly :
        <filter-mapping>
            <filter-name>adfFaces</filter-name>
            <url-pattern>*.jsp</url-pattern>
        </filter-mapping>
        <filter-mapping>
            <filter-name>adfFaces</filter-name>
            <url-pattern>*.jspx</url-pattern>
            <dispatcher>REQUEST</dispatcher>
            <dispatcher>FORWARD</dispatcher>
        </filter-mapping>
        <filter-mapping>
            <filter-name>adfBindings</filter-name>
            <url-pattern>*.jsp</url-pattern>
        </filter-mapping>
        <filter-mapping>
            <filter-name>adfBindings</filter-name>
            <url-pattern>*.jspx</url-pattern>
            <dispatcher>REQUEST</dispatcher>
            <dispatcher>FORWARD</dispatcher>
        </filter-mapping>
        <filter-mapping>
            <filter-name>adfBindings</filter-name>
            <servlet-name>ordDeliverMedia</servlet-name>
        </filter-mapping>
        <filter-mapping>
            <filter-name>jhsAuthenticationFilter</filter-name>
            <url-pattern>*.jsp</url-pattern>
        </filter-mapping>
        <filter-mapping>
            <filter-name>jhsAuthenticationFilter</filter-name>
            <url-pattern>*.jspx</url-pattern>
        </filter-mapping>Somehow the filter-mapping entries for the adfFaces and adfBindings filter got all screwed ? Strange as the application has always worked fine, the only (obvious) problem has been the jspx pages not rendering properly in design view.
    Once updating the web.xml with the correct value for these two entries, the pages are displayed correctly :)
    While I don't like blindly making changes like this to the web.xml - the application still seems to function !
    Cheers,
    Brent

  • JSF Design View broken? Fallback Rendering, "Render Kit" not found

    Hi,
    I just wanted to toy around with JDeveloper 11g TP3, created a new project, added technology scope JSF (+ JSP/Servlets, etc.) then the tag-library ADF Faces Component 11-ji3.
    Then I created a data control from a POJO and wanted to visualize this within a JSF page. So I created one (via faces-config visual editor), dragged the appropriate getter-method to the page in the up-to-this-point working WYSIWYG editor, selected ADF-read-only-form and suddenly found myself in the JSF "alternate rendering" (a view like in an hierachical XML editor). I enabled "design time messages in log" to see what the problem was.
    Stopping/Starting JDeveloper or removing tag libraries like suggested in other threads did not work. I was unable to reactivate the wysiwyg editor for this page or any new JSF page in this application, always the "alternate rendering".
    Log said "oracle.sql.OraData" was missing, so I added ojdbc6.jar to the project classpath. Didn't help, no wysiwyg editor, log now says:
    --- snip ---
    18.02.2008 14:12:37 oracle.adfinternal.view.faces.lifecycle.LifecycleImpl _isPostback
    WARNUNG: Render Kit konnte nicht gefunden werden
    WARNING: A problem was encountered executing the page. Using fallback rendering.
    java.lang.NullPointerException
         at org.apache.myfaces.trinidad.util.Service.getService(Service.java:82)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl._getExtendedRenderKitService(ViewHandlerImpl.java:333)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:154)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:633)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:244)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:204)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
    --- end ---
    I have this error even for newly created (ie blank/HelloWorld) JSF pages in my application. I started adding some libraries, but nothing helped. How do I reactivate the wysiwyg editor?
    Thanks!

    Frank,
    thanks for the reply. I will try what you suggested, but the trinidad-config.xml is actually not missing in my project, although it does not include a render kit definition.
    As my first step with 11g I also tried one of the tutorials (http://www.oracle.com/technology/obe/obe11jdev/11/ejb/ejb.html) and there the wysiwyg was working nicely the whole time.
    In both cases (my project == not working wysiwyg editor, tutorial == nicely working wysiwyg editor) the content of the trinidad-config.xml is the same:
    --- trinidad-config.xml ---
    <?xml version="1.0" encoding="windows-1252"?>
    <trinidad-config xmlns="http://myfaces.apache.org/trinidad/config">
    <skin-family>blafplus-rich</skin-family>
    </trinidad-config>
    --- end-of-file ---
    Rgds
    Axel

  • Materialized View Logs on OLTP DB- Performance issues

    Hi All,
    We have a request to check what would be the performance impact of having Matirialized View (with FAST refresh each 5 and each 30 min).
    We have been using some APIs( I don't have full details of this job) to refresh tables in Reportign DB and want to switch to MVIEWS in the next release.
    The base tables for this MVs are in DB1 with high DML activity.
    We are planing to create 7 MVs on a reporting DB pointing to the corresponding tables in DB1.
    I am setting up the env with the required tables to test this and also want to know your experiences in implementing Mviews with Fast refresh pointing to a typical OLTP DB as I am new to MVIEWS.
    How it affects the performance of DML statements on base tables?
    How often you had to do complete refresh because of invalid/outdated Mview Logs?
    other Maintenance overheads?
    any possible workarounds?
    Oracle Version: 9.2.0.8
    OS : HP-UX
    Thank you for sharing your experiences.

    Doing incremental refreshes every 5 minutes willadd some amount of load to the OLTP system. Again,
    depending on your environment, that may or may not be
    significant.
    what factors can effet this? Among other things, the size of the materialized view logs that need to be read, which in turn depends on the number of transactions and the setup of the materialized views, the current load on the OLTP system, etc. If you're struggling with an I/O or CPU bottleneck at peak processing now, for example, having a dozen materialized view refresh processes running as well would probably generate noticable delays in the system. If you have plenty of spare CPU & I/O bandwidth, the refreshes will be less noticable.
    is it the same in 10g R2 too? we are upgrading to the
    same in coming October.Streams is far easier to deal with in 10.2.
    Justin

  • JSF Rendering & Performance

    Hi,
    I am using the below code snippet to render my pages based on certain conditions
    <h:form>
    <ui:fragment rendered="#{mybean.pageName eq 'CourseType'}">
    <ui:include src="/pages/courseTypePage.xhtml />
    <ui:fragment>
    <ui:fragment rendered="#{mybean.pageName eq 'ContainerType'}">
    <ui:include src="/pages/containerTypePage.xhtml />
    <ui:fragment>
    <ui:fragment rendered="#{mybean.pageName eq 'MenuType'}">
    <ui:include src="/pages/menuTypePage.xhtml />
    <ui:fragment>
    </h:form>
    I have many pages like this. I wanted to know,
    1. If I use rendered attribute like this, is it a performance hit.Because even if only 1 page is getting rendered, I found it is validating all the pages I have included here when loading the above page. If any invalid code or duplicate id in any of the pages above with rendered attribute value evaluated to false is giving me error.
    2. In the DOM tree, all the pages and its components will be there?
    I tried to build the pageUrl dynamically. but because of some other issues, it is not working fine.
    Can anyone give some light on this. If there is a better approach, could you please suggest.
    Any help will be greatly appreciated.
    Thanks,
    Sreejith

    1. A Facelet pages gets parsed and then it gets put into a Facelets cache (this cache I consider the compiled version of a Facelet page).You can consider it what you like, but there is still no compilation step. JSPs are compiled. Facelets pages are parsed and then interpreted. It isn't the same thing. You don't get anywhere by misusing standard terminology except to create unnecessary confusion.
    And EJP, if you think he should not be doing it this way please do tell how you would do it. Instead of just saying I wouldn't.I did. I said to use an id-scoping container instead of ui:fragment. You missed it.
    (I think this is taken out of context. I am trying to express that I am here to help not to pass the ultimate judgment on what should be done. If an example can accomplish what they are trying to do I would say it is right, if it would not do that I would say it is wrong).I must have missed the part where you provided any example at all, let alone one that was right or wrong.

  • In accurate live view with Phone spec rendering?

    I find the live view iphone rendering to be basicly unreliable. Can not use it. It renders at 2x or 1/2 size? Is this a retina issue  for iphone 5? I also tried it in the X code with  lphone simulator and the physical phone itself with my Apple provision certicate. Same effect? I re-booted and started from scratch, it worked for one iteration. then the issue re appeard?. Desktop renderings are rock solid. Any advice would be helpful. Thanks
    Tom.

    Hello Tom,
    Does the phone layout looks cornered on one side of the screen, with blank space on the other side?
    If that is the case, can you check if it is a problem with some content lying there on the side which appears blank as explained in this thread: http://forums.adobe.com/message/5697311#5697311
    Hope this helps.
    Cheers
    Parikshit

  • 30 M rows in SQL Server 2008 R2- View or Table for faster performance

    Hello,
    I am creating a SSRS 2008 report that currently is using a view. It's a view made out of one table and is not indexed.
    There are 70 some columns that I am displaying in the report with 10 or so parameters that I am passing through a procedure from SSRS to SQL Server.
    When the report runs in Server or in development mode, the report gets out of memory error - which could be a totally different issue as it is trying to bring in a  couple million rows amd runs for 15- 20 mins.. and errors out.
    My question is if it is sourcing a single table, will a view be better with the right index or a table with index.
    Clustered, non clustered? Any suggestions or input would be greatly appreciated.
    Thank You.

    What is the exact error message?
    In SSRS you can use a stored procedure with parameters as data source. You can use a query in the sp, you don't need a view.
    >it is trying to bring in a  couple million rows amd runs  20 mins.. and errors out.
    Indexing not likely to help you. You have a huge return set problem.
    Kalman Toth Database & OLAP Architect
    SELECT Query Video Tutorial 4 Hours
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • Thumbnail or "Icon View" on Retina not rendered correctly.

    The Icon View in the Finder does not render the icon images correctly on Retina Macs. You can tell best when setting the viewing size to 32x32 or 16x16, especially when you compare the same viewing size while in List View. I was hoping that Yosemite would fix this bug but it hasn't. It also occurs on the new Retina 5K iMac.

    Thanks Andy; I use a standard one-click fits all mouse! but the ctrl-click in window produces the desired list of options, some of the options available via modifier keystrokes are very useful; must do some delving
    cheers, alan
    Thanks also to Robbosaur

  • Rendering Performance

    Why doing video rendering, processors
    not operate at maximum power ?

    The program has not been fully optimized to utilize all cores and processor speed, and must also run at a speed that still allows normal OS processes to function.

  • Index vs views in performance

    HI,
       Can creating a view will help to improve performance.I have to read from table RBKP but i don't have index fields , can i create view to get faster access.will it help over secondary index. 
    Regards,
    Karthik.k

    hi,
    if u are comparing views vs secondary indexes, then secondary indexes are better ,  view will improve performance little bit and will be constant but if u r usingh secondary indexes then overall performance will be better.
    Disadvantage of secondary indexes is that it will occupy space, it will slow down add , delete operation slow.
    Jogdand M B

  • Detail section in Report Viewer Control rendered bad in IE 6/7 ???

    Hi,
    independent of checking the "no printer" option or select the same printer in Visual Studio Report Designer as on the deployment server the details section of Crystal Report Viewer Control is not rendered correctly in IE 6/7!!!
    But looks fine in Firefox ?!?
    Any ideas?
    Thanks, M.
    Edited by: Markus Schfer on Aug 19, 2008 9:24 AM

    First: i have to excuse me, `cause all sections (header,detail and pagefoot) are rendered strange. It seems that all data is crimped into one column on the left side?!?
    I expected something like this:
    Name     LastName     Birthday       City
    Value Value Value Value
    etc.
    But I get from IE 6/7:
    Name    
    LastName    
    Birthday      
    City
    Value    
    Value           
    Value          
    Value
    Do you better understand my problem now ????
    I hope so
    Thanks a lot!
    M.

  • Multicam project: rendering timeline disabled multicams in viewer

    i am working on a multicam project and recently rendered my timeline, ever since i did that, i have been unable to view the multicams in the viewer while playing back in the timeline. if i go to a spot in the timeline and pause, i can see all cameras, but once i start playing, i only see the selected camera. i did a test with a new sequence, created a short multicam clip and was able to see all cameras in the viewer. then once i rendered the new test sequence, i could no longer see all cameras. i am making sure that i am selecting "open" instead of "sync off" from the top pulldown of the viewer. finally, i closed out fcp, deleted the newly created render file for my test sequence, reopened the project, of course i got a message that one render file was missing, pressed continue, played back the sequence, and once again i was able to see all cameras. so my question is, is this the fix? delete all of the render files for the project so that i can view all cameras, seems kinda strange this is happening....

    You could just duplicate the sequence and render that for client viewing, keeping your working version unrendered, until you're ready to render.
    Overall, it basically depends on your workflow and what you're doing. Mine has a pretty slim range of workflow steps, so I just duplicate the sequence when I'm ready to move to the next stage. This way I can always go back to an earlier version or stage of the process if needed.
    Also keeps me from filling up harddrive space with unnecessary rendering. I generally do my render once I've got a 'locked cut' in place (collapsed sequence w/color correction, filters, L3rds...etc), then I duplicate that sequence after rendering to add different show opens/closes for different final outputs. The duplicate retains the original render files, so I don't have to keep rendering each final sequence.
    K

  • Performance ora:view and collection()

    ora:view allows an XML structured table to be used in a XQuery "for" clause, while collection processes a set of documents in a directory. Normally these are two different sets of data.
    However, with XDB I can have a WEBDAV directory which can consist of documents, all of which are stored in schema based structured storage.
    Given this situation, where the ora:view and the collection() happen to be the exact same set of data (and this condition may be a rare corner case for many people), is there a performance difference between these two methods of access?
    The underlying question I am wondering is whether collection() will be rewritten to take advantage of any indexing on the structured data, in this sitution.
    A collection() directory can consist of XML in both structured and unstructured storage, in this case does the query reduce everything to the lowest common denominator (CLOB), or are any of the advantages of structured storage utilized?
    Thanks,
    Howard

    Howard,
    That's a good question. You should use ora:view() instead of collection(). Using ora:view() will give you better performance. Please contact me directly (geoff dot lee at oracle dot com) to discuss further.
    Regards,
    Geoff

  • Sharepoint 2013 Datasheet View Navigation performance Issues on large lists

    I was recently upgraded to SharePoint 2013.
    In SharePoint 2010 Datasheet View, one could scroll through and bulk select 100s of line items in Datasheet view very easily.   Navigating the datasheet view was just like navigating through a worksheet in Excel, and one could use quick select
    keys like ctrl-shift-right arrow / down arrow to bulk select items.
    After the upgrade to SharePoint 2013, using the "Quick Edit" tab in Datasheet view and changing the Item Limit to 5000 items, it takes an inordinately long time to load the list.   None of the quick select keys like ctrl-shift-right arrow
    works anymore and the browser keeps warning about a slow-running script when attempting to select multiple items while scrolling through the list. 
    The functionality I need is for users to be able to bulk delete all line items in a SP list and copy (from Excel) and paste new line items into the SP list through their browser. 

    I am running SP Server 2013 with the Dec CU on my internal farm.  This past week, I migrated 1 database containing 1 site collection (also ran the site upgrade to 2013).  Prior to the migration, the users were using Datasheet View in 2010 to bulk
    edit and also add attachments through the pop up window while in Datasheet View.  After the migration, performance on their list using IE8 with less than 300 items was horrible for the end user and also for me as a farm admin (I'm running iE11). 
    I created a new view and performance seemed better for me and a slight improvement for the end user, but still not satisfying.  The end user is using Chrome in the interim until I can test with IE9 to see if that makes a difference.
    My main concern is the Quick Edit view.  This user needs to be able to use the 2010 Datasheet View to manage attachments while in DS view.  I created a new DS view on the affected list, but it still defaults back to the Quick Edit view.  This
    list is on 1 of 3 web apps in my internal farm.  The interesting thing is that I can create a 2010 Datasheet View in a custom list on a site that was created in 2013 from scratch in another web app on my internal farm.  However, I can only do
    this on 1 of 3 web apps.  On my 2013 external farm, I can create a DS view in a 2013 site created from scratch in 1 of 2 web apps.  Creating a list on the 2nd web app in DS view defaults the list back to Quick Edit.  I checked in SharePoint
    Manager thinking there was a web app feature that wasn't getting activated.  There was only 1 web app feature that jumped out.  Academic Library Site Safe Controls was activated on the 2 web apps I could create the 2010 Datasheet View on, but
    not the other 3 web apps I could only seem to get the Quick Edit view when creating the DS view.
    Is there a feature that needs to get activated or one that might need to be deactivated/reactivated?  My internal farm with the 3 web apps is running the Dec 2013 CU and the external farm w/the 2 web apps is running the March 2013
    PU.
    Aside from that, I've received complaints on the list performance using IE and not being able to use the 2010 datasheet functionality as noted above.  I haven't received any complaints on being able to only copy 100 items in Quick Edit view at a time,
    but I have also noticed that issue.  In my case, the retry doesn't work and I have to delete anything over 100 items before it will save.  I would like to find a resolution on this as well.  Every bit of help I can get with this issue is very
    much appreciated.  Thanks in advance!

Maybe you are looking for