/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/ |
H A D | onyxc_int.h | 102 int MBs; member in struct:VP8Common
|
H A D | alloccommon.c | 84 oci->MBs = oci->mb_rows * oci->mb_cols;
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/ |
H A D | ratectrl.c | 325 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 D | firstpass.c | 824 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 D | encodeframe.c | 155 cpi->common.MBs)); 159 sizeof(unsigned int) * cpi->common.MBs ); 163 for ( i = 1; i < cpi->common.MBs; i ++ ) 179 /* Even number MBs so estimate median as mean of two either side. */ 180 median = ( 1 + sortlist[cpi->common.MBs >> 1] + 181 sortlist[(cpi->common.MBs >> 1) + 1] ) >> 1; 189 cpi->activity_avg = (unsigned int)(activity_sum/cpi->common.MBs); 260 /* Loop through all MBs. Note activity of each, average activity and 990 /* Make a note of the percentage MBs coded Intra. */
|
H A D | onyx_if.c | 594 * last frame 0,0 as only (last frame 0,0) MBs are eligable for 946 unsigned int total_mbs = cm->MBs; 2079 cpi->mb.error_bins[0] = cpi->common.MBs; 2094 /* Calculate # of MBs in a row in lower-resolution level image. */ 2270 cnt_pm /= cpi->common.MBs; 2946 double minerror = cm->MBs * 256; 5112 cpi->lf_zeromv_pct = (cpi->zeromv_count * 100)/cm->MBs;
|
/hardware/intel/img/psb_video/src/mrst/ |
H A D | lnc_hostcode.c | 694 IMG_UINT32 MBs, MBsperSlice, MBsLastSlice; local 698 MBs = ctx->Height * ctx->Width / (16 * 16); 705 MBsLastSlice = MBs - (MBsperSlice * (ctx->Slices - 1)); 737 IMG_UINT32 MBs, MBsperSlice, MBsLastSlice; local 741 MBs = ctx->Height * ctx->Width / (16 * 16); 748 MBsLastSlice = MBs - (MBsperSlice * (ctx->Slices - 1)); 750 /* we have to verify that MBs is divisiable by BU AND that BU is > pipeline length */ 755 BUs = MBs / ctx->sRCParams.BUSize; 756 while (BUs*ctx->sRCParams.BUSize != MBs) { 758 BUs = MBs / ct [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/ |
H A D | vp9_onyxc_int.h | 124 // MBs, mb_rows/cols is in 16-pixel units; mi_rows/cols is in 126 int MBs; member in struct:VP9Common
|
H A D | vp9_alloccommon.c | 38 cm->MBs = cm->mb_rows * cm->mb_cols;
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
H A D | vp9_firstpass.c | 769 // Adjust to the next column of MBs. 778 // Adjust to the next row of MBs. 799 fps.pcnt_inter = (double)intercount / cm->MBs; 800 fps.pcnt_second_ref = (double)second_ref_count / cm->MBs; 801 fps.pcnt_neutral = (double)neutral_count / cm->MBs; 812 fps.pcnt_motion = (double)mvcount / cm->MBs; 906 const int num_mbs = cpi->common.MBs; 990 // We don't know the number of MBs for each layer at this point. 992 twopass->kf_intra_err_min = KF_MB_INTRA_MIN * cpi->common.MBs; 993 twopass->gf_intra_err_min = GF_MB_INTRA_MIN * cpi->common.MBs; [all...] |
H A D | vp9_ratectrl.c | 159 // chosen such that the maximum product of Bpm and MBs fits 31 bits. The 316 cpi->common.MBs, 376 target_bits_per_mb = (target_bits_per_frame / cm->MBs) << BPER_MB_NORMBITS; 378 target_bits_per_mb = (target_bits_per_frame << BPER_MB_NORMBITS) / cm->MBs;
|
H A D | vp9_mbgraph.c | 361 // Only bother with segmentation if over 10% of the MBs in static segment 365 if (cm->MBs)
|
H A D | vp9_encodeframe.c | 274 << 16) / cm->MBs; 655 cpi->common.MBs)); 659 sizeof(unsigned int) * cpi->common.MBs); 662 for (i = 1; i < cpi->common.MBs; i ++) { 675 // Even number MBs so estimate median as mean of two either side. 676 median = (1 + sortlist[cpi->common.MBs >> 1] + 677 sortlist[(cpi->common.MBs >> 1) + 1]) >> 1; 685 cpi->activity_avg = (unsigned int) (activity_sum / cpi->common.MBs); 751 // Loop through all MBs. Note activity of each, average activity and 1076 // as a predictor for MBs tha [all...] |
H A D | vp9_onyx_if.c | 368 // Skip all MBs if high Q (0,0 mv and skip coeffs) 715 rc->max_frame_bandwidth = MAX(MAX((cm->MBs * MAX_MB_RATE), MAXRATE_1080P), 1215 CHECK_MEM_ERROR(cm, cpi->active_map, vpx_calloc(cm->MBs, 1)); 1216 vpx_memset(cpi->active_map, 1, cm->MBs); 1222 vpx_calloc(cm->MBs * 2198 cpi->rc.projected_frame_size / cpi->common.MBs,
|
/hardware/intel/img/psb_video/src/ |
H A D | pnw_hostcode.c | 1123 IMG_UINT32 MBs, MBsperSlice, MBsLastSlice; local 1128 MBs = ctx->Height * ctx->Width / (16 * 16); 1135 MBsLastSlice = MBs - (MBsperSlice * (slices - 1)); 1179 IMG_UINT32 MBs, MBsperSlice, MBsLastSlice; local 1185 MBs = ctx->Height * ctx->Width / (16 * 16); 1192 MBsLastSlice = MBs - (MBsperSlice * (slices - 1)); 1399 psPicParams->sInParams.ForeceSkipMargin = 0; /* start skipping MBs when within 500 bits of slice or frame limit */
|