Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/media/platform/rockchip/rkisp1/
Drkisp1-csi.c333 const struct rkisp1_mbus_info *mbus_info; in rkisp1_csi_set_fmt() local
347 mbus_info = rkisp1_mbus_info_get_by_code(sink_fmt->code); in rkisp1_csi_set_fmt()
348 if (!mbus_info || !(mbus_info->direction & RKISP1_ISP_SD_SINK)) { in rkisp1_csi_set_fmt()
350 mbus_info = rkisp1_mbus_info_get_by_code(sink_fmt->code); in rkisp1_csi_set_fmt()
363 csi->sink_fmt = mbus_info; in rkisp1_csi_set_fmt()
Drkisp1-isp.c403 const struct rkisp1_mbus_info *mbus_info; in rkisp1_isp_enum_frame_size() local
412 mbus_info = rkisp1_mbus_info_get_by_code(fse->code); in rkisp1_isp_enum_frame_size()
413 if (!mbus_info) in rkisp1_isp_enum_frame_size()
416 if (!(mbus_info->direction & RKISP1_ISP_SD_SINK) && in rkisp1_isp_enum_frame_size()
420 if (!(mbus_info->direction & RKISP1_ISP_SD_SRC) && in rkisp1_isp_enum_frame_size()
652 const struct rkisp1_mbus_info *mbus_info; in rkisp1_isp_set_sink_fmt() local
661 mbus_info = rkisp1_mbus_info_get_by_code(sink_fmt->code); in rkisp1_isp_set_sink_fmt()
662 if (!mbus_info || !(mbus_info->direction & RKISP1_ISP_SD_SINK)) { in rkisp1_isp_set_sink_fmt()
664 mbus_info = rkisp1_mbus_info_get_by_code(sink_fmt->code); in rkisp1_isp_set_sink_fmt()
667 isp->sink_fmt = mbus_info; in rkisp1_isp_set_sink_fmt()
[all …]
Drkisp1-resizer.c469 const struct rkisp1_mbus_info *mbus_info; in rkisp1_rsz_set_sink_crop() local
480 mbus_info = rkisp1_mbus_info_get_by_code(sink_fmt->code); in rkisp1_rsz_set_sink_crop()
483 mbus_info->pixel_enc == V4L2_PIXEL_ENC_BAYER) { in rkisp1_rsz_set_sink_crop()
507 const struct rkisp1_mbus_info *mbus_info; in rkisp1_rsz_set_sink_fmt() local
524 mbus_info = rkisp1_mbus_info_get_by_code(sink_fmt->code); in rkisp1_rsz_set_sink_fmt()
525 if (!mbus_info || !(mbus_info->direction & RKISP1_ISP_SD_SRC)) { in rkisp1_rsz_set_sink_fmt()
527 mbus_info = rkisp1_mbus_info_get_by_code(sink_fmt->code); in rkisp1_rsz_set_sink_fmt()
530 rsz->pixel_enc = mbus_info->pixel_enc; in rkisp1_rsz_set_sink_fmt()
546 is_yuv = mbus_info->pixel_enc == V4L2_PIXEL_ENC_YUV; in rkisp1_rsz_set_sink_fmt()