| /rockchip-linux_mpp/mpp/hal/rkdec/avs2d/ |
| H A D | hal_avs2d_vdpu383.c | 589 RK_S32 mv_size = seg_cnt_w * seg_cnt_h * 64 * 16; in calc_mv_size() local 591 return mv_size; in calc_mv_size() 601 RK_S32 mv_size = calc_mv_size(pp->pic_width_in_luma_samples, in set_up_colmv_buf() local 605 AVS2D_HAL_TRACE("mv_size %d", mv_size); in set_up_colmv_buf() 607 if (p_hal->cmv_bufs == NULL || p_hal->mv_size < (RK_U32)mv_size) { in set_up_colmv_buf() 608 size_t size = mv_size; in set_up_colmv_buf() 622 p_hal->mv_size = mv_size; in set_up_colmv_buf()
|
| H A D | hal_avs2d_rkv.c | 570 RK_U32 mv_size = 0; in set_up_colmv_buf() local 575 mv_size = vdpu34x_get_colmv_size(width, height, ctu_size, COLMV_BYTES, in set_up_colmv_buf() 578 mv_size *= 2; in set_up_colmv_buf() 579 AVS2D_HAL_TRACE("mv_size %d", mv_size); in set_up_colmv_buf() 581 if (p_hal->cmv_bufs == NULL || p_hal->mv_size < mv_size) { in set_up_colmv_buf() 582 size_t size = mv_size; in set_up_colmv_buf() 596 p_hal->mv_size = mv_size; in set_up_colmv_buf()
|
| H A D | hal_avs2d_global.h | 87 RK_U32 mv_size; member
|
| H A D | hal_avs2d_vdpu382.c | 637 RK_U32 mv_size = 0; in set_up_colmv_buf() local 642 mv_size = vdpu382_get_colmv_size(width, height, ctu_size, COLMV_BYTES, in set_up_colmv_buf() 645 mv_size *= 2; in set_up_colmv_buf() 646 AVS2D_HAL_TRACE("mv_size %d", mv_size); in set_up_colmv_buf() 648 if (p_hal->cmv_bufs == NULL || p_hal->mv_size < mv_size) { in set_up_colmv_buf() 649 size_t size = mv_size; in set_up_colmv_buf() 663 p_hal->mv_size = mv_size; in set_up_colmv_buf()
|
| /rockchip-linux_mpp/mpp/hal/rkdec/h264d/ |
| H A D | hal_h264d_vdpu34x.c | 893 RK_S32 mv_size; in vdpu34x_h264d_setup_colmv_buf() local 895 … mv_size = vdpu34x_get_colmv_size(width, height, ctu_size, colmv_byte, colmv_size, colmv_compress); in vdpu34x_h264d_setup_colmv_buf() 899 mv_size *= 2; in vdpu34x_h264d_setup_colmv_buf() 901 if (p_hal->cmv_bufs == NULL || p_hal->mv_size < mv_size) { in vdpu34x_h264d_setup_colmv_buf() 902 size_t size = mv_size; in vdpu34x_h264d_setup_colmv_buf() 914 p_hal->mv_size = mv_size; in vdpu34x_h264d_setup_colmv_buf()
|
| H A D | hal_h264d_global.h | 113 RK_S32 mv_size; member
|
| H A D | hal_h264d_vdpu384a.c | 773 RK_S32 mv_size = MPP_ALIGN(width, 64) * MPP_ALIGN(height, 16); // 16 byte unit in vdpu384a_h264d_gen_regs() local 784 mv_size *= 2; in vdpu384a_h264d_gen_regs() 786 if (p_hal->cmv_bufs == NULL || p_hal->mv_size < mv_size) { in vdpu384a_h264d_gen_regs() 787 size_t size = mv_size; in vdpu384a_h264d_gen_regs() 799 p_hal->mv_size = mv_size; in vdpu384a_h264d_gen_regs()
|
| H A D | hal_h264d_vdpu383.c | 821 RK_S32 mv_size = MPP_ALIGN(width, 64) * MPP_ALIGN(height, 16); // 16 byte unit in vdpu383_h264d_gen_regs() local 832 mv_size *= 2; in vdpu383_h264d_gen_regs() 834 if (p_hal->cmv_bufs == NULL || p_hal->mv_size < mv_size) { in vdpu383_h264d_gen_regs() 835 size_t size = mv_size; in vdpu383_h264d_gen_regs() 847 p_hal->mv_size = mv_size; in vdpu383_h264d_gen_regs()
|
| H A D | hal_h264d_vdpu382.c | 928 RK_S32 mv_size; in vdpu382_h264d_setup_colmv_buf() local 930 mv_size = vdpu382_get_colmv_size(width, height, ctu_size, colmv_byte, colmv_size, 1); in vdpu382_h264d_setup_colmv_buf() 931 if (p_hal->cmv_bufs == NULL || p_hal->mv_size < mv_size) { in vdpu382_h264d_setup_colmv_buf() 932 size_t size = mv_size; in vdpu382_h264d_setup_colmv_buf() 944 p_hal->mv_size = mv_size; in vdpu382_h264d_setup_colmv_buf()
|
| /rockchip-linux_mpp/mpp/hal/rkdec/h265d/ |
| H A D | hal_h265d_ctx.h | 64 RK_U32 mv_size; member
|
| H A D | hal_h265d_vdpu384a.c | 772 RK_S32 mv_size = seg_cnt_w * seg_cnt_h * 64 * 16; in calc_mv_size() local 774 return mv_size; in calc_mv_size() 791 RK_U32 mv_size = 0; in hal_h265d_vdpu384a_gen_regs() local 853 mv_size = calc_mv_size(width, height, 1 << log2_min_cb_size) * 2; in hal_h265d_vdpu384a_gen_regs() 855 if (reg_ctx->cmv_bufs == NULL || reg_ctx->mv_size < mv_size) { in hal_h265d_vdpu384a_gen_regs() 856 size_t size = mv_size; in hal_h265d_vdpu384a_gen_regs() 869 reg_ctx->mv_size = mv_size; in hal_h265d_vdpu384a_gen_regs()
|
| H A D | hal_h265d_vdpu383.c | 851 RK_S32 mv_size = seg_cnt_w * seg_cnt_h * 64 * 16; in calc_mv_size() local 853 return mv_size; in calc_mv_size() 870 RK_U32 mv_size = 0; in hal_h265d_vdpu383_gen_regs() local 941 mv_size = calc_mv_size(width, height, 1 << log2_min_cb_size) * 2; in hal_h265d_vdpu383_gen_regs() 943 if (reg_ctx->cmv_bufs == NULL || reg_ctx->mv_size < mv_size) { in hal_h265d_vdpu383_gen_regs() 944 size_t size = mv_size; in hal_h265d_vdpu383_gen_regs() 957 reg_ctx->mv_size = mv_size; in hal_h265d_vdpu383_gen_regs()
|
| H A D | hal_h265d_vdpu382.c | 620 RK_U32 mv_size = 0, colmv_size = 16, colmv_byte = 16; in hal_h265d_vdpu382_setup_colmv_buf() local 624 mv_size = vdpu382_get_colmv_size(width, height, ctu_size, colmv_byte, colmv_size, compress); in hal_h265d_vdpu382_setup_colmv_buf() 626 if (reg_ctx->cmv_bufs == NULL || reg_ctx->mv_size < mv_size) { in hal_h265d_vdpu382_setup_colmv_buf() 627 size_t size = mv_size; in hal_h265d_vdpu382_setup_colmv_buf() 640 reg_ctx->mv_size = mv_size; in hal_h265d_vdpu382_setup_colmv_buf()
|
| H A D | hal_h265d_vdpu34x.c | 852 RK_U32 mv_size = 0; in hal_h265d_vdpu34x_gen_regs() local 915 mv_size = vdpu34x_get_colmv_size(width, height, ctu_size, 16, 16, COLMV_COMPRESS_EN); in hal_h265d_vdpu34x_gen_regs() 916 if (reg_ctx->cmv_bufs == NULL || reg_ctx->mv_size < mv_size) { in hal_h265d_vdpu34x_gen_regs() 917 size_t size = mv_size; in hal_h265d_vdpu34x_gen_regs() 930 reg_ctx->mv_size = mv_size; in hal_h265d_vdpu34x_gen_regs()
|
| /rockchip-linux_mpp/mpp/hal/rkdec/vp9d/ |
| H A D | hal_vp9d_vdpu34x.c | 74 RK_S32 mv_size; member 387 RK_S32 mv_size = 0, colmv_size = 8, colmv_byte = 16; in hal_vp9d_vdpu34x_setup_colmv_buf() local 390 mv_size = vdpu34x_get_colmv_size(width, height, VP9_CTU_SIZE, colmv_byte, colmv_size, compress); in hal_vp9d_vdpu34x_setup_colmv_buf() 391 if (hw_ctx->cmv_bufs == NULL || hw_ctx->mv_size < mv_size) { in hal_vp9d_vdpu34x_setup_colmv_buf() 392 size_t size = mv_size; in hal_vp9d_vdpu34x_setup_colmv_buf() 404 hw_ctx->mv_size = mv_size; in hal_vp9d_vdpu34x_setup_colmv_buf()
|
| H A D | hal_vp9d_vdpu382.c | 74 RK_S32 mv_size; member 400 RK_S32 mv_size = 0, colmv_size = 8, colmv_byte = 16; in hal_vp9d_vdpu382_setup_colmv_buf() local 403 mv_size = vdpu382_get_colmv_size(width, height, VP9_CTU_SIZE, colmv_byte, colmv_size, compress); in hal_vp9d_vdpu382_setup_colmv_buf() 404 if (hw_ctx->cmv_bufs == NULL || hw_ctx->mv_size < mv_size) { in hal_vp9d_vdpu382_setup_colmv_buf() 405 size_t size = mv_size; in hal_vp9d_vdpu382_setup_colmv_buf() 417 hw_ctx->mv_size = mv_size; in hal_vp9d_vdpu382_setup_colmv_buf()
|
| H A D | hal_vp9d_vdpu383.c | 68 RK_S32 mv_size; member 711 RK_S32 mv_size = pic_param->width * pic_param->height / 2; in hal_vp9d_vdpu383_gen_regs() local 755 if (hw_ctx->cmv_bufs == NULL || hw_ctx->mv_size < mv_size) { in hal_vp9d_vdpu383_gen_regs() 756 size_t size = mv_size; in hal_vp9d_vdpu383_gen_regs() 768 hw_ctx->mv_size = mv_size; in hal_vp9d_vdpu383_gen_regs()
|
| /rockchip-linux_mpp/mpp/hal/rkdec/av1d/ |
| H A D | hal_av1d_vdpu383.c | 1993 size_t mv_size; in vdpu383_av1d_colmv_setup() local 1996 mv_size = MPP_ALIGN(dxva->width, 64) / 64 * MPP_ALIGN(dxva->height, 64) / 64 * 1024; in vdpu383_av1d_colmv_setup() 1997 if (reg_ctx->colmv_bufs == NULL || reg_ctx->colmv_size < mv_size) { in vdpu383_av1d_colmv_setup() 2008 reg_ctx->colmv_size = mv_size; in vdpu383_av1d_colmv_setup() 2010 hal_bufs_setup(reg_ctx->colmv_bufs, reg_ctx->colmv_count, 1, &mv_size); in vdpu383_av1d_colmv_setup()
|