Searched refs:default_format (Results 1 - 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/drivers/media/platform/xilinx/ |
H A D | xilinx-tpg.c | 77 * @default_format: default V4L2 media bus format 96 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() [all...] |
H A D | xilinx-csi2rxss.c | 218 * @default_format: Default V4L2 format 239 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()
|
/kernel/linux/linux-6.6/drivers/media/platform/xilinx/ |
H A D | xilinx-tpg.c | 77 * @default_format: default V4L2 media bus format 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() [all...] |
H A D | xilinx-csi2rxss.c | 203 * @default_format: Default V4L2 format 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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/drivers/media/platform/mtk-mdp/ |
H A D | mtk_mdp_m2m.c | 1059 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() [all...] |
/kernel/linux/linux-6.6/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() [all...] |
Completed in 10 milliseconds