Home
last modified time | relevance | path

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

/linux/drivers/media/platform/samsung/exynos-gsc/
H A Dgsc-core.c394 u32 max_w, max_h, mod_x, mod_y; in gsc_try_fmt_mplane() local
415 max_h = variant->pix_max->target_rot_dis_h; in gsc_try_fmt_mplane()
433 mod_x, mod_y, max_w, max_h); in gsc_try_fmt_mplane()
441 &pix_mp->height, min_h, max_h, mod_y, 0); in gsc_try_fmt_mplane()
522 u32 min_w, min_h, max_w, max_h; in gsc_try_selection() local
538 max_h = f->f_height; in gsc_try_selection()
561 max_h = f->f_width; in gsc_try_selection()
576 &tmp_h, min_h, max_h, mod_y, 0); in gsc_try_selection()
592 if (s->r.top + tmp_h > max_h) in gsc_try_selection()
593 s->r.top = max_h - tmp_h; in gsc_try_selection()
[all …]
/linux/drivers/media/platform/mediatek/mdp/
H A Dmtk_mdp_m2m.c180 u32 max_w, max_h, align_w, align_h; in mtk_mdp_try_fmt_mplane() local
204 max_h = variant->pix_max->target_rot_dis_h; in mtk_mdp_try_fmt_mplane()
225 align_w, align_h, max_w, max_h); in mtk_mdp_try_fmt_mplane()
234 &pix_mp->height, min_h, max_h, align_h); in mtk_mdp_try_fmt_mplane()
282 u32 min_w, min_h, max_w, max_h; in mtk_mdp_try_crop() local
295 max_h = frame->height; in mtk_mdp_try_crop()
310 max_h = frame->width; in mtk_mdp_try_crop()
325 &new_h, min_h, max_h, align_h); in mtk_mdp_try_crop()
339 if (r->top + new_h > max_h) in mtk_mdp_try_crop()
340 r->top = max_h - new_h; in mtk_mdp_try_crop()
[all …]
/linux/drivers/media/platform/chips-media/coda/
H A Dcoda-common.c127 #define CODA_CODEC(mode, src_fourcc, dst_fourcc, max_w, max_h) \ argument
128 { mode, src_fourcc, dst_fourcc, max_w, max_h }
345 int *max_w, int *max_h) in coda_get_max_dimensions() argument
354 h = codec->max_h; in coda_get_max_dimensions()
358 h = max(h, codecs[k].max_h); in coda_get_max_dimensions()
364 if (max_h) in coda_get_max_dimensions()
365 *max_h = h; in coda_get_max_dimensions()
596 unsigned int max_w, max_h; in coda_try_fmt() local
609 coda_get_max_dimensions(dev, codec, &max_w, &max_h); in coda_try_fmt()
611 &f->fmt.pix.height, MIN_H, max_h, H_ALIGN, in coda_try_fmt()
[all …]
H A Dcoda.h111 u32 max_h; member
H A Dcoda-jpeg.c294 if (header.frame.height > ctx->codec->max_h || in coda_jpeg_decode_header()
/linux/drivers/gpu/drm/ingenic/
H A Dingenic-ipu.c574 unsigned int num_w, denom_w, num_h, denom_h, xres, yres, max_w, max_h; in ingenic_ipu_plane_atomic_check() local
629 max_h = crtc_state->mode.vdisplay * 102 / 100; in ingenic_ipu_plane_atomic_check()
637 for (denom_h = yres, num_h = new_plane_state->crtc_h; num_h <= max_h; num_h++) in ingenic_ipu_plane_atomic_check()
640 if (num_h > max_h) in ingenic_ipu_plane_atomic_check()
/linux/drivers/gpu/drm/i915/display/
H A Dintel_fbc.c1307 unsigned int effective_w, effective_h, max_w, max_h; in intel_fbc_surface_size_ok() local
1309 intel_fbc_max_surface_size(display, &max_w, &max_h); in intel_fbc_surface_size_ok()
1316 return effective_w <= max_w && effective_h <= max_h; in intel_fbc_surface_size_ok()
1340 unsigned int w, h, max_w, max_h; in intel_fbc_plane_size_valid() local
1342 intel_fbc_max_plane_size(display, &max_w, &max_h); in intel_fbc_plane_size_valid()
1347 return w <= max_w && h <= max_h; in intel_fbc_plane_size_valid()
/linux/drivers/staging/sm750fb/
H A Dsm750.c116 fbcursor->image.height > cursor->max_h || in lynxfb_ops_cursor()
771 crtc->cursor.max_h = 64; in lynxfb_set_fbinfo()
773 crtc->cursor.size = crtc->cursor.max_h * crtc->cursor.max_w * 2 / 8; in lynxfb_set_fbinfo()
/linux/drivers/media/platform/samsung/exynos4-is/
H A Dfimc-capture.c646 u32 max_w, max_h, min_w = 0, min_h = 0, min_sz; in fimc_capture_try_selection() local
685 max_h = min_t(u32, FIMC_CAMIF_MAX_HEIGHT, sink->f_height); in fimc_capture_try_selection()
689 min_h = min_t(u32, max_h, sink->f_height / max_sc_v); in fimc_capture_try_selection()
696 &r->height, min_h, max_h, align_h, in fimc_capture_try_selection()
/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A Dvdec_av1_req_lat_if.c941 u32 max_sb_w, max_sb_h, max_w, max_h, w, h; in vdec_av1_slice_alloc_working_buffer() local
955 max_h = VCODEC_DEC_4K_CODED_HEIGHT; in vdec_av1_slice_alloc_working_buffer()
960 max_h = MTK_VDEC_MAX_H; in vdec_av1_slice_alloc_working_buffer()
970 max_sb_h = DIV_ROUND_UP(max_h, 128); in vdec_av1_slice_alloc_working_buffer()
H A Dvdec_vp9_req_lat_if.c550 unsigned int max_h; in vdec_vp9_slice_alloc_working_buffer() local
567 max_h = VCODEC_DEC_4K_CODED_HEIGHT; in vdec_vp9_slice_alloc_working_buffer()
572 max_h = MTK_VDEC_MAX_H; in vdec_vp9_slice_alloc_working_buffer()
582 max_sb_h = DIV_ROUND_UP(max_h, 64); in vdec_vp9_slice_alloc_working_buffer()