Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/media/platform/xilinx/
Dxilinx-tpg.c96 struct v4l2_mbus_framefmt default_format; member
358 *format = xtpg->default_format; in xtpg_open()
362 *format = xtpg->default_format; in xtpg_open()
818 xtpg->default_format.code = xtpg->vip_format->code; in xtpg_probe()
819 xtpg->default_format.field = V4L2_FIELD_NONE; in xtpg_probe()
820 xtpg->default_format.colorspace = V4L2_COLORSPACE_SRGB; in xtpg_probe()
821 xvip_get_frame_size(&xtpg->xvip, &xtpg->default_format); in xtpg_probe()
827 xtpg->formats[0] = xtpg->default_format; in xtpg_probe()
829 xtpg->formats[1] = xtpg->default_format; in xtpg_probe()
Dxilinx-csi2rxss.c239 struct v4l2_mbus_framefmt default_format; member
718 *format = xcsi2rxss->default_format; in xcsi2rxss_init_cfg()
1039 xcsi2rxss->default_format.code = in xcsi2rxss_probe()
1041 xcsi2rxss->default_format.field = V4L2_FIELD_NONE; in xcsi2rxss_probe()
1042 xcsi2rxss->default_format.colorspace = V4L2_COLORSPACE_SRGB; in xcsi2rxss_probe()
1043 xcsi2rxss->default_format.width = XCSI_DEFAULT_WIDTH; in xcsi2rxss_probe()
1044 xcsi2rxss->default_format.height = XCSI_DEFAULT_HEIGHT; in xcsi2rxss_probe()
1045 xcsi2rxss->format = xcsi2rxss->default_format; in xcsi2rxss_probe()
/Linux-v5.15/drivers/media/platform/mtk-mdp/
Dmtk_mdp_m2m.c1056 struct v4l2_format default_format; in mtk_mdp_m2m_open() local
1112 memset(&default_format, 0, sizeof(default_format)); in mtk_mdp_m2m_open()
1113 default_format.type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in mtk_mdp_m2m_open()
1114 default_format.fmt.pix_mp.width = 32; in mtk_mdp_m2m_open()
1115 default_format.fmt.pix_mp.height = 32; in mtk_mdp_m2m_open()
1116 default_format.fmt.pix_mp.pixelformat = V4L2_PIX_FMT_YUV420M; in mtk_mdp_m2m_open()
1117 mtk_mdp_m2m_s_fmt_mplane(file, &ctx->fh, &default_format); in mtk_mdp_m2m_open()
1118 default_format.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in mtk_mdp_m2m_open()
1119 mtk_mdp_m2m_s_fmt_mplane(file, &ctx->fh, &default_format); in mtk_mdp_m2m_open()