media: staging: atomisp: Disable custom format for now
Custom video format 'M101' is not supported in upstream and as a result user will get ugly warning: Unknown pixelformat 0x3130314d ------------[ cut here ]------------ WARNING: CPU: 3 PID: 1574 at drivers/media/v4l2-core/v4l2-ioctl.c:1291 v4l_enum_fmt+0xcf1/0x13a0 [videodev] Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
parent
5ef4614cd7
commit
cb02ae3d71
@ -68,7 +68,9 @@
|
||||
#define V4L2_MBUS_FMT_CUSTOM_RGB32 0x800a
|
||||
|
||||
/* Custom media bus format for M10MO RAW capture */
|
||||
#if 0
|
||||
#define V4L2_MBUS_FMT_CUSTOM_M10MO_RAW 0x800b
|
||||
#endif
|
||||
|
||||
/* Configuration used by Bayer noise reduction and YCC noise reduction */
|
||||
struct atomisp_nr_config {
|
||||
|
@ -501,7 +501,9 @@ const struct atomisp_format_bridge atomisp_output_fmts[] = {
|
||||
.mbus_code = MEDIA_BUS_FMT_JPEG_1X8,
|
||||
.sh_fmt = CSS_FRAME_FORMAT_BINARY_8,
|
||||
.description = "JPEG"
|
||||
}, {
|
||||
},
|
||||
#if 0
|
||||
{
|
||||
/* This is a custom format being used by M10MO to send the RAW data */
|
||||
.pixelformat = V4L2_PIX_FMT_CUSTOM_M10MO_RAW,
|
||||
.depth = 8,
|
||||
@ -509,6 +511,7 @@ const struct atomisp_format_bridge atomisp_output_fmts[] = {
|
||||
.sh_fmt = CSS_FRAME_FORMAT_BINARY_8,
|
||||
.description = "Custom RAW for M10MO"
|
||||
},
|
||||
#endif
|
||||
};
|
||||
|
||||
const struct atomisp_format_bridge *atomisp_get_format_bridge(
|
||||
|
@ -48,7 +48,9 @@ const struct atomisp_in_fmt_conv atomisp_in_fmt_conv[] = {
|
||||
{ V4L2_MBUS_FMT_CUSTOM_NV12, 12, 12, CSS_FRAME_FORMAT_NV12, 0, CSS_FRAME_FORMAT_NV12 },
|
||||
{ V4L2_MBUS_FMT_CUSTOM_NV21, 12, 12, CSS_FRAME_FORMAT_NV21, 0, CSS_FRAME_FORMAT_NV21 },
|
||||
{ V4L2_MBUS_FMT_CUSTOM_YUV420, 12, 12, ATOMISP_INPUT_FORMAT_YUV420_8_LEGACY, 0, IA_CSS_STREAM_FORMAT_YUV420_8_LEGACY },
|
||||
#if 0
|
||||
{ V4L2_MBUS_FMT_CUSTOM_M10MO_RAW, 8, 8, CSS_FRAME_FORMAT_BINARY_8, 0, IA_CSS_STREAM_FORMAT_BINARY_8 },
|
||||
#endif
|
||||
/* no valid V4L2 MBUS code for metadata format, so leave it 0. */
|
||||
{ 0, 0, 0, ATOMISP_INPUT_FORMAT_EMBEDDED, 0, IA_CSS_STREAM_FORMAT_EMBEDDED },
|
||||
{}
|
||||
|
Loading…
Reference in New Issue
Block a user