Searched refs:MBs (Results 1 - 25 of 26) sorted by relevance

12

/external/chromium_org/third_party/libvpx/source/libvpx/vp8/common/
H A Donyxc_int.h102 int MBs; member in struct:VP8Common
H A Dalloccommon.c84 oci->MBs = oci->mb_rows * oci->mb_cols;
/external/libvpx/libvpx/vp8/common/
H A Donyxc_int.h102 int MBs; member in struct:VP8Common
H A Dalloccommon.c84 oci->MBs = oci->mb_rows * oci->mb_cols;
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/encoder/
H A Dratectrl.c325 static int estimate_bits_at_q(int frame_kind, int Q, int MBs, argument
331 * chosen such that the maximum product of Bpm and MBs fits 31 bits. The
334 if (MBs > (1 << 11))
335 return (Bpm >> BPER_MB_NORMBITS) * MBs;
337 return (Bpm * MBs) >> BPER_MB_NORMBITS;
354 target = estimate_bits_at_q(INTRA_FRAME, Q, cpi->common.MBs,
1078 (estimate_bits_at_q(1, Q, cpi->common.MBs, 1.0)
1131 projected_size_based_on_q = (int)(((.5 + rate_correction_factor * vp8_bits_per_mb[cpi->common.frame_type][Q]) * cpi->common.MBs) / (1 << BPER_MB_NORMBITS));
1260 target_bits_per_mb = (target_bits_per_frame / cpi->common.MBs) << BPER_MB_NORMBITS;
1262 target_bits_per_mb = (target_bits_per_frame << BPER_MB_NORMBITS) / cpi->common.MBs;
[all...]
H A Dfirstpass.c824 fps.pcnt_inter = 1.0 * (double)intercount / cm->MBs;
825 fps.pcnt_second_ref = 1.0 * (double)second_ref_count / cm->MBs;
826 fps.pcnt_neutral = 1.0 * (double)neutral_count / cm->MBs;
839 fps.pcnt_motion = 1.0 * (double)mvcount / cpi->common.MBs;
945 (av_intra * intra_cost)) * cpi->common.MBs) * 512;
984 int num_mbs = cpi->common.MBs;
1103 int num_mbs = cpi->common.MBs;
1187 int num_mbs = cpi->common.MBs;
1233 int num_mbs = cpi->common.MBs;
1365 cpi->twopass.kf_intra_err_min = KF_MB_INTRA_MIN * cpi->common.MBs;
[all...]
H A Dencodeframe.c154 cpi->common.MBs));
158 sizeof(unsigned int) * cpi->common.MBs );
162 for ( i = 1; i < cpi->common.MBs; i ++ )
178 /* Even number MBs so estimate median as mean of two either side. */
179 median = ( 1 + sortlist[cpi->common.MBs >> 1] +
180 sortlist[(cpi->common.MBs >> 1) + 1] ) >> 1;
188 cpi->activity_avg = (unsigned int)(activity_sum/cpi->common.MBs);
259 /* Loop through all MBs. Note activity of each, average activity and
1002 /* Make a note of the percentage MBs coded Intra. */
H A Donyx_if.c597 * last frame 0,0 as only (last frame 0,0) MBs are eligable for
969 unsigned int total_mbs = cm->MBs;
2128 cpi->mb.error_bins[0] = cpi->common.MBs;
2143 /* Calculate # of MBs in a row in lower-resolution level image. */
2319 cnt_pm /= cpi->common.MBs;
2995 double minerror = cm->MBs * 256;
5277 cpi->lf_zeromv_pct = (cpi->zeromv_count * 100)/cm->MBs;
/external/libvpx/libvpx/vp8/encoder/
H A Dratectrl.c325 static int estimate_bits_at_q(int frame_kind, int Q, int MBs, argument
331 * chosen such that the maximum product of Bpm and MBs fits 31 bits. The
334 if (MBs > (1 << 11))
335 return (Bpm >> BPER_MB_NORMBITS) * MBs;
337 return (Bpm * MBs) >> BPER_MB_NORMBITS;
354 target = estimate_bits_at_q(INTRA_FRAME, Q, cpi->common.MBs,
1078 (estimate_bits_at_q(1, Q, cpi->common.MBs, 1.0)
1131 projected_size_based_on_q = (int)(((.5 + rate_correction_factor * vp8_bits_per_mb[cpi->common.frame_type][Q]) * cpi->common.MBs) / (1 << BPER_MB_NORMBITS));
1260 target_bits_per_mb = (target_bits_per_frame / cpi->common.MBs) << BPER_MB_NORMBITS;
1262 target_bits_per_mb = (target_bits_per_frame << BPER_MB_NORMBITS) / cpi->common.MBs;
[all...]
H A Dfirstpass.c824 fps.pcnt_inter = 1.0 * (double)intercount / cm->MBs;
825 fps.pcnt_second_ref = 1.0 * (double)second_ref_count / cm->MBs;
826 fps.pcnt_neutral = 1.0 * (double)neutral_count / cm->MBs;
839 fps.pcnt_motion = 1.0 * (double)mvcount / cpi->common.MBs;
945 (av_intra * intra_cost)) * cpi->common.MBs) * 512;
984 int num_mbs = cpi->common.MBs;
1103 int num_mbs = cpi->common.MBs;
1187 int num_mbs = cpi->common.MBs;
1233 int num_mbs = cpi->common.MBs;
1365 cpi->twopass.kf_intra_err_min = KF_MB_INTRA_MIN * cpi->common.MBs;
[all...]
H A Dencodeframe.c154 cpi->common.MBs));
158 sizeof(unsigned int) * cpi->common.MBs );
162 for ( i = 1; i < cpi->common.MBs; i ++ )
178 /* Even number MBs so estimate median as mean of two either side. */
179 median = ( 1 + sortlist[cpi->common.MBs >> 1] +
180 sortlist[(cpi->common.MBs >> 1) + 1] ) >> 1;
188 cpi->activity_avg = (unsigned int)(activity_sum/cpi->common.MBs);
259 /* Loop through all MBs. Note activity of each, average activity and
989 /* Make a note of the percentage MBs coded Intra. */
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/
H A Dvp9_alloccommon.c41 cm->MBs = cm->mb_rows * cm->mb_cols;
H A Dvp9_onyxc_int.h124 // MBs, mb_rows/cols is in 16-pixel units; mi_rows/cols is in
126 int MBs; member in struct:VP9Common
/external/libvpx/libvpx/vp9/common/
H A Dvp9_onyxc_int.h124 // MBs, mb_rows/cols is in 16-pixel units; mi_rows/cols is in
126 int MBs; member in struct:VP9Common
H A Dvp9_alloccommon.c38 cm->MBs = cm->mb_rows * cm->mb_cols;
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/
H A Dvp9_firstpass.c146 pkt.data.firstpass_mb_stats.sz = cm->MBs * sizeof(uint8_t);
432 vp9_zero_array(cpi->twopass.frame_mb_stats_buf, cm->MBs);
813 // Adjust to the next column of MBs.
822 // Adjust to the next row of MBs.
840 const double min_err = 200 * sqrt(cm->MBs);
848 fps.pcnt_inter = (double)intercount / cm->MBs;
849 fps.pcnt_second_ref = (double)second_ref_count / cm->MBs;
850 fps.pcnt_neutral = (double)neutral_count / cm->MBs;
861 fps.pcnt_motion = (double)mvcount / cm->MBs;
970 const int num_mbs = cpi->common.MBs;
[all...]
H A Dvp9_mbgraph.c352 // Only bother with segmentation if over 10% of the MBs in static segment
356 if (cm->MBs)
H A Dvp9_ratectrl.c409 cm->base_qindex, cm->MBs,
467 ((uint64_t)target_bits_per_frame << BPER_MB_NORMBITS) / cm->MBs;
1519 rc->max_frame_bandwidth = MAX(MAX((cm->MBs * MAX_MB_RATE), MAXRATE_1080P),
H A Dvp9_encoder.c397 // Skip all MBs if high Q (0,0 mv and skip coeffs)
814 vpx_calloc(cm->MBs *
823 vpx_calloc(cm->MBs * sizeof(uint8_t), 1));
965 const size_t psz = cpi->common.MBs * sizeof(uint8_t);
972 (ps - 1) * cpi->common.MBs * sizeof(uint8_t);
988 vpx_calloc(cm->MBs, sizeof(diff)));
1695 cpi->rc.projected_frame_size / cpi->common.MBs,
H A Dvp9_encodeframe.c775 // as a predictor for MBs that follow in the SB
3161 (cm->MBs * VAR_HIST_LARGE_CUT_OFF / 100) :
3162 (cm->MBs * VAR_HIST_SMALL_CUT_OFF / 100);
3224 vpx_calloc(cm->MBs, sizeof(diff)));
3282 cm->current_video_frame * cm->MBs * sizeof(uint8_t);
3457 mode_thrs[i] = (mode_thrs[i] + rd_opt->comp_pred_diff[i] / cm->MBs) / 2;
3460 filter_thrs[i] = (filter_thrs[i] + rd_opt->filter_diff[i] / cm->MBs) / 2;
3466 tx_thrs[i] = (tx_thrs[i] + (int)(pd / cm->MBs)) / 2;
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_firstpass.c770 // Adjust to the next column of MBs.
779 // Adjust to the next row of MBs.
800 fps.pcnt_inter = (double)intercount / cm->MBs;
801 fps.pcnt_second_ref = (double)second_ref_count / cm->MBs;
802 fps.pcnt_neutral = (double)neutral_count / cm->MBs;
813 fps.pcnt_motion = (double)mvcount / cm->MBs;
907 const int num_mbs = cpi->common.MBs;
991 // We don't know the number of MBs for each layer at this point.
993 twopass->kf_intra_err_min = KF_MB_INTRA_MIN * cpi->common.MBs;
994 twopass->gf_intra_err_min = GF_MB_INTRA_MIN * cpi->common.MBs;
[all...]
H A Dvp9_mbgraph.c361 // Only bother with segmentation if over 10% of the MBs in static segment
365 if (cm->MBs)
H A Dvp9_encodeframe.c639 cpi->common.MBs));
643 sizeof(unsigned int) * cpi->common.MBs);
646 for (i = 1; i < cpi->common.MBs; i ++) {
659 // Even number MBs so estimate median as mean of two either side.
660 median = (1 + sortlist[cpi->common.MBs >> 1] +
661 sortlist[(cpi->common.MBs >> 1) + 1]) >> 1;
669 cpi->activity_avg = (unsigned int) (activity_sum / cpi->common.MBs);
735 // Loop through all MBs. Note activity of each, average activity and
1060 // as a predictor for MBs that follow in the SB
3301 mbs_in_b32x32 / cm->MBs;
[all...]
H A Dvp9_ratectrl.c314 cm->base_qindex, cm->MBs,
371 ((uint64_t)target_bits_per_frame << BPER_MB_NORMBITS) / cm->MBs;
H A Dvp9_onyx_if.c353 // Skip all MBs if high Q (0,0 mv and skip coeffs)
700 rc->max_frame_bandwidth = MAX(MAX((cm->MBs * MAX_MB_RATE), MAXRATE_1080P),
1169 CHECK_MEM_ERROR(cm, cpi->active_map, vpx_calloc(cm->MBs, 1));
1170 vpx_memset(cpi->active_map, 1, cm->MBs);
1176 vpx_calloc(cm->MBs *
2122 cpi->rc.projected_frame_size / cpi->common.MBs,

Completed in 392 milliseconds

12