Searched refs:default_format (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/media/platform/xilinx/ |
H A D | xilinx-tpg.c | 96 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()
|
H A D | xilinx-csi2rxss.c | 224 struct v4l2_mbus_framefmt default_format; member 703 *format = xcsi2rxss->default_format; in xcsi2rxss_init_cfg() 1022 xcsi2rxss->default_format.code = in xcsi2rxss_probe() 1024 xcsi2rxss->default_format.field = V4L2_FIELD_NONE; in xcsi2rxss_probe() 1025 xcsi2rxss->default_format.colorspace = V4L2_COLORSPACE_SRGB; in xcsi2rxss_probe() 1026 xcsi2rxss->default_format.width = XCSI_DEFAULT_WIDTH; in xcsi2rxss_probe() 1027 xcsi2rxss->default_format.height = XCSI_DEFAULT_HEIGHT; in xcsi2rxss_probe() 1028 xcsi2rxss->format = xcsi2rxss->default_format; in xcsi2rxss_probe()
|
/openbmc/linux/drivers/media/platform/mediatek/mdp3/ |
H A D | mtk-mdp3-m2m.c | 555 struct v4l2_format default_format = {}; in mdp_m2m_open() local 603 default_format.type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in mdp_m2m_open() 604 default_format.fmt.pix_mp.width = limit->out_limit.wmin; in mdp_m2m_open() 605 default_format.fmt.pix_mp.height = limit->out_limit.hmin; in mdp_m2m_open() 606 default_format.fmt.pix_mp.pixelformat = V4L2_PIX_FMT_YUV420M; in mdp_m2m_open() 607 mdp_m2m_s_fmt_mplane(file, &ctx->fh, &default_format); in mdp_m2m_open() 608 default_format.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in mdp_m2m_open() 609 mdp_m2m_s_fmt_mplane(file, &ctx->fh, &default_format); in mdp_m2m_open()
|
/openbmc/linux/drivers/media/platform/mediatek/mdp/ |
H A D | mtk_mdp_m2m.c | 1056 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()
|