diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2018-07-18 22:22:35 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-10-23 01:44:40 +0200 |
commit | 60493f388ca7552970e865ff76d39c963eca955f (patch) | |
tree | 7fdb5acdd4fe486ad3d51bacf008febc09b11bd7 | |
parent | 961eeb4035c345e756c4bbf549f1a731e53322bf (diff) | |
download | ffmpeg-60493f388ca7552970e865ff76d39c963eca955f.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 c01c0575f7..fd7f6153c2 100644 --- a/libavutil/pixfmt.h +++ b/libavutil/pixfmt.h @@ -43,6 +43,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 |