Searched refs:pMP (Results 1 - 5 of 5) sorted by relevance

/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Drate_control.cpp58 MultiPass **pMP = video->pMP; local
116 pMP[n]->counter_BTsrc = (Int)((rc[n]->Bs / 2.0 - rc[n]->Bs / 3.0) / (rc[n]->bitrate / rc[n]->framerate / 10.0));
117 rc[n]->TMN_W = (Int)(rc[n]->VBV_fullness + pMP[n]->counter_BTsrc * (rc[n]->bitrate / rc[n]->framerate / 10.0));
131 pMP[n]->counter_BTdst = pMP[n]->counter_BTsrc = 0;
136 pMP[n]->bitrate = rc[n]->bitrate;
137 pMP[n]->framerate = rc[n]->framerate;
138 pMP[n]->target_bits_per_frame = pMP[
193 MultiPass *pMP = video->pMP[currLayer]; local
271 SaveRDSamples(MultiPass *pMP, Int counter_samples) argument
295 MultiPass *pMP = video->pMP[currLayer]; local
386 MultiPass *pMP = video->pMP[currLayer]; local
424 MultiPass **pMP = video->pMP; local
532 MultiPass *pMP = video->pMP[video->currLayer]; local
702 MultiPass *pMP = video->pMP[video->currLayer]; local
859 MultiPass *pMP = video->pMP[video->currLayer]; local
[all...]
H A Dmp4enc_api.cpp818 video->pMP[idx] = (MultiPass *)M4VENC_MALLOC(sizeof(MultiPass));
819 if (video->pMP[idx] == NULL) goto CLEAN_UP;
820 M4VENC_MEMSET(video->pMP[idx], 0, sizeof(MultiPass));
822 video->pMP[idx]->encoded_frames = -1; /* forget about the very first I frame */
826 video->pMP[idx]->pRDSamples = (RDInfo **)M4VENC_MALLOC(30 * sizeof(RDInfo *));
827 if (video->pMP[idx]->pRDSamples == NULL) goto CLEAN_UP;
830 video->pMP[idx]->pRDSamples[i] = (RDInfo *)M4VENC_MALLOC(32 * sizeof(RDInfo));
831 if (video->pMP[idx]->pRDSamples[i] == NULL) goto CLEAN_UP;
832 for (j = 0; j < 32; j++) M4VENC_MEMSET(&(video->pMP[idx]->pRDSamples[i][j]), 0, sizeof(RDInfo));
834 video->pMP[id
[all...]
H A Dmp4lib_int.h431 MultiPass *pMP[4]; /* for multipass encoding, 4 represents 4 layer encoding */ member in struct:tagVideoEncData
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Drate_control.cpp34 void targetBitCalculation(AVCEncObject *encvid, AVCCommonObj *video, AVCRateControl *rateCtrl, MultiPass *pMP);
37 AVCRateControl *rateCtrl, MultiPass *pMP);
39 void updateRC_PostProc(AVCRateControl *rateCtrl, MultiPass *pMP);
41 void AVCSaveRDSamples(MultiPass *pMP, int counter_samples);
143 MultiPass *pMP = rateCtrl->pMP; local
153 pMP->counter_BTsrc += 10 * (frameInc - 1);
160 pMP->counter_BTsrc = pMP->counter_BTdst + (int)((OsclFloat)(rateCtrl->Bs / 2 - rateCtrl->low_bound) / 2.0 / (pMP
338 MultiPass *pMP = rateCtrl->pMP; local
405 calculateQuantizer_Multipass(AVCEncObject *encvid, AVCCommonObj *video, AVCRateControl *rateCtrl, MultiPass *pMP) argument
520 targetBitCalculation(AVCEncObject *encvid, AVCCommonObj *video, AVCRateControl *rateCtrl, MultiPass *pMP) argument
664 updateRC_PostProc(AVCRateControl *rateCtrl, MultiPass *pMP) argument
797 MultiPass *pMP = rateCtrl->pMP; local
846 AVCSaveRDSamples(MultiPass *pMP, int counter_samples) argument
860 MultiPass *pMP = rateCtrl->pMP; local
[all...]
H A Davcenc_int.h308 MultiPass *pMP; member in struct:tagAVCRateControl

Completed in 1030 milliseconds