Home
last modified time | relevance | path

Searched refs:num_mbs (Results 1 – 11 of 11) 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/libaom/libaom/av1/encoder/
Dpass2_strategy.c207 const int num_mbs = (cpi->oxcf.resize_mode != RESIZE_NONE) in get_twopass_worst_quality() local
210 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() local
252 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() local
386 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() local
898 assert(num_mbs > 0); in define_gf_group()
909 avg_sr_coded_error / num_mbs < MAX_SR_CODED_ERROR && in define_gf_group()
[all …]
Dfirstpass.c753 const int num_mbs = (cpi->oxcf.resize_mode != RESIZE_NONE) in av1_first_pass() local
756 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()
/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.c706 const int num_mbs = (cpi->oxcf.resize_mode != RESIZE_NONE) ? cpi->initial_mbs in first_pass_stat_calc() local
708 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 …]
/external/libhevc/decoder/
Dihevcd_decode.c452 WORD32 num_mbs; in ihevcd_decode() local
454 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()
/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()