Skip to content
Snippets Groups Projects
Commit be0b77e6 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

avutil/pixfmt: Document chroma plane size for odd resolutions

parent 9cb3d8fc
No related branches found
No related tags found
No related merge requests found
...@@ -42,6 +42,10 @@ ...@@ -42,6 +42,10 @@
* This is stored as BGRA on little-endian CPU architectures and ARGB on * This is stored as BGRA on little-endian CPU architectures and ARGB on
* big-endian CPUs. * 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 * @par
* When the pixel format is palettized RGB32 (AV_PIX_FMT_PAL8), the palettized * 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 * image data is stored in AVFrame.data[0]. The palette is transported in
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment