- // Positioning of the chroma samples. MPEG-1 and JPEG is (0.5, 0.5);
- // MPEG-2 and newer typically are (0.0, 0.5).
- float cb_x_position, cb_y_position;
- float cr_x_position, cr_y_position;
+ // Y' in one texture, and then Cb and Cr interleaved in one texture.
+ // In particular, this is a superset of the relatively popular NV12 mode.
+ // If you specify this mode, the “Cr” pointer texture will be unused
+ // (the ”Cb” texture contains both).
+ YCBCR_INPUT_SPLIT_Y_AND_CBCR,
+
+ // Y', Cb and Cr interleaved in the same texture (the “Y” texture;
+ // “Cb” and “Cr” are unused). This means you cannot have any subsampling;
+ // 4:4:4 only.
+ YCBCR_INPUT_INTERLEAVED,