On Thu, Feb 02, 2017 at 11:26:26AM +0100, Timo Rothenpieler wrote:
> >> In the mean time, common 12 bit content (YUV420P12 or P016) will be
> >> correctly converted to P010 for nvenc.
> > 
> > What does this change have to do with 4:2:0 content?
> 
> Apparently swscale decides that any kind of 12 or 16 bit content, even
> if 4:2:0, whould be converted to YUV444P16 instead of downsampling it to
> P010.

The code decididing pix fmts is in libavutil
av_find_best_pix_fmt_of_2() and code using that (if i guess correctly
where the choice is made)
so its not swscale that decides what to use

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Complexity theory is the science of finding the exact solution to an
approximation. Benchmarking OTOH is finding an approximation of the exact

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to