Browse Source

avutil/pixfmt: Document chroma plane size for odd resolutions

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit be0b77e6e8)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n4.0.3
Michael Niedermayer 6 years ago
parent
commit
1a4a6d94cc
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      libavutil/pixfmt.h

+ 4
- 0
libavutil/pixfmt.h View File

@@ -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


Loading…
Cancel
Save