mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-20 21:00:41 +08:00
The existing fate-lavf-yuv420p.y4m covers only the default format. Add four entries that pass -pix_fmt explicitly to the lavf_video macro: yuv422p, yuv444p, yuv411p, and gray. These exercise the branches in yuv4mpegpipe_write_header() that write the "C422", "C444", "C411", and "Cmono" chroma descriptor strings in the stream header. All four are gated on ENCDEC(RAWVIDEO,YUV4MPEGPIPE) and added to FATE_LAVF_VIDEO_SCALE so they inherit the requirement for CONFIG_SCALE_FILTER that lavf_video's -auto_conversion_filters needs. Reference files were generated from the actual encoder output and follow the md5+size+CRC format used by the other lavf references. Signed-off-by: Soham Kute <officialsohamkute@gmail.com>