Lines Matching refs:mb_wd64
358 RK_S32 mb_wd64, mb_h64; in vepu580_h265_setup_hal_bufs() local
366 mb_wd64 = (prep->width + 63) / 64; in vepu580_h265_setup_hal_bufs()
383 ctx->fbc_header_len = MPP_ALIGN(((mb_wd64 * mb_h64) << 6), SZ_8K); in vepu580_h265_setup_hal_bufs()
384 size[0] = ctx->fbc_header_len + ((mb_wd64 * mb_h64) << 12) * 3 / 2; //fbc_h + fbc_b in vepu580_h265_setup_hal_bufs()
385 size[1] = (mb_wd64 * mb_h64 << 8); in vepu580_h265_setup_hal_bufs()
386 size[2] = MPP_ALIGN(mb_wd64 * mb_h64 * 16 * 6, 256); in vepu580_h265_setup_hal_bufs()
1900 RK_S32 mb_wd64, mb_h64; in vepu580_h265_set_rc_regs() local
1901 mb_wd64 = (syn->pp.pic_width + 63) / 64; in vepu580_h265_set_rc_regs()
1904 RK_U32 ctu_target_bits_mul_16 = (rc_cfg->bit_target << 4) / (mb_wd64 * mb_h64); in vepu580_h265_set_rc_regs()
1918 ctu_target_bits = (ctu_target_bits_mul_16 * mb_wd64) >> 4; in vepu580_h265_set_rc_regs()
1927 reg_base->reg212_rc_cfg.rc_ctu_num = mb_wd64; in vepu580_h265_set_rc_regs()