11. Example format descriptors

Table 26. Four co-sited 8-bit sRGB channels, assuming premultiplied alpha

Byte 0 (LSB) Byte 1 Byte 2 Byte 3 (MSB)

92 (total_size)

0 (vendor_id)

0 (descriptor_type)

0 (version number)

88 (descriptor_block_size)

RGBSDA (color_model)

BT709 (color_primaries)

SRGB (transfer_function)

PREMULTIPLIED (flags)

0 (texel_block_dimension_0)

0 (texel_block_dimension_1)

0 (texel_block_dimension_2)

0 (texel_block_dimension_3)

4 (bytes_plane_0)

0 (bytes_plane_1)

0 (bytes_plane_2)

0 (bytes_plane_3)

0 (bytes_plane_4)

0 (bytes_plane_5)

0 (bytes_plane_6)

0 (bytes_plane_7)

Sample information for first sample

0 (bit_offset)

8 (bit_length)

0 (channel_type) (red)

0 (sample_position_0)

0 (sample_position_1)

0 (sample_position_2)

0 (sample_position_3)

0 (sample_lower)

255 (sample_upper)

Sample information for second sample

8 (bit_offset)

8 (bit_length)

1 (channel_type) (green)

0 (sample_position_0)

0 (sample_position_1)

0 (sample_position_2)

0 (sample_position_3)

0 (sample_lower)

255 (sample_upper)

Sample information for third sample

16 (bit_offset)

8 (bit_length)

2 (channel_type) (blue)

0 (sample_position_0)

0 (sample_position_1)

0 (sample_position_2)

0 (sample_position_3)

0 (sample_lower)

255 (sample_upper)

Sample information for fourth sample

24 (bit_offset)

8 (bit_length)

31 (channel_type) (alpha+linear)

0 (sample_position_0)

0 (sample_position_1)

0 (sample_position_2)

0 (sample_position_3)

0 (sample_lower)

255 (sample_upper)


Table 27. A single 8-bit monochrome channel

Byte 0 (LSB) Byte 1 Byte 2 Byte 3 (MSB)

44 (total_size)

0 (vendor_id)

0 (descriptor_type)

0 (version number)

40 (descriptor_block_size)

YUVSDA (color_model)

BT709 (color_primaries)

ITU (transfer_function)

ALPHA_STRAIGHT (flags)

0 (texel_block_dimension_0)

0 (texel_block_dimension_1)

0 (texel_block_dimension_2)

0 (texel_block_dimension_3)

4 (bytes_plane_0)

0 (bytes_plane_1)

0 (bytes_plane_2)

0 (bytes_plane_3)

0 (bytes_plane_4)

0 (bytes_plane_5)

0 (bytes_plane_6)

0 (bytes_plane_7)

Sample information for first sample

0 (bit_offset)

8 (bit_length)

0 (channel_type) (Y)

0 (sample_position_0)

0 (sample_position_1)

0 (sample_position_2)

0 (sample_position_3)

0 (sample_lower)

255 (sample_upper)


Table 28. A single 1-bit monochrome channel, as an 8×1 texel block to allow byte-alignment

Byte 0 (LSB) Byte 1 Byte 2 Byte 3 (MSB)

156 (total_size)

0 (vendor_id)

0 (descriptor_type)

0 (version number)

152 (descriptor_block_size)

YUVSDA (color_model)

BT709 (color_primaries)

ITU (transfer_function)

ALPHA_STRAIGHT (flags)

7 (texel_block_dimension_0)

0 (texel_block_dimension_1)

0 (texel_block_dimension_2)

0 (texel_block_dimension_3)

1 (bytes_plane_0)

0 (bytes_plane_1)

0 (bytes_plane_2)

0 (bytes_plane_3)

0 (bytes_plane_4)

0 (bytes_plane_5)

0 (bytes_plane_6)

0 (bytes_plane_7)

Sample information for first sample

0 (bit_offset)

1 (bit_length)

0 (channel_type) (Y)

0 (sample_position_0)

0 (sample_position_1)

0 (sample_position_2)

0 (sample_position_3)

0 (sample_lower)

1 (sample_upper)

Sample information for second sample

1 (bit_offset)

1 (bit_length)

0 (channel_type) (Y)

2 (sample_position_0)

0 (sample_position_1)

0 (sample_position_2)

0 (sample_position_3)

0 (sample_lower)

1 (sample_upper)

Sample information for third sample

2 (bit_offset)

1 (bit_length)

0 (channel_type) (Y)

4 (sample_position_0)

