• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
CoreVideo to pixel level data (speed path problems)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CoreVideo to pixel level data (speed path problems)


  • Subject: CoreVideo to pixel level data (speed path problems)
  • From: Jeremy Faller <email@hidden>
  • Date: Mon, 16 Oct 2006 19:39:57 -0400

All:


I am trying to take iSight data, and get the bitmap data for post- processing. I am currently using the WhackedTV example from Apple as a base, and it converts CVPixelBufferRef-->CIImage(s)-->NSImage-- >NSBitmapImageRep, but these operations are expensive and slow. (I am seeing that converting the images to NSBitmapImageRep can peg a processor at low frame rates. All of the time is spent in [NSImage drawImage:], the final step to convert NSImage(s) to NSBitmapImageRep.)


I am interested in knowing if there are any quick ways to access the pixel level data in any of the data structures I am using? Does anyone have any example code?

As a (possibly useful) aside, I am only interested in the red data (from RGB) of the pixel data. If it helps, I would be glad to sacrifice G/B/Alpha for just the red.


Thanks in advance.


Best Regards, Jeremy Faller _______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: CoreVideo to pixel level data (speed path problems)
      • From: "John C. Randolph" <email@hidden>
    • Re: CoreVideo to pixel level data (speed path problems)
      • From: "Shawn Erickson" <email@hidden>
  • Prev by Date: Re: Re: playing a quicktime movie in a QTMovieView
  • Next by Date: Re: CoreVideo to pixel level data (speed path problems)
  • Previous by thread: Re: Two TreeControllers, one ArrayController and the ContentSet binding...
  • Next by thread: Re: CoreVideo to pixel level data (speed path problems)
  • Index(es):
    • Date
    • Thread