Home
last modified time | relevance | path

Searched refs:max_h (Results 1 – 10 of 10) sorted by relevance

/drivers/media/platform/mtk-mdp/
Dmtk_mdp_m2m.c180 u32 max_w, max_h, align_w, align_h; in mtk_mdp_try_fmt_mplane() local
205 max_h = variant->pix_max->target_rot_dis_h; in mtk_mdp_try_fmt_mplane()
226 align_w, align_h, max_w, max_h); in mtk_mdp_try_fmt_mplane()
235 &pix_mp->height, min_h, max_h, align_h); in mtk_mdp_try_fmt_mplane()
285 u32 min_w, min_h, max_w, max_h; in mtk_mdp_try_crop() local
298 max_h = frame->height; in mtk_mdp_try_crop()
313 max_h = frame->width; in mtk_mdp_try_crop()
328 &new_h, min_h, max_h, align_h); in mtk_mdp_try_crop()
343 if (r->top + new_h > max_h) in mtk_mdp_try_crop()
344 r->top = max_h - new_h; in mtk_mdp_try_crop()
[all …]
/drivers/media/platform/exynos-gsc/
Dgsc-core.c396 u32 max_w, max_h, mod_x, mod_y; in gsc_try_fmt_mplane() local
417 max_h = variant->pix_max->target_rot_dis_h; in gsc_try_fmt_mplane()
435 mod_x, mod_y, max_w, max_h); in gsc_try_fmt_mplane()
443 &pix_mp->height, min_h, max_h, mod_y, 0); in gsc_try_fmt_mplane()
524 u32 min_w, min_h, max_w, max_h; in gsc_try_selection() local
540 max_h = f->f_height; in gsc_try_selection()
563 max_h = f->f_width; in gsc_try_selection()
578 &tmp_h, min_h, max_h, mod_y, 0); in gsc_try_selection()
594 if (s->r.top + tmp_h > max_h) in gsc_try_selection()
595 s->r.top = max_h - tmp_h; in gsc_try_selection()
[all …]
/drivers/media/platform/coda/
Dcoda-common.c122 #define CODA_CODEC(mode, src_fourcc, dst_fourcc, max_w, max_h) \ argument
123 { mode, src_fourcc, dst_fourcc, max_w, max_h }
303 int *max_w, int *max_h) in coda_get_max_dimensions() argument
312 h = codec->max_h; in coda_get_max_dimensions()
316 h = max(h, codecs[k].max_h); in coda_get_max_dimensions()
322 if (max_h) in coda_get_max_dimensions()
323 *max_h = h; in coda_get_max_dimensions()
524 unsigned int max_w, max_h; in coda_try_fmt() local
537 coda_get_max_dimensions(dev, codec, &max_w, &max_h); in coda_try_fmt()
539 &f->fmt.pix.height, MIN_H, max_h, H_ALIGN, in coda_try_fmt()
[all …]
Dcoda.h103 u32 max_h; member
/drivers/gpu/drm/i915/display/
Dintel_fbc.c634 unsigned int effective_w, effective_h, max_w, max_h; in intel_fbc_hw_tracking_covers_screen() local
638 max_h = 4096; in intel_fbc_hw_tracking_covers_screen()
641 max_h = 4096; in intel_fbc_hw_tracking_covers_screen()
644 max_h = 2048; in intel_fbc_hw_tracking_covers_screen()
647 max_h = 1536; in intel_fbc_hw_tracking_covers_screen()
655 return effective_w <= max_w && effective_h <= max_h; in intel_fbc_hw_tracking_covers_screen()
/drivers/media/platform/ti-vpe/
Dvpdma.h245 int max_w, int max_h, enum vpdma_channel chan, u32 flags);
249 int max_w, int max_h, int raw_vpdma_chan, u32 flags);
Dvpdma.c805 int max_w, int max_h, enum vpdma_channel chan, u32 flags) in vpdma_add_out_dtd() argument
808 max_w, max_h, chan_info[chan].num, flags); in vpdma_add_out_dtd()
815 int max_w, int max_h, int raw_vpdma_chan, u32 flags) in vpdma_rawchan_add_out_dtd() argument
851 dtd->max_width_height = dtd_max_width_height(max_w, max_h); in vpdma_rawchan_add_out_dtd()
/drivers/media/platform/vsp1/
Dvsp1_entity.h192 unsigned int max_w, unsigned int max_h);
/drivers/media/i2c/
Drj54n1cb0c.c983 int output_w, output_h, max_w, max_h, in rj54n1_set_fmt() local
1099 max_h = mf->height * (16 * 1024 - 1) / 1024; in rj54n1_set_fmt()
1100 if (input_h > max_h) in rj54n1_set_fmt()
1101 input_h = max_h; in rj54n1_set_fmt()
/drivers/media/platform/exynos4-is/
Dfimc-capture.c658 u32 max_w, max_h, min_w = 0, min_h = 0, min_sz; in fimc_capture_try_selection() local
697 max_h = min_t(u32, FIMC_CAMIF_MAX_HEIGHT, sink->f_height); in fimc_capture_try_selection()
701 min_h = min_t(u32, max_h, sink->f_height / max_sc_v); in fimc_capture_try_selection()
708 &r->height, min_h, max_h, align_h, in fimc_capture_try_selection()