These formats store the color information of the image in a geometrical representation. The colors are mapped into a cylinder, where the angle is the HUE, the height is the VALUE and the distance to the center is the SATURATION. This is a very useful format for image segmentation algorithms.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -587,6 +587,10 @@ struct v4l2_pix_format { · 586 unmodified lines | |||
| 587 | #define V4L2_PIX_FMT_SRGGB12 v4l2_fourcc('R', 'G', '1', '2') /* 12 RGRG.. GBGB.. */ | 587 | #define V4L2_PIX_FMT_SRGGB12 v4l2_fourcc('R', 'G', '1', '2') /* 12 RGRG.. GBGB.. */ |
| 588 | #define V4L2_PIX_FMT_SBGGR16 v4l2_fourcc('B', 'Y', 'R', '2') /* 16 BGBG.. GRGR.. */ | 588 | #define V4L2_PIX_FMT_SBGGR16 v4l2_fourcc('B', 'Y', 'R', '2') /* 16 BGBG.. GRGR.. */ |
| 589 | 589 | ||
| 590 | /* HSV formats */ | ||
| 591 | #define V4L2_PIX_FMT_HSV24 v4l2_fourcc('H', 'S', 'V', '3') | ||
| 592 | #define V4L2_PIX_FMT_HSV32 v4l2_fourcc('H', 'S', 'V', '4') | ||
| 593 | |||
| 590 | /* compressed formats */ | 594 | /* compressed formats */ |
| 591 | #define V4L2_PIX_FMT_MJPEG v4l2_fourcc('M', 'J', 'P', 'G') /* Motion-JPEG */ | 595 | #define V4L2_PIX_FMT_MJPEG v4l2_fourcc('M', 'J', 'P', 'G') /* Motion-JPEG */ |
| 592 | #define V4L2_PIX_FMT_JPEG v4l2_fourcc('J', 'P', 'E', 'G') /* JFIF JPEG */ | 596 | #define V4L2_PIX_FMT_JPEG v4l2_fourcc('J', 'P', 'E', 'G') /* JFIF JPEG */ |