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

/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Drate_control.cpp54 uint32 modTimeRef = encvid->modTimeRef; local
66 encvid->modTimeRef = modTime;
82 if (modTime < modTimeRef) /* modTime wrapped around */
84 encvid->wrapModTime += ((uint32)0xFFFFFFFF - modTimeRef) + 1;
85 encvid->modTimeRef = modTimeRef = 0;
89 currFrameNum = (int32)(((modTime - modTimeRef) * rateCtrl->frame_rate + 200) / 1000); /* add small roundings */
113 encvid->modTimeRef += (uint32)(rateCtrl->idrPeriod * 1000 / rateCtrl->frame_rate);
118 encvid->modTimeRef
[all...]
H A Davcenc_int.h451 uint32 prevFrameNum; /* previous frame number starting from modTimeRef */
452 uint32 modTimeRef; /* Reference modTime update every I-Vop*/ member in struct:tagEncObject
H A Davcenc_api.cpp227 encvid->modTimeRef = 0; /* ALWAYS ASSUME THAT TIMESTAMP START FROM 0 !!!*/
314 //nextFrmModTime = (uint32)((((frameNum+1)*1000)/rateCtrl->frame_rate) + modTimeRef); /* rec. time */
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dmp4enc_api.cpp1419 video->nextModTime = video->modTimeRef = ((modTime) - ((modTime) % 1000));
1630 vid_out->timestamp = (ULong)(((video->prevFrameNum[currLayer] * 1000) / encParams->LayerFrameRate[currLayer]) + video->modTimeRef + 0.5);
1711 video->nextModTime = video->modTimeRef = ((modTime) - ((modTime) % 1000));
1953 vid_out->timestamp = (ULong)(((video->prevFrameNum[currLayer] * 1000) / encParams->LayerFrameRate[currLayer]) + video->modTimeRef + 0.5);
2629 UInt modTimeRef = video->modTimeRef; local
2652 frameNum[i] = (UInt)((modTime - modTimeRef) * LayerFrameRate[i] + 500) / 1000;
2663 frameModTime = (ULong)(((frameNum[i] * 1000) / LayerFrameRate[i]) + modTimeRef + 0.5); /* rec. time */
2664 nextFrmModTime = (ULong)((((frameNum[i] + 1) * 1000) / LayerFrameRate[i]) + modTimeRef + 0.5); /* rec. time */
2680 /* map frame no.to tick from modTimeRef */
[all...]
H A Dmp4lib_int.h397 UInt prevFrameNum[4]; /* previous frame number starting from modTimeRef */
398 UInt modTimeRef; /* Reference modTime update every I-Vop*/ member in struct:tagVideoEncData
H A Dvop.cpp325 frameTick = (Int)(((double)(modTime - video->modTimeRef) * currVol->timeIncrementResolution + 500) / 1000);
331 /* do not update refTick and modTimeRef yet, do it after encoding!! */

Completed in 900 milliseconds