[FFmpeg-devel] [PATCH 2/5] avutil/pixdesc: Add av_chroma_location_(enum_to_pos|pos_to_enum)

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Sun Sep 25 03:09:19 EEST 2022


Andreas Rheinhardt:
> They are intended as replacements for avcodec_enum_to_chroma_pos()
> and avcodec_chroma_pos_to_enum().
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> ---
> Will add version bump upon applying.
> (Honestly, I am not sure whether there is a need for a replacement
> given that Matroska seems to be the only user of this.)
> 

It is used by mpv (for its interactions with swscale), so I intend to
apply this patchset-as-is (with the replacement) in two days unless
there are objections.

- Andreas



More information about the ffmpeg-devel mailing list