Searched refs:img_height (Results 1 – 11 of 11) sorted by relevance
/linux-5.19.10/drivers/staging/media/zoran/ |
D | zoran_card.c | 738 settings->img_width, settings->img_height); in zoran_check_jpg_settings() 750 settings->img_height = BUZ_MAX_HEIGHT / 2; in zoran_check_jpg_settings() 762 settings->img_height = BUZ_MAX_HEIGHT / 2; in zoran_check_jpg_settings() 780 settings->img_height = BUZ_MAX_HEIGHT / 2; in zoran_check_jpg_settings() 816 if (settings->img_height < 0 || settings->img_height > BUZ_MAX_HEIGHT / 2) { in zoran_check_jpg_settings() 817 settings->img_height = clamp(settings->img_height, 0, BUZ_MAX_HEIGHT / 2); in zoran_check_jpg_settings() 824 if (settings->img_y + settings->img_height > BUZ_MAX_HEIGHT / 2) { in zoran_check_jpg_settings() 825 settings->img_y = BUZ_MAX_HEIGHT / 2 - settings->img_height; in zoran_check_jpg_settings() 834 if (settings->img_height % (8 * settings->ver_dcm) != 0) { in zoran_check_jpg_settings() 835 settings->img_height -= settings->img_height % (8 * settings->ver_dcm); in zoran_check_jpg_settings() [all …]
|
D | zoran_driver.c | 307 fmt->fmt.pix.height = zr->jpg_settings.img_height * 2 / in zoran_g_fmt_vid_out() 361 if (fmt->fmt.pix.height <= zr->jpg_settings.img_height / 2) in zoran_try_fmt_vid_out() 391 fmt->fmt.pix.height = settings.img_height * 2 / in zoran_try_fmt_vid_out() 466 if (fmt->fmt.pix.height <= zr->jpg_settings.img_height / 2) in zoran_s_fmt_vid_out() 506 fmt->fmt.pix.height = settings.img_height * 2 / in zoran_s_fmt_vid_out() 678 sel->r.height = zr->jpg_settings.img_height; in zoran_g_selection() 725 settings.img_height = sel->r.height; in zoran_s_selection()
|
D | zoran.h | 144 int img_x, img_y, img_width, img_height; /* crop settings (subframe capture) */ member
|
D | zoran_device.c | 458 (zr->jpg_settings.img_height << ZR36057_FVAP_PAY); in zr36057_set_jpg() 615 cap.height = zr->jpg_settings.img_height; in zr36057_enable_jpg()
|
/linux-5.19.10/drivers/media/platform/samsung/s5p-mfc/ |
D | s5p_mfc_opr_v5.c | 75 * ALIGN(ctx->img_height, S5P_FIMV_NV12MT_VALIGN); in s5p_mfc_alloc_codec_buffers_v5() 81 * ALIGN(ctx->img_height >> 1, in s5p_mfc_alloc_codec_buffers_v5() 88 guard_height = ALIGN((ctx->img_height >> 1) + 4, in s5p_mfc_alloc_codec_buffers_v5() 279 ctx->buf_height = ALIGN(ctx->img_height, S5P_FIMV_NV12MT_VALIGN); in s5p_mfc_dec_calc_dpb_size_v5() 282 ctx->img_width, ctx->img_height, ctx->buf_width, in s5p_mfc_dec_calc_dpb_size_v5() 289 ALIGN((ctx->img_height >> 1), in s5p_mfc_dec_calc_dpb_size_v5() 300 ALIGN(ctx->img_height + 16, S5P_FIMV_NV12MT_VALIGN); in s5p_mfc_dec_calc_dpb_size_v5() 307 ALIGN((ctx->img_height >> 1) + 4, in s5p_mfc_dec_calc_dpb_size_v5() 322 * ALIGN(ctx->img_height, S5P_FIMV_NV12M_LVALIGN); in s5p_mfc_enc_calc_src_size_v5() 324 * ALIGN((ctx->img_height >> 1), S5P_FIMV_NV12M_CVALIGN); in s5p_mfc_enc_calc_src_size_v5() [all …]
|
D | s5p_mfc_opr_v6.c | 68 mb_height = MB_HEIGHT(ctx->img_height); in s5p_mfc_alloc_codec_buffers_v6() 87 lcu_height = S5P_MFC_LCU_HEIGHT(ctx->img_height); in s5p_mfc_alloc_codec_buffers_v6() 117 ctx->img_width, ctx->img_height, in s5p_mfc_alloc_codec_buffers_v6() 122 ctx->img_width, ctx->img_height, in s5p_mfc_alloc_codec_buffers_v6() 440 ctx->buf_height = ALIGN(ctx->img_height, S5P_FIMV_NV12MT_VALIGN_V6); in s5p_mfc_dec_calc_dpb_size_v6() 443 ctx->img_height, ctx->buf_width, ctx->buf_height); in s5p_mfc_dec_calc_dpb_size_v6() 445 ctx->luma_size = calc_plane(ctx->img_width, ctx->img_height); in s5p_mfc_dec_calc_dpb_size_v6() 446 ctx->chroma_size = calc_plane(ctx->img_width, (ctx->img_height >> 1)); in s5p_mfc_dec_calc_dpb_size_v6() 457 ctx->img_height); in s5p_mfc_dec_calc_dpb_size_v6() 460 ctx->img_height); in s5p_mfc_dec_calc_dpb_size_v6() [all …]
|
D | s5p_mfc_common.h | 654 int img_height; member
|
D | s5p_mfc_dec.c | 808 height = ctx->img_height - top - bottom; in vidioc_g_selection() 816 height = ctx->img_height; in vidioc_g_selection()
|
D | s5p_mfc_enc.c | 1369 pix_fmt_mp->height = ctx->img_height; in vidioc_g_fmt() 1454 ctx->img_height = pix_fmt_mp->height; in vidioc_s_fmt() 1458 ctx->img_width, ctx->img_height); in vidioc_s_fmt()
|
D | s5p_mfc.c | 517 ctx->img_height = s5p_mfc_hw_call(dev->mfc_ops, get_img_height, in s5p_mfc_handle_seq_done() 529 if (ctx->img_width == 0 || ctx->img_height == 0) in s5p_mfc_handle_seq_done()
|
/linux-5.19.10/drivers/media/test-drivers/vivid/ |
D | vivid-kthread-cap.c | 246 unsigned img_height = dev->compose_cap.height; in vivid_copy_buffer() local 250 unsigned hmax = (img_height * tpg->perc_fill) / 100; in vivid_copy_buffer() 402 for (; y < img_height; y += vdiv, vcapbuf += stride_cap) in vivid_copy_buffer() 602 unsigned img_height = dev->compose_cap.height; in vivid_overlay() local 636 y < dev->overlay_cap_top + (int)img_height; in vivid_overlay()
|