Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Codec specific 10bit noise
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Codec specific 10bit noise



Hi,

I'm facing some problems creating quicktime movies with 10-bit color information.
In my current workflow I create a CVPixelBufferRef by calling CVPixelBufferRefCreateWithBytes, passing k64ARGBPixelFormat and a bit plane of type unsigned short.
The CVPixelBufferRef is then passed to an ICMCompressionSession for encoding.


This works fine for the 'Apple Uncompressed 10-bit 4:2:2' codec but produces random colorful noise for 'Apple ProRes 422 (HQ)' and other 3rd party 10-bit codecs.
The only color passing though correctly is pure black. To me this looks like Quicktime misinterprets the pixel format as 8-bit and just uses the lower byte of the short values to construct the image.


What am I doing wrong?

Thanks,
Christian
_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

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 © 2011 Apple Inc. All rights reserved.