Re: drawing onto CVPixelBuffer

2011-05-07 Thread douglas welton
Have you taken a look at the CaptureAndCompressIPBMovie sample code? That code does something very similar to what you appear to be in need of. On May 6, 2011, at 5:30 PM, Jean-Daniel Dupas wrote: > > > Le 6 mai 2011 à 22:22, eveningnick eveningnick a écrit : > >> Hi >> I have a CVPixelBuffe

Re: drawing onto CVPixelBuffer

2011-05-07 Thread Ken Thomases
On May 6, 2011, at 5:00 PM, Jean-Daniel Dupas wrote: > Le 6 mai 2011 à 23:30, eveningnick eveningnick a écrit : > >> the pixel format of the CVPixelBufferRef is k32BGRAPixelFormat > > It should work. The list of supported format is here: > > “Supported Pixel Formats.” If you set the kCVPixelBu

Re: drawing onto CVPixelBuffer

2011-05-06 Thread Jean-Daniel Dupas
Le 6 mai 2011 à 23:30, eveningnick eveningnick a écrit : > the pixel format of the CVPixelBufferRef is k32BGRAPixelFormat It should work. The list of supported format is here: “Supported Pixel Formats.” -- Jean-Daniel ___ Cocoa-dev mailing list

Re: drawing onto CVPixelBuffer

2011-05-06 Thread eveningnick eveningnick
the pixel format of the CVPixelBufferRef is k32BGRAPixelFormat ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Hel

Re: drawing onto CVPixelBuffer

2011-05-06 Thread Jean-Daniel Dupas
Le 6 mai 2011 à 22:22, eveningnick eveningnick a écrit : > Hi > I have a CVPixelBuffer with some background picture. > I need to draw on this background some foreground image. I don't need > to preserve the initial CVPixelBuffer's content - i just need to add a > small foreground watermark onto