camera: add support for V4L2_PIX_FMT_SBGGR10P

This commit is contained in:
Kamil Trzcinski
2023-02-22 11:41:34 +01:00
parent c9600d1253
commit 3bc447c772
5 changed files with 24 additions and 0 deletions

View File

@ -90,6 +90,7 @@ int camera_configure_output(camera_t *camera, const char *name, unsigned target_
}
if (!src_capture) {
LOG_INFO(camera, "Cannot find source for '%s' for one of the formats '%s'.", name, many_fourcc_to_string(formats).buf);
return -1;
}

View File

@ -54,6 +54,7 @@ int camera_configure_pipeline(camera_t *camera, buffer_list_t *capture)
switch (capture->fmt.format) {
case V4L2_PIX_FMT_SRGGB10P:
case V4L2_PIX_FMT_SGRBG10P:
case V4L2_PIX_FMT_SBGGR10P:
case V4L2_PIX_FMT_SRGGB10:
case V4L2_PIX_FMT_SGRBG10:
camera_configure_isp(camera, capture);