| .. | .. |
|---|
| 178 | 178 | { .format = DRM_FORMAT_BGRA5551, .depth = 15, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true }, |
|---|
| 179 | 179 | { .format = DRM_FORMAT_RGB565, .depth = 16, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, |
|---|
| 180 | 180 | { .format = DRM_FORMAT_BGR565, .depth = 16, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, |
|---|
| 181 | +#ifdef __BIG_ENDIAN |
|---|
| 182 | + { .format = DRM_FORMAT_XRGB1555 | DRM_FORMAT_BIG_ENDIAN, .depth = 15, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, |
|---|
| 183 | + { .format = DRM_FORMAT_RGB565 | DRM_FORMAT_BIG_ENDIAN, .depth = 16, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, |
|---|
| 184 | +#endif |
|---|
| 181 | 185 | { .format = DRM_FORMAT_RGB888, .depth = 24, .num_planes = 1, .cpp = { 3, 0, 0 }, .hsub = 1, .vsub = 1 }, |
|---|
| 182 | 186 | { .format = DRM_FORMAT_BGR888, .depth = 24, .num_planes = 1, .cpp = { 3, 0, 0 }, .hsub = 1, .vsub = 1 }, |
|---|
| 183 | 187 | { .format = DRM_FORMAT_XRGB8888, .depth = 24, .num_planes = 1, .cpp = { 4, 0, 0 }, .hsub = 1, .vsub = 1 }, |
|---|
| .. | .. |
|---|
| 290 | 294 | #endif |
|---|
| 291 | 295 | { .format = DRM_FORMAT_Q410, .depth = 0, |
|---|
| 292 | 296 | .num_planes = 3, .char_per_block = { 2, 2, 2 }, |
|---|
| 293 | | - .block_w = { 1, 1, 1 }, .block_h = { 1, 1, 1 }, .hsub = 0, |
|---|
| 294 | | - .vsub = 0, .is_yuv = true }, |
|---|
| 297 | + .block_w = { 1, 1, 1 }, .block_h = { 1, 1, 1 }, .hsub = 1, |
|---|
| 298 | + .vsub = 1, .is_yuv = true }, |
|---|
| 295 | 299 | { .format = DRM_FORMAT_Q401, .depth = 0, |
|---|
| 296 | 300 | .num_planes = 3, .char_per_block = { 2, 2, 2 }, |
|---|
| 297 | | - .block_w = { 1, 1, 1 }, .block_h = { 1, 1, 1 }, .hsub = 0, |
|---|
| 298 | | - .vsub = 0, .is_yuv = true }, |
|---|
| 301 | + .block_w = { 1, 1, 1 }, .block_h = { 1, 1, 1 }, .hsub = 1, |
|---|
| 302 | + .vsub = 1, .is_yuv = true }, |
|---|
| 303 | + { .format = DRM_FORMAT_P030, .depth = 0, .num_planes = 2, |
|---|
| 304 | + .char_per_block = { 4, 8, 0 }, .block_w = { 3, 3, 0 }, .block_h = { 1, 1, 0 }, |
|---|
| 305 | + .hsub = 2, .vsub = 2, .is_yuv = true}, |
|---|
| 299 | 306 | }; |
|---|
| 300 | 307 | |
|---|
| 301 | 308 | unsigned int i; |
|---|