[FFmpeg-devel] [PATCH 1/6] avutil/pixfmt: add Y216 pixel format

martin schitter ms+git at mur.at
Tue Oct 22 17:26:30 EEST 2024


On 22.10.24 14:48, James Almer wrote:
> +    AV_PIX_FMT_Y216BE,      ///< packed YUV 4:2:2 like YUYV422, 32bpp, big-endian
> +    AV_PIX_FMT_Y216LE,      ///< packed YUV 4:2:2 like YUYV422, 32bpp, little-endian

Why to you avoid any more verbose naming, where any developer would see 
the actual order of components by just looking at the actual letters to 
avoid wrong usage?

IMHO this would make anything much more handy and less error-prone than 
this old-fashioned FOURCC codes, which are hard to remember and very 
uncomfortable to grep in source code.

martin


More information about the ffmpeg-devel mailing list