/drivers/media/platform/mtk-mdp/ |
D | mtk_mdp_m2m.c | 180 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/ |
D | gsc-core.c | 396 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/ |
D | coda-common.c | 122 #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 …]
|
D | coda.h | 103 u32 max_h; member
|
/drivers/gpu/drm/i915/display/ |
D | intel_fbc.c | 634 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/ |
D | vpdma.h | 245 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);
|
D | vpdma.c | 805 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/ |
D | vsp1_entity.h | 192 unsigned int max_w, unsigned int max_h);
|
/drivers/media/i2c/ |
D | rj54n1cb0c.c | 983 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/ |
D | fimc-capture.c | 658 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()
|