Home
last modified time | relevance | path

Searched refs:mv_size (Results 1 – 14 of 14) sorted by relevance

/OK3568_Linux_fs/external/mpp/mpp/hal/rkdec/avs2d/
H A Dhal_avs2d_rkv.c577 RK_U32 mv_size = 0; in set_up_colmv_buf() local
591 mv_size = seg_payload_size + seg_head_size; in set_up_colmv_buf()
593 mv_size = (MPP_ALIGN(p_hal->syntax.pp.pic_width_in_luma_samples, 64) * in set_up_colmv_buf()
597 if ((mv_size / 8) % 2 == 1) { in set_up_colmv_buf()
598 mv_size += 8; in set_up_colmv_buf()
602 mv_size *= 2; in set_up_colmv_buf()
603 AVS2D_HAL_TRACE("mv_size %d", mv_size); in set_up_colmv_buf()
605 if (p_hal->cmv_bufs == NULL || p_hal->mv_size < mv_size) { in set_up_colmv_buf()
606 size_t size = mv_size; in set_up_colmv_buf()
620 p_hal->mv_size = mv_size; in set_up_colmv_buf()
H A Dhal_avs2d_vdpu382.c653 RK_U32 mv_size = 0; in set_up_colmv_buf() local
667 mv_size = seg_payload_size + seg_head_size; in set_up_colmv_buf()
669 mv_size = (MPP_ALIGN(p_hal->syntax.pp.pic_width_in_luma_samples, 64) * in set_up_colmv_buf()
673 if ((mv_size / 8) % 2 == 1) { in set_up_colmv_buf()
674 mv_size += 8; in set_up_colmv_buf()
678 mv_size *= 2; in set_up_colmv_buf()
679 AVS2D_HAL_TRACE("mv_size %d", mv_size); in set_up_colmv_buf()
681 if (p_hal->cmv_bufs == NULL || p_hal->mv_size < mv_size) { in set_up_colmv_buf()
682 size_t size = mv_size; in set_up_colmv_buf()
696 p_hal->mv_size = mv_size; in set_up_colmv_buf()
H A Dhal_avs2d_global.h98 RK_U32 mv_size; member
/OK3568_Linux_fs/external/mpp/mpp/hal/rkdec/h264d/
H A Dhal_h264d_vdpu34x.c901 RK_S32 mv_size = width * height / 2; in vdpu34x_h264d_gen_regs() local
911 mv_size *= 2; in vdpu34x_h264d_gen_regs()
913 if (p_hal->cmv_bufs == NULL || p_hal->mv_size < mv_size) { in vdpu34x_h264d_gen_regs()
914 size_t size = mv_size; in vdpu34x_h264d_gen_regs()
926 p_hal->mv_size = mv_size; in vdpu34x_h264d_gen_regs()
H A Dhal_h264d_vdpu382.c941 RK_S32 mv_size; in vdpu382_h264d_setup_colmv_buf() local
944 mv_size = width * height; in vdpu382_h264d_setup_colmv_buf()
945 if (p_hal->cmv_bufs == NULL || p_hal->mv_size < mv_size) { in vdpu382_h264d_setup_colmv_buf()
946 size_t size = mv_size; in vdpu382_h264d_setup_colmv_buf()
958 p_hal->mv_size = mv_size; in vdpu382_h264d_setup_colmv_buf()
H A Dhal_h264d_global.h128 RK_S32 mv_size; member
/OK3568_Linux_fs/kernel/drivers/media/platform/s5p-mfc/
H A Ds5p_mfc_opr_v6.c72 ctx->luma_size, ctx->chroma_size, ctx->mv_size); in s5p_mfc_alloc_codec_buffers_v6()
152 (ctx->mv_count * ctx->mv_size); in s5p_mfc_alloc_codec_buffers_v6()
224 (ctx->mv_count * ctx->mv_size); in s5p_mfc_alloc_codec_buffers_v6()
456 ctx->mv_size = S5P_MFC_DEC_MV_SIZE_V10(ctx->img_width, in s5p_mfc_dec_calc_dpb_size_v6()
459 ctx->mv_size = S5P_MFC_DEC_MV_SIZE_V6(ctx->img_width, in s5p_mfc_dec_calc_dpb_size_v6()
463 ctx->mv_size = s5p_mfc_dec_hevc_mv_size(ctx->img_width, in s5p_mfc_dec_calc_dpb_size_v6()
465 ctx->mv_size = ALIGN(ctx->mv_size, 32); in s5p_mfc_dec_calc_dpb_size_v6()
467 ctx->mv_size = 0; in s5p_mfc_dec_calc_dpb_size_v6()
549 writel(ctx->mv_size, mfc_regs->d_mv_buffer_size); in s5p_mfc_set_dec_frame_buffer_v6()
555 frame_size_mv = ctx->mv_size; in s5p_mfc_set_dec_frame_buffer_v6()
H A Ds5p_mfc_opr_v5.c71 ctx->luma_size, ctx->chroma_size, ctx->mv_size); in s5p_mfc_alloc_codec_buffers_v5()
105 ctx->bank2.size = ctx->total_dpb_count * ctx->mv_size; in s5p_mfc_alloc_codec_buffers_v5()
292 ctx->mv_size = ALIGN(ctx->buf_width * in s5p_mfc_dec_calc_dpb_size_v5()
312 ctx->mv_size = 0; in s5p_mfc_dec_calc_dpb_size_v5()
468 frame_size_mv = ctx->mv_size; in s5p_mfc_set_dec_frame_buffer_v5()
H A Ds5p_mfc_common.h650 int mv_size; member
/OK3568_Linux_fs/external/mpp/mpp/hal/rkdec/vp9d/
H A Dhal_vp9d_vdpu382.c74 RK_S32 mv_size; member
429 RK_S32 mv_size = pic_param->width * pic_param->height / 2; in hal_vp9d_vdpu382_gen_regs() local
449 if (hw_ctx->cmv_bufs == NULL || hw_ctx->mv_size < mv_size) { in hal_vp9d_vdpu382_gen_regs()
450 size_t size = mv_size; in hal_vp9d_vdpu382_gen_regs()
462 hw_ctx->mv_size = mv_size; in hal_vp9d_vdpu382_gen_regs()
H A Dhal_vp9d_vdpu34x.c74 RK_S32 mv_size; member
416 RK_S32 mv_size = pic_param->width * pic_param->height / 2; in hal_vp9d_vdpu34x_gen_regs() local
436 if (hw_ctx->cmv_bufs == NULL || hw_ctx->mv_size < mv_size) { in hal_vp9d_vdpu34x_gen_regs()
437 size_t size = mv_size; in hal_vp9d_vdpu34x_gen_regs()
449 hw_ctx->mv_size = mv_size; in hal_vp9d_vdpu34x_gen_regs()
/OK3568_Linux_fs/external/mpp/mpp/hal/rkdec/h265d/
H A Dhal_h265d_ctx.h74 RK_U32 mv_size; member
H A Dhal_h265d_vdpu382.c643 RK_U32 mv_size = 0; in hal_h265d_vdpu382_gen_regs() local
704 mv_size = (MPP_ALIGN(width, 64) * MPP_ALIGN(height, 64)) >> 3; in hal_h265d_vdpu382_gen_regs()
705 if (reg_ctx->cmv_bufs == NULL || reg_ctx->mv_size < mv_size) { in hal_h265d_vdpu382_gen_regs()
706 size_t size = mv_size; in hal_h265d_vdpu382_gen_regs()
719 reg_ctx->mv_size = mv_size; in hal_h265d_vdpu382_gen_regs()
H A Dhal_h265d_vdpu34x.c848 RK_U32 mv_size = 0; in hal_h265d_vdpu34x_gen_regs() local
913 mv_size = (MPP_ALIGN(width, 64) * MPP_ALIGN(height, 64)) >> 3; in hal_h265d_vdpu34x_gen_regs()
914 if (reg_ctx->cmv_bufs == NULL || reg_ctx->mv_size < mv_size) { in hal_h265d_vdpu34x_gen_regs()
915 size_t size = mv_size; in hal_h265d_vdpu34x_gen_regs()
928 reg_ctx->mv_size = mv_size; in hal_h265d_vdpu34x_gen_regs()