[FFmpeg-devel] [PATCH 2/2] swscale: add P010 input support

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Jan 7 13:31:26 CET 2016


Hendrik Leppkes <h.leppkes <at> gmail.com> writes:

> Because that doesn't work. bits per raw sample is not 
> taken into account when pixel formats are negotiated

But that is a missing feature that is needed independently 
of your patch so imo this patch shouldn't add more 
unneeded colour spaces (except if this is needed for 
encoding).

> why do you think we have yuv420p9,p10,p12,p14,p16?

Because x264 encoding would have a worse performance 
without them.

> Also, the conversion works fine, why would it be 
> missing anything? It just shifts away the 6 zero bits.

I seem to have missed that you convert to an 8-bit 
colour space (which I don't completely understand).

Carl Eugen



More information about the ffmpeg-devel mailing list