Home
last modified time | relevance | path

Searched refs:frmsize (Results 1 – 23 of 23) sorted by relevance

/linux-6.1.9/drivers/media/platform/verisilicon/
Drockchip_vpu_hw.c50 .frmsize = {
66 .frmsize = {
81 .frmsize = {
94 .frmsize = {
107 .frmsize = {
120 .frmsize = {
135 .frmsize = {
148 .frmsize = {
161 .frmsize = {
174 .frmsize = {
[all …]
Dimx8m_vpu_hw.c86 .frmsize = {
101 .frmsize = {
114 .frmsize = {
127 .frmsize = {
140 .frmsize = {
156 .frmsize = {
169 .frmsize = {
185 .frmsize = {
198 .frmsize = {
211 .frmsize = {
[all …]
Dsama5d4_vdec_hw.c19 .frmsize = {
34 .frmsize = {
47 .frmsize = {
60 .frmsize = {
73 .frmsize = {
Dsunxi_vpu_hw.c17 .frmsize = {
30 .frmsize = {
46 .frmsize = {
59 .frmsize = {
72 .frmsize = {
Dhantro_hevc.c165 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()
Dhantro_vp9.c178 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()
Dhantro_v4l2.c173 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()
Dhantro.h291 struct v4l2_frmsize_stepwise frmsize; member
/linux-6.1.9/drivers/media/platform/mediatek/vcodec/
Dmtk_vcodec_dec.c271 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 …]
Dmtk_vcodec_dec_stateless.c360 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()
Dmtk_vcodec_dec_stateful.c20 .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,
Dmtk_vcodec_drv.h128 struct v4l2_frmsize_stepwise frmsize; member
/linux-6.1.9/drivers/media/v4l2-core/
Dv4l2-common.c342 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/
Dov7740.c91 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/
Drkvdec.c118 .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()
Drkvdec.h80 struct v4l2_frmsize_stepwise frmsize; member
/linux-6.1.9/drivers/staging/media/tegra-video/
Dtegra210.c1063 .frmsize = { 1280, 720 },
1070 .frmsize = { 1920, 1080 },
1077 .frmsize = { 3840, 2160 },
1084 .frmsize = { 1280, 720 },
1091 .frmsize = { 1920, 1080 },
1098 .frmsize = { 3840, 2160 },
Dcsi.h92 struct v4l2_frmsize_discrete frmsize; member
Dcsi.c104 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/
Dv4l2.c428 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()
Dvde.c466 .frmsize = {
489 .frmsize = {
Dvde.h70 struct v4l2_frmsize_stepwise frmsize; member
/linux-6.1.9/include/media/
Dv4l2-common.h517 const struct v4l2_frmsize_stepwise *frmsize);