summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-05-17 14:57:13 +0200
committerwm4 <wm4@nowhere>2020-05-18 01:54:59 +0200
commitcaee8748da5c25b928f699bfa9f1ac4a5f3ae0ce (patch)
tree492d46f6ab40eee4c5b3e17b3666d21843db4166
parent00ac63c37b18ef3e7fbe5c227eb10073b264a26a (diff)
downloadmpv-caee8748da5c25b928f699bfa9f1ac4a5f3ae0ce.tar.bz2
mpv-caee8748da5c25b928f699bfa9f1ac4a5f3ae0ce.tar.xz
video: clean up some imgfmt related stuff
Remove the vaguely defined plane_bits and component_bits fields from struct mp_imgfmt_desc. Add weird replacements for existing uses. Remove the bytes[] field, replace uses with bpp[]. Fix some potential alignment issues in existing code. As a compromise, split mp_image_pixel_ptr() into 2 functions, because I think it's a bad idea to implicitly round, but for some callers being slightly less strict is convenient. This shouldn't really change anything. In fact, it's a 100% useless change. I'm just cleaning up what I started almost 8 years ago (see commit 00653a3eb052). With this I've decided to keep mp_imgfmt_desc, just removing the weird parts, and keeping the saner parts.
-rw-r--r--DOCS/interface-changes.rst1
-rw-r--r--DOCS/man/input.rst5
-rw-r--r--player/command.c2
-rw-r--r--sub/draw_bmp.c8
-rw-r--r--test/img_format.c14
-rw-r--r--test/ref/img_formats.txt1302
-rw-r--r--test/repack.c6
-rw-r--r--test/scale_test.c16
-rw-r--r--video/image_writer.c14
-rw-r--r--video/img_format.c43
-rw-r--r--video/img_format.h18
-rw-r--r--video/mp_image.c55
-rw-r--r--video/mp_image.h1
-rw-r--r--video/repack.c16
-rw-r--r--video/sws_utils.c2
15 files changed, 747 insertions, 756 deletions
diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst
index b4e926c267..ad1e5b47d1 100644
--- a/DOCS/interface-changes.rst
+++ b/DOCS/interface-changes.rst
@@ -68,6 +68,7 @@ Interface changes
- reading loop-file property as native property or mpv_node will now return
"inf" instead of boolean true (also affects loop option)
- remove some --vo-direct3d-... options (it got dumbed down; use --vo=gpu)
+ - remove video-params/plane-depth property (was too vaguely defined)
--- mpv 0.32.0 ---
- change behavior when using legacy option syntax with options that start
with two dashes (``--`` instead of a ``-``). Now, using the recommended
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst
index 200b3d403f..bfb8573a86 100644
--- a/DOCS/man/input.rst
+++ b/DOCS/man/input.rst
@@ -2236,11 +2236,6 @@ Property list
different resolution, which is the reason this value can sometimes be
odd or confusing. Can be unavailable with some formats.
- ``video-params/plane-depth``
- Bit depth for each color component as integer. This is only exposed
- for planar or single-component formats, and is unavailable for other
- formats.
-
``video-params/w``, ``video-params/h``
Video size as integers, with no aspect correction applied.
diff --git a/player/command.c b/player/command.c
index 04e84c998f..45b721ef09 100644
--- a/player/command.c
+++ b/player/command.c
@@ -2131,8 +2131,6 @@ static int property_imgparams(struct mp_image_params p, int action, void *arg)
{"pixelformat", SUB_PROP_STR(mp_imgfmt_to_name(p.imgfmt))},
{"average-bpp", SUB_PROP_INT(bpp),
.unavailable = !bpp},
- {"plane-depth", SUB_PROP_INT(desc.plane_bits),
- .unavailable = !(desc.flags & MP_IMGFLAG_YUV_P)},
{"w", SUB_PROP_INT(p.w)},
{"h", SUB_PROP_INT(p.h)},
{"dw", SUB_PROP_INT(d_w)},
diff --git a/sub/draw_bmp.c b/sub/draw_bmp.c
index b208ec6ad5..f7f8982051 100644
--- a/sub/draw_bmp.c
+++ b/sub/draw_bmp.c
@@ -138,10 +138,10 @@ static void blend_slice(struct mp_draw_sub_cache *p)
int h = (1 << vid->fmt.chroma_ys) - (1 << ys) + 1;
int cw = mp_chroma_div_up(vid->w, xs);
for (int y = 0; y < h; y++) {
- p->blend_line(mp_image_pixel_ptr(vid, plane, 0, y),
- mp_image_pixel_ptr(ov, plane, 0, y),
- xs || ys ? mp_image_pixel_ptr(ca, 0, 0, y)
- : mp_image_pixel_ptr(ov, ov->num_planes - 1, 0, y),
+ p->blend_line(mp_image_pixel_ptr_ny(vid, plane, 0, y),
+ mp_image_pixel_ptr_ny(ov, plane, 0, y),
+ xs || ys ? mp_image_pixel_ptr_ny(ca, 0, 0, y)
+ : mp_image_pixel_ptr_ny(ov, ov->num_planes - 1, 0, y),
cw);
}
}
diff --git a/test/img_format.c b/test/img_format.c
index 2e4e899203..9cd8186ab6 100644
--- a/test/img_format.c
+++ b/test/img_format.c
@@ -82,7 +82,7 @@ static void run(struct test_ctx *ctx)
struct mp_imgfmt_desc d = mp_imgfmt_get_desc(mpfmt);
if (d.id) {
- fprintf(f, " Legacy desc: ");
+ fprintf(f, " Basic desc: ");
#define FLAG(t, c) if (d.flags & (t)) fprintf(f, "[%s]", c);
FLAG(MP_IMGFLAG_BYTE_ALIGNED, "ba")
FLAG(MP_IMGFLAG_ALPHA, "a")
@@ -95,13 +95,15 @@ static void run(struct test_ctx *ctx)
FLAG(MP_IMGFLAG_PAL, "pal")
FLAG(MP_IMGFLAG_HWACCEL, "hw")
fprintf(f, "\n");
- fprintf(f, " planes=%d, chroma=%d:%d align=%d:%d bits=%d cbits=%d\n",
- d.num_planes, d.chroma_xs, d.chroma_ys, d.align_x, d.align_y,
- d.plane_bits, d.component_bits);
+ fprintf(f, " planes=%d, chroma=%d:%d align=%d:%d\n",
+ d.num_planes, d.chroma_xs, d.chroma_ys, d.align_x, d.align_y);
fprintf(f, " {");
for (int n = 0; n < MP_MAX_PLANES; n++) {
- fprintf(f, "%d/%d/[%d:%d] ", d.bytes[n], d.bpp[n],
- d.xs[n], d.ys[n]);
+ if (n >= d.num_planes) {
+ assert(d.bpp[n] == 0 && d.xs[n] == 0 && d.ys[n] == 0);
+ continue;
+ }
+ fprintf(f, "%d/[%d:%d] ", d.bpp[n], d.xs[n], d.ys[n]);
}
fprintf(f, "}\n");
} else {
diff --git a/test/ref/img_formats.txt b/test/ref/img_formats.txt
index eeeb20b2cd..b1c733fa8f 100644
--- a/test/ref/img_formats.txt
+++ b/test/ref/img_formats.txt
@@ -1,7 +1,7 @@
0bgr: fcsp=rgb ctype=uint
- Legacy desc: [ba][rgb][le][be]
- planes=1, chroma=0:0 align=1:1 bits=24 cbits=8
- {4/32/[0:0] 0/0/[0:0] 0/0/[0:0] 0/0/[0:0] }
+ Basic desc: [ba][rgb][le][be]
+ planes=1, chroma=0:0 align=1:1
+ {32/[0:0] }
Regular: planes=1 compbytes=1 bitpad=0 chroma=1x1 ctype=uint
0: {0, 3, 2, 1}
AVD: name=0bgr chroma=0:0 flags=0x20 [rgb]
@@ -9,9 +9,9 @@
1: p=0 st=4 o=2 sh=0 d=8
2: p=0 st=4 o=1 sh=0 d=8
0rgb: fcsp=rgb ctype=uint
- Legacy desc: [ba][rgb][le][be]
- planes=1, chroma=0:0 align=1:1 bits=24 cbits=8
- {4/32/[0:0] 0/0/[0:0] 0/0/[0:0] 0/0/[0:0] }
+ Basic desc: [ba][rgb][le][be]
+ planes=1, chroma=0:0 align=1:1
+ {32/[0:0] }
Regular: planes=1 compbytes=1 bitpad=0 chroma=1x1 ctype=uint
0: {0, 1, 2, 3}
AVD: name=0rgb chroma=0:0 flags=0x20 [rgb]
@@ -19,9 +19,9 @@
1: p=0 st=4 o=2 sh=0 d=8
2: p=0 st=4 o=3 sh=0 d=8
abgr: fcsp=rgb ctype=uint
- Legacy desc: [ba][a][rgb][le][be]
- planes=1, chroma=0:0 align=1:1 bits=32 cbits=8
- {4/32/[0:0] 0/0/[0:0] 0/0/[0:0] 0/0/[0:0] }
+ Basic desc: [ba][a][rgb][le][be]
+ planes=1, chroma=0:0 align=1:1
+ {32/[0:0] }
Regular: planes=1 compbytes=1 bitpad=0 chroma=1x1 ctype=uint
0: {4, 3, 2, 1}
AVD: name=abgr chroma=0:0 flags=0xa0 [rgb][alpha]
@@ -30,9 +30,9 @@ abgr: fcsp=rgb ctype=uint
2: p=0 st=4 o=1 sh=0 d=8
3: p=0 st=4 o=0 sh=0 d=8
argb: fcsp=rgb ctype=uint
- Legacy desc: [ba][a][rgb][le][be]
- planes=1, chroma=0:0 align=1:1 bits=32 cbits=8
- {4/32/[0:0] 0/0/[0:0] 0/0/[0:0] 0/0/[0:0] }
+ Basic desc: [ba][a][rgb][le][be]
+ planes=1, chroma=0:0 align=1:1
+ {32/[0:0] }
Regular: planes=1 compbytes=1 bitpad=0 chroma=1x1 ctype=uint
0: {4, 1, 2, 3}
AVD: name=argb chroma=0:0 flags=0xa0 [rgb][alpha]
@@ -41,9 +41,9 @@ argb: fcsp=rgb ctype=uint
2: p=0 st=4 o=3 sh=0 d=8
3: p=0 st=4 o=0 sh=0 d=8
ayuv64: [GENERIC] ctype=uint
- Legacy desc: [ba][a][yuv][le]
- planes=1, chroma=0:0 align=1:1 bits=64 cbits=16
- {8/64/[0:0] 0/0/[0:0] 0/0/[0:0] 0/0/[0:0] }
+ Basic desc: [ba][a][yuv][le]
+ planes=1, chroma=0:0 align=1:1
+ {64/[0:0] }
Regular: planes=1 compbytes=2 bitpad=0 chroma=1x1 ctype=uint
0: {4, 1, 2, 3}
AVD: name=ayuv64le chroma=0:0 flags=0x80 [alpha]
@@ -52,114 +52,114 @@ ayuv64: [GENERIC] ctype=uint
2: p=0 st=8 o=6 sh=0 d=16
3: p=0 st=8 o=0 sh=0 d=16
ayuv64be: [GENERIC] ctype=uint
- Legacy desc: [ba][a][yuv][be]
- planes=1, chroma=0:0 align=1:1 bits=64 cbits=16
- {8/64/[0:0] 0/0/[0:0] 0/0/[0:0] 0/0/[0:0] }
+ Basic desc: [ba][a][yuv][be]
+ planes=1, chroma=0:0 align=1:1
+ {64/[0:0] }
AVD: name=ayuv64be chroma=0:0 flags=0x81 [be][alpha]
0: p=0 st=8 o=2 sh=0 d=16
1: p=0 st=8 o=4 sh=0 d=16
2: p=0 st=8 o=6 sh=0 d=16
3: p=0 st=8 o=0 sh=0 d=16
bayer_bggr16: [GENERIC] fcsp=rgb ctype=uint
- Legacy desc: [ba][rgb][le][be]
- planes=1, chroma=0:0 align=1:1 bits=16 cbits=0
- {2/16/[0:0] 0/0/[0:0] 0/0/[0:0] 0/0/[0:0] }
+ Basic desc: [ba][rgb][le][be]
+ planes=1, chroma=0:0 align=1:1
+ {16/[0:0] }
AVD: name=bayer_bggr16le chroma=0:0 flags=0x120 [rgb][bayer]
0: p=0 st=2 o=0 sh=0 d=4
1: p=0 st=2 o=0 sh=0 d=8
2: p=0 st=2 o=0 sh=0 d=4
bayer_bggr16be: [GENERIC] fcsp=rgb ctype=uint
- Legacy desc: [ba][rgb][le][be]
- planes=1, chroma=0:0 align=1:1 bits=16 cbits=0
- {2/16/[0:0] 0/0/[0:0] 0/0/[0:0] 0/0/[0:0] }
+ Basic desc: [ba][rgb][le][be]
+ planes=1, chroma=0:0 align=1:1
+ {16/[0:0] }
AVD: name=bayer_bggr16be chroma=0:0 flags=0x121 [be][rgb][bayer]
0: p=0 st=2 o=0 sh=0 d=4
1: p=0 st=2 o=0 sh=0 d=8
2: p=0 st=2 o=0 sh=0 d=4
bayer_bggr8: [GENERIC] fcsp=rgb ctype=uint
- Legacy desc: [ba][rgb][le][be]
- planes=1, chroma=0:0 align=1:1 bits=8 cbits=0
- {1/8/[0:0] 0/0/[0:0] 0/0/[0:0] 0/0/[0:0] }
+ Basic desc: [ba][rgb][le][be]
+ planes=1, chroma=0:0 align=1:1
+ {8/[0:0] }
AVD: name=bayer_bggr8 chroma=0:0 flags=0x120 [rgb][bayer]
0: p=0 st=1 o=0 sh=0 d=2
1: p=0 st=1 o=0 sh=0 d=4
2: p=0 st=1 o=0 sh=0 d=2
bayer_gbrg16: [GENERIC] fcsp=rgb ctype=uint
- Legacy desc: [ba][rgb][le][be]
- planes=1, chroma=0:0 align=1:1 bits=16 cbits=0
- {2/16/[0:0] 0/0/[0:0] 0/0/[0:0] 0/0/[0:0] }
+ Basic desc: [ba][rgb][le][be]
+ planes=1, chroma=0:0 align=1:1
+ {16/[0:0] }
AVD: name=bayer_gbrg16le chroma=0:0 flags=0x120 [rgb][bayer]
0: p=0 st=2 o=0 sh=0 d=4
1: p=0 st=2 o=0 sh=0 d=8
2: p=0 st=2 o=0 sh=0 d=4
bayer_gbrg16be: [GENERIC] fcsp=rgb ctype=uint
- Legacy desc: [ba][rgb][le][be]
- planes=1, chroma=0:0 align=1:1 bits=16 cbits=0
- {2/16/[0:0] 0/0/[0:0] 0/0/[0:0] 0/0/[0:0] }
+ Basic desc: [ba][rgb][le][be]
+ planes=1, chroma=0:0 align=1:1
+ {16/[0:0] }
AVD: name=bayer_gbrg16be chroma=0:0 flags=0x121 [be][rgb][bayer]
0: p=0 st=2 o=0 sh=0 d=4
1: p=0 st=2 o=0 sh=0 d=8
2: p=0 st=2 o=0 sh=0 d=4
bayer_gbrg8: [GENERIC] fcsp=rgb ctype=uint
- Legacy desc: [ba][rgb][le][be]
- planes=1, chroma=0:0 align=1:1 bits=8 cbits=0
- {1/8/[0:0] 0/0/[0:0] 0/0/[0:0] 0/0/[0:0] }
+ Basic desc: [ba][rgb][le][be]
+ planes=1, chroma=0:0 align=1:1
+ {8/[0:0] }
AVD: name=bayer_gbrg8 chroma=0:0 flags=0x120 [rgb][bayer]
0: p=0 st=1 o=0 sh=0 d=2
1: p=0 st=1 o=0 sh=0 d=4
2: p=0 st=1 o=0 sh=0 d=2
bayer_grbg16: [GENERIC] fcsp=rgb ctype=uint
- Legacy desc: [ba][rgb][le][be]
- planes=1, chroma=0:0 align=1:1 bits=16 cbits=0
- {2/16/[0:0] 0/0/[0:0] 0/0/[0:0] 0/0/[0:0] }
+ Basic desc: [ba][rgb][le][be]
+ planes=1, chroma=0:0 align=1:1
+ {16/[0:0] }
AVD: name=bayer_grbg16le chroma=0:0 flags=0x120 [rgb][bayer]
0: p=0 st=2 o=0 sh=0 d=4
1: p=0 st=2 o=0 sh=0 d=8
2: p=0 st=2 o=0 sh=0 d=4
bayer_grbg16be: [GENERIC] fcsp=rgb ctype=uint
- Legacy desc: [ba][rgb][le][be]
- planes=1, chroma=0:0 align=1:1 bits=16 cbits=0
- {2/16/[0:0] 0/0/[0:0] 0/0/[0:0] 0/0/[0:0] }
+ Basic desc: [ba][rgb][le][be]
+ planes=1, chroma=0:0 align=1:1
+ {16/[0:0] }
AVD: name=bayer_grbg16be chroma=0:0 flags=0x121 [be][rgb][bayer]
0: p=0 st=2 o=0 sh=0 d=4
1: p=0 st=2 o=0 sh=0 d=8
2: p=0 st=2 o=0 sh=0 d=4
bayer_grbg8: [GENERIC] fcsp=rgb ctype=uint
- Legacy desc: [ba][rgb][le][be]
- planes=1, chroma=0:0 align=1:1 bits=8 cbits=0
- {1/8/[0:0] 0/0/[0:0] 0/0/[0:0] 0/0/[0:0] }
+ Basic desc: [ba][rgb][le][be]
+ planes=1, chroma=0:0 align=1:1
+ {8/[0:0] }
AVD: name=bayer_grbg8 chroma=0:0 flags=0x120 [rgb][bayer]
0: p=0 st=1 o=0 sh=0 d=2
1: p=0 st=1 o=0 sh=0 d=4
2: p=0 st=1 o=0 sh=0 d=2
bayer_rggb16: [GENERIC] fcsp=rgb ctype=uint
- Legacy desc: [ba][rgb][le][be]
- planes=1, chroma=0:0 align=1:1 bits=16 cbits=0
- {2/16/[0:0] 0/0/[0:0] 0/0/[0:0] 0/0/[0:0] }
+ Basic desc: [ba][rgb][le][be]
+ planes=1, chroma=0:0 align=1:1
+ {16/[0:0] }
AVD: name=bayer_rggb16le chroma=0:0 flags=0x120 [rgb][bayer]
0: p=0 st=2 o=0 sh=0 d=4
1: p=0 st=2 o=0 sh=0 d=8
2: p=0 st=2 o=0 sh=0 d=4
bayer_rggb16be: [GENERIC] fcsp=rgb ctype=uint
- Legacy desc: [ba][rgb][le][be]
- planes=1, chroma=0:0 align=1:1 bits=16 cbits=0
- {2/16/[0:0] 0/0/[0:0] 0/0/[0:0] 0/0/[0:0] }
+ Basic desc: [ba][rgb][le][be]
+ planes=1, chroma=0:0 align=1:1
+ {16/[0:0] }
AVD: name=bayer_rggb16be chroma=0:0 flags=0x121 [be][rgb][bayer]
0: p=0 st=2 o=0 sh=0 d=4
1: p=0 st=2 o=0 sh=0 d=8
2: p=0 st=2 o=0 sh=0 d=4
bayer_rggb8: [GENERIC] fcsp=rgb ctype=uint
- Legacy desc: [ba][rgb][le][be]
- planes=1, chroma=0:0 align=1:1 bits=8 cbits=0
- {1/8/[0:0] 0/0/[0:0] 0/0/[0:0] 0/0/[0:0] }
+ Basic desc: [ba][rgb][le][be]
+ planes=1, chroma=0:0 align=1:1
+ {8/[0:0] }
AVD: name=bayer_rggb8 chroma=0:0 flags=0x120 [rgb][bayer]
0: p=0 st=1 o=0 sh=0 d=2
1: p=0 st=1 o=0 sh=0 d=4
2: p=0 st=1 o=0 sh=0 d=2
bgr0: fcsp=rgb ctype=uint
- Legacy desc: [ba][rgb][le][be]
- planes=1, chroma=0:0 align=1:1 bits=24 cbits=8
- {4/32/[0:0] 0/0/[0:0] 0/0/[0:0] 0/0/[0:0] }
+ Basic desc: [ba][rgb][le][be]
+ planes=1, chroma=0:0 align=1:1
+ {32/[0:0] }
Regular: planes=1 compbytes=1 bitpad=0 chroma=1x1 ctype=uint
0: {3, 2, 1, 0}
AVD: name=bgr0 chroma=0:0 flags=0x20 [rgb]
@@ -167,9 +167,9 @@ bgr0: fcsp=rgb ctype=uint
1: p=0 st=4 o=1 sh=0 d=8
2: p=0 st=4 o=0 sh=0 d=8
bgr24: fcsp=rgb ctype=uint
- Legacy desc: [ba][rgb][le][be]
- planes=1, chroma=0:0 align=1:1 bits=24 cbits=8
- {3/24/[0:0] 0/0/[0:0] 0/0/[0:0] 0/0/[0:0] }
+ Basic desc: [ba][rgb][le][be]
+ planes=1, chroma=0:0 align=1:1
+ {24/[0:0] }
Regular: planes=1 compbytes=1 bitpad=0 chroma=1x1 ctype=uint
0: {3, 2, 1}
AVD: name=bgr24 chroma=0:0 flags=0x20 [rgb]
@@ -177,33 +177,33 @@ bgr24: fcsp=rgb ctype=uint
1: p=0 st=3 o=1 sh=0 d=8
2: p=0 st=3 o=0 sh=0 d=8
bgr4: [GENERIC] fcsp=rgb ctype=uint
- Legacy desc: [rgb][le][be]
- planes=1, chroma=0:0 align=2:1 bits=4 cbits=0
- {0/4/[0:0] 0/0/[0:0] 0/0/[0:0] 0/0/[0:0] }
+ Basic desc: [rgb][le][be]
+ planes=1, chroma=0:0 align=2:1
+ {4/[0:0] }
AVD: name=bgr4 chroma=0:0 flags=0x24 [bs][rgb]
0: p=0 st=4 o=3 sh=0 d=1
1: p=0 st=4 o=1 sh=0 d=2
2: p=0 st=4 o=0 sh=0 d=1
bgr444: [GENERIC] fcsp=rgb ctype=uint
- Legacy desc: [ba][rgb][le]
- planes=1, chroma=0:0 align=1:1 bits=12 cbits=4
- {2/16/[0:0] 0/0/[0:0] 0/0/[0:0] 0/0/[0:0] }
+ Basic desc: [ba][rgb][le]
+ planes=1, chroma=0:0 align=1:1
+ {16/[0:0] }
AVD: name=bgr444le chroma=0:0 flags=0x20 [rgb]
0: p=0 st=2 o=0 sh=0 d=4
1: p=0 st=2 o=0 sh=4 d=4
2: p=0 st=2 o=1 sh=0 d=4
bgr444be: [GENERIC] fcsp=rgb ctype=uint
- Legacy desc: [ba][rgb][be]
- planes=1, chroma=0:0 align=1:1 bits=12 cbits=4
- {2/16/[0:0] 0/0/[0:0] 0/0/[0:0] 0/0/[0:0] }
+ Basic desc: [ba][rgb][be]
+ planes=1, chroma=0:0 align=1:1
+ {16/[0:0] }
AVD: name=bgr444be chroma=0:0 flags=0x21 [be][rgb]
0: p=0 st=2 o=0 sh=0 d=4
1: p=0 st=2 o=0 sh=4 d=4
2: p=0 st=2 o=-1 sh=0 d=4
bgr48: [GENERIC] fcsp=rgb ctype=uint
- Legacy desc: [ba][rgb][le]
- planes=1, chroma=0:0 align=1:1 bits=48 cbits=16
- {6/48/[0:0] 0/0/[0:0] 0/0/[0:0] 0/0/[0:0] }
+ Basic desc: [ba][rgb][le]
+ planes=1, chroma=0:0 align=1:1
+ {48/[0:0] }
Regular: planes=1 compbytes=2 bitpad=0 chroma=1x1 ctype=uint
0: {3, 2, 1}
AVD: name=bgr48le chroma=0:0 flags=0x20 [rgb]
@@ -211,65 +211,65 @@ bgr48: [GENERIC] fcsp=rgb ctype=uint
1: p=0 st=6 o=2 sh=0 d=16
2: p=0 st=6 o=0 sh=0 d=16
bgr48be: [GENERIC] fcsp=rgb ctype=uint
- Legacy desc: [ba][rgb][be]
- planes=1, chroma=0:0 align=1:1 bits=48 cbits=16
- {6/48/[0:0] 0/0/[0:0] 0/0/[0:0] 0/0/[0:0] }
+ Basic desc: [ba][rgb][be]
+ planes=1, chroma=0:0 align=1:1
+ {48/[0:0] }
AVD: name=bgr48be chroma=0:0 flags=0x21 [be][rgb]
0: p=0 st=6 o=4 sh=0 d=16
1: p=0 st=6 o=2 sh=0 d=16
2: p=0 st=6 o=0 sh=0 d=16
bgr4_byte: [GENERIC] fcsp=rgb ctype=uint
- Legacy desc: [ba][rgb][le][be]
- planes=1, chroma=0:0 align=1:1 bits=4 cbits=0
- {1/8/[0:0] 0/0/[0:0] 0/0/[0:0] 0/0/[0:0] }
+ Basic desc: [ba][rgb][le][be]
+ planes=1, chroma=0:0 align=1:1
+ {8/[0:0] }
AVD: name=bgr4_byte chroma=0:0 flags=0x60 [rgb]
0: p=0 st=1 o=0 sh=0 d=1
1: p=0 st=1 o=0 sh=1 d=2
2: p=0 st=1 o=0 sh=3 d=1
bgr555: [GENERIC] fcsp=rgb ctype=uint
- Legacy desc: [ba][rgb][le]
- planes=1, chroma=0:0 align=1:1 bits=15 cbits=5
- {2/16/[0:0] 0/0/[0:0] 0/0/[0:0] 0/0/[0:0] }
+ Basic desc: [ba][rgb][le]
+ planes=1, chroma=0:0 align=1:1
+ {16/[0:0] }
AVD: name=bgr555le chroma=0:0 flags=0x20 [rgb]
0: p=0 st=2 o=0 sh=0 d=5
1: p=0 st=2 o=0 sh=5 d=5
2: p=0 st=2 o=1 sh=2 d=5
bgr555be: [GENERIC] fcsp=rgb ctype=uint
- Legacy desc: [ba][rgb][be]
- planes=1, chroma=0:0 align=1:1 bits=15 cbits=5
- {2/16/[0:0] 0/0/[0:0] 0/0/[0:0] 0/0/[0:0] }
+ Basic desc: [ba][rgb][be]
+ planes=1, chroma=0:0 align=1:1
+ {16/[0:0] }
AVD: name=bgr555be chroma=0:0 flags=0x21 [be][rgb]
0: p=0 st=2 o=0 sh=0 d=5
1: p=0 st=2 o=0 sh=5 d=5
2: p=0 st=2 o=-1 sh=2 d=5
bgr565: [GENERIC] fcsp=rgb ctype=uint
- Legacy desc: [ba][rgb][le]
- planes=1, chroma=0:0 align=1:1 bits=16 cbits=0
- {2/16/[0:0] 0/0/[0:0] 0/0/[0:0] 0/0/[0:0] }
+ Basic desc: [ba][rgb][le]
+ planes=1, chroma=0:0 align=1:1
+ {16/[0:0] }
AVD: name=bgr565le chroma=0:0 flags=0x20 [rgb]
0: p=0 st=2 o=0 sh=0 d=5
1: p=0 st=2 o=0 sh=5 d=6
2: p=0 st=2 o=1 sh=3 d=5
bgr565be: [GENERIC] fcsp=rgb ctype=uint
- Legacy desc: [ba][rgb][be]
- planes=1, chroma=0:0 align=1:1 bits=16 cbits=0
- {2/16/[0:0] 0/0/[0:0] 0/0/[0:0] 0/0/[0:0] }
+ Basic desc: [ba][rgb][be]
+ planes=1, chroma=0:0 align=1:1
+ {16/[0:0] }
AVD: name=bgr565be chroma=0:0 flags=0x21 [be][rgb]
0: p=0 st=2 o=0 sh=0 d=5
1: p=0 st=2 o=0 sh=5 d=6
2: p=0 st=2 o=-1 sh=3 d=5
bgr8: [GENERIC] fcsp=rgb ctype=uint
- Legacy desc: [ba][rgb][le][be]
- planes=1, chroma=0:0 align=1:1 bits=8 cbits=0
- {1/8/[0:0] 0/0/[0:0] 0/0/[0:0] 0/0/[0:0] }
+ Basic desc: [ba][rgb][le][be]
+ planes=1, chroma=0:0 align=1:1
+ {8/[0:0] }
AVD: name=bgr8 chroma=0:0 flags=0x60 [rgb]
0: p=0 st=1 o=0 sh=0 d=3
1: p=0 st=1 o=0 sh=3 d=3
2: p=0 st=1 o=0 sh=6 d=2
bgra: fcsp=rgb ctype=uint
- Legacy desc: [ba][a][rgb][le][be]
- planes=1, chroma=0:0 align=1:1 bits=32 cbits=8
- {4/32/[0:0] 0/0/[0:0] 0/0/[0:0] 0/0/[0:0] }
+ Basic desc: [ba][a][rgb][le][be]
+ planes=1, chroma=0:0 align=1:1
+ {32/[0:0] }
Regular: planes=1 compbytes=1 bitpad=0 chroma=1x1 ctype=uint
0: {3, 2, 1, 4}
AVD: name=bgra chroma=0:0 flags=0xa0 [rgb][alpha]
@@ -278,9 +278,9 @@ bgra: fcsp=rgb ctype=uint
2: p=0 st=4 o=0 sh=0 d=8
3: p=0 st=4 o=3 sh=0 d=8
bgra64: [GENERIC] fcsp=rgb ctype=uint
- Legacy desc: [ba][a][rgb][le]
- planes=1, chroma=0:0 align=1:1 bits=64 cbits=16
- {8/64/[0:0] 0/0/[0:0] 0/0/[0:0] 0/0/[0:0] }
+ Basic desc: [ba][a][rgb][le]
+ planes=1, chroma=0:0 align=1:1
+ {64/[0:0] }
Regular: planes=1 compbytes=2 bitpad=0 chroma=1x1 ctype=uint
0: {3, 2, 1, 4}
AVD: name=bgra64le chroma=0:0 flags=0xa0 [rgb][alpha]
@@ -289,43 +289,43 @@ bgra64: [GENERIC] fcsp=rgb ctype=uint
2: p=0 st=8 o=0 sh=0 d=16
3: p=0 st=8 o=6 sh=0 d=16
bgra64be: [GENERIC] fcsp=rgb ctype=uint
- Legacy desc: [ba][a][rgb][be]
- planes=1, chroma=0:0 align=1:1 bits=64 cbits=16
- {8/64/[0:0] 0/0/[0:0] 0/0/[0:0] 0/0/[0:0] }
+ Basic desc: [ba][a][rgb][be]
+ planes=1, chroma=0:0 align=1:1
+ {64/[0:0] }
AVD: name=bgra64be chroma=0:0 flags=0xa1 [be][rgb][alpha]
0: p=0 st=8 o=4 sh=0 d=16
1: p=0 st=8 o=2 sh=0 d=16
2: p=0 st=8 o=0 sh=0 d=16
3: p=0 st=8 o=6 sh=0 d=16
cuda: ctype=unknown
- Legacy desc: [le][be][hw]
- planes=0, chroma=0:0 align=1:1 bits=0 cbits=0
- {0/0/[0:0] 0/0/[0:0] 0/0/[0:0] 0/0/[0:0] }
+ Basic desc: [le][be][hw]
+ planes=0, chroma=0:0 align=1:1
+ {}
AVD: name=cuda chroma=0:0 flags=0x8 [hw]
d3d11: ctype=unknown
- Legacy desc: [le][be][hw]
- planes=0, chroma=0:0 align=1:1 bits=0 cbits=0
- {0/0/[0:0] 0/0/[0:0] 0/0/[0:0] 0/0/[0:0] }
+ Basic desc: [le][be][hw]
+ planes=0, chroma=0:0 align=1:1
+ {}
AVD: name=d3d11 chroma=0:0 flags=0x8 [hw]
d3d11va_vld: [GENERIC] ctype=unknown
- Legacy desc: [le][be][hw]
- planes=0, chroma=1:1 align=2:2 bits=0 cbits=0
- {0/0/[0:0] 0/0/[0:0] 0/0/[0:0] 0/0/[0:0] }
+ Basic desc: [le][be][hw]
+ planes=0, chroma=1:1 align=2:2
+ {}
AVD: name=d3d11va_vld chroma=1:1 flags=0x8 [hw]
drm_prime: ctype=unknown
- Legacy desc: [le][be][hw]
- planes=0, chroma=0:0 align=1:1 bits=0 cbits=0
- {0/0/[0:0] 0/0/[0:0] 0/0/[0:0] 0/0/[0:0] }
+ Basic desc: [le][be][hw]
+ planes=0, chroma=0:0 align=1:1
+ {}
AVD: name=drm_prime chroma=0:0 flags=0x8 [hw]
dxva2_vld: ctype=unknown
- Legacy desc: [le][be][hw]
- planes=0, chroma=1:1 align=2:2 bits=0 cbits=0
- {0/0/[0:0] 0/0/[0:0] 0/0/[0:0] 0/0/[0:0] }
+ Basic desc: [le][be][hw]
+ planes=0, chroma=1:1 align=2:2
+ {}
AVD: name=dxva2_vld chroma=1:1 flags=0x8 [hw]
gbrap: [GENERIC] fcsp=rgb ctype=uint
- Legacy desc: [ba][a][rgb][le][be]
- planes=4, chroma=0:0 align=1:1 bits=8 cbits=8
- {1/8/[0:0] 1/8/[0:0] 1/8/[0:0] 1/8/[0:0] }
+ Basic desc: [ba][a][rgb][le][be]
+ planes=4, chroma=0:0 align=1:1
+ {8/[0:0] 8/[0:0] 8/[0:0] 8/[0:0] }
Regular: planes=4 compbytes=1 bitpad=0 chroma=1x1 ctype=uint
0: {2}
1: {3}
@@ -337,9 +337,9 @@ gbrap: [GENERIC] fcsp=rgb ctype=uint
2: p=1 st=1 o=0 sh=0 d=8
3: p=3 st=1 o=0 sh=0 d=8
gbrap10: [GENERIC] fcsp=rgb ctype=uint
- Legacy desc: [ba][a][rgb][le]
- planes=4, chroma=0:0 align=1:1 bits=10 cbits=10
- {2/16/[0:0] 2/16/[0:0] 2/16/[0:0] 2/16/[0:0] }
+ Basic desc: [ba][a][rgb][le]
+ planes=4, chroma=0:0 align=1:1
+ {16/[0:0] 16/[0:0] 16/[0:0] 16/[0:0] }
Regular: planes=4 compbytes=2 bitpad=-6 chroma=1x1 ctype=uint
0: {2}
1: {3}
@@ -351,18 +351,18 @@ gbrap10: [GENERIC] fcsp=rgb ctype=uint
2: p=1 st=2 o=0 sh=0 d=10
3: p=3 st=2 o=0 sh=0 d=10
gbrap10be: [GENERIC] fcsp=rgb ctype=uint
- Legacy desc: [ba][a][rgb][be]
- planes=4, chroma=0:0 align=1:1 bits=10 cbits=10
- {2/16/[0:0] 2/16/[0:0] 2/16/[0:0] 2/16/[0:0] }
+ Basic desc: [ba][a][rgb][be]
+ planes=4, chroma=0:0 align=1:1
+ {16/[0:0] 16/[0:0] 16/[0:0] 16/[0:0] }
AVD: name=gbrap10be chroma=0:0 flags=0xb1 [be][planar][rgb][alpha]
0: p=2 st=2 o=0 sh=0 d=10
1: p=0 st=2 o=0 sh=0 d=10
2: p=1 st=2 o=0 sh=0 d=10
3: p=3 st=2 o=0 sh=0 d=10
gbrap12: [GENERIC] fcsp=rgb ctype=uint
- Legacy desc: [ba][a][rgb][le]
- planes=4, chroma=0:0 align=1:1 bits=12 cbits=12
- {2/16/[0:0] 2/16/[0:0] 2/16/[0:0] 2/16/[0:0] }
+ Basic desc: [ba][a][rgb][le]
+ planes=4, chroma=0:0 align=1:1
+ {16/[0:0] 16/[0:0] 16/[0:0] 16/[0:0] }
Regular: planes=4 compbytes=2 bitpad=-4 chroma=1x1 ctype=uint
0: {2}
1: {3}
@@ -374,18 +374,18 @@ gbrap12: [GENERIC] fcsp=rgb ctype=uint
2: p=1 st=2 o=0 sh=0 d=12
3: p=3 st=2 o=0 sh=0 d=12
gbrap12be: [GENERIC] fcsp=rgb ctype=uint
- Legacy desc: [ba][a][rgb][be]
- planes=4, chroma=0:0 align=1:1 bits=12 cbits=12
- {2/16/[0:0] 2/16/[0:0] 2/16/[0:0] 2/16/[0:0] }
+ Basic desc: [ba][a][rgb][be]
+ planes=4, chroma=0:0 align=1:1
+ {16/[0:0] 16/[0:0] 16/[0:0] 16/[0:0] }
AVD: name=gbrap12be chroma=0:0 flags=0xb1 [be][planar][rgb][alpha]
0: p=2 st=2 o=0 sh=0 d=12
1: p=0 st=2 o=0 sh=0 d=12
2: p=1 st=2 o=0 sh=0 d=12
3: p=3 st=2 o=0 sh=0 d=12
gbrap16: [GENERIC] fcsp=rgb ctype=uint
- Legacy desc: [ba][a][rgb][le]
- planes=4, chroma=0:0 align=1:1 bits=16 cbits=16
- {2/16/[0:0] 2/16/[0:0] 2/16/[0:0] 2/16/[0:0] }
+ Basic desc: [ba][a][rgb][le]
+ planes=4, chroma=0:0 align=1:1
+ {16/[0:0] 16/[0:0] 16/[0:0] 16/[0:0] }
Regular: planes=4 compbytes=2 bitpad=0 chroma=1x1 ctype=uint
0: {2}
1: {3}
@@ -397,18 +397,18 @@ gbrap16: [GENERIC] fcsp=rgb ctype=uint
2: p=1 st=2 o=0 sh=0 d=16
3: p=3 st=2 o=0 sh=0 d=16
gbrap16be: [GENERIC] fcsp=rgb ctype=uint
- Legacy desc: [ba][a][rgb][be]
- planes=4, chroma=0:0 align=1:1 bits=16 cbits=16
- {2/16/[0:0] 2/16/[0:0] 2/16/[0:0] 2/16/[0:0] }
+ Basic desc: [ba][a][rgb][be]
+ planes=4, chroma=0:0 align=1:1
+ {16/[0:0] 16/[0:0] 16/[0:0] 16/[0:0] }
AVD: name=gbrap16be chroma=0:0 flags=0xb1 [be][planar][rgb][alpha]
0: p=2 st=2 o=0 sh=0 d=16
1: p=0 st=2 o=0 sh=0 d=16
2: p=1 st=2 o=0 sh=0 d=16
3: p=3 st=2 o=0 sh=0 d=16
gbrapf32: [GENERIC] fcsp=rgb ctype=float
- Legacy desc: [ba][a][rgb][le]
- planes=4, chroma=0:0 align=1:1 bits=32 cbits=32
- {4/32/[0:0] 4/32/[0:0] 4/32/[0:0] 4/32/[0:0] }
+ Basic desc: [ba][a][rgb][le]
+ planes=4, chroma=0:0 align=1:1
+ {32/[0:0] 32/[0:0] 32/[0:0] 32/[0:0] }
Regular: planes=4 compbytes=4 bitpad=0 chroma=1x1 ctype=float
0: {2}
1: {3}
@@ -420,18 +420,18 @@ gbrapf32: [GENERIC] fcsp=rgb ctype=float
2: p=1 st=4 o=0 sh=0 d=32
3: p=3 st=4 o=0 sh=0 d=32
gbrapf32be: [GENERIC] fcsp=rgb ctype=float
- Legacy desc: [ba][a][rgb][be]
- planes=4, chroma=0:0 align=1:1 bits=32 cbits=32
- {4/32/[0:0] 4/32/[0:0] 4/32/[0:0] 4/32/[0:0] }
+ Basic desc: [ba][a][rgb][be]
+ planes=4, chroma=0:0 align=1:1
+ {32/[0:0] 32/[0:0] 32/[0:0] 32/[0:0] }
AVD: name=gbrapf32be chroma=0:0 flags=0x2b1 [be][planar][rgb][alpha][float]
0: p=2 st=4 o=0 sh=0 d=32
1: p=0 st=4 o=0 sh=0 d=32
2: p=1 st=4 o=0 sh=0 d=32
3: p=3 st=4 o=0 sh=0 d=32
gbrp: [GENERIC] fcsp=rgb ctype=uint
- Legacy desc: [ba][rgb][le][be]
- planes=3, chroma=0:0 align=1:1 bits=8 cbits=8
- {1/8/[0:0] 1/8/[0:0] 1/8/[0:0] 0/0/[0:0] }
+ Basic desc: [ba][rgb][le][be]
+ planes=3, chroma=0:0 align=1:1
+ {8/[0:0] 8/[0:0] 8/[0:0] }
Regular: planes=3 compbytes=1 bitpad=0 chroma=1x1 ctype=uint
0: {2}
1: {3}
@@ -441,17 +441,17 @@ gbrp: [GENERIC] fcsp=rgb ctype=uint
1: p=0 st=1 o=0 sh=0 d=8
2: p=1 st=1 o=0 sh=0 d=8
gbrp1: fcsp=rgb ctype=uint
- Legacy desc: [ba][rgb][le]
- planes=3, chroma=0:0 align=1:1 bits=1 cbits=1
- {1/8/[0:0] 1/8/[0:0] 1/8/[0:0] 0/0/[0:0] }
+ Basic desc: [ba][rgb][le]
+ planes=3, chroma=0:0 align=1:1
+ {8/[0:0] 8/[0:0] 8/[0:0] }
Regular: planes=3 compbytes=1 bitpad=-7 chroma=1x1 ctype=uint
0: {2}
1: {3}
2: {1}
gbrp10: [GENERIC] fcsp=rgb ctype=uint
- Legacy desc: [ba][rgb][le]
- planes=3, chroma=0:0 align=1:1 bits=10 cbits=10
- {2/16/[0:0] 2/16/[0:0] 2/16/[0:0] 0/0/[0:0] }
+ Basic desc: [ba][rgb][le]
+ planes=3, chroma=0:0 align=1:1
+ {16/[0:0] 16/[0:0] 16/[0:0] }
Regular: planes=3 compbytes=2 bitpad=-6 chroma=1x1 ctype=uint
0: {2}
1: {3}
@@ -461,17 +461,17 @@ gbrp10: [GENERIC] fcsp=rgb ctype=uint
1: p=0 st=2 o=0 sh=0 d=10
2: p=1 st=2 o=0 sh=0 d=10
gbrp10be: [GENERIC] fcsp=rgb ctype=uint
- Legacy desc: [ba][rgb][be]
- planes=3, chroma=0:0 align=1:1 bits=10 cbits=10
- {2/16/[0:0] 2/16/[0:0] 2/16/[0:0] 0/0/[0:0] }
+ Basic desc: [ba][rgb][be]
+ planes=3, chroma=0:0 align=1:1
+ {16/[0:0] 16/[0:0] 16/[0:0] }
AVD: name=gbrp10be chroma=0:0 flags=0x31 [be][planar][rgb]
0: p=2 st=2 o=0 sh=0 d=10
1: p=0 st=2 o=0 sh=0 d=10
2: p=1 st=2 o=0 sh=0 d=10
gbrp12: [GENERIC] fcsp=rgb ctype=uint
- Legacy desc: [ba][rgb][le]
- planes=3, chroma=0:0 align=1:1 bits=12 cbits=12
- {2/16/[0:0] 2/16/[0:0] 2/16/[0:0] 0/0/[0:0] }
+ Basic desc: [ba][rgb][le]
+ planes=3, chroma=0:0 align=1:1
+ {16/[0:0] 16/[0:0] 16/[0:0] }
Regular: planes=3 compbytes=2 bitpad=-4 chroma=1x1 ctype=uint
0: {2}
1: {3}
@@ -481,17 +481,17 @@ gbrp12: [GENERIC] fcsp=rgb ctype=uint
1: p=0 st=2 o=0 sh=0 d=12
2: p=1 st=2 o=0 sh=0 d=12
gbrp12be: [GENERIC] fcsp=rgb ctype=uint
- Legacy desc: [ba][rgb][be]
- planes=3, chroma=0:0 align=1:1 bits=12 cbits=12
- {2/16/[0:0] 2/16/[0:0] 2/16/[0:0] 0/0/[0:0] }
+ Basic desc: [ba][rgb][be]
+ planes=3, chroma=0:0 align=1:1
+ {16/[0:0] 16/[0:0] 16/[0:0] }
AVD: name=gbrp12be chroma=0:0 flags=0x31 [be][planar][rgb]
0: p=2 st=2 o=0 sh=0 d=12
1: p=0 st=2 o=0 sh=0 d=12
2: p=1 st=2 o=0 sh=0 d=12
gbrp14: [GENERIC] fcsp=rgb ctype=uint
- Legacy desc: [ba][rgb][le]
- planes=3, chroma=0:0 align=1:1 bits=14 cbits=14
- {2/16/[0:0] 2/16/[0:0] 2/16/[0:0] 0/0/[0:0] }
+ Basic desc: [ba][rgb][le]
+ planes=3, chroma=0:0 align=1:1
+ {16/[0:0] 16/[0:0] 16/[0:0] }
Regular: planes=3 compbytes=2 bitpad=-2 chroma=1x1 ctype=uint
0: {2}
1: {3}
@@ -501,17 +501,17 @@ gbrp14: [GENERIC] fcsp=rgb ctype=uint
1: p=0 st=2 o=0 sh=0 d=14
2: p=1 st=2 o=0 sh=0 d=14
gbrp14be: [GENERIC] fcsp=rgb ctype=uint
- Legacy desc: [ba][rgb][be]
- planes=3, chroma=0:0 align=1:1 bits=14 cbits=14
- {2/16/[0:0] 2/16/[0:0] 2/16/[0:0] 0/0/[0:0] }
+ Basic desc: [ba][rgb][be]
+ planes=3, chroma=0:0 align=1:1
+ {16/[0:0] 16/[0:0] 16/[0:0] }
AVD: name=gbrp14be chroma=0:0 flags=0x31 [be][planar][rgb]
0: p=2 st=2 o=0 sh=0 d=14
1: p=0 st=2 o=0 sh=0 d=14
2: p=1 st=2 o=0 sh=0 d=14
gbrp16: [GENERIC] fcsp=rgb ctype=uint
- Legacy desc: [ba][rgb][le]
- planes=3, chroma=0:0 align=1:1 bits=16 cbits=16
- {2/16/[0:0] 2/16/[0:0] 2/16/[0:0] 0/0/[0:0] }
+ Basic desc: [ba][rgb][le]
+ planes=3, chroma=0:0 align=1:1
+ {16/[0:0] 16/[0:0] 16/[0:0] }
Regular: planes=3 compbytes=2 bitpad=0 chroma=1x1 ctype=uint
0: {2}
1: {3}
@@ -521,57 +521,57 @@ gbrp16: [GENERIC] fcsp=rgb ctype=uint
1: p=0 st=2 o=0 sh=0 d=16
2: p=1 st=2 o=0 sh=0 d=16
gbrp16be: [GENERIC] fcsp=rgb ctype=uint
- Legacy desc: [ba][rgb][be]
- planes=3, chroma=0:0 align=1:1 bits=16 cbits=16
- {2/16/[0:0] 2/16/[0:0] 2/16/[0:0] 0/0/[0:0] }
+ Basic desc: [ba][rgb][be]
+ planes=3, chroma=0:0 align=1:1
+ {16/[0:0] 16/[0:0] 16/[0:0] }
AVD: name=gbrp16be chroma=0:0 flags=0x31 [be][planar][rgb]
0: p=2 st=2 o=0 sh=0 d=16
1: p=0 st=2 o=0 sh=0 d=16
2: p=1 st=2 o=0 sh=0 d=16
gbrp2: fcsp=rgb ctype=uint
- Legacy desc: [ba][rgb][le]
- planes=3, chroma=0:0 align=1:1 bits=2 cbits=2
- {1/8/[0:0] 1/8/[0:0] 1/8/[0:0] 0/0/[0:0] }
+ Basic desc: [ba][rgb][le]
+ planes=3, chroma=0:0 align=1:1
+ {8/[0:0] 8/[0:0] 8/[0:0] }
Regular: planes=3 compbytes=1 bitpad=-6 chroma=1x1 ctype=uint
0: {2}
1: {3}
2: {1}
gbrp3: fcsp=rgb ctype=uint
- Legacy desc: [ba][rgb][le]
- planes=3, chroma=0:0 align=1:1 bits=3 cbits=3
- {1/8/[0:0] 1/8/[0:0] 1/8/[0:0] 0/0/[0:0] }
+ Basic desc: [ba][rgb][le]
+ planes=3, chroma=0:0 align=1:1
+ {8/[0:0] 8/[0:0] 8/[0:0] }
Regular: planes=3 compbytes=1 bitpad=-5 chroma=1x1 ctype=uint
0: {2}
1: {3}
2: {1}
gbrp4: fcsp=rgb ctype=uint
- Legacy desc: [ba][rgb][le]
- planes=3, chroma=0:0 align=1:1 bits=4 cbits=4
- {1/8/[0:0] 1/8/[0:0] 1/8/[0:0] 0/0/[0:0] }
+ Basic desc: [ba][rgb][le]
+ planes=3, chroma=0:0 align=1:1
+ {8/[0:0] 8/[0:0] 8/[0:0] }
Regular: planes=3 compbytes=1 bitpad=-4 chroma=1x1 ctype=uint
0: {2}
1: {3}
2: {1}
gbrp5: fcsp=rgb ctype=uint
- Legacy desc: [ba][rgb][le]
- planes=3, chroma=0:0 align=1:1 bits=5 cbits=5
- {1/8/[0:0] 1/8/[0:0] 1/8/[0:0] 0/0/[0:0] }
+ Basic desc: [ba][rgb][le]
+ planes=3, chroma=0:0 align=1:1
+ {8/[0:0] 8/[0:0] 8/[0:0] }
Regular: planes=3 compbytes=1 bitpad=-3 chroma=1x1 ctype=uint
0: {2}
1: {3}
2: {1}
gbrp6: fcsp=rgb ctype=uint
- Legacy desc: [ba][rgb][le]
- planes=3, chroma=0:0 align=1:1 bits=6 cbits=6
- {1/8/[0:0] 1/8/[0:0] 1/8/[0:0] 0/0/[0:0] }
+ Basic desc: [ba][rgb][le]
+ planes=3, chroma=0:0 align=1:1
+ {8/[0:0] 8/[0:0] 8/[0:0] }
Regular: planes=3 compbytes=1 bitpad=-2 chroma=1x1 ctype=uint
0: {2}
1: {3}