Home
last modified time | relevance | path

Searched refs:img_height (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/drivers/media/platform/s5p-mfc/
Ds5p_mfc_opr_v5.c75 * 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 …]
Ds5p_mfc_opr_v6.c68 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 …]
Ds5p_mfc_common.h644 int img_height; member
Ds5p_mfc_dec.c775 height = ctx->img_height - top - bottom; in vidioc_g_selection()
783 height = ctx->img_height; in vidioc_g_selection()
Ds5p_mfc_enc.c1365 pix_fmt_mp->height = ctx->img_height; in vidioc_g_fmt()
1450 ctx->img_height = pix_fmt_mp->height; in vidioc_s_fmt()
1454 ctx->img_width, ctx->img_height); in vidioc_s_fmt()
Ds5p_mfc.c517 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-v5.4/drivers/media/platform/vivid/
Dvivid-kthread-cap.c244 unsigned img_height = dev->compose_cap.height; in vivid_copy_buffer() local
248 unsigned hmax = (img_height * tpg->perc_fill) / 100; in vivid_copy_buffer()
400 for (; y < img_height; y += vdiv, vcapbuf += stride_cap) in vivid_copy_buffer()
598 unsigned img_height = dev->compose_cap.height; in vivid_overlay() local
632 y < dev->overlay_cap_top + (int)img_height; in vivid_overlay()