The V4L2_PIX_FMT_BGRA444 format has a comment that explains why its 4CC value is GA12. This explains the development history and isn't of much interest to readers, it should have been part of a commit message instead. Drop the comment, anyone interested in history can turn to git.
Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -524,12 +524,6 @@ struct v4l2_pix_format { · 523 unmodified lines | ||
| 524 | 524 | #define V4L2_PIX_FMT_RGBX444 v4l2_fourcc('R', 'X', '1', '2') /* 16 rrrrgggg bbbbxxxx */ |
| 525 | 525 | #define V4L2_PIX_FMT_ABGR444 v4l2_fourcc('A', 'B', '1', '2') /* 16 aaaabbbb ggggrrrr */ |
| 526 | 526 | #define V4L2_PIX_FMT_XBGR444 v4l2_fourcc('X', 'B', '1', '2') /* 16 xxxxbbbb ggggrrrr */ |
| 527 | − | |
| 528 | −/* | |
| 529 | − * Originally this had 'BA12' as fourcc, but this clashed with the older | |
| 530 | − * V4L2_PIX_FMT_SGRBG12 which inexplicably used that same fourcc. | |
| 531 | − * So use 'GA12' instead for V4L2_PIX_FMT_BGRA444. | |
| 532 | − */ | |
| 533 | 527 | #define V4L2_PIX_FMT_BGRA444 v4l2_fourcc('G', 'A', '1', '2') /* 16 bbbbgggg rrrraaaa */ |
| 534 | 528 | #define V4L2_PIX_FMT_BGRX444 v4l2_fourcc('B', 'X', '1', '2') /* 16 bbbbgggg rrrrxxxx */ |
| 535 | 529 | #define V4L2_PIX_FMT_RGB555 v4l2_fourcc('R', 'G', 'B', 'O') /* 16 RGB-5-5-5 */ |