Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/media/platform/xilinx/
Dxilinx-tpg.c96 struct v4l2_mbus_framefmt default_format; member
355 *format = xtpg->default_format; in xtpg_open()
359 *format = xtpg->default_format; in xtpg_open()
815 xtpg->default_format.code = xtpg->vip_format->code; in xtpg_probe()
816 xtpg->default_format.field = V4L2_FIELD_NONE; in xtpg_probe()
817 xtpg->default_format.colorspace = V4L2_COLORSPACE_SRGB; in xtpg_probe()
818 xvip_get_frame_size(&xtpg->xvip, &xtpg->default_format); in xtpg_probe()
824 xtpg->formats[0] = xtpg->default_format; in xtpg_probe()
826 xtpg->formats[1] = xtpg->default_format; in xtpg_probe()
Dxilinx-csi2rxss.c239 struct v4l2_mbus_framefmt default_format; member
717 *format = xcsi2rxss->default_format; in xcsi2rxss_init_cfg()
1037 xcsi2rxss->default_format.code = in xcsi2rxss_probe()
1039 xcsi2rxss->default_format.field = V4L2_FIELD_NONE; in xcsi2rxss_probe()
1040 xcsi2rxss->default_format.colorspace = V4L2_COLORSPACE_SRGB; in xcsi2rxss_probe()
1041 xcsi2rxss->default_format.width = XCSI_DEFAULT_WIDTH; in xcsi2rxss_probe()
1042 xcsi2rxss->default_format.height = XCSI_DEFAULT_HEIGHT; in xcsi2rxss_probe()
1043 xcsi2rxss->format = xcsi2rxss->default_format; in xcsi2rxss_probe()
/Linux-v5.10/drivers/media/platform/mtk-mdp/
Dmtk_mdp_m2m.c1059 struct v4l2_format default_format; in mtk_mdp_m2m_open() local
1115 memset(&default_format, 0, sizeof(default_format)); in mtk_mdp_m2m_open()
1116 default_format.type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in mtk_mdp_m2m_open()
1117 default_format.fmt.pix_mp.width = 32; in mtk_mdp_m2m_open()
1118 default_format.fmt.pix_mp.height = 32; in mtk_mdp_m2m_open()
1119 default_format.fmt.pix_mp.pixelformat = V4L2_PIX_FMT_YUV420M; in mtk_mdp_m2m_open()
1120 mtk_mdp_m2m_s_fmt_mplane(file, &ctx->fh, &default_format); in mtk_mdp_m2m_open()
1121 default_format.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in mtk_mdp_m2m_open()
1122 mtk_mdp_m2m_s_fmt_mplane(file, &ctx->fh, &default_format); in mtk_mdp_m2m_open()