Home
last modified time | relevance | path

Searched refs:modTimeRef (Results 1 – 6 of 6) sorted by relevance

/external/opencore/codecs_v2/video/avc_h264/enc/src/
Drate_control.cpp56 uint32 modTimeRef = encvid->modTimeRef; in RCDetermineFrameNum() local
68 encvid->modTimeRef = modTime; in RCDetermineFrameNum()
84 if (modTime < modTimeRef) /* modTime wrapped around */ in RCDetermineFrameNum()
86 encvid->wrapModTime += ((uint32)0xFFFFFFFF - modTimeRef) + 1; in RCDetermineFrameNum()
87 encvid->modTimeRef = modTimeRef = 0; in RCDetermineFrameNum()
91 …currFrameNum = (int32)(((modTime - modTimeRef) * rateCtrl->frame_rate + 200) / 1000); /* add small… in RCDetermineFrameNum()
115 encvid->modTimeRef += (uint32)(rateCtrl->idrPeriod * 1000 / rateCtrl->frame_rate); in RCDetermineFrameNum()
120 encvid->modTimeRef += (uint32)(video->MaxFrameNum * 1000 / rateCtrl->frame_rate); in RCDetermineFrameNum()
Davcenc_int.h450 uint32 modTimeRef; /* Reference modTime update every I-Vop*/ member
Davcenc_api.cpp237 encvid->modTimeRef = 0; /* ALWAYS ASSUME THAT TIMESTAMP START FROM 0 !!!*/ in PVAVCEncInitialize()
/external/opencore/codecs_v2/video/m4v_h263/enc/src/
Dmp4enc_api.cpp1386 video->nextModTime = video->modTimeRef = ((modTime) - ((modTime) % 1000)); in PVEncodeVideoFrame()
1597 …prevFrameNum[currLayer] * 1000) / encParams->LayerFrameRate[currLayer]) + video->modTimeRef + 0.5); in PVEncodeVideoFrame()
1678 video->nextModTime = video->modTimeRef = ((modTime) - ((modTime) % 1000)); in PVEncodeFrameSet()
1920 …prevFrameNum[currLayer] * 1000) / encParams->LayerFrameRate[currLayer]) + video->modTimeRef + 0.5); in PVEncodeSlice()
2596 UInt modTimeRef = video->modTimeRef; in DetermineCodingLayer() local
2619 frameNum[i] = (UInt)((modTime - modTimeRef) * LayerFrameRate[i] + 500) / 1000; in DetermineCodingLayer()
2630 …frameModTime = (ULong)(((frameNum[i] * 1000) / LayerFrameRate[i]) + modTimeRef + 0.5); /* rec. tim… in DetermineCodingLayer()
2631 …nextFrmModTime = (ULong)((((frameNum[i] + 1) * 1000) / LayerFrameRate[i]) + modTimeRef + 0.5); /* … in DetermineCodingLayer()
2652 …frameTick = (Int)(((double)(modTime - modTimeRef) * vol[i]->timeIncrementResolution + 500) / 1000); in DetermineCodingLayer()
2718 … frameNum[i] = (UInt)((frameModTime - modTimeRef) * encParams->LayerFrameRate[i] + 500) / 1000; in DetermineCodingLayer()
[all …]
Dmp4lib_int.h400 UInt modTimeRef; /* Reference modTime update every I-Vop*/ member
Dvop.cpp325 …frameTick = (Int)(((double)(modTime - video->modTimeRef) * currVol->timeIncrementResolution + 500)… in EncodeVopNotCoded()