/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/ |
D | ratectrl.c | 325 static int estimate_bits_at_q(int frame_kind, int Q, int MBs, in estimate_bits_at_q() argument 334 if (MBs > (1 << 11)) in estimate_bits_at_q() 335 return (Bpm >> BPER_MB_NORMBITS) * MBs; in estimate_bits_at_q() 337 return (Bpm * MBs) >> BPER_MB_NORMBITS; in estimate_bits_at_q() 354 target = estimate_bits_at_q(INTRA_FRAME, Q, cpi->common.MBs, in calc_iframe_target_size() 1078 (estimate_bits_at_q(1, Q, cpi->common.MBs, 1.0) in calc_pframe_target_size() 1131 …rection_factor * vp8_bits_per_mb[cpi->common.frame_type][Q]) * cpi->common.MBs) / (1 << BPER_MB_NO… in vp8_update_rate_correction_factors() 1260 target_bits_per_mb = (target_bits_per_frame / cpi->common.MBs) << BPER_MB_NORMBITS; in vp8_regulate_q() 1262 target_bits_per_mb = (target_bits_per_frame << BPER_MB_NORMBITS) / cpi->common.MBs; in vp8_regulate_q()
|
D | encodeframe.c | 155 cpi->common.MBs)); in calc_av_activity() 159 sizeof(unsigned int) * cpi->common.MBs ); in calc_av_activity() 163 for ( i = 1; i < cpi->common.MBs; i ++ ) in calc_av_activity() 180 median = ( 1 + sortlist[cpi->common.MBs >> 1] + in calc_av_activity() 181 sortlist[(cpi->common.MBs >> 1) + 1] ) >> 1; in calc_av_activity() 189 cpi->activity_avg = (unsigned int)(activity_sum/cpi->common.MBs); in calc_av_activity()
|
D | firstpass.c | 824 fps.pcnt_inter = 1.0 * (double)intercount / cm->MBs; in vp8_first_pass() 825 fps.pcnt_second_ref = 1.0 * (double)second_ref_count / cm->MBs; in vp8_first_pass() 826 fps.pcnt_neutral = 1.0 * (double)neutral_count / cm->MBs; in vp8_first_pass() 839 fps.pcnt_motion = 1.0 * (double)mvcount / cpi->common.MBs; in vp8_first_pass() 945 (av_intra * intra_cost)) * cpi->common.MBs) * 512; in estimate_modemvcost() 984 int num_mbs = cpi->common.MBs; in estimate_max_q() 1103 int num_mbs = cpi->common.MBs; in estimate_cq() 1187 int num_mbs = cpi->common.MBs; in estimate_q() 1233 int num_mbs = cpi->common.MBs; in estimate_kf_group_q() 1365 cpi->twopass.kf_intra_err_min = KF_MB_INTRA_MIN * cpi->common.MBs; in vp8_init_second_pass() [all …]
|
D | onyx_if.c | 946 unsigned int total_mbs = cm->MBs; in vp8_set_speed_features() 2079 cpi->mb.error_bins[0] = cpi->common.MBs; in vp8_create_compressor() 2270 cnt_pm /= cpi->common.MBs; in vp8_remove_compressor() 2946 double minerror = cm->MBs * 256; in decide_key_frame() 5112 cpi->lf_zeromv_pct = (cpi->zeromv_count * 100)/cm->MBs; in vp8_get_compressed_data()
|
/hardware/intel/img/psb_video/src/mrst/ |
D | lnc_hostcode.c | 694 IMG_UINT32 MBs, MBsperSlice, MBsLastSlice; in lnc__setup_busize() local 698 MBs = ctx->Height * ctx->Width / (16 * 16); in lnc__setup_busize() 705 MBsLastSlice = MBs - (MBsperSlice * (ctx->Slices - 1)); in lnc__setup_busize() 737 IMG_UINT32 MBs, MBsperSlice, MBsLastSlice; in lnc__setup_busize() local 741 MBs = ctx->Height * ctx->Width / (16 * 16); in lnc__setup_busize() 748 MBsLastSlice = MBs - (MBsperSlice * (ctx->Slices - 1)); in lnc__setup_busize() 755 BUs = MBs / ctx->sRCParams.BUSize; in lnc__setup_busize() 756 while (BUs*ctx->sRCParams.BUSize != MBs) { in lnc__setup_busize() 758 BUs = MBs / ctx->sRCParams.BUSize; in lnc__setup_busize()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/ |
D | onyxc_int.h | 102 int MBs; member
|
D | alloccommon.c | 84 oci->MBs = oci->mb_rows * oci->mb_cols; in vp8_alloc_frame_buffers()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
D | vp9_firstpass.c | 799 fps.pcnt_inter = (double)intercount / cm->MBs; in vp9_first_pass() 800 fps.pcnt_second_ref = (double)second_ref_count / cm->MBs; in vp9_first_pass() 801 fps.pcnt_neutral = (double)neutral_count / cm->MBs; in vp9_first_pass() 812 fps.pcnt_motion = (double)mvcount / cm->MBs; in vp9_first_pass() 906 const int num_mbs = cpi->common.MBs; in vp9_twopass_worst_quality() 992 twopass->kf_intra_err_min = KF_MB_INTRA_MIN * cpi->common.MBs; in vp9_init_second_pass() 993 twopass->gf_intra_err_min = GF_MB_INTRA_MIN * cpi->common.MBs; in vp9_init_second_pass() 1048 next_frame->coded_error) / cm->MBs; in get_prediction_decay_rate() 2238 twopass->kf_intra_err_min = KF_MB_INTRA_MIN * cpi->common.MBs; in vp9_rc_get_second_pass_params() 2239 twopass->gf_intra_err_min = GF_MB_INTRA_MIN * cpi->common.MBs; in vp9_rc_get_second_pass_params()
|
D | vp9_encodeframe.c | 274 << 16) / cm->MBs; in set_offsets() 655 cpi->common.MBs)); in calc_av_activity() 659 sizeof(unsigned int) * cpi->common.MBs); in calc_av_activity() 662 for (i = 1; i < cpi->common.MBs; i ++) { in calc_av_activity() 676 median = (1 + sortlist[cpi->common.MBs >> 1] + in calc_av_activity() 677 sortlist[(cpi->common.MBs >> 1) + 1]) >> 1; in calc_av_activity() 685 cpi->activity_avg = (unsigned int) (activity_sum / cpi->common.MBs); in calc_av_activity() 3269 const int diff = (int) (cpi->rd_comp_pred_diff[i] / cm->MBs); in vp9_encode_frame() 3275 const int64_t diff = cpi->rd_filter_diff[i] / cm->MBs; in vp9_encode_frame() 3285 diff = (int) (pd / cm->MBs); in vp9_encode_frame()
|
D | vp9_ratectrl.c | 316 cpi->common.MBs, in vp9_rc_update_rate_correction_factors() 376 target_bits_per_mb = (target_bits_per_frame / cm->MBs) << BPER_MB_NORMBITS; in vp9_rc_regulate_q() 378 target_bits_per_mb = (target_bits_per_frame << BPER_MB_NORMBITS) / cm->MBs; in vp9_rc_regulate_q()
|
D | vp9_mbgraph.c | 365 if (cm->MBs) in separate_arf_mbs()
|
D | vp9_onyx_if.c | 715 rc->max_frame_bandwidth = MAX(MAX((cm->MBs * MAX_MB_RATE), MAXRATE_1080P), in vp9_new_framerate() 1215 CHECK_MEM_ERROR(cm, cpi->active_map, vpx_calloc(cm->MBs, 1)); in vp9_create_compressor() 1216 vpx_memset(cpi->active_map, 1, cm->MBs); in vp9_create_compressor() 1222 vpx_calloc(cm->MBs * in vp9_create_compressor() 2198 cpi->rc.projected_frame_size / cpi->common.MBs,
|
/hardware/intel/img/psb_video/src/ |
D | pnw_hostcode.c | 1123 IMG_UINT32 MBs, MBsperSlice, MBsLastSlice; in pnw__setup_busize() local 1128 MBs = ctx->Height * ctx->Width / (16 * 16); in pnw__setup_busize() 1135 MBsLastSlice = MBs - (MBsperSlice * (slices - 1)); in pnw__setup_busize() 1179 IMG_UINT32 MBs, MBsperSlice, MBsLastSlice; in pnw__setup_busize() local 1185 MBs = ctx->Height * ctx->Width / (16 * 16); in pnw__setup_busize() 1192 MBsLastSlice = MBs - (MBsperSlice * (slices - 1)); in pnw__setup_busize()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/ |
D | vp9_onyxc_int.h | 126 int MBs; member
|
D | vp9_alloccommon.c | 38 cm->MBs = cm->mb_rows * cm->mb_cols; in set_mb_mi()
|