Home
last modified time | relevance | path

Searched refs:num_mbs (Results 1 – 9 of 9) sorted by relevance

/external/libavc/encoder/
Dirc_frame_info_collector.c38 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()
Dirc_frame_info_collector.h27 WORD32 num_mbs[MAX_MB_TYPE]; member
70 {(frame_info)->qp_sum[(mb_type)] += (qp);(frame_info)->num_mbs[(mb_type)]++;}
Dih264e_rate_control.c417 ps_frame_info->num_mbs[mb_type]++; in ih264e_update_rc_mb_info()
Dih264e_process.c2370 s_frame_info.num_mbs[j] += ps_proc[i].s_frame_info.num_mbs[j]; in ih264e_update_rc_post_enc()
/external/libavc/test/encoder/
Dinput.c82 WORD32 num_mbs; in read_mb_info() local
86 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() local
249 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 …]
/external/libvpx/libvpx/vp8/encoder/
Dfirstpass.c921 int num_mbs = cpi->common.MBs; in estimate_max_q() local
925 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() local
1040 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 …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_firstpass.c713 const int num_mbs = (cpi->oxcf.resize_mode != RESIZE_NONE) ? cpi->initial_mbs in first_pass_stat_calc() local
715 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 …]
/external/libhevc/decoder/
Dihevcd_decode.c448 WORD32 num_mbs; in ihevcd_decode() local
450 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()
/external/libavc/decoder/
Dih264d_parse_slice.c352 UWORD32 num_mbs; in ih264d_start_of_pic() local
356 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()