Searched refs:chroma_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() 291 ctx->chroma_size = ALIGN(ctx->buf_width * in s5p_mfc_dec_calc_dpb_size_v5() 312 ctx->chroma_size = ALIGN(guard_width * guard_height, in s5p_mfc_dec_calc_dpb_size_v5() 326 ctx->chroma_size = ALIGN(ctx->img_width, S5P_FIMV_NV12M_HALIGN) in s5p_mfc_enc_calc_src_size_v5() 330 ctx->chroma_size = in s5p_mfc_enc_calc_src_size_v5() 331 ALIGN(ctx->chroma_size, S5P_FIMV_NV12M_SALIGN); in s5p_mfc_enc_calc_src_size_v5() 337 ctx->chroma_size = in s5p_mfc_enc_calc_src_size_v5() 342 ctx->chroma_size = in s5p_mfc_enc_calc_src_size_v5() 343 ALIGN(ctx->chroma_size, S5P_FIMV_NV12MT_SALIGN); in s5p_mfc_enc_calc_src_size_v5() 470 frame_size_ch = ctx->chroma_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() 366 ctx->chroma_size = calc_plane(ctx->img_width, (ctx->img_height >> 1)); in s5p_mfc_dec_calc_dpb_size_v6() 370 ctx->chroma_size += S5P_FIMV_D_ALIGN_PLANE_SIZE_V8; in s5p_mfc_dec_calc_dpb_size_v6() 392 ctx->chroma_size = ALIGN((mb_width * mb_height) * 128, 256); in s5p_mfc_enc_calc_src_size_v6() 397 ctx->chroma_size += MFC_CHROMA_PAD_BYTES_V7; in s5p_mfc_enc_calc_src_size_v6() 443 writel(ctx->chroma_size, mfc_regs->d_second_plane_dpb_size); in s5p_mfc_set_dec_frame_buffer_v6() 465 frame_size_ch = ctx->chroma_size; in s5p_mfc_set_dec_frame_buffer_v6()
|
D | s5p_mfc_enc.c | 1026 pix_fmt_mp->plane_fmt[1].sizeimage = ctx->chroma_size; in vidioc_g_fmt() 1120 pix_fmt_mp->plane_fmt[1].sizeimage = ctx->chroma_size; in vidioc_s_fmt() 1849 psize[1] = ctx->chroma_size; in s5p_mfc_queue_setup() 1926 vb2_plane_size(vb, 1), ctx->chroma_size); in s5p_mfc_buf_prepare() 1928 vb2_plane_size(vb, 1) < ctx->chroma_size) { in s5p_mfc_buf_prepare()
|
D | s5p_mfc_dec.c | 355 pix_mp->plane_fmt[1].sizeimage = ctx->chroma_size; in vidioc_g_fmt() 926 psize[1] = ctx->chroma_size; in s5p_mfc_queue_setup() 963 vb2_plane_size(vb, 1) < ctx->chroma_size) { in s5p_mfc_buf_init()
|
D | s5p_mfc_common.h | 597 int chroma_size; member
|
D | s5p_mfc.c | 311 vb2_set_plane_payload(dst_buf->b, 1, ctx->chroma_size); in s5p_mfc_handle_frame_new()
|