Home
last modified time | relevance | path

Searched refs:mbus_format (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.15/drivers/media/test-drivers/vimc/
Dvimc-sensor.c31 struct v4l2_mbus_framefmt mbus_format; member
104 vsen->mbus_format; in vimc_sen_get_fmt()
112 vimc_pix_map_by_code(vsen->mbus_format.code); in vimc_sen_tpg_s_format()
114 tpg_reset_source(&vsen->tpg, vsen->mbus_format.width, in vimc_sen_tpg_s_format()
115 vsen->mbus_format.height, vsen->mbus_format.field); in vimc_sen_tpg_s_format()
116 tpg_s_bytesperline(&vsen->tpg, 0, vsen->mbus_format.width * vpix->bpp); in vimc_sen_tpg_s_format()
117 tpg_s_buf_height(&vsen->tpg, vsen->mbus_format.height); in vimc_sen_tpg_s_format()
120 tpg_s_field(&vsen->tpg, vsen->mbus_format.field, false); in vimc_sen_tpg_s_format()
121 tpg_s_colorspace(&vsen->tpg, vsen->mbus_format.colorspace); in vimc_sen_tpg_s_format()
122 tpg_s_ycbcr_enc(&vsen->tpg, vsen->mbus_format.ycbcr_enc); in vimc_sen_tpg_s_format()
[all …]
/Linux-v5.15/drivers/media/i2c/
Dov5648.c2202 static void ov5648_mbus_format_fill(struct v4l2_mbus_framefmt *mbus_format, in ov5648_mbus_format_fill() argument
2206 mbus_format->width = mode->output_size_x; in ov5648_mbus_format_fill()
2207 mbus_format->height = mode->output_size_y; in ov5648_mbus_format_fill()
2208 mbus_format->code = mbus_code; in ov5648_mbus_format_fill()
2210 mbus_format->field = V4L2_FIELD_NONE; in ov5648_mbus_format_fill()
2211 mbus_format->colorspace = V4L2_COLORSPACE_RAW; in ov5648_mbus_format_fill()
2212 mbus_format->ycbcr_enc = in ov5648_mbus_format_fill()
2213 V4L2_MAP_YCBCR_ENC_DEFAULT(mbus_format->colorspace); in ov5648_mbus_format_fill()
2214 mbus_format->quantization = V4L2_QUANTIZATION_FULL_RANGE; in ov5648_mbus_format_fill()
2215 mbus_format->xfer_func = in ov5648_mbus_format_fill()
[all …]
Dov8865.c2556 static void ov8865_mbus_format_fill(struct v4l2_mbus_framefmt *mbus_format, in ov8865_mbus_format_fill() argument
2560 mbus_format->width = mode->output_size_x; in ov8865_mbus_format_fill()
2561 mbus_format->height = mode->output_size_y; in ov8865_mbus_format_fill()
2562 mbus_format->code = mbus_code; in ov8865_mbus_format_fill()
2564 mbus_format->field = V4L2_FIELD_NONE; in ov8865_mbus_format_fill()
2565 mbus_format->colorspace = V4L2_COLORSPACE_RAW; in ov8865_mbus_format_fill()
2566 mbus_format->ycbcr_enc = in ov8865_mbus_format_fill()
2567 V4L2_MAP_YCBCR_ENC_DEFAULT(mbus_format->colorspace); in ov8865_mbus_format_fill()
2568 mbus_format->quantization = V4L2_QUANTIZATION_FULL_RANGE; in ov8865_mbus_format_fill()
2569 mbus_format->xfer_func = in ov8865_mbus_format_fill()
[all …]