Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/media/platform/mediatek/mdp/
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-6.6.21/drivers/media/platform/samsung/exynos-gsc/
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-6.6.21/drivers/media/platform/chips-media/
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 }
340 int *max_w, int *max_h) in coda_get_max_dimensions() argument
349 h = codec->max_h; in coda_get_max_dimensions()
353 h = max(h, codecs[k].max_h); in coda_get_max_dimensions()
359 if (max_h) in coda_get_max_dimensions()
360 *max_h = h; in coda_get_max_dimensions()
591 unsigned int max_w, max_h; in coda_try_fmt() local
604 coda_get_max_dimensions(dev, codec, &max_w, &max_h); in coda_try_fmt()
606 &f->fmt.pix.height, MIN_H, max_h, H_ALIGN, in coda_try_fmt()
[all …]
Dcoda.h111 u32 max_h; member
Dcoda-jpeg.c294 if (header.frame.height > ctx->codec->max_h || in coda_jpeg_decode_header()
/linux-6.6.21/drivers/media/platform/ti/vpe/
Dvpdma.h246 int max_w, int max_h, enum vpdma_channel chan, u32 flags);
250 int max_w, int max_h, int raw_vpdma_chan, u32 flags);
Dvpdma.c810 int max_w, int max_h, enum vpdma_channel chan, u32 flags) in vpdma_add_out_dtd() argument
813 max_w, max_h, chan_info[chan].num, flags); in vpdma_add_out_dtd()
820 int max_w, int max_h, int raw_vpdma_chan, u32 flags) in vpdma_rawchan_add_out_dtd() argument
857 dtd->max_width_height = dtd_max_width_height(max_w, max_h); in vpdma_rawchan_add_out_dtd()
/linux-6.6.21/drivers/media/platform/renesas/vsp1/
Dvsp1_entity.h190 unsigned int max_w, unsigned int max_h);
/linux-6.6.21/drivers/gpu/drm/ingenic/
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-6.6.21/drivers/gpu/drm/i915/display/
Dintel_fbc.c930 unsigned int effective_w, effective_h, max_w, max_h; in intel_fbc_hw_tracking_covers_screen() local
934 max_h = 4096; in intel_fbc_hw_tracking_covers_screen()
937 max_h = 4096; in intel_fbc_hw_tracking_covers_screen()
940 max_h = 2048; in intel_fbc_hw_tracking_covers_screen()
943 max_h = 1536; in intel_fbc_hw_tracking_covers_screen()
951 return effective_w <= max_w && effective_h <= max_h; in intel_fbc_hw_tracking_covers_screen()
/linux-6.6.21/drivers/staging/sm750fb/
Dsm750.h126 int max_h; member
Dsm750.c116 fbcursor->image.height > cursor->max_h || in lynxfb_ops_cursor()
728 crtc->cursor.max_h = 64; in lynxfb_set_fbinfo()
730 crtc->cursor.size = crtc->cursor.max_h * crtc->cursor.max_w * 2 / 8; in lynxfb_set_fbinfo()
/linux-6.6.21/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()
/linux-6.6.21/drivers/media/platform/mediatek/vcodec/decoder/vdec/
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()
Dvdec_vp9_req_lat_if.c551 unsigned int max_h; in vdec_vp9_slice_alloc_working_buffer() local
568 max_h = VCODEC_DEC_4K_CODED_HEIGHT; in vdec_vp9_slice_alloc_working_buffer()
573 max_h = MTK_VDEC_MAX_H; in vdec_vp9_slice_alloc_working_buffer()
583 max_sb_h = DIV_ROUND_UP(max_h, 64); in vdec_vp9_slice_alloc_working_buffer()
/linux-6.6.21/drivers/media/platform/samsung/exynos4-is/
Dfimc-capture.c648 u32 max_w, max_h, min_w = 0, min_h = 0, min_sz; in fimc_capture_try_selection() local
687 max_h = min_t(u32, FIMC_CAMIF_MAX_HEIGHT, sink->f_height); in fimc_capture_try_selection()
691 min_h = min_t(u32, max_h, sink->f_height / max_sc_v); in fimc_capture_try_selection()
698 &r->height, min_h, max_h, align_h, in fimc_capture_try_selection()