The short comments had the correct order, but the long comments had the planes reversed.
Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -401,8 +401,8 @@ extern "C" { · 400 unmodified lines | |||
| 401 | * implementation can multiply the values by 2^6=64. For that reason the padding | 401 | * implementation can multiply the values by 2^6=64. For that reason the padding |
| 402 | * must only contain zeros. | 402 | * must only contain zeros. |
| 403 | * index 0 = Y plane, [15:0] z:Y [6:10] little endian | 403 | * index 0 = Y plane, [15:0] z:Y [6:10] little endian |
| 404 | * index 1 = Cr plane, [15:0] z:Cr [6:10] little endian | 404 | * index 1 = Cb plane, [15:0] z:Cb [6:10] little endian |
| 405 | * index 2 = Cb plane, [15:0] z:Cb [6:10] little endian | 405 | * index 2 = Cr plane, [15:0] z:Cr [6:10] little endian |
| 406 | */ | 406 | */ |
| 407 | #define DRM_FORMAT_S010 fourcc_code('S', '0', '1', '0') /* 2x2 subsampled Cb (1) and Cr (2) planes 10 bits per channel */ | 407 | #define DRM_FORMAT_S010 fourcc_code('S', '0', '1', '0') /* 2x2 subsampled Cb (1) and Cr (2) planes 10 bits per channel */ |
| 408 | #define DRM_FORMAT_S210 fourcc_code('S', '2', '1', '0') /* 2x1 subsampled Cb (1) and Cr (2) planes 10 bits per channel */ | 408 | #define DRM_FORMAT_S210 fourcc_code('S', '2', '1', '0') /* 2x1 subsampled Cb (1) and Cr (2) planes 10 bits per channel */ |
| @@ -414,8 +414,8 @@ extern "C" { · 5 unmodified lines | |||
| 414 | * implementation can multiply the values by 2^4=16. For that reason the padding | 414 | * implementation can multiply the values by 2^4=16. For that reason the padding |
| 415 | * must only contain zeros. | 415 | * must only contain zeros. |
| 416 | * index 0 = Y plane, [15:0] z:Y [4:12] little endian | 416 | * index 0 = Y plane, [15:0] z:Y [4:12] little endian |
| 417 | * index 1 = Cr plane, [15:0] z:Cr [4:12] little endian | 417 | * index 1 = Cb plane, [15:0] z:Cb [4:12] little endian |
| 418 | * index 2 = Cb plane, [15:0] z:Cb [4:12] little endian | 418 | * index 2 = Cr plane, [15:0] z:Cr [4:12] little endian |
| 419 | */ | 419 | */ |
| 420 | #define DRM_FORMAT_S012 fourcc_code('S', '0', '1', '2') /* 2x2 subsampled Cb (1) and Cr (2) planes 12 bits per channel */ | 420 | #define DRM_FORMAT_S012 fourcc_code('S', '0', '1', '2') /* 2x2 subsampled Cb (1) and Cr (2) planes 12 bits per channel */ |
| 421 | #define DRM_FORMAT_S212 fourcc_code('S', '2', '1', '2') /* 2x1 subsampled Cb (1) and Cr (2) planes 12 bits per channel */ | 421 | #define DRM_FORMAT_S212 fourcc_code('S', '2', '1', '2') /* 2x1 subsampled Cb (1) and Cr (2) planes 12 bits per channel */ |
| @@ -424,8 +424,8 @@ extern "C" { · 2 unmodified lines | |||
| 424 | /* | 424 | /* |
| 425 | * 3 plane YCbCr | 425 | * 3 plane YCbCr |
| 426 | * index 0 = Y plane, [15:0] Y little endian | 426 | * index 0 = Y plane, [15:0] Y little endian |
| 427 | * index 1 = Cr plane, [15:0] Cr little endian | 427 | * index 1 = Cb plane, [15:0] Cb little endian |
| 428 | * index 2 = Cb plane, [15:0] Cb little endian | 428 | * index 2 = Cr plane, [15:0] Cr little endian |
| 429 | */ | 429 | */ |
| 430 | #define DRM_FORMAT_S016 fourcc_code('S', '0', '1', '6') /* 2x2 subsampled Cb (1) and Cr (2) planes 16 bits per channel */ | 430 | #define DRM_FORMAT_S016 fourcc_code('S', '0', '1', '6') /* 2x2 subsampled Cb (1) and Cr (2) planes 16 bits per channel */ |
| 431 | #define DRM_FORMAT_S216 fourcc_code('S', '2', '1', '6') /* 2x1 subsampled Cb (1) and Cr (2) planes 16 bits per channel */ | 431 | #define DRM_FORMAT_S216 fourcc_code('S', '2', '1', '6') /* 2x1 subsampled Cb (1) and Cr (2) planes 16 bits per channel */ |