mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
Stefano Sabatini
d7e14c0d10
imgconvert: remove PixFmtInfo.pixel_type field
The field is only used for checking if a format is YUV planar and if the format is paletted. This patch replaces the current is_planar_yuv() code with a function which uses the pixdesc information. The new implementation is less efficient, but this should not be an issue as the functions which use it (av_picture_crop/pad()) are deprecated and currently never used in the codebase.
FFmpeg README ------------- 1) Documentation ---------------- * Read the documentation in the doc/ directory. 2) Licensing ------------ * See the LICENSE file.
Languages
C
90.3%
Assembly
7.8%
Makefile
1.3%
C++
0.2%
Objective-C
0.2%
Other
0.1%