video/img_format: move IMGFMT_X2RGB10 from custom range

This commit is contained in:
Kacper Michajłow
2026-02-19 19:18:56 +01:00
parent 7b015a9846
commit 71bc92a080
+2 -3
View File
@@ -247,6 +247,8 @@ enum mp_imgfmt {
IMGFMT_BGR24, // 3 bytes per pixel
IMGFMT_RGB24,
IMGFMT_X2RGB10, // 2pad 10r 10g 10b (MSB to LSB)
// Like e.g. IMGFMT_ARGB, but has a padding byte instead of alpha
IMGFMT_0RGB,
IMGFMT_BGR0,
@@ -297,9 +299,6 @@ enum mp_imgfmt {
IMGFMT_411PF,
IMGFMT_411APF,
// Accessed with bit-shifts, uint32_t units.
IMGFMT_X2RGB10, // 2pad 10r 10g 10b (MSB to LSB)
// Fringe formats for fringe RGB format repacking.
IMGFMT_Y1, // gray with 1 bit per pixel
IMGFMT_GBRP1, // planar RGB with N bits per color component