scaler_format
const struct scaler_format *fmt)
const struct scaler_format *src_fmt, *dst_fmt;
static const struct scaler_format scaler_formats[] = {
static const struct scaler_format *scaler_get_format(u32 drm_fmt)
&isc->scaler_format[ISC_SCALER_PAD_SOURCE].height, 16,
sel->r.height = isc->scaler_format[ISC_SCALER_PAD_SOURCE].height;
sel->r.width = isc->scaler_format[ISC_SCALER_PAD_SOURCE].width;
*v4l2_try_fmt = isc->scaler_format[ISC_SCALER_PAD_SOURCE];
isc_scaler_prepare_fmt(&isc->scaler_format[ISC_SCALER_PAD_SOURCE]);
isc->scaler_format[ISC_SCALER_PAD_SOURCE].height = isc->max_height;
isc->scaler_format[ISC_SCALER_PAD_SOURCE].width = isc->max_width;
isc->scaler_format[ISC_SCALER_PAD_SOURCE].code =
isc->scaler_format[ISC_SCALER_PAD_SINK] =
isc->scaler_format[ISC_SCALER_PAD_SOURCE];
format->format = isc->scaler_format[format->pad];
req_fmt->format = isc->scaler_format[ISC_SCALER_PAD_SOURCE];
isc->scaler_format[ISC_SCALER_PAD_SINK] = req_fmt->format;
isc->scaler_format[ISC_SCALER_PAD_SOURCE] =
isc->scaler_format[ISC_SCALER_PAD_SINK];
(&isc->scaler_format[ISC_SCALER_PAD_SOURCE].width, 16,
struct v4l2_mbus_framefmt scaler_format[ISC_SCALER_PADS_NUM];