Mailing Lists: Apple Mailing Lists

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

CVPixelBufferCreateWithBytes & YCbCr



Hi,

I have been trying to use the new API CVPixelBufferCreateWithBytes() to create a CVImageBuffer from some data in k2vuyPixelFormat. Unfortunately the API is not working as advertised for me.
If I use the correct parameters for width, height and rowbytes, then I get a misaligned image, but If I leave rowBytes the same and halve the width, then an image half the width is correctly created (logically, this should not happen).


I have played with various values of rowbytes and width, to no avail. The
Has anyone tried this successfully? Any known bugs?


Thx
Gabe


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

This email sent to 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.