/linux-6.1.9/drivers/media/platform/verisilicon/ |
D | rockchip_vpu_hw.c | 50 .frmsize = { 66 .frmsize = { 81 .frmsize = { 94 .frmsize = { 107 .frmsize = { 120 .frmsize = { 135 .frmsize = { 148 .frmsize = { 161 .frmsize = { 174 .frmsize = { [all …]
|
D | imx8m_vpu_hw.c | 86 .frmsize = { 101 .frmsize = { 114 .frmsize = { 127 .frmsize = { 140 .frmsize = { 156 .frmsize = { 169 .frmsize = { 185 .frmsize = { 198 .frmsize = { 211 .frmsize = { [all …]
|
D | sama5d4_vdec_hw.c | 19 .frmsize = { 34 .frmsize = { 47 .frmsize = { 60 .frmsize = { 73 .frmsize = {
|
D | sunxi_vpu_hw.c | 17 .frmsize = { 30 .frmsize = { 46 .frmsize = { 59 .frmsize = { 72 .frmsize = {
|
D | hantro_hevc.c | 165 ALIGN(sps->pic_width_in_luma_samples, ctx->vpu_dst_fmt->frmsize.step_width)) in hantro_hevc_validate_sps() 169 ALIGN(sps->pic_height_in_luma_samples, ctx->vpu_dst_fmt->frmsize.step_height)) in hantro_hevc_validate_sps()
|
D | hantro_vp9.c | 178 max_width = vpu->variant->dec_fmts[i].frmsize.max_width; in hantro_vp9_dec_init() 179 max_height = vpu->variant->dec_fmts[i].frmsize.max_height; in hantro_vp9_dec_init()
|
D | hantro_v4l2.c | 173 fsize->stepwise = fmt->frmsize; in vidioc_enum_framesizes() 316 &vpu_fmt->frmsize); in hantro_try_fmt() 393 fmt->width = vpu_fmt->frmsize.min_width; in hantro_reset_encoded_fmt() 394 fmt->height = vpu_fmt->frmsize.min_height; in hantro_reset_encoded_fmt()
|
D | hantro.h | 291 struct v4l2_frmsize_stepwise frmsize; member
|
/linux-6.1.9/drivers/media/platform/mediatek/vcodec/ |
D | mtk_vcodec_dec.c | 271 const struct v4l2_frmsize_stepwise *frmsize; in vidioc_try_fmt() local 277 frmsize = &fmt->frmsize; in vidioc_try_fmt() 279 frmsize = &ctx->q_data[MTK_Q_DATA_SRC].fmt->frmsize; in vidioc_try_fmt() 281 pix_fmt_mp->width = clamp(pix_fmt_mp->width, MTK_VDEC_MIN_W, frmsize->max_width); in vidioc_try_fmt() 282 pix_fmt_mp->height = clamp(pix_fmt_mp->height, MTK_VDEC_MIN_H, frmsize->max_height); in vidioc_try_fmt() 298 v4l_bound_align_image(&pix_fmt_mp->width, MTK_VDEC_MIN_W, frmsize->max_width, 6, in vidioc_try_fmt() 299 &pix_fmt_mp->height, MTK_VDEC_MIN_H, frmsize->max_height, 6, in vidioc_try_fmt() 303 (pix_fmt_mp->width + 64) <= frmsize->max_width) in vidioc_try_fmt() 306 (pix_fmt_mp->height + 64) <= frmsize->max_height) in vidioc_try_fmt() 585 if (!dec_pdata->vdec_formats[i].frmsize.max_width) in vidioc_enum_framesizes() [all …]
|
D | mtk_vcodec_dec_stateless.c | 360 mtk_video_formats[count_formats].frmsize = stepwise_fhd; in mtk_vcodec_add_formats() 364 mtk_video_formats[count_formats].frmsize.max_width = in mtk_vcodec_add_formats() 366 mtk_video_formats[count_formats].frmsize.max_height = in mtk_vcodec_add_formats()
|
D | mtk_vcodec_dec_stateful.c | 20 .frmsize = { MTK_VDEC_MIN_W, MTK_VDEC_MAX_W, 16, 28 .frmsize = { MTK_VDEC_MIN_W, MTK_VDEC_MAX_W, 16, 36 .frmsize = { MTK_VDEC_MIN_W, MTK_VDEC_MAX_W, 16,
|
D | mtk_vcodec_drv.h | 128 struct v4l2_frmsize_stepwise frmsize; member
|
/linux-6.1.9/drivers/media/v4l2-core/ |
D | v4l2-common.c | 342 const struct v4l2_frmsize_stepwise *frmsize) in v4l2_apply_frmsize_constraints() argument 344 if (!frmsize) in v4l2_apply_frmsize_constraints() 351 *width = clamp_roundup(*width, frmsize->min_width, frmsize->max_width, in v4l2_apply_frmsize_constraints() 352 frmsize->step_width); in v4l2_apply_frmsize_constraints() 353 *height = clamp_roundup(*height, frmsize->min_height, frmsize->max_height, in v4l2_apply_frmsize_constraints() 354 frmsize->step_height); in v4l2_apply_frmsize_constraints()
|
/linux-6.1.9/drivers/media/i2c/ |
D | ov7740.c | 91 const struct ov7740_framesize *frmsize; member 603 if (ov7740->frmsize) { in ov7740_start_streaming() 605 ov7740->frmsize->regs, in ov7740_start_streaming() 606 ov7740->frmsize->reg_num); in ov7740_start_streaming() 839 ov7740->frmsize = fsize; in ov7740_set_fmt() 895 format->width = ov7740->frmsize->width; in ov7740_get_default_format() 896 format->height = ov7740->frmsize->height; in ov7740_get_default_format() 1131 ov7740->frmsize = &ov7740_framesizes[0]; in ov7740_probe()
|
/linux-6.1.9/drivers/staging/media/rkvdec/ |
D | rkvdec.c | 118 .frmsize = { 134 .frmsize = { 182 f->fmt.pix_mp.width = ctx->coded_fmt_desc->frmsize.min_width; in rkvdec_reset_coded_fmt() 183 f->fmt.pix_mp.height = ctx->coded_fmt_desc->frmsize.min_height; in rkvdec_reset_coded_fmt() 217 fsize->stepwise = fmt->frmsize; in rkvdec_enum_framesizes() 265 &coded_desc->frmsize); in rkvdec_try_capture_fmt() 293 &desc->frmsize); in rkvdec_try_output_fmt()
|
D | rkvdec.h | 80 struct v4l2_frmsize_stepwise frmsize; member
|
/linux-6.1.9/drivers/staging/media/tegra-video/ |
D | tegra210.c | 1063 .frmsize = { 1280, 720 }, 1070 .frmsize = { 1920, 1080 }, 1077 .frmsize = { 3840, 2160 }, 1084 .frmsize = { 1280, 720 }, 1091 .frmsize = { 1920, 1080 }, 1098 .frmsize = { 3840, 2160 },
|
D | csi.h | 92 struct v4l2_frmsize_discrete frmsize; member
|
D | csi.c | 104 frmrate[i].frmsize.width == width && in csi_get_frmrate_table_index() 105 frmrate[i].frmsize.height == height) { in csi_get_frmrate_table_index()
|
/linux-6.1.9/drivers/media/platform/nvidia/tegra-vde/ |
D | v4l2.c | 428 f->fmt.pix_mp.width = ctx->coded_fmt_desc->frmsize.min_width; in tegra_reset_coded_fmt() 429 f->fmt.pix_mp.height = ctx->coded_fmt_desc->frmsize.min_height; in tegra_reset_coded_fmt() 564 &coded_desc->frmsize); in tegra_try_decoded_fmt() 649 &desc->frmsize); in tegra_try_coded_fmt() 734 fsize->stepwise = fmt->frmsize; in tegra_enum_framesizes()
|
D | vde.c | 466 .frmsize = { 489 .frmsize = {
|
D | vde.h | 70 struct v4l2_frmsize_stepwise frmsize; member
|
/linux-6.1.9/include/media/ |
D | v4l2-common.h | 517 const struct v4l2_frmsize_stepwise *frmsize);
|