diff options
author | wm4 <wm4@nowhere> | 2020-05-09 17:56:07 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-05-09 18:02:57 +0200 |
commit | 43591ba96bf4409feaac2027cfe467824bdf7260 (patch) | |
tree | 004779d48a2d5690d2390061ae04cf1289b371b1 | |
parent | 488c0b4de58c6a6aef6ec62ef4def1b67edd81ba (diff) | |
download | mpv-43591ba96bf4409feaac2027cfe467824bdf7260.tar.bz2 mpv-43591ba96bf4409feaac2027cfe467824bdf7260.tar.xz |
img_format: make component order in comment more logical
-rw-r--r-- | video/img_format.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/img_format.h b/video/img_format.h index f422019dec..8e55cc9493 100644 --- a/video/img_format.h +++ b/video/img_format.h @@ -98,7 +98,7 @@ enum mp_component_type mp_imgfmt_get_component_type(int imgfmt); struct mp_regular_imgfmt_plane { uint8_t num_components; - // 1 is luminance/red/gray, 2 is green/Cb, 3 is blue/Cr, 4 is alpha. + // 1 is red/luminance/gray, 2 is green/Cb, 3 is blue/Cr, 4 is alpha. // 0 is used for padding (undefined contents). // It is guaranteed that non-0 values occur only once in the whole format. uint8_t components[MP_NUM_COMPONENTS]; |