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.c2362 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/vp9/encoder/
Dvp9_firstpass.c1038 const int num_mbs = (cpi->oxcf.resize_mode != RESIZE_NONE) in vp9_first_pass() local
1040 const double min_err = 200 * sqrt(num_mbs); in vp9_first_pass()
1042 intra_factor = intra_factor / (double)num_mbs; in vp9_first_pass()
1043 brightness_factor = brightness_factor / (double)num_mbs; in vp9_first_pass()
1052 fps.pcnt_inter = (double)intercount / num_mbs; in vp9_first_pass()
1053 fps.pcnt_second_ref = (double)second_ref_count / num_mbs; in vp9_first_pass()
1054 fps.pcnt_neutral = (double)neutral_count / num_mbs; in vp9_first_pass()
1055 fps.intra_skip_pct = (double)intra_skip_count / num_mbs; in vp9_first_pass()
1070 fps.pcnt_motion = (double)mvcount / num_mbs; in vp9_first_pass()
1195 const int num_mbs = (cpi->oxcf.resize_mode != RESIZE_NONE) in get_twopass_worst_quality() local
[all …]
/external/libvpx/libvpx/vp8/encoder/
Dfirstpass.c985 int num_mbs = cpi->common.MBs; in estimate_max_q() local
989 double err_per_mb = section_err / num_mbs; in estimate_max_q()
999 ? (512 * section_target_bandwitdh) / num_mbs in estimate_max_q()
1000 : 512 * (section_target_bandwitdh / num_mbs); in estimate_max_q()
1038 overhead_bits_per_mb = overhead_bits / num_mbs; in estimate_max_q()
1104 int num_mbs = cpi->common.MBs; in estimate_cq() local
1108 double err_per_mb = section_err / num_mbs; in estimate_cq()
1123 ? (512 * section_target_bandwitdh) / num_mbs in estimate_cq()
1124 : 512 * (section_target_bandwitdh / num_mbs); in estimate_cq()
1127 overhead_bits_per_mb = overhead_bits / num_mbs; in estimate_cq()
[all …]
/external/libhevc/decoder/
Dihevcd_decode.c411 WORD32 num_mbs; in ihevcd_decode() local
413 num_mbs = (ps_codec->i4_wd * ps_codec->i4_ht + 255) >> 8; in ihevcd_decode()
416 memset(ps_codec->mb_map, 0, ((num_mbs + 7) >> 3)); in ihevcd_decode()
/external/libavc/decoder/
Dih264d_parse_slice.c349 UWORD32 num_mbs; in ih264d_start_of_pic() local
353 num_mbs = (pic_wd * pic_ht) >> 8; in ih264d_start_of_pic()
357 memset((void *)ps_dec->pu1_dec_mb_map, 0, num_mbs); in ih264d_start_of_pic()
363 memset((void *)ps_dec->pu1_recon_mb_map, 0, num_mbs); in ih264d_start_of_pic()
369 (num_mbs * sizeof(UWORD16))); in ih264d_start_of_pic()