Home
last modified time | relevance | path

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

/external/opencore/codecs_v2/video/m4v_h263/enc/src/
Drate_control.cpp58 MultiPass **pMP = video->pMP; in RC_Initialize() local
116pMP[n]->counter_BTsrc = (Int)((rc[n]->Bs / 2.0 - rc[n]->Bs / 3.0) / (rc[n]->bitrate / rc[n]->frame… in RC_Initialize()
117 …rc[n]->TMN_W = (Int)(rc[n]->VBV_fullness + pMP[n]->counter_BTsrc * (rc[n]->bitrate / rc[n]->framer… in RC_Initialize()
131 pMP[n]->counter_BTdst = pMP[n]->counter_BTsrc = 0; in RC_Initialize()
136 pMP[n]->bitrate = rc[n]->bitrate; in RC_Initialize()
137 pMP[n]->framerate = rc[n]->framerate; in RC_Initialize()
138 pMP[n]->target_bits_per_frame = pMP[n]->bitrate / pMP[n]->framerate; in RC_Initialize()
193 MultiPass *pMP = video->pMP[currLayer]; in RC_VopQPSetting() local
230 if (++pMP->framePos == pMP->frameRange) pMP->framePos = 0; in RC_VopQPSetting()
234pMP->counter_BTdst = (Int)(video->encParams->LayerFrameRate[video->currLayer] * 7.5 + 0.5); /* 0.7… in RC_VopQPSetting()
[all …]
Dmp4enc_api.cpp818 video->pMP[idx] = (MultiPass *)M4VENC_MALLOC(sizeof(MultiPass)); in PVInitVideoEncoder()
819 if (video->pMP[idx] == NULL) goto CLEAN_UP; in PVInitVideoEncoder()
820 M4VENC_MEMSET(video->pMP[idx], 0, sizeof(MultiPass)); in PVInitVideoEncoder()
822 video->pMP[idx]->encoded_frames = -1; /* forget about the very first I frame */ in PVInitVideoEncoder()
826 video->pMP[idx]->pRDSamples = (RDInfo **)M4VENC_MALLOC(30 * sizeof(RDInfo *)); in PVInitVideoEncoder()
827 if (video->pMP[idx]->pRDSamples == NULL) goto CLEAN_UP; in PVInitVideoEncoder()
830 video->pMP[idx]->pRDSamples[i] = (RDInfo *)M4VENC_MALLOC(32 * sizeof(RDInfo)); in PVInitVideoEncoder()
831 if (video->pMP[idx]->pRDSamples[i] == NULL) goto CLEAN_UP; in PVInitVideoEncoder()
832 …for (j = 0; j < 32; j++) M4VENC_MEMSET(&(video->pMP[idx]->pRDSamples[i][j]), 0, sizeof(RDInfo)); in PVInitVideoEncoder()
834 …video->pMP[idx]->frameRange = (Int)(video->encParams->LayerFrameRate[idx] * 1.0); /* 1.0s time fra… in PVInitVideoEncoder()
[all …]
Dmp4lib_int.h433 MultiPass *pMP[4]; /* for multipass encoding, 4 represents 4 layer encoding */ member
/external/opencore/codecs_v2/video/avc_h264/enc/src/
Drate_control.cpp36 …itCalculation(AVCEncObject *encvid, AVCCommonObj *video, AVCRateControl *rateCtrl, MultiPass *pMP);
39 AVCRateControl *rateCtrl, MultiPass *pMP);
41 void updateRC_PostProc(AVCRateControl *rateCtrl, MultiPass *pMP);
43 void AVCSaveRDSamples(MultiPass *pMP, int counter_samples);
145 MultiPass *pMP = rateCtrl->pMP; in RCUpdateBuffer() local
155 pMP->counter_BTsrc += 10 * (frameInc - 1); in RCUpdateBuffer()
162pMP->counter_BTsrc = pMP->counter_BTdst + (int)((OsclFloat)(rateCtrl->Bs / 2 - rateCtrl->low_bound… in RCUpdateBuffer()
190 …rateCtrl->pMP = (MultiPass*) avcHandle->CBAVC_Malloc(encvid->avcHandle->userData, sizeof(MultiPass… in InitRateControlModule()
191 if (!rateCtrl->pMP) in InitRateControlModule()
195 oscl_memset(rateCtrl->pMP, 0, sizeof(MultiPass)); in InitRateControlModule()
[all …]
Davcenc_int.h306 MultiPass *pMP; member