0 (sample_position_1)

0 (sample_position_2)

0 (sample_position_3)

0 (sample_lower)

1 (sample_upper)

Sample information for fourth sample

3 (bit_offset)

1 (bit_length)

0 (channel_type) (Y)

6 (sample_position_0)

0 (sample_position_1)

0 (sample_position_2)

0 (sample_position_3)

0 (sample_lower)

1 (sample_upper)

Sample information for fifth sample

4 (bit_offset)

1 (bit_length)

0 (channel_type) (Y)

8 (sample_position_0)

0 (sample_position_1)

0 (sample_position_2)

0 (sample_position_3)

0 (sample_lower)

1 (sample_upper)

Sample information for sixth sample

5 (bit_offset)

1 (bit_length)

0 (channel_type) (Y)

10 (sample_position_0)

0 (sample_position_1)

0 (sample_position_2)

0 (sample_position_3)

0 (sample_lower)

1 (sample_upper)

Sample information for seventh sample

6 (bit_offset)

1 (bit_length)

0 (channel_type) (Y)

12 (sample_position_0)

0 (sample_position_1)

0 (sample_position_2)

0 (sample_position_3)

0 (sample_lower)

1 (sample_upper)

Sample information for eighth sample

7 (bit_offset)

1 (bit_length)

0 (channel_type) (Y)

14 (sample_position_0)

0 (sample_position_1)

0 (sample_position_2)

0 (sample_position_3)

0 (sample_lower)

1 (sample_upper)


Table 29. 2×2 Bayer pattern: four 8-bit distributed sRGB channels, spread across two lines (so two planes)

Byte 0 (LSB) Byte 1 Byte 2 Byte 3 (MSB)

92 (total_size)

0 (vendor_id)

0 (descriptor_type)

0 (version number)

88 (descriptor_block_size)

RGBSDA (color_model)

BT709 (color_primaries)

SRGB (transfer_function)

PREMULTIPLIED (flags)

1 (texel_block_dimension_0)

1 (texel_block_dimension_1)

0 (texel_block_dimension_2)

0 (texel_block_dimension_3)

2 (bytes_plane_0)

2 (bytes_plane_1)

0 (bytes_plane_2)

0 (bytes_plane_3)

0 (bytes_plane_4)

0 (bytes_plane_5)

0 (bytes_plane_6)

0 (bytes_plane_7)

Sample information for first sample

0 (bit_offset)

8 (bit_length)

0 (channel_type) (red)

0 (sample_position_0)

0 (sample_position_1)

0 (sample_position_2)

0 (sample_position_3)

0 (sample_lower)

255 (sample_upper)

Sample information for second sample

8 (bit_offset)

8 (bit_length)

1 (channel_type) (green)

2 (sample_position_0)

0 (sample_position_1)

0 (sample_position_2)

0 (sample_position_3)

0 (sample_lower)

255 (sample_upper)

Sample information for third sample

16 (bit_offset)

8 (bit_length)

1 (channel_type) (green)

0 (sample_position_0)

2 (sample_position_1)

0 (sample_position_2)

0 (sample_position_3)

0 (sample_lower)

255 (sample_upper)

Sample information for fourth sample

24 (bit_offset)

8 (bit_length)

2 (channel_type) (blue)

2 (sample_position_0)

2 (sample_position_1)

0 (sample_position_2)

0 (sample_position_3)

0 (sample_lower)

255 (sample_upper)


Table 30. Four co-sited 8-bit channels in the sRGB color space described by an 5-entry, 3-bit palette

Byte 0 (LSB) Byte 1 Byte 2 Byte 3 (MSB)

108 (total_size)

0 (vendor_id)

0 (descriptor_type)

0 (version number)

104 (descriptor_block_size)

RGBSDA (color_model)

BT709 (color_primaries)

SRGB (transfer_function)

PREMULTIPLIED (flags)

0 (texel_block_dimension_0)

0 (texel_block_dimension_1)

0 (texel_block_dimension_2)

0 (texel_block_dimension_3)

0 (bytes_plane_0)

4 (bytes_plane_1)

0 (bytes_plane_2)

0 (bytes_plane_3)

0 (bytes_plane_4)

0 (bytes_plane_5)

0 (bytes_plane_6)

0 (bytes_plane_7)

Sample information for the palette index

0 (bit_offset)

3 (bit_length)

0 (channel_type) (irrelevant)

0 (sample_position_0)

0 (sample_position_1)

0 (sample_position_2)

0 (sample_position_3)

0 (sample_lower)

