Searched refs:num_mbs (Results 1 – 11 of 11) sorted by relevance
38 frame_info->num_mbs[i] = 0; in irc_init_frame_info()95 total_mbs += frame_info->num_mbs[i]; in irc_fi_get_average_qp()110 if(frame_info->num_mbs[mb_type]) in irc_fi_get_avg_mb_header()113 / frame_info->num_mbs[mb_type]); in irc_fi_get_avg_mb_header()134 if(frame_info->num_mbs[mb_type]) in irc_fi_get_total_mb_qp()146 return (frame_info->num_mbs[mb_type]); in irc_fi_get_total_mb()151 return (frame_info->num_mbs[MB_TYPE_INTRA]); in irc_fi_get_num_intra_mb()161 i4_tot_mbs += frame_info->num_mbs[i]; in irc_fi_get_avg_activity()
27 WORD32 num_mbs[MAX_MB_TYPE]; member70 {(frame_info)->qp_sum[(mb_type)] += (qp);(frame_info)->num_mbs[(mb_type)]++;}
417 ps_frame_info->num_mbs[mb_type]++; in ih264e_update_rc_mb_info()
2370 s_frame_info.num_mbs[j] += ps_proc[i].s_frame_info.num_mbs[j]; in ih264e_update_rc_post_enc()
82 WORD32 num_mbs; in read_mb_info() local86 num_mbs = ALIGN16(ps_app_ctxt->u4_wd) * ALIGN16(ps_app_ctxt->u4_ht); in read_mb_info()87 num_mbs /= 256; in read_mb_info()92 size = sizeof(ih264e_mb_info1_t) * num_mbs; in read_mb_info()96 size = sizeof(ih264e_mb_info2_t) * num_mbs; in read_mb_info()100 size = sizeof(ih264e_mb_info3_t) * num_mbs; in read_mb_info()104 size = sizeof(ih264e_mb_info4_t) * num_mbs; in read_mb_info()235 WORD32 num_mbs; in allocate_input() local249 num_mbs = ALIGN16(ps_app_ctxt->u4_max_wd) * ALIGN16(ps_app_ctxt->u4_max_ht); in allocate_input()250 num_mbs /= 256; in allocate_input()[all …]
207 const int num_mbs = (cpi->oxcf.resize_mode != RESIZE_NONE) in get_twopass_worst_quality() local210 const int active_mbs = AOMMAX(1, num_mbs - (int)(num_mbs * inactive_zone)); in get_twopass_worst_quality()250 const int num_mbs = (cpi->oxcf.resize_mode != RESIZE_NONE) ? cpi->initial_mbs in get_sr_decay_rate() local252 double sr_diff = (frame->sr_coded_error - frame->coded_error) / num_mbs; in get_sr_decay_rate()382 int num_mbs = (cpi->oxcf.resize_mode != RESIZE_NONE) ? cpi->initial_mbs in calc_frame_boost() local386 num_mbs = (int)AOMMAX(1, num_mbs * calculate_active_area(cpi, this_frame)); in calc_frame_boost()389 frame_boost = (BASELINE_ERR_PER_MB * num_mbs) / in calc_frame_boost()896 const int num_mbs = (cpi->oxcf.resize_mode != RESIZE_NONE) ? cpi->initial_mbs in define_gf_group() local898 assert(num_mbs > 0); in define_gf_group()909 avg_sr_coded_error / num_mbs < MAX_SR_CODED_ERROR && in define_gf_group()[all …]
753 const int num_mbs = (cpi->oxcf.resize_mode != RESIZE_NONE) in av1_first_pass() local756 const double min_err = 200 * sqrt(num_mbs); in av1_first_pass()758 intra_factor = intra_factor / (double)num_mbs; in av1_first_pass()759 brightness_factor = brightness_factor / (double)num_mbs; in av1_first_pass()768 fps.pcnt_inter = (double)intercount / num_mbs; in av1_first_pass()769 fps.pcnt_second_ref = (double)second_ref_count / num_mbs; in av1_first_pass()770 fps.pcnt_neutral = (double)neutral_count / num_mbs; in av1_first_pass()771 fps.intra_skip_pct = (double)intra_skip_count / num_mbs; in av1_first_pass()787 fps.pcnt_motion = (double)mvcount / num_mbs; in av1_first_pass()
921 int num_mbs = cpi->common.MBs; in estimate_max_q() local925 double err_per_mb = section_err / num_mbs; in estimate_max_q()935 ? (512 * section_target_bandwitdh) / num_mbs in estimate_max_q()936 : 512 * (section_target_bandwitdh / num_mbs); in estimate_max_q()975 overhead_bits_per_mb = overhead_bits / num_mbs; in estimate_max_q()1036 int num_mbs = cpi->common.MBs; in estimate_cq() local1040 double err_per_mb = section_err / num_mbs; in estimate_cq()1054 ? (512 * section_target_bandwitdh) / num_mbs in estimate_cq()1055 : 512 * (section_target_bandwitdh / num_mbs); in estimate_cq()1058 overhead_bits_per_mb = overhead_bits / num_mbs; in estimate_cq()[all …]
706 const int num_mbs = (cpi->oxcf.resize_mode != RESIZE_NONE) ? cpi->initial_mbs in first_pass_stat_calc() local708 const double min_err = 200 * sqrt(num_mbs); in first_pass_stat_calc()723 fp_acc_data->intra_factor = fp_acc_data->intra_factor / (double)num_mbs; in first_pass_stat_calc()725 fp_acc_data->brightness_factor / (double)num_mbs; in first_pass_stat_calc()732 ((double)(fp_acc_data->coded_error >> 8) + min_err) / num_mbs; in first_pass_stat_calc()734 ((double)(fp_acc_data->sr_coded_error >> 8) + min_err) / num_mbs; in first_pass_stat_calc()736 ((double)(fp_acc_data->intra_error >> 8) + min_err) / num_mbs; in first_pass_stat_calc()739 (double)(fp_acc_data->frame_noise_energy) / (double)num_mbs; in first_pass_stat_calc()741 fps->pcnt_inter = (double)(fp_acc_data->intercount) / num_mbs; in first_pass_stat_calc()742 fps->pcnt_second_ref = (double)(fp_acc_data->second_ref_count) / num_mbs; in first_pass_stat_calc()[all …]
452 WORD32 num_mbs; in ihevcd_decode() local454 num_mbs = (ps_codec->i4_wd * ps_codec->i4_ht + 255) >> 8; in ihevcd_decode()457 memset(ps_codec->mb_map, 0, ((num_mbs + 7) >> 3)); in ihevcd_decode()
352 UWORD32 num_mbs; in ih264d_start_of_pic() local356 num_mbs = (pic_wd * pic_ht) >> 8; in ih264d_start_of_pic()360 memset((void *)ps_dec->pu1_dec_mb_map, 0, num_mbs); in ih264d_start_of_pic()366 memset((void *)ps_dec->pu1_recon_mb_map, 0, num_mbs); in ih264d_start_of_pic()372 (num_mbs * sizeof(UWORD16))); in ih264d_start_of_pic()