[FFmpeg-devel] [PATCH 1/2] avcodec: add avcodec_enum_to_chroma_pos()

wm4 nfxjfg at googlemail.com
Thu Jul 18 09:55:31 CEST 2013


On Wed, 17 Jul 2013 23:00:11 +0200
Michael Niedermayer <michaelni at gmx.at> wrote:

> +int avcodec_enum_to_chroma_pos(int *xpos, int *ypos, enum AVChromaLocation pos);

IMHO this should document exactly what it returns, in what scale, etc.,
and that the returned values are compatible with libswscale. (Or
alternatively, document the libswscale options that they are compatible
with what avcodec_enum_to_chroma_pos() returns.)


More information about the ffmpeg-devel mailing list