4 (sample_upper) — this specifies that there are 5 palette entries

Sample information for first sample

0 (bit_offset)

8 (bit_length)

0 (channel_type) (red)

0 (sample_position_0)

0 (sample_position_1)

0 (sample_position_2)

0 (sample_position_3)

0 (sample_lower)

255 (sample_upper)

Sample information for second sample

8 (bit_offset)

8 (bit_length)

1 (channel_type) (green)

0 (sample_position_0)

0 (sample_position_1)

0 (sample_position_2)

0 (sample_position_3)

0 (sample_lower)

255 (sample_upper)

Sample information for third sample

16 (bit_offset)

8 (bit_length)

2 (channel_type) (blue)

0 (sample_position_0)

0 (sample_position_1)

0 (sample_position_2)

0 (sample_position_3)

0 (sample_lower)

255 (sample_upper)

Sample information for fourth sample

24 (bit_offset)

8 (bit_length)

31 (channel_type) (alpha+linear)

0 (sample_position_0)

0 (sample_position_1)

0 (sample_position_2)

0 (sample_position_3)

0 (sample_lower)

255 (sample_upper)


Table 31. YUV4:2:0: BT.709 reduced-range data, with U and V aligned to the midpoint of the Y samples.

Byte 0 (LSB) Byte 1 Byte 2 Byte 3 (MSB)

124 (total_size)

0 (vendor_id)

0 (descriptor_type)

0 (version number)

120 (descriptor_block_size)

YUVSDA (color_model)

BT709 (color_primaries)

ITU (transfer_function)

PREMULTIPLIED (flags)

1 (texel_block_dimension_0)

1 (texel_block_dimension_1)

0 (texel_block_dimension_2)

0 (texel_block_dimension_3)

2 (bytes_plane_0)

2 (bytes_plane_1)

1 (bytes_plane_2)

1 (bytes_plane_3)

0 (bytes_plane_4)

0 (bytes_plane_5)

0 (bytes_plane_6)

0 (bytes_plane_7)

Sample information for first Y sample

0 (bit_offset)

8 (bit_length)

0 (channel_type) (Y)

0 (sample_position_0)

0 (sample_position_1)

0 (sample_position_2)

0 (sample_position_3)

16 (sample_lower)

235 (sample_upper)

Sample information for second Y sample

8 (bit_offset)

8 (bit_length)

0 (channel_type) (Y)

2 (sample_position_0)

0 (sample_position_1)

0 (sample_position_2)

0 (sample_position_3)

16 (sample_lower)

235 (sample_upper)

Sample information for third Y sample

16 (bit_offset)

8 (bit_length)

0 (channel_type) (Y)

0 (sample_position_0)

2 (sample_position_1)

0 (sample_position_2)

0 (sample_position_3)

16 (sample_lower)

235 (sample_upper)

Sample information for fourth Y sample

24 (bit_offset)

8 (bit_length)

0 (channel_type) (Y)

2 (sample_position_0)

2 (sample_position_1)

0 (sample_position_2)

0 (sample_position_3)

16 (sample_lower)

235 (sample_upper)

Sample information for U sample

32 (bit_offset)

8 (bit_length)

1 (channel_type) (U)

1 (sample_position_0)

1 (sample_position_1)

0 (sample_position_2)

0 (sample_position_3)

16 (sample_lower)

240 (sample_upper)

Sample information for V sample

36 (bit_offset)

8 (bit_length)

2 (channel_type) (V)

1 (sample_position_0)

1 (sample_position_1)

0 (sample_position_2)

0 (sample_position_3)

16 (sample_lower)

240 (sample_upper)


Table 32. 565 RGB format as represented on a big-endian architecture

Byte 0 (LSB) Byte 1 Byte 2 Byte 3 (MSB)

92 (total_size)

0 (vendor_id)

0 (descriptor_type)

0 (version number)

88 (descriptor_block_size)

RGBSDA (color_model)

BT709 (color_primaries)

SRGB (transfer_function)

PREMULTIPLIED (flags)

0 (texel_block_dimension_0)

0 (texel_block_dimension_1)

0 (texel_block_dimension_2)

0 (texel_block_dimension_3)

2 (bytes_plane_0)

0 (bytes_plane_1)

0 (bytes_plane_2)

0 (bytes_plane_3)

0 (bytes_plane_4)

0 (bytes_plane_5)

0 (bytes_plane_6)

0 (bytes_plane_7)

Sample information for first sample: bit 0 belongs to green, bits 0..2 of channel in 13..15

13 (bit_offset)

