| /rockchip-linux_mpp/mpp/hal/rkdec/h265d/ |
| H A D | hal_h265d_vdpu382.c | 447 …RK_U8 ctu_size = 1 << (pp->log2_diff_max_min_luma_coding_block_size + pp->log2_min_luma_coding_blo… in h265d_refine_rcb_size() local 451 width = MPP_ALIGN(width, ctu_size); in h265d_refine_rcb_size() 452 height = MPP_ALIGN(height, ctu_size); in h265d_refine_rcb_size() 456 RK_U32 factor = 64 / ctu_size; in h265d_refine_rcb_size() 458 rcb_bits = (MPP_ALIGN(width, ctu_size) + factor - 1) / factor * 24 + ext_align_size; in h265d_refine_rcb_size() 491 if (ctu_size == 32) in h265d_refine_rcb_size() 496 if (ctu_size == 32) in h265d_refine_rcb_size() 506 rcb_bits = width * (128 / ctu_size + 2 * bit_depth); in h265d_refine_rcb_size() 508 rcb_bits = width * (128 / ctu_size + 3 * bit_depth); in h265d_refine_rcb_size() 524 RK_U32 ctu_idx = ctu_size >> 5; in h265d_refine_rcb_size() [all …]
|
| H A D | hal_h265d_vdpu34x.c | 676 …RK_U8 ctu_size = 1 << (pp->log2_diff_max_min_luma_coding_block_size + pp->log2_min_luma_coding_blo… in h265d_refine_rcb_size() local 680 width = MPP_ALIGN(width, ctu_size); in h265d_refine_rcb_size() 681 height = MPP_ALIGN(height, ctu_size); in h265d_refine_rcb_size() 685 RK_U32 factor = ctu_size / 16; in h265d_refine_rcb_size() 686 rcb_bits = (MPP_ALIGN(width, ctu_size) + factor - 1) * factor * 24 + ext_align_size; in h265d_refine_rcb_size() 719 if (ctu_size == 32) in h265d_refine_rcb_size() 724 if (ctu_size == 32) in h265d_refine_rcb_size() 734 rcb_bits = width * (128 / ctu_size + 2 * bit_depth); in h265d_refine_rcb_size() 736 rcb_bits = width * (128 / ctu_size + 3 * bit_depth); in h265d_refine_rcb_size() 752 RK_U32 ctu_idx = ctu_size >> 5; in h265d_refine_rcb_size() [all …]
|
| H A D | hal_h265d_ctx.h | 76 RK_U8 ctu_size; member
|
| H A D | hal_h265d_vdpu384a.c | 653 …RK_U8 ctu_size = 1 << (pp->log2_diff_max_min_luma_coding_block_size + pp->log2_min_luma_coding_blo… in h265d_refine_rcb_size() local 673 width = MPP_ALIGN(width, ctu_size); in h265d_refine_rcb_size() 674 height = MPP_ALIGN(height, ctu_size); in h265d_refine_rcb_size() 730 …RK_U8 ctu_size = 1 << (pp->log2_diff_max_min_luma_coding_block_size + pp->log2_min_luma_coding_blo… in hal_h265d_rcb_info_update() local 737 reg_ctx->ctu_size != ctu_size || in hal_h265d_rcb_info_update() 761 reg_ctx->ctu_size = ctu_size; in hal_h265d_rcb_info_update()
|
| H A D | hal_h265d_vdpu383.c | 657 …RK_U8 ctu_size = 1 << (pp->log2_diff_max_min_luma_coding_block_size + pp->log2_min_luma_coding_blo… in h265d_refine_rcb_size() local 677 width = MPP_ALIGN(width, ctu_size); in h265d_refine_rcb_size() 678 height = MPP_ALIGN(height, ctu_size); in h265d_refine_rcb_size() 734 …RK_U8 ctu_size = 1 << (pp->log2_diff_max_min_luma_coding_block_size + pp->log2_min_luma_coding_blo… in hal_h265d_rcb_info_update() local 741 reg_ctx->ctu_size != ctu_size || in hal_h265d_rcb_info_update() 764 reg_ctx->ctu_size = ctu_size; in hal_h265d_rcb_info_update()
|
| /rockchip-linux_mpp/mpp/hal/rkdec/ |
| H A D | vdpu34x_com.c | 230 RK_U32 vdpu34x_get_colmv_size(RK_U32 width, RK_U32 height, RK_U32 ctu_size, in vdpu34x_get_colmv_size() argument 236 RK_U32 segment_w = (64 * colmv_size * colmv_size) / ctu_size; in vdpu34x_get_colmv_size() 237 RK_U32 segment_h = ctu_size; in vdpu34x_get_colmv_size()
|
| H A D | vdpu382_com.c | 258 RK_U32 vdpu382_get_colmv_size(RK_U32 width, RK_U32 height, RK_U32 ctu_size, in vdpu382_get_colmv_size() argument 264 RK_U32 segment_w = (64 * colmv_size * colmv_size) / ctu_size; in vdpu382_get_colmv_size() 265 RK_U32 segment_h = ctu_size; in vdpu382_get_colmv_size()
|
| /rockchip-linux_mpp/mpp/hal/rkdec/avs2d/ |
| H A D | hal_avs2d_vdpu382.c | 287 RK_U8 ctu_size = 1 << syntax->pp.lcu_size; in avs2d_refine_rcb_size() local 292 width = MPP_ALIGN(width, ctu_size); in avs2d_refine_rcb_size() 296 RK_U32 factor = 64 / ctu_size; in avs2d_refine_rcb_size() 298 rcb_bits = (MPP_ALIGN(width, ctu_size) + factor - 1) / factor * 24; in avs2d_refine_rcb_size() 326 if (ctu_size == 32) in avs2d_refine_rcb_size() 336 rcb_bits = width * (128 / ctu_size + 2 * bit_depth); in avs2d_refine_rcb_size() 338 rcb_bits = width * (128 / ctu_size + 3 * bit_depth); in avs2d_refine_rcb_size() 638 RK_U32 ctu_size = 1 << (p_hal->syntax.pp.lcu_size); in set_up_colmv_buf() local 642 mv_size = vdpu382_get_colmv_size(width, height, ctu_size, COLMV_BYTES, in set_up_colmv_buf()
|
| H A D | hal_avs2d_vdpu383.c | 282 RK_U8 ctu_size = 1 << syntax->pp.lcu_size; in avs2d_refine_rcb_size() local 287 width = MPP_ALIGN(width, ctu_size); in avs2d_refine_rcb_size() 600 RK_U32 ctu_size = 1 << (p_hal->syntax.pp.lcu_size); in set_up_colmv_buf() local 603 ctu_size); in set_up_colmv_buf()
|
| H A D | hal_avs2d_rkv.c | 571 RK_U32 ctu_size = 1 << (p_hal->syntax.pp.lcu_size); in set_up_colmv_buf() local 575 mv_size = vdpu34x_get_colmv_size(width, height, ctu_size, COLMV_BYTES, in set_up_colmv_buf()
|
| /rockchip-linux_mpp/mpp/hal/rkdec/inc/ |
| H A D | vdpu34x_com.h | 504 RK_U32 vdpu34x_get_colmv_size(RK_U32 width, RK_U32 height, RK_U32 ctu_size,
|
| H A D | vdpu382_com.h | 571 RK_U32 vdpu382_get_colmv_size(RK_U32 width, RK_U32 height, RK_U32 ctu_size,
|
| /rockchip-linux_mpp/mpp/codec/dec/avs2/ |
| H A D | avs2d_dpb.c | 512 RK_U32 ctu_size = 1 << (p_dec->vsh.lcu_size); in dpb_alloc_frame() local 515 mpp_frame_set_ver_stride(mframe, MPP_ALIGN(vsh->vertical_size, ctu_size) + 16); in dpb_alloc_frame()
|
| /rockchip-linux_mpp/inc/ |
| H A D | rk_venc_cmd.h | 883 RK_S32 ctu_size; member
|
| /rockchip-linux_mpp/mpp/hal/rkdec/h264d/ |
| H A D | hal_h264d_vdpu34x.c | 891 RK_U32 ctu_size = 16, colmv_size = 4, colmv_byte = 16; 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()
|
| H A D | hal_h264d_vdpu382.c | 927 RK_U32 ctu_size = 16, colmv_size = 4, colmv_byte = 16; 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()
|