Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pixel Format in CVPixelBufferCreateWithBytes



I didn't find a lot of information in the docs on this call either. I ended up just converting my buffer to k24RGBPixelFormat or k32ARGBPixelFormat before calling CVPixelBufferCreateWithBytes, which worked for me.

Have you looked at the call:

CVPixelFormatDescriptionArrayCreateWithAllPixelFormatTypes

On my Mac it returned an array (not a dictionary as in the documentation). The array consisted of NSNumber objects, corresponding to pixel formats like you find in Quickdraw.h.

You might also look at:

http://lists.apple.com/archives/QuickTime-API/2005/Jul/msg00200.html

On May 24, 2006, at 2:42 AM, Raman Sharma wrote:

Could someone please respond ?

On 5/23/06, Raman Sharma <email@hidden> wrote:
Another question I have is :-

What pixel formats does CVPixelBufferCreateWithBytes support on
Macintosh and Windows. I have noticed that specifying anything other
than k32ARGBPixelFormat returns an error on Windows. Not sure about
the Mac.

Is there no way to create a CVPixelBufferRef for BGRA32 or BGR24 formats ?

-Raman

_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/automated.mail% 40gmail.com


This email sent to email@hidden

Stewart Milberger Megaptera, Inc. (www.megaptera.com)



_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/email@hidden

This email sent to email@hidden
References: 
 >Pixel Format in CVPixelBufferCreateWithBytes (From: "Raman Sharma" <email@hidden>)
 >Re: Pixel Format in CVPixelBufferCreateWithBytes (From: "Raman Sharma" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.