1
Fork 0

v4l2: check for format support

This commit is contained in:
Wim Taymans 2023-08-01 12:59:35 +02:00
parent 2410660299
commit 950c2d2675
1 changed files with 2 additions and 0 deletions

View File

@ -985,7 +985,9 @@ static const struct format_info format_info[] = {
MAKE_FORMAT(Y10, video, raw, 2, UNKNOWN),
MAKE_FORMAT(Y12, video, raw, 2, UNKNOWN),
MAKE_FORMAT(Y16, video, raw, 2, GRAY16_LE),
#ifdef V4L2_PIX_FMT_Y16_BE
MAKE_FORMAT(Y16_BE, video, raw, 2, GRAY16_BE),
#endif
MAKE_FORMAT(Y10BPACK, video, raw, 2, UNKNOWN),
/* Palette formats */