• 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
Re: -[CALayer setContents: cvPixelBufferRef ] ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -[CALayer setContents: cvPixelBufferRef ] ?


  • Subject: Re: -[CALayer setContents: cvPixelBufferRef ] ?
  • From: "Jonathan del Strother" <email@hidden>
  • Date: Thu, 3 Apr 2008 21:00:45 +0100

On Thu, Apr 3, 2008 at 8:38 PM, David Duncan <email@hidden> wrote:
> On Apr 3, 2008, at 12:28 PM, Jonathan del Strother wrote:
>
> >
> > > If you have a CVPixelBufferRef, you can use the various functions
> defined
> > > for a CVPixelBuffer to access the base address, row bytes, width, height
> and
> > > other attributes to create a CGImageRef directly from it via
> > > CGImageCreate().
> > >
> >
> > Even for yuv?  I thought CGImageCreate only handled variations on
> > rgba, but will give it another go...
> >
>
>
>  Your right, I forgot that detail :). I'm not familiar but Quicktime might
> be able to convert it for you before you get it (which is likely the best
> thing in this case).
>
>  But that brings up the question of what are you trying to do? :)
>

I'm using the QTCapture api to record from a camera, while displaying
a live preview (ideally with 0 lag) in Core Animation.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: -[CALayer setContents: cvPixelBufferRef ] ?
      • From: David Duncan <email@hidden>
References: 
 >-[CALayer setContents: cvPixelBufferRef ] ? (From: "Jonathan del Strother" <email@hidden>)
 >Re: -[CALayer setContents: cvPixelBufferRef ] ? (From: David Duncan <email@hidden>)
 >Re: -[CALayer setContents: cvPixelBufferRef ] ? (From: "Jonathan del Strother" <email@hidden>)
 >Re: -[CALayer setContents: cvPixelBufferRef ] ? (From: David Duncan <email@hidden>)

  • Prev by Date: Re: NSAssert and Unused Variable
  • Next by Date: how to hack my own apps
  • Previous by thread: Re: -[CALayer setContents: cvPixelBufferRef ] ?
  • Next by thread: Re: -[CALayer setContents: cvPixelBufferRef ] ?
  • Index(es):
    • Date
    • Thread