Home
last modified time | relevance | path

Searched refs:sink_fmt (Results 1 – 25 of 36) sorted by relevance

12

/linux-6.3-rc2/drivers/media/platform/rockchip/rkisp1/
A Drkisp1-resizer.c171 struct v4l2_mbus_framefmt *sink_fmt; in rkisp1_dcrop_config() local
198 sink_fmt->width, sink_fmt->height, in rkisp1_dcrop_config()
412 sink_fmt->field = V4L2_FIELD_NONE; in rkisp1_rsz_init_config()
413 sink_fmt->code = RKISP1_DEF_FMT; in rkisp1_rsz_init_config()
428 *src_fmt = *sink_fmt; in rkisp1_rsz_init_config()
470 struct v4l2_mbus_framefmt *sink_fmt; in rkisp1_rsz_set_sink_crop() local
522 sink_fmt->code = format->code; in rkisp1_rsz_set_sink_fmt()
526 sink_fmt->code = RKISP1_DEF_FMT; in rkisp1_rsz_set_sink_fmt()
558 sink_fmt->ycbcr_enc); in rkisp1_rsz_set_sink_fmt()
569 *format = *sink_fmt; in rkisp1_rsz_set_sink_fmt()
[all …]
A Drkisp1-isp.c132 const struct rkisp1_mbus_info *sink_fmt = isp->sink_fmt; in rkisp1_config_isp() local
179 switch (sink_fmt->bus_width) { in rkisp1_config_isp()
191 sink_fmt->bus_width); in rkisp1_config_isp()
459 *src_fmt = *sink_fmt; in rkisp1_isp_init_config()
475 sink_fmt->width = 0; in rkisp1_isp_init_config()
476 sink_fmt->height = 0; in rkisp1_isp_init_config()
479 *src_fmt = *sink_fmt; in rkisp1_isp_init_config()
519 src_fmt->code = sink_fmt->code; in rkisp1_isp_set_src_fmt()
660 sink_fmt->code = format->code; in rkisp1_isp_set_sink_fmt()
667 isp->sink_fmt = mbus_info; in rkisp1_isp_set_sink_fmt()
[all …]
A Drkisp1-csi.c266 code->code = sink_fmt->code; in rkisp1_csi_enum_mbus_code()
304 sink_fmt->width = RKISP1_DEFAULT_WIDTH; in rkisp1_csi_init_config()
305 sink_fmt->height = RKISP1_DEFAULT_HEIGHT; in rkisp1_csi_init_config()
306 sink_fmt->field = V4L2_FIELD_NONE; in rkisp1_csi_init_config()
307 sink_fmt->code = RKISP1_CSI_DEF_FMT; in rkisp1_csi_init_config()
309 *src_fmt = *sink_fmt; in rkisp1_csi_init_config()
345 sink_fmt->code = fmt->format.code; in rkisp1_csi_set_fmt()
349 sink_fmt->code = RKISP1_CSI_DEF_FMT; in rkisp1_csi_set_fmt()
360 fmt->format = *sink_fmt; in rkisp1_csi_set_fmt()
363 csi->sink_fmt = mbus_info; in rkisp1_csi_set_fmt()
[all …]
A Drkisp1-common.h182 const struct rkisp1_mbus_info *sink_fmt; member
204 const struct rkisp1_mbus_info *sink_fmt; member
/linux-6.3-rc2/drivers/media/test-drivers/vimc/
A Dvimc-common.c277 struct v4l2_pix_format source_fmt, sink_fmt; in vimc_vdev_link_validate() local
299 sink_fmt.width, sink_fmt.height, in vimc_vdev_link_validate()
300 sink_fmt.pixelformat, sink_fmt.colorspace, in vimc_vdev_link_validate()
301 sink_fmt.quantization, sink_fmt.xfer_func, in vimc_vdev_link_validate()
302 sink_fmt.ycbcr_enc); in vimc_vdev_link_validate()
305 if (source_fmt.width != sink_fmt.width || in vimc_vdev_link_validate()
306 source_fmt.height != sink_fmt.height || in vimc_vdev_link_validate()
315 if (source_fmt.field != sink_fmt.field && in vimc_vdev_link_validate()
316 sink_fmt.field != V4L2_FIELD_NONE) in vimc_vdev_link_validate()
334 source_fmt.ycbcr_enc != sink_fmt.ycbcr_enc) in vimc_vdev_link_validate()
[all …]
A Dvimc-debayer.c33 struct v4l2_mbus_framefmt sink_fmt; member
225 vdebayer->sink_fmt; in vimc_debayer_get_fmt()
259 struct v4l2_mbus_framefmt *sink_fmt; in vimc_debayer_set_fmt() local
267 sink_fmt = &vdebayer->sink_fmt; in vimc_debayer_set_fmt()
281 fmt->format = *sink_fmt; in vimc_debayer_set_fmt()
295 sink_fmt->width, sink_fmt->height, sink_fmt->code, in vimc_debayer_set_fmt()
296 sink_fmt->colorspace, sink_fmt->quantization, in vimc_debayer_set_fmt()
297 sink_fmt->xfer_func, sink_fmt->ycbcr_enc, in vimc_debayer_set_fmt()
303 *sink_fmt = fmt->format; in vimc_debayer_set_fmt()
352 frame_size = vdebayer->sink_fmt.width * vdebayer->sink_fmt.height * in vimc_debayer_s_stream()
[all …]
A Dvimc-scaler.c61 vimc_scaler_get_crop_bound_sink(const struct v4l2_mbus_framefmt *sink_fmt) in vimc_scaler_get_crop_bound_sink() argument
67 .width = sink_fmt->width, in vimc_scaler_get_crop_bound_sink()
68 .height = sink_fmt->height, in vimc_scaler_get_crop_bound_sink()
239 struct v4l2_mbus_framefmt *sink_fmt; in vimc_scaler_get_selection() local
249 sink_fmt = vimc_scaler_pad_format(vscaler, sd_state, VIMC_SCALER_SINK, in vimc_scaler_get_selection()
251 sel->r = vimc_scaler_get_crop_bound_sink(sink_fmt); in vimc_scaler_get_selection()
261 const struct v4l2_mbus_framefmt *sink_fmt) in vimc_scaler_adjust_sink_crop() argument
264 vimc_scaler_get_crop_bound_sink(sink_fmt); in vimc_scaler_adjust_sink_crop()
276 struct v4l2_mbus_framefmt *sink_fmt; in vimc_scaler_set_selection() local
287 sink_fmt = vimc_scaler_pad_format(vscaler, sd_state, VIMC_SCALER_SINK, in vimc_scaler_set_selection()
[all …]
/linux-6.3-rc2/drivers/media/i2c/adv748x/
A Dadv748x-csi2.c194 const struct v4l2_mbus_framefmt *sink_fmt; in adv748x_csi2_set_format() local
196 sink_fmt = adv748x_csi2_get_pad_format(sd, sd_state, in adv748x_csi2_set_format()
200 if (!sink_fmt) { in adv748x_csi2_set_format()
205 sdformat->format = *sink_fmt; in adv748x_csi2_set_format()
/linux-6.3-rc2/drivers/media/platform/samsung/exynos4-is/
A Dfimc-isp-video.c452 struct v4l2_subdev_format sink_fmt, src_fmt; in isp_video_pipeline_validate() local
461 sink_fmt.pad = pad->index; in isp_video_pipeline_validate()
462 sink_fmt.which = V4L2_SUBDEV_FORMAT_ACTIVE; in isp_video_pipeline_validate()
463 ret = v4l2_subdev_call(sd, pad, get_fmt, NULL, &sink_fmt); in isp_video_pipeline_validate()
479 if (src_fmt.format.width != sink_fmt.format.width || in isp_video_pipeline_validate()
480 src_fmt.format.height != sink_fmt.format.height || in isp_video_pipeline_validate()
481 src_fmt.format.code != sink_fmt.format.code) in isp_video_pipeline_validate()
A Dfimc-isp.c139 *mf = isp->sink_fmt; in fimc_isp_subdev_get_fmt()
179 format = &isp->sink_fmt; in __isp_subdev_try_format()
233 isp->sink_fmt = *mf; in fimc_isp_subdev_set_fmt()
681 isp->sink_fmt.width = DEFAULT_PREVIEW_STILL_WIDTH + in __isp_subdev_set_default_format()
683 isp->sink_fmt.height = DEFAULT_PREVIEW_STILL_HEIGHT + in __isp_subdev_set_default_format()
685 isp->sink_fmt.code = MEDIA_BUS_FMT_SGRBG10_1X10; in __isp_subdev_set_default_format()
A Dfimc-lite.c573 struct v4l2_mbus_framefmt *sink_fmt; in fimc_lite_subdev_try_fmt() local
581 mf->code = sink_fmt->code; in fimc_lite_subdev_try_fmt()
582 mf->colorspace = sink_fmt->colorspace; in fimc_lite_subdev_try_fmt()
768 struct v4l2_subdev_format sink_fmt, src_fmt; in fimc_pipeline_validate() local
780 sink_fmt.format.width = ff->f_width; in fimc_pipeline_validate()
781 sink_fmt.format.height = ff->f_height; in fimc_pipeline_validate()
784 sink_fmt.pad = pad->index; in fimc_pipeline_validate()
785 sink_fmt.which = V4L2_SUBDEV_FORMAT_ACTIVE; in fimc_pipeline_validate()
787 &sink_fmt); in fimc_pipeline_validate()
803 if (src_fmt.format.width != sink_fmt.format.width || in fimc_pipeline_validate()
[all …]
A Dfimc-isp.h170 struct v4l2_mbus_framefmt sink_fmt; member
A Dfimc-capture.c1098 struct v4l2_subdev_format sink_fmt, src_fmt; in fimc_pipeline_validate() local
1130 sink_fmt.format.width = ff->f_width; in fimc_pipeline_validate()
1131 sink_fmt.format.height = ff->f_height; in fimc_pipeline_validate()
1132 sink_fmt.format.code = ff->fmt ? ff->fmt->mbus_code : 0; in fimc_pipeline_validate()
1134 sink_fmt.pad = sink_pad->index; in fimc_pipeline_validate()
1135 sink_fmt.which = V4L2_SUBDEV_FORMAT_ACTIVE; in fimc_pipeline_validate()
1136 ret = v4l2_subdev_call(sd, pad, get_fmt, NULL, &sink_fmt); in fimc_pipeline_validate()
1149 if (src_fmt.format.width != sink_fmt.format.width || in fimc_pipeline_validate()
1150 src_fmt.format.height != sink_fmt.format.height || in fimc_pipeline_validate()
1151 src_fmt.format.code != sink_fmt.format.code) in fimc_pipeline_validate()
/linux-6.3-rc2/drivers/staging/media/omap4iss/
A Diss_ipipe.c366 struct v4l2_subdev_format *sink_fmt) in ipipe_link_validate() argument
369 if (source_fmt->format.width != sink_fmt->format.width || in ipipe_link_validate()
370 source_fmt->format.height != sink_fmt->format.height) in ipipe_link_validate()
373 if (source_fmt->format.code != sink_fmt->format.code) in ipipe_link_validate()
A Diss_ipipeif.c585 struct v4l2_subdev_format *sink_fmt) in ipipeif_link_validate() argument
588 if (source_fmt->format.width != sink_fmt->format.width || in ipipeif_link_validate()
589 source_fmt->format.height != sink_fmt->format.height) in ipipeif_link_validate()
592 if (source_fmt->format.code != sink_fmt->format.code) in ipipeif_link_validate()
A Diss_resizer.c637 struct v4l2_subdev_format *sink_fmt) in resizer_link_validate() argument
640 if (source_fmt->format.width != sink_fmt->format.width || in resizer_link_validate()
641 source_fmt->format.height != sink_fmt->format.height) in resizer_link_validate()
644 if (source_fmt->format.code != sink_fmt->format.code) in resizer_link_validate()
/linux-6.3-rc2/drivers/media/v4l2-core/
A Dv4l2-subdev.c1016 struct v4l2_subdev_format *sink_fmt) in v4l2_subdev_link_validate_default() argument
1025 source_fmt->format.width, sink_fmt->format.width); in v4l2_subdev_link_validate_default()
1033 source_fmt->format.height, sink_fmt->format.height); in v4l2_subdev_link_validate_default()
1037 if (source_fmt->format.code != sink_fmt->format.code) { in v4l2_subdev_link_validate_default()
1041 source_fmt->format.code, sink_fmt->format.code); in v4l2_subdev_link_validate_default()
1050 sink_fmt->format.field != V4L2_FIELD_NONE) { in v4l2_subdev_link_validate_default()
1054 source_fmt->format.field, sink_fmt->format.field); in v4l2_subdev_link_validate_default()
1185 struct v4l2_subdev_format sink_fmt, source_fmt; in v4l2_subdev_link_validate_locked() local
1205 &sink_fmt); in v4l2_subdev_link_validate_locked()
1216 &source_fmt, &sink_fmt); in v4l2_subdev_link_validate_locked()
[all …]
/linux-6.3-rc2/drivers/media/i2c/
A Dtc358746.c777 struct v4l2_mbus_framefmt *src_fmt, *sink_fmt; in tc358746_set_fmt() local
784 sink_fmt = v4l2_subdev_get_pad_format(sd, sd_state, TC358746_SINK); in tc358746_set_fmt()
794 sink_fmt->width, sink_fmt->height, sink_fmt->code, in tc358746_set_fmt()
797 *sink_fmt = format->format; in tc358746_set_fmt()
800 *src_fmt = *sink_fmt; in tc358746_set_fmt()
801 src_fmt->code = tc358746_src_mbus_code(sink_fmt->code); in tc358746_set_fmt()
887 struct v4l2_subdev_format *sink_fmt) in tc358746_link_validate() argument
899 err = v4l2_subdev_link_validate_default(sd, link, source_fmt, sink_fmt); in tc358746_link_validate()
/linux-6.3-rc2/sound/soc/sof/
A Dipc4-topology.h112 struct sof_ipc4_audio_format sink_fmt; member
/linux-6.3-rc2/drivers/staging/media/imx/
A Dimx-ic-prp.c294 struct v4l2_subdev_format *sink_fmt) in prp_link_validate() argument
302 source_fmt, sink_fmt); in prp_link_validate()
/linux-6.3-rc2/drivers/media/i2c/ccs/
A Dccs-core.c2061 r = &ssd->sink_fmt; in __ccs_get_format()
2256 ssd->sink_fmt = *crops[ssd->sink_pad]; in ccs_set_format()
2549 src_size = &ssd->sink_fmt; in ccs_set_crop()
2605 struct v4l2_rect sink_fmt; in __ccs_get_selection() local
2615 sink_fmt = ssd->sink_fmt; in __ccs_get_selection()
2621 sink_fmt.left = 0; in __ccs_get_selection()
2622 sink_fmt.top = 0; in __ccs_get_selection()
2623 sink_fmt.width = fmt->width; in __ccs_get_selection()
2624 sink_fmt.height = fmt->height; in __ccs_get_selection()
2633 sel->r = sink_fmt; in __ccs_get_selection()
[all …]
A Dccs.h198 struct v4l2_rect sink_fmt; member
/linux-6.3-rc2/drivers/media/platform/qcom/camss/
A Dcamss-csid.c367 struct v4l2_mbus_framefmt *sink_fmt; in csid_enum_mbus_code() local
369 sink_fmt = __csid_get_format(csid, sd_state, in csid_enum_mbus_code()
373 code->code = csid->ops->src_pad_code(csid, sink_fmt->code, in csid_enum_mbus_code()
/linux-6.3-rc2/sound/soc/intel/avs/
A Dmessages.c691 const struct avs_audio_format *sink_fmt) in avs_ipc_copier_set_sink_format() argument
698 cpr_fmt.sink_fmt = *sink_fmt; in avs_ipc_copier_set_sink_format()
A Dmessages.h816 struct avs_audio_format sink_fmt; member
822 const struct avs_audio_format *sink_fmt);

Completed in 74 milliseconds

12