Lines Matching refs:MPP_ALIGN
31 #define VDPU383_CABAC_TAB_ALIGNED_SIZE (MPP_ALIGN(VDPU383_CABAC_TAB_SIZE, SZ_4K))
33 #define VDPU383_SPSPPS_ALIGNED_SIZE (MPP_ALIGN(VDPU383_SPSPPS_SIZE, SZ_4K))
34 #define VDPU383_RPS_ALIGNED_SIZE (MPP_ALIGN(VDPU383_RPS_SIZE, SZ_4K))
35 #define VDPU383_SCALING_LIST_ALIGNED_SIZE (MPP_ALIGN(VDPU383_SCALING_LIST_SIZE, SZ_4K))
48 #define VDPU383_SPS_PPS_LEN (MPP_ALIGN(1338, 128) / 8) // byte, 1338 bit
117 return MPP_ALIGN(val, 16); in rkv_ver_align()
122 return (2 * MPP_ALIGN(val, 16)); in rkv_len_align()
127 return ((5 * MPP_ALIGN(val, 16)) / 2); in rkv_len_align_422()
443 fbd_offset = fbc_hdr_stride * MPP_ALIGN(ver_virstride, 64) / 16; in set_registers()
740 width = MPP_ALIGN(width, H264_CTU_SIZE); in h264d_refine_rcb_size()
741 height = MPP_ALIGN(height, H264_CTU_SIZE); in h264d_refine_rcb_size()
754 rcb_bits = MPP_ALIGN(width, 512) * (bit_depth + 2) * (mbaff ? 2 : 1); in h264d_refine_rcb_size()
781 RK_S32 width = MPP_ALIGN((p_hal->pp->wFrameWidthInMbsMinus1 + 1) << 4, 64); in hal_h264d_rcb_info_update()
782 RK_S32 height = MPP_ALIGN((p_hal->pp->wFrameHeightInMbsMinus1 + 1) << 4, 64); in hal_h264d_rcb_info_update()
816 RK_S32 width = MPP_ALIGN((p_hal->pp->wFrameWidthInMbsMinus1 + 1) << 4, 64); in vdpu383_h264d_gen_regs()
817 RK_S32 height = MPP_ALIGN((p_hal->pp->wFrameHeightInMbsMinus1 + 1) << 4, 64); in vdpu383_h264d_gen_regs()
821 RK_S32 mv_size = MPP_ALIGN(width, 64) * MPP_ALIGN(height, 16); // 16 byte unit in vdpu383_h264d_gen_regs()