Searched refs:img_height (Results 1 – 11 of 11) sorted by relevance
/linux-6.3-rc2/drivers/media/pci/zoran/ |
A D | zoran_card.c | 730 settings->img_width, settings->img_height); in zoran_check_jpg_settings() 742 settings->img_height = BUZ_MAX_HEIGHT / 2; in zoran_check_jpg_settings() 754 settings->img_height = BUZ_MAX_HEIGHT / 2; in zoran_check_jpg_settings() 774 settings->img_height = BUZ_MAX_HEIGHT / 2; in zoran_check_jpg_settings() 810 if (settings->img_height < 0 || settings->img_height > BUZ_MAX_HEIGHT / 2) { in zoran_check_jpg_settings() 811 settings->img_height = clamp(settings->img_height, 0, BUZ_MAX_HEIGHT / 2); in zoran_check_jpg_settings() 828 if (settings->img_height % (8 * settings->ver_dcm) != 0) { in zoran_check_jpg_settings() 829 settings->img_height -= settings->img_height % (8 * settings->ver_dcm); in zoran_check_jpg_settings() 830 if (settings->img_height == 0) in zoran_check_jpg_settings() 831 settings->img_height = 8 * settings->ver_dcm; in zoran_check_jpg_settings() [all …]
|
A D | zoran_driver.c | 295 fmt->fmt.pix.height = zr->jpg_settings.img_height * 2 / in zoran_g_fmt_vid_out() 349 if (fmt->fmt.pix.height <= zr->jpg_settings.img_height / 2) in zoran_try_fmt_vid_out() 379 fmt->fmt.pix.height = settings.img_height * 2 / in zoran_try_fmt_vid_out() 456 if (fmt->fmt.pix.height <= zr->jpg_settings.img_height / 2) in zoran_s_fmt_vid_out() 496 fmt->fmt.pix.height = settings.img_height * 2 / in zoran_s_fmt_vid_out() 636 sel->r.height = zr->jpg_settings.img_height; in zoran_g_selection() 683 settings.img_height = sel->r.height; in zoran_s_selection()
|
A D | zoran.h | 150 int img_x, img_y, img_width, img_height; member
|
A D | zoran_device.c | 461 (zr->jpg_settings.img_height << ZR36057_FVAP_PAY); in zr36057_set_jpg() 616 cap.height = zr->jpg_settings.img_height; in zr36057_enable_jpg()
|
/linux-6.3-rc2/drivers/media/platform/samsung/s5p-mfc/ |
A 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() 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() 333 * ALIGN(ctx->img_height, S5P_FIMV_NV12MT_VALIGN); in s5p_mfc_enc_calc_src_size_v5() 553 * ALIGN(ctx->img_height, S5P_FIMV_NV12MT_VALIGN); in s5p_mfc_set_enc_ref_buffer_v5() [all …]
|
A 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() 443 ctx->img_height, ctx->buf_width, ctx->buf_height); 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() 464 ctx->img_height); in s5p_mfc_dec_calc_dpb_size_v6() 476 mb_height = MB_HEIGHT(ctx->img_height); in s5p_mfc_enc_calc_src_size_v6() 996 writel(ctx->img_height >> 1, in s5p_mfc_set_enc_params_h264() [all …]
|
A D | s5p_mfc_common.h | 654 int img_height; member
|
A 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()
|
A D | s5p_mfc_enc.c | 1377 pix_fmt_mp->height = ctx->img_height; in vidioc_g_fmt() 1462 ctx->img_height = pix_fmt_mp->height; in vidioc_s_fmt() 1466 ctx->img_width, ctx->img_height); in vidioc_s_fmt()
|
A D | s5p_mfc.c | 531 ctx->img_height = s5p_mfc_hw_call(dev->mfc_ops, get_img_height, in s5p_mfc_handle_seq_done() 543 if (ctx->img_width == 0 || ctx->img_height == 0) in s5p_mfc_handle_seq_done()
|
/linux-6.3-rc2/drivers/media/test-drivers/vivid/ |
A 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()
|
Completed in 31 milliseconds