I am trying to track down the source
of gamma and color shifts when compressing
and then decompressing frames. I
wrote an application using ICM decompressor calls. I call
ICMDecompressionSessionCreate, passing some pixel buffer attributes. I
want to check the gamma and color space of the CV pixel buffers that I get from
the callback to ICMDecompressionSessionDecodeFrame.
Is there a way
to get the gamma and color space of a CVPixelBuffer?
I tried to get
the CV pixel buffer pool that should have been created by
ICMDecompressionSessionCreate in order to inspect the pixel buffer attributes
associated with that pool, but the call to ICMDecompressionSessionGetProperty
does not return the pool. It does not return an error code and the actual
size of the output value is 4 bytes, but the pool that it returns is null.
The exact call that I am using is
Does anyone
know how to get either the gamma and color space attributes associated with a
CVPixelBuffer or the pixel buffer pool associated with the decompression
session?
Thanks.
_______________________________________________
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