Home
last modified time | relevance | path

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

/frameworks/av/media/codecs/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.cpp849 video->pMP[idx] = (MultiPass *)M4VENC_MALLOC(sizeof(MultiPass)); in PVInitVideoEncoder()
850 if (video->pMP[idx] == NULL) goto CLEAN_UP; in PVInitVideoEncoder()
851 M4VENC_MEMSET(video->pMP[idx], 0, sizeof(MultiPass)); in PVInitVideoEncoder()
853 video->pMP[idx]->encoded_frames = -1; /* forget about the very first I frame */ in PVInitVideoEncoder()
857 video->pMP[idx]->pRDSamples = (RDInfo **)M4VENC_MALLOC(30 * sizeof(RDInfo *)); in PVInitVideoEncoder()
858 if (video->pMP[idx]->pRDSamples == NULL) goto CLEAN_UP; in PVInitVideoEncoder()
861 video->pMP[idx]->pRDSamples[i] = (RDInfo *)M4VENC_MALLOC(32 * sizeof(RDInfo)); in PVInitVideoEncoder()
862 if (video->pMP[idx]->pRDSamples[i] == NULL) goto CLEAN_UP; in PVInitVideoEncoder()
863 …for (j = 0; j < 32; j++) M4VENC_MEMSET(&(video->pMP[idx]->pRDSamples[i][j]), 0, sizeof(RDInfo)); in PVInitVideoEncoder()
865 …video->pMP[idx]->frameRange = (Int)(video->encParams->LayerFrameRate[idx] * 1.0); /* 1.0s time fra… in PVInitVideoEncoder()
[all …]
Dmp4lib_int.h432 MultiPass *pMP[4]; /* for multipass encoding, 4 represents 4 layer encoding */ member