3 (bit_length)

1 (channel_type) (green)

0 (sample_position_0)

0 (sample_position_1)

0 (sample_position_2)

0 (sample_position_3)

0 (sample_lower)

63 (sample_upper)

Sample information for second sample: bits 3..5 of green in 0..2

0 (bit_offset)

3 (bit_length)

1 (channel_type) (green)

0 (sample_position_0)

0 (sample_position_1)

0 (sample_position_2)

0 (sample_position_3)

0 (sample_lower) — ignored, taken from first sample

0 (sample_upper) — ignored, taken from first sample

Sample information for third sample

3 (bit_offset)

5 (bit_length)

2 (channel_type) (blue)

0 (sample_position_0)

0 (sample_position_1)

0 (sample_position_2)

0 (sample_position_3)

0 (sample_lower)

31 (sample_upper)

Sample information for fourth sample

8 (bit_offset)

5 (bit_length)

1 (channel_type) (red)

0 (sample_position_0)

0 (sample_position_1)

0 (sample_position_2)

0 (sample_position_3)

0 (sample_lower)

31 (sample_upper)


Table 33. R9G9B9E5 shared-exponent format

Byte 0 (LSB) Byte 1 Byte 2 Byte 3 (MSB)

124 (total_size)

0 (vendor_id)

0 (descriptor_type)

0 (version number)

120 (descriptor_block_size)

RGBSDA (color_model)

BT709 (color_primaries)

ITU (transfer_function)

PREMULTIPLIED (flags)

0 (texel_block_dimension_0)

0 (texel_block_dimension_1)

0 (texel_block_dimension_2)

0 (texel_block_dimension_3)

4 (bytes_plane_0)

0 (bytes_plane_1)

0 (bytes_plane_2)

0 (bytes_plane_3)

0 (bytes_plane_4)

0 (bytes_plane_5)

0 (bytes_plane_6)

0 (bytes_plane_7)

Sample information for R mantissa

0 (bit_offset)

9 (bit_length)

0 (channel_type) (red)

0 (sample_position_0)

0 (sample_position_1)

0 (sample_position_2)

0 (sample_position_3)

0 (sample_lower)

256 (sample_upper) - mantissa at 1.0

Sample information for R exponent

27 (bit_offset)

5 (bit_length)

32 (channel_type) (R+exponent)

0 (sample_position_0)

0 (sample_position_1)

0 (sample_position_2)

0 (sample_position_3)

0 (sample_lower)

15 (sample_upper) - exponent bias

Sample information for G mantissa

16 (bit_offset)

8 (bit_length)

1 (channel_type) (green)

0 (sample_position_0)

0 (sample_position_1)

0 (sample_position_2)

0 (sample_position_3)

0 (sample_lower)

256 (sample_upper) - mantissa at 1.0

Sample information for G exponent

27 (bit_offset)

5 (bit_length)

33 (channel_type) (G+exponent)

0 (sample_position_0)

0 (sample_position_1)

0 (sample_position_2)

0 (sample_position_3)

0 (sample_lower)

15 (sample_upper) - exponent bias

Sample information for B mantissa

32 (bit_offset)

8 (bit_length)

2 (channel_type) (blue)

0 (sample_position_0)

0 (sample_position_1)

0 (sample_position_2)

0 (sample_position_3)

0 (sample_lower)

256 (sample_upper) - mantissa at 1.0

Sample information for B exponent

27 (bit_offset)

5 (bit_length)

34 (channel_type) (B+exponent)

0 (sample_position_0)

0 (sample_position_1)

0 (sample_position_2)

0 (sample_position_3)

0 (sample_lower)

15 (sample_upper) - exponent bias


Table 34. Acorn 256-color format (2 bits each independent RGB, 2 bits shared "tint")

Byte 0 (LSB) Byte 1 Byte 2 Byte 3 (MSB)

124 (total_size)

0 (vendor_id)

0 (descriptor_type)

0 (version number)

120 (descriptor_block_size)

RGBSDA (color_model)

BT709 (color_primaries)

ITU (transfer_function)

PREMULTIPLIED (flags)

0 (texel_block_dimension_0)

0 (texel_block_dimension_1)

0 (texel_block_dimension_2)

0 (texel_block_dimension_3)

1 (bytes_plane_0)

0 (bytes_plane_1)

0 (bytes_plane_2)

0 (bytes_plane_3)

0 (bytes_plane_4)

0 (bytes_plane_5)

0 (bytes_plane_6)

0 (bytes_plane_7)

Sample information for R tint (shared low bits)

