On 01/05/2013 12:04 PM, jim morgenstern wrote:
Code snippet:
#define RGB16  PIX_FMT_RGB48LE  // little endian
#define RGB    PIX_FMT_BGR24
#define YUV422 PIX_FMT_YUV422P10LE
#define YUV444 PIX_FMT_YUV444P16LE
You have a RGB16 output, meaning you have requested a 16-bit scaled output. If your input is YUV422, which is 10 bit not 16-bit components, the only way to satisfy that properly is to scale the output., which is what you are getting.

If you want 10 bit output, it looks like you'd need PIX_FMT_GBRP10 as there is now RGBP10.

Or, you know - just scale the output you got.

Or, add support for and RGBP10LE/BE format and send a patch.


_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to