[FFmpeg-devel] [PATCH] avcodec/tiff: Try to fix subsampling default

Skakov Pavel pavelsx at gmail.com
Sat Sep 28 19:13:59 EEST 2019


> This ensures the default ycbcr_subsampling is 2 while also
> ensuring the subsampling values are correct for all pixel formats.
> This solution while it takes a few lines more code should be more
> robust

In TIFF specification only CbCr subsampling is allowed. The field is explicitly named "YCbCrSubsampling", so introducing another subsampling variable serves no purpose other than introducing confusion.


More information about the ffmpeg-devel mailing list