[FFmpeg-devel] [PATCH 1/2] avutil: Add MSB packed YUV444P10 format

Michael Niedermayer michaelni at gmx.at
Thu Feb 2 12:48:49 EET 2017


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170202/f8c34971/attachment.sig>


More information about the ffmpeg-devel mailing list