diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2018-07-18 22:22:35 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-11-01 00:52:46 +0100 |
commit | ea160f02137e515a7909b73eba172da008af614a (patch) | |
tree | 8e3b44200a475c6cba6fda4417b2bc1f99f1b559 | |
parent | 5c98f8d80a50fb012deb1e4e24864dd52372a367 (diff) | |
download | ffmpeg-ea160f02137e515a7909b73eba172da008af614a.tar.gz |
avutil/pixfmt: Document chroma plane size for odd resolutions
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit be0b77e6e83b61c2da338201b5ddfae1c9acedc5)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r-- | libavutil/pixfmt.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavutil/pixfmt.h b/libavutil/pixfmt.h index 5dafc341a1..926bf5ae43 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. + * * @par * When the pixel format is palettized RGB32 (AV_PIX_FMT_PAL8), the palettized * image data is stored in AVFrame.data[0]. The palette is transported in |