Searched refs:num_mbs (Results 1 – 9 of 9) 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 …]
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 …]
713 const int num_mbs = (cpi->oxcf.resize_mode != RESIZE_NONE) ? cpi->initial_mbs in first_pass_stat_calc() local715 const double min_err = 200 * sqrt(num_mbs); in first_pass_stat_calc()730 fp_acc_data->intra_factor = fp_acc_data->intra_factor / (double)num_mbs; in first_pass_stat_calc()732 fp_acc_data->brightness_factor / (double)num_mbs; in first_pass_stat_calc()739 ((double)(fp_acc_data->coded_error >> 8) + min_err) / num_mbs; in first_pass_stat_calc()741 ((double)(fp_acc_data->sr_coded_error >> 8) + min_err) / num_mbs; in first_pass_stat_calc()743 ((double)(fp_acc_data->intra_error >> 8) + min_err) / num_mbs; in first_pass_stat_calc()746 (double)(fp_acc_data->frame_noise_energy) / (double)num_mbs; in first_pass_stat_calc()748 fps->pcnt_inter = (double)(fp_acc_data->intercount) / num_mbs; in first_pass_stat_calc()749 fps->pcnt_second_ref = (double)(fp_acc_data->second_ref_count) / num_mbs; in first_pass_stat_calc()[all …]
448 WORD32 num_mbs; in ihevcd_decode() local450 num_mbs = (ps_codec->i4_wd * ps_codec->i4_ht + 255) >> 8; in ihevcd_decode()453 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()