The new format will be called V4L2_PIX_FMT_Y10P. It is similar to the V4L2_PIX_FMT_SBGGR10P family formats but V4L2_PIX_FMT_Y10P is a grayscale format.
Showing the changes to include/uapi/linux (1 of 4 files). Show all
Unified · Split
| @@ -522,6 +522,7 @@ struct v4l2_pix_format { · 521 unmodified lines | ||
| 522 | 522 | |
| 523 | 523 | /* Grey bit-packed formats */ |
| 524 | 524 | #define V4L2_PIX_FMT_Y10BPACK v4l2_fourcc('Y', '1', '0', 'B') /* 10 Greyscale bit-packed */ |
| 525 | +#define V4L2_PIX_FMT_Y10P v4l2_fourcc('Y', '1', '0', 'P') /* 10 Greyscale, MIPI RAW10 packed */ | |
| 525 | 526 | |
| 526 | 527 | /* Palette formats */ |
| 527 | 528 | #define V4L2_PIX_FMT_PAL8 v4l2_fourcc('P', 'A', 'L', '8') /* 8 8-bit palette */ |