2.7.1.3. LumaOnly Formats¶
This family of formats only store the luma component of a Y’CbCr image. They are often referred to as greyscale formats.
Note
In all the tables that follow, bit 7 is the most significant bit in a byte.
Formats are described with the minimum number of pixels needed to create a bytealigned repeating pattern. ... indicates repetition of the pattern.
Y’_{x}[9:2] denotes bits 9 to 2 of the Y’ value for pixel at column x.
0 denotes padding bits set to 0.
Identifier 
Code 
Byte 0 
Byte 1 
Byte 2 
Byte 3 
Byte 4 
Byte 5 
Byte 6 


‘GREY’ 
Y’_{0}[7:0] 
... 
... 
... 
... 
... 
... 

‘ip3y’ 
Y’_{0}[7:0] 
Y’_{1}[5:0] Y’_{0}[9:8] 
Y’_{2}[3:0] Y’_{1}[9:6] 
Y’_{3}[1:0] Y’_{2}[9:4] 
Y’_{3}[9:2] 
... 
... 

‘Y10 ‘ 
Y’_{0}[7:0] 
000000 Y’_{0}[9:8] 
... 
... 
... 
... 
... 

‘Y10B’ 
Y’_{0}[9:2] 
Y’_{0}[1:0] Y’_{1}[9:4] 
Y’_{1}[3:0] Y’_{2}[9:6] 
Y’_{2}[5:0] Y’_{3}[9:8] 
Y’_{3}[7:0] 
... 
... 

‘Y10P’ 
Y’_{0}[9:2] 
Y’_{1}[9:2] 
Y’_{2}[9:2] 
Y’_{3}[9:2] 
Y’_{3}[1:0] Y’_{2}[1:0] Y’_{1}[1:0] Y’_{0}[1:0] 
... 
... 

‘Y12 ‘ 
Y’_{0}[7:0] 
0000 Y’_{0}[11:8] 
... 
... 
... 
... 
... 

‘Y012’ 
Y’_{0}[3:0] 0000 
Y’_{0}[11:4] 
... 
... 
... 
... 
... 

‘Y12P’ 
Y’_{0}[11:4] 
Y’_{1}[11:4] 
Y’_{1}[3:0] Y’_{0}[3:0] 
... 
... 
... 
... 

‘Y14 ‘ 
Y’_{0}[7:0] 
00 Y’_{0}[13:8] 
... 
... 
... 
... 
... 

‘Y14P’ 
Y’_{0}[13:6] 
Y’_{1}[13:6] 
Y’_{2}[13:6] 
Y’_{3}[13:6] 
Y’_{1}[1:0] Y’_{0}[5:0] 
Y’_{2}[3:0] Y’_{1}[5:2] 
Y’_{3}[5:0] Y’_{2}[5:4] 

‘Y16 ‘ 
Y’_{0}[7:0] 
Y’_{0}[15:8] 
... 
... 
... 
... 
... 

‘Y16 ‘  (1U << 31) 
Y’_{0}[15:8] 
Y’_{0}[7:0] 
... 
... 
... 
... 
... 
Note
For the Y16 and Y16_BE formats, the actual sampling precision may be lower than 16 bits. For example, 10 bits per pixel uses values in the range 0 to 1023. For the IPU3_Y10 format 25 pixels are packed into 32 bytes, which leaves the 6 most significant bits of the last byte padded with 0.
For Y012 and Y12 formats, Y012 places its data in the 12 high bits, with padding zeros in the 4 low bits, in contrast to the Y12 format, which has its padding located in the most significant bits of the 16 bit word.