Searched refs:img_height (Results 1 – 11 of 11) sorted by relevance
/drivers/media/pci/zoran/ |
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() 818 if (settings->img_y + settings->img_height > BUZ_MAX_HEIGHT / 2) { in zoran_check_jpg_settings() 819 settings->img_y = BUZ_MAX_HEIGHT / 2 - settings->img_height; 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() [all …]
|
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()
|
D | zoran.h | 150 int img_x, img_y, img_width, img_height; member
|
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()
|
/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 | 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()
|
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()
|
/drivers/media/test-drivers/vivid/ |
D | vivid-kthread-cap.c | 225 unsigned img_height = dev->compose_cap.height; in vivid_copy_buffer() local 229 unsigned hmax = (img_height * tpg->perc_fill) / 100; in vivid_copy_buffer() 381 for (; y < img_height; y += vdiv, vcapbuf += stride_cap) in vivid_copy_buffer()
|