Lines Matching refs:rc_info

1245     EncRcTaskInfo *rc_info = &rc_task->info;  in setup_vepu580_rc_base()  local
1253 RK_U32 qp_target = rc_info->quality_target; in setup_vepu580_rc_base()
1254 RK_U32 qp_min = rc_info->quality_min; in setup_vepu580_rc_base()
1255 RK_U32 qp_max = rc_info->quality_max; in setup_vepu580_rc_base()
1257 RK_S32 mb_target_bits_mul_16 = (rc_info->bit_target << 4) / (mb_w * mb_h); in setup_vepu580_rc_base()
1262 hal_h264e_dbg_rc("bittarget %d qp [%d %d %d]\n", rc_info->bit_target, in setup_vepu580_rc_base()
2460 EncRcTaskInfo *rc_info = &task->rc_task->info; in hal_h264e_vepu580_ret_task() local
2471 rc_info->bit_real = task->hw_length * 8; in hal_h264e_vepu580_ret_task()
2472 rc_info->quality_real = regs->reg_st.qp_sum / mbs; in hal_h264e_vepu580_ret_task()
2473 rc_info->madi = (!regs->reg_st.st_bnum_b16.num_b16) ? 0 : in hal_h264e_vepu580_ret_task()
2475 rc_info->madp = (!regs->reg_st.st_bnum_cme.num_ctu) ? 0 : in hal_h264e_vepu580_ret_task()
2477 rc_info->iblk4_prop = (regs->reg_st.st_pnum_i4.pnum_i4 + in hal_h264e_vepu580_ret_task()
2481rc_info->sse = ((RK_S64)regs->reg_st.sse_h32 << 16) + (regs->reg_st.st_sse_bsl.sse_l16 & 0xffff); in hal_h264e_vepu580_ret_task()
2482 rc_info->lvl16_inter_num = regs->reg_st.st_pnum_p16.pnum_p16; in hal_h264e_vepu580_ret_task()
2483 rc_info->lvl8_inter_num = regs->reg_st.st_pnum_p8.pnum_p8; in hal_h264e_vepu580_ret_task()
2484 rc_info->lvl16_intra_num = regs->reg_st.st_pnum_i16.pnum_i16; in hal_h264e_vepu580_ret_task()
2485 rc_info->lvl8_intra_num = regs->reg_st.st_pnum_i8.pnum_i8; in hal_h264e_vepu580_ret_task()
2486 rc_info->lvl4_intra_num = regs->reg_st.st_pnum_i4.pnum_i4; in hal_h264e_vepu580_ret_task()
2488 ctx->hal_rc_cfg.bit_real = rc_info->bit_real; in hal_h264e_vepu580_ret_task()
2489 ctx->hal_rc_cfg.quality_real = rc_info->quality_real; in hal_h264e_vepu580_ret_task()
2490 ctx->hal_rc_cfg.iblk4_prop = rc_info->iblk4_prop; in hal_h264e_vepu580_ret_task()
2507 rc_info->motion_level = 0; in hal_h264e_vepu580_ret_task()
2509 rc_info->motion_level = 200; in hal_h264e_vepu580_ret_task()
2511 rc_info->motion_level = 100; in hal_h264e_vepu580_ret_task()
2513 rc_info->motion_level = 0; in hal_h264e_vepu580_ret_task()
2515 rc_info->complex_level = 0; in hal_h264e_vepu580_ret_task()
2517 rc_info->complex_level = 2; in hal_h264e_vepu580_ret_task()
2519 rc_info->complex_level = 1; in hal_h264e_vepu580_ret_task()
2521 rc_info->complex_level = 0; in hal_h264e_vepu580_ret_task()
2523 …hal_h264e_dbg_rc("motion_level %u, complex_level %u\n", rc_info->motion_level, rc_info->complex_le… in hal_h264e_vepu580_ret_task()