Home
last modified time | relevance | path

Searched refs:luma_size (Results 1 – 8 of 8) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/media/platform/s5p-mfc/
H A Ds5p_mfc_opr_v5.c71 ctx->luma_size, ctx->chroma_size, ctx->mv_size); in s5p_mfc_alloc_codec_buffers_v5()
286 ctx->luma_size = ALIGN(ctx->buf_width * ctx->buf_height, in s5p_mfc_dec_calc_dpb_size_v5()
301 ctx->luma_size = ALIGN(guard_width * guard_height, in s5p_mfc_dec_calc_dpb_size_v5()
321 ctx->luma_size = ALIGN(ctx->img_width, S5P_FIMV_NV12M_HALIGN) in s5p_mfc_enc_calc_src_size_v5()
326 ctx->luma_size = ALIGN(ctx->luma_size, S5P_FIMV_NV12M_SALIGN); in s5p_mfc_enc_calc_src_size_v5()
332 ctx->luma_size = ALIGN(ctx->img_width, S5P_FIMV_NV12MT_HALIGN) in s5p_mfc_enc_calc_src_size_v5()
338 ctx->luma_size = ALIGN(ctx->luma_size, S5P_FIMV_NV12MT_SALIGN); in s5p_mfc_enc_calc_src_size_v5()
466 frame_size_lu = ctx->luma_size; in s5p_mfc_set_dec_frame_buffer_v5()
H A Ds5p_mfc_opr_v6.c72 ctx->luma_size, ctx->chroma_size, ctx->mv_size); in s5p_mfc_alloc_codec_buffers_v6()
445 ctx->luma_size = calc_plane(ctx->img_width, ctx->img_height); in s5p_mfc_dec_calc_dpb_size_v6()
449 ctx->luma_size += S5P_FIMV_D_ALIGN_PLANE_SIZE_V8; in s5p_mfc_dec_calc_dpb_size_v6()
479 ctx->luma_size = ALIGN((mb_width * mb_height) * 256, 256); in s5p_mfc_enc_calc_src_size_v6()
484 ctx->luma_size += MFC_LUMA_PAD_BYTES_V7; in s5p_mfc_enc_calc_src_size_v6()
530 writel(ctx->luma_size, mfc_regs->d_first_plane_dpb_size); in s5p_mfc_set_dec_frame_buffer_v6()
553 frame_size = ctx->luma_size; in s5p_mfc_set_dec_frame_buffer_v6()
H A Ds5p_mfc_dec.c347 pix_mp->plane_fmt[0].sizeimage = ctx->luma_size; in vidioc_g_fmt()
940 psize[0] = ctx->luma_size; in s5p_mfc_queue_setup()
976 if (vb2_plane_size(vb, 0) < ctx->luma_size || in s5p_mfc_buf_init()
H A Ds5p_mfc_enc.c1378 pix_fmt_mp->plane_fmt[0].sizeimage = ctx->luma_size; in vidioc_g_fmt()
1463 pix_fmt_mp->plane_fmt[0].sizeimage = ctx->luma_size; in vidioc_s_fmt()
2408 psize[0] = ctx->luma_size; in s5p_mfc_queue_setup()
2481 vb2_plane_size(vb, 0), ctx->luma_size); in s5p_mfc_buf_prepare()
2484 if (vb2_plane_size(vb, 0) < ctx->luma_size || in s5p_mfc_buf_prepare()
H A Ds5p_mfc_common.h648 int luma_size; member
H A Ds5p_mfc.c344 ctx->luma_size); in s5p_mfc_handle_frame_new()
/OK3568_Linux_fs/external/mpp/mpp/hal/vpu/av1d/
H A Dhal_av1d_vdpu.c93 RK_U32 luma_size ; member
789 RK_U32 y_stride = ctx->luma_size; in vdpu_av1d_set_reference_frames()
791 RK_U32 mv_offset = ctx->luma_size + ctx->chroma_size + 64; in vdpu_av1d_set_reference_frames()
1051 y_stride = ctx->luma_size ; in vdpu_av1d_set_reference_frames()
1845 RK_U32 luma_size = out_w * out_h; in vdpu_av1d_gen_regs() local
1846 RK_U32 chroma_size = luma_size / 2; in vdpu_av1d_gen_regs()
1849 ctx->luma_size = luma_size; in vdpu_av1d_gen_regs()
1851 ctx->tile_out_size = luma_size + chroma_size + dir_mvs_size + 512; in vdpu_av1d_gen_regs()
2073 RK_U32 y_stride = ctx->luma_size; in vdpu_av1d_gen_regs()
/OK3568_Linux_fs/external/mpp/test/
H A Dmpi_rc2_test.c204 RK_U32 luma_size = width * height; in mpi_rc_calc_psnr() local
223 mse_y = ssd_y / (65025.0 * luma_size); // 65025=255*255 in mpi_rc_calc_psnr()