Searched refs:luma_size (Results 1 – 6 of 6) sorted by relevance
/linux-4.1.27/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc_opr_v5.c | 74 ctx->luma_size, ctx->chroma_size, ctx->mv_size); in s5p_mfc_alloc_codec_buffers_v5() 289 ctx->luma_size = ALIGN(ctx->buf_width * ctx->buf_height, in s5p_mfc_dec_calc_dpb_size_v5() 304 ctx->luma_size = ALIGN(guard_width * guard_height, in s5p_mfc_dec_calc_dpb_size_v5() 324 ctx->luma_size = ALIGN(ctx->img_width, S5P_FIMV_NV12M_HALIGN) in s5p_mfc_enc_calc_src_size_v5() 329 ctx->luma_size = ALIGN(ctx->luma_size, S5P_FIMV_NV12M_SALIGN); in s5p_mfc_enc_calc_src_size_v5() 335 ctx->luma_size = ALIGN(ctx->img_width, S5P_FIMV_NV12MT_HALIGN) in s5p_mfc_enc_calc_src_size_v5() 341 ctx->luma_size = ALIGN(ctx->luma_size, S5P_FIMV_NV12MT_SALIGN); in s5p_mfc_enc_calc_src_size_v5() 469 frame_size_lu = ctx->luma_size; in s5p_mfc_set_dec_frame_buffer_v5()
|
D | s5p_mfc_opr_v6.c | 74 ctx->luma_size, ctx->chroma_size, ctx->mv_size); in s5p_mfc_alloc_codec_buffers_v6() 365 ctx->luma_size = calc_plane(ctx->img_width, ctx->img_height); in s5p_mfc_dec_calc_dpb_size_v6() 369 ctx->luma_size += S5P_FIMV_D_ALIGN_PLANE_SIZE_V8; in s5p_mfc_dec_calc_dpb_size_v6() 391 ctx->luma_size = ALIGN((mb_width * mb_height) * 256, 256); in s5p_mfc_enc_calc_src_size_v6() 396 ctx->luma_size += MFC_LUMA_PAD_BYTES_V7; in s5p_mfc_enc_calc_src_size_v6() 442 writel(ctx->luma_size, mfc_regs->d_first_plane_dpb_size); in s5p_mfc_set_dec_frame_buffer_v6() 464 frame_size = ctx->luma_size; in s5p_mfc_set_dec_frame_buffer_v6()
|
D | s5p_mfc_enc.c | 1024 pix_fmt_mp->plane_fmt[0].sizeimage = ctx->luma_size; in vidioc_g_fmt() 1118 pix_fmt_mp->plane_fmt[0].sizeimage = ctx->luma_size; in vidioc_s_fmt() 1848 psize[0] = ctx->luma_size; in s5p_mfc_queue_setup() 1924 vb2_plane_size(vb, 0), ctx->luma_size); in s5p_mfc_buf_prepare() 1927 if (vb2_plane_size(vb, 0) < ctx->luma_size || in s5p_mfc_buf_prepare()
|
D | s5p_mfc_dec.c | 353 pix_mp->plane_fmt[0].sizeimage = ctx->luma_size; in vidioc_g_fmt() 925 psize[0] = ctx->luma_size; in s5p_mfc_queue_setup() 962 if (vb2_plane_size(vb, 0) < ctx->luma_size || in s5p_mfc_buf_init()
|
D | s5p_mfc_common.h | 596 int luma_size; member
|
D | s5p_mfc.c | 310 vb2_set_plane_payload(dst_buf->b, 0, ctx->luma_size); in s5p_mfc_handle_frame_new()
|