mf->width = priv->scale->width;
mf->height = priv->scale->height;
- mf->code = V4L2_MBUS_FMT_YVYU8_2X8_BE;
+ mf->code = V4L2_MBUS_FMT_YUYV8_2X8_BE;
mf->colorspace = V4L2_COLORSPACE_JPEG;
mf->field = V4L2_FIELD_INTERLACED_BT;
/*
* check color format
*/
- if (mf->code != V4L2_MBUS_FMT_YVYU8_2X8_BE)
+ if (mf->code != V4L2_MBUS_FMT_YUYV8_2X8_BE)
return -EINVAL;
mf->colorspace = V4L2_COLORSPACE_JPEG;
return -EINVAL;
}
- mf->code = V4L2_MBUS_FMT_YVYU8_2X8_BE;
+ mf->code = V4L2_MBUS_FMT_YUYV8_2X8_BE;
mf->colorspace = V4L2_COLORSPACE_JPEG;
/*
if (index)
return -EINVAL;
- *code = V4L2_MBUS_FMT_YVYU8_2X8_BE;
+ *code = V4L2_MBUS_FMT_YUYV8_2X8_BE;
return 0;
}