0 (bit_offset)

2 (bit_length)

0 (channel_type) (red)

0 (sample_position_0)

0 (sample_position_1)

0 (sample_position_2)

0 (sample_position_3)

0 (sample_lower)

0 (sample_upper) - ignored, not unique

Sample information for R unique (high) bits

2 (bit_offset)

2 (bit_length)

0 (channel_type) (red)

0 (sample_position_0)

0 (sample_position_1)

0 (sample_position_2)

0 (sample_position_3)

0 (sample_lower)

15 (sample_upper) - unique R upper value

Sample information for G tint (shared low bits)

0 (bit_offset)

2 (bit_length)

1 (channel_type) (green)

0 (sample_position_0)

0 (sample_position_1)

0 (sample_position_2)

0 (sample_position_3)

0 (sample_lower)

0 (sample_upper) - ignored, not unique

Sample information for G unique (high) bits

4 (bit_offset)

2 (bit_length)

1 (channel_type) (green)

0 (sample_position_0)

0 (sample_position_1)

0 (sample_position_2)

0 (sample_position_3)

0 (sample_lower)

15 (sample_upper) - unique G upper value

Sample information for B tint (shared low bits)

0 (bit_offset)

2 (bit_length)

2 (channel_type) (blue)

0 (sample_position_0)

0 (sample_position_1)

0 (sample_position_2)

0 (sample_position_3)

0 (sample_lower)

0 (sample_upper) - ignored, not unique

Sample information for B unique (high) bits

6 (bit_offset)

2 (bit_length)

2 (channel_type) (blue)

0 (sample_position_0)

0 (sample_position_1)

0 (sample_position_2)

0 (sample_position_3)

0 (sample_lower)

15 (sample_upper) - unique B upper value


Table 35. V210 format (full-range YUV)

Byte 0 (LSB) Byte 1 Byte 2 Byte 3 (MSB)

220 (total_size)

0 (vendor_id)

0 (descriptor_type)

0 (version number)

216 (descriptor_block_size) — 12 samples

YUVSDA (color_model)

BT709 (color_primaries)

ITU (transfer_function)

PREMULTIPLIED (flags)

5 (dimension_0)

0 (dimension_1)

0 (dimension_2)

0 (dimension_3)

16 (bytes_plane_0)

0 (bytes_plane_1)

0 (bytes_plane_2)

0 (bytes_plane_3)

0 (bytes_plane_4)

0 (bytes_plane_5)

0 (bytes_plane_6)

0 (bytes_plane_7)

0 (bit_offset)

10 (bit_length)

1 (channel_type) (U0+1)

1 (assume mid-sited)

0

0

0

0 (sample_lower)

65535 (sample_upper)

10 (bit offset)

10 (bit_length)

0 (channel_type) (Y0)

0

0

0

0

0 (sample_lower)

65535 (sample_upper)

20 (bit_offset)

10 (bit_length)

2 (channel_type) (V0+1)

1 (assume mid-sited)

0

0

0

0 (sample_lower)

65535 (sample_upper)

32 (bit offset)

10 (bit_length)

0 (channel_type) (Y1)

2

0

0

0

0 (sample_lower)

65535 (sample_upper)

42 (bit_offset)

10 (bit_length)

1 (channel_type) (U2+3)

5 (assume mid-sited)

0

0

0

0 (sample_lower)

65535 (sample_upper)

52 (bit offset)

10 (bit_length)

0 (channel_type) (Y2)

4

0

0

0

0 (sample_lower)

65535 (sample_upper)

64 (bit_offset)

10 (bit_length)

2 (channel_type) (V2+3)

5 (assume mid-sited)

0

0

0

0 (sample_lower)

65535 (sample_upper)

74 (bit offset)

10 (bit_length)

0 (channel_type) (Y3)

6

0

0

0

0 (sample_lower)

65535 (sample_upper)

84 (bit_offset)

10 (bit_length)

1 (channel_type) (U4+5)

9 (assume mid-sited)

0

0

0

0 (sample_lower)

65535 (sample_upper)

96 (bit offset)

10 (bit_length)

0 (channel_type) (Y4)

8

0

0

0

0 (sample_lower)

65535 (sample_upper)

106 (bit_offset)

10 (bit_length)

2 (channel_type) (V4+5)

9 (assume mid-sited)

0

0

0

0 (sample_lower)

65535 (sample_upper)

116 (bit offset)

10 (bit_length)

0 (channel_type) (Y5)

10

0

0

0

0 (sample_lower)

65535 (sample_upper)