[FFmpeg-devel] [PATCH] avutil/pixfmt: Document chroma plane size for odd resolutions
Carl Eugen Hoyos
ceffmpeg at gmail.com
Thu Jul 19 01:15:02 EEST 2018
2018-07-18 22:23 GMT+02:00, Michael Niedermayer <michael at niedermayer.cc>:
> Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> ---
> libavutil/pixfmt.h | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/libavutil/pixfmt.h b/libavutil/pixfmt.h
> index aea008bbdc..2b3307845e 100644
> --- a/libavutil/pixfmt.h
> +++ b/libavutil/pixfmt.h
> @@ -42,6 +42,10 @@
> * This is stored as BGRA on little-endian CPU architectures and ARGB on
> * big-endian CPUs.
> *
> + * @note
> + * If the resolution is not a multiple of the chroma subsampling factor
> + * then the chroma plane resolution must be rounded up.
Lgtm, thank you!
Carl Eugen
More information about the ffmpeg-devel
mailing list