Lines Matching refs:mb_wd64
152 RK_S32 mb_wd64, mb_h64; in vepu54x_h265_setup_hal_bufs() local
160 mb_wd64 = (prep->width + 63) / 64; in vepu54x_h265_setup_hal_bufs()
203 ctx->fbc_header_len = MPP_ALIGN(((mb_wd64 * mb_h64) << 6), SZ_8K); in vepu54x_h265_setup_hal_bufs()
204 size[0] = ctx->fbc_header_len + ((mb_wd64 * mb_h64) << 12) * 3 / 2; //fbc_h + fbc_b in vepu54x_h265_setup_hal_bufs()
205 size[1] = (mb_wd64 * mb_h64 << 8); in vepu54x_h265_setup_hal_bufs()
206 size[2] = MPP_ALIGN(mb_wd64 * mb_h64 * 16 * 4, 256); in vepu54x_h265_setup_hal_bufs()
980 RK_S32 mb_wd64, mb_h64; in vepu541_h265_set_rc_regs() local
981 mb_wd64 = (syn->pp.pic_width + 63) / 64; in vepu541_h265_set_rc_regs()
984 RK_U32 ctu_target_bits_mul_16 = (rc_cfg->bit_target << 4) / (mb_wd64 * mb_h64); in vepu541_h265_set_rc_regs()
998 ctu_target_bits = (ctu_target_bits_mul_16 * mb_wd64) >> 4; in vepu541_h265_set_rc_regs()
1008 regs->rc_cfg.rc_ctu_num = mb_wd64; in vepu541_h265_set_rc_regs()