Home
last modified time | relevance | path

Searched refs:MBs (Results 1 – 15 of 15) sorted by relevance

/external/libvpx/libvpx/vp8/encoder/
Dratectrl.c326 static int estimate_bits_at_q(int frame_kind, int Q, int MBs, in estimate_bits_at_q() argument
335 if (MBs > (1 << 11)) in estimate_bits_at_q()
336 return (Bpm >> BPER_MB_NORMBITS) * MBs; in estimate_bits_at_q()
338 return (Bpm * MBs) >> BPER_MB_NORMBITS; in estimate_bits_at_q()
355 target = estimate_bits_at_q(INTRA_FRAME, Q, cpi->common.MBs, in calc_iframe_target_size()
1086 (estimate_bits_at_q(1, Q, cpi->common.MBs, 1.0) in calc_pframe_target_size()
1139 …rection_factor * vp8_bits_per_mb[cpi->common.frame_type][Q]) * cpi->common.MBs) / (1 << BPER_MB_NO… in vp8_update_rate_correction_factors()
1273 target_bits_per_mb = (target_bits_per_frame / cpi->common.MBs) << BPER_MB_NORMBITS; in vp8_regulate_q()
1275 target_bits_per_mb = (target_bits_per_frame << BPER_MB_NORMBITS) / cpi->common.MBs; in vp8_regulate_q()
1592 int pred_err_mb = (int)(cpi->mb.prediction_error / cpi->common.MBs); in vp8_drop_encodedframe_overshoot()
[all …]
Dencodeframe.c156 cpi->common.MBs)); in calc_av_activity()
160 sizeof(unsigned int) * cpi->common.MBs ); in calc_av_activity()
164 for ( i = 1; i < cpi->common.MBs; i ++ ) in calc_av_activity()
181 median = ( 1 + sortlist[cpi->common.MBs >> 1] + in calc_av_activity()
182 sortlist[(cpi->common.MBs >> 1) + 1] ) >> 1; in calc_av_activity()
190 cpi->activity_avg = (unsigned int)(activity_sum/cpi->common.MBs); in calc_av_activity()
Dfirstpass.c825 fps.pcnt_inter = 1.0 * (double)intercount / cm->MBs; in vp8_first_pass()
826 fps.pcnt_second_ref = 1.0 * (double)second_ref_count / cm->MBs; in vp8_first_pass()
827 fps.pcnt_neutral = 1.0 * (double)neutral_count / cm->MBs; in vp8_first_pass()
840 fps.pcnt_motion = 1.0 * (double)mvcount / cpi->common.MBs; in vp8_first_pass()
946 (av_intra * intra_cost)) * cpi->common.MBs) * 512; in estimate_modemvcost()
985 int num_mbs = cpi->common.MBs; in estimate_max_q()
1104 int num_mbs = cpi->common.MBs; in estimate_cq()
1188 int num_mbs = cpi->common.MBs; in estimate_q()
1234 int num_mbs = cpi->common.MBs; in estimate_kf_group_q()
1364 cpi->twopass.kf_intra_err_min = KF_MB_INTRA_MIN * cpi->common.MBs; in vp8_init_second_pass()
[all …]
Donyx_if.c972 unsigned int total_mbs = cm->MBs; in vp8_set_speed_features()
2153 cpi->mb.error_bins[0] = cpi->common.MBs; in vp8_create_compressor()
2341 cnt_pm /= cpi->common.MBs; in vp8_remove_compressor()
3019 double minerror = cm->MBs * 256; in decide_key_frame()
5479 cpi->lf_zeromv_pct = (cpi->zeromv_count * 100)/cm->MBs; in vp8_get_compressed_data()
Dpickinter.c91 unsigned int max_num = (cpi->common.MBs) / 10; in check_dot_artifact_candidate()
/external/libvpx/libvpx/vp8/common/
Donyxc_int.h102 int MBs; member
Dalloccommon.c85 oci->MBs = oci->mb_rows * oci->mb_cols; in vp8_alloc_frame_buffers()
/external/libvpx/libvpx/vp9/common/
Dvp9_alloccommon.c48 cm->MBs = cm->mb_rows * cm->mb_cols; in vp9_set_mb_mi()
Dvp9_onyxc_int.h178 int MBs; member
/external/libvpx/libvpx/vp9/encoder/
Dvp9_aq_cyclicrefresh.c136 int mbs = cm->MBs; in vp9_cyclic_refresh_estimate_bits_at_q()
167 int num8x8bl = cm->MBs << 2; in vp9_cyclic_refresh_rc_bits_per_mb()
Dvp9_firstpass.c1039 ? cpi->initial_mbs : cpi->common.MBs; in vp9_first_pass()
1196 ? cpi->initial_mbs : cpi->common.MBs; in get_twopass_worst_quality()
1353 ? cpi->initial_mbs : cpi->common.MBs; in get_sr_decay_rate()
1492 ? cpi->initial_mbs : cpi->common.MBs; in calc_frame_boost()
2747 ? cpi->initial_mbs : cpi->common.MBs; in vp9_rc_get_second_pass_params()
Dvp9_ratectrl.c478 cm->MBs, in vp9_rc_update_rate_correction_factors()
536 ((uint64_t)target_bits_per_frame << BPER_MB_NORMBITS) / cm->MBs; in vp9_rc_regulate_q()
1766 VPXMAX(VPXMAX((cm->MBs * MAX_MB_RATE), MAXRATE_1080P), vbr_max_bits); in vp9_rc_update_framerate()
2035 target_bits_per_mb = ((uint64_t)target_size << BPER_MB_NORMBITS) / cm->MBs; in vp9_encodedframe_overshoot()
Dvp9_mbgraph.c362 if (cm->MBs) in separate_arf_mbs()
Dvp9_encoder.c1673 vpx_calloc(cm->MBs * in vp9_create_compressor()
1682 vpx_calloc(cm->MBs * sizeof(uint8_t), 1)); in vp9_create_compressor()
1817 const size_t psz = cpi->common.MBs * sizeof(uint8_t); in vp9_create_compressor()
1824 (ps - 1) * cpi->common.MBs * sizeof(uint8_t); in vp9_create_compressor()
1841 vpx_calloc(cm->MBs, sizeof(diff))); in vp9_create_compressor()
2978 cpi->rc.projected_frame_size / cpi->common.MBs,
4016 cpi->initial_mbs = cm->MBs;
Dvp9_encodeframe.c3667 (cm->MBs * VAR_HIST_LARGE_CUT_OFF / 100) : in set_var_thresh_from_histogram()
3668 (cm->MBs * VAR_HIST_SMALL_CUT_OFF / 100); in set_var_thresh_from_histogram()
3755 vpx_calloc(cm->MBs, sizeof(diff))); in source_var_based_partition_search_method()
3864 cm->current_video_frame * cm->MBs * sizeof(uint8_t); in input_fpmb_stats()
4063 mode_thrs[i] = (mode_thrs[i] + rdc->comp_pred_diff[i] / cm->MBs) / 2; in vp9_encode_frame()
4066 filter_thrs[i] = (filter_thrs[i] + rdc->filter_diff[i] / cm->MBs) / 2; in vp9_encode_frame()