Lines Matching defs:timestampUs
224 bool CameraSourceTimeLapse::skipCurrentFrame(int64_t timestampUs) {
234 bool CameraSourceTimeLapse::skipFrameAndModifyTimeStamp(int64_t *timestampUs) {
238 // to current time (timestampUs) and save frame data.
241 mLastTimeLapseFrameRealTimestampUs = *timestampUs;
253 *timestampUs =
257 if (*timestampUs < mStartTimeUs) {
258 ALOGI("set timestampUs to start time stamp %lld us", mStartTimeUs);
259 *timestampUs = mStartTimeUs;
268 if (mNumFramesEncoded >= 1 && *timestampUs <
278 // - Artificially modify timestampUs to be one frame time (1/framerate) ahead
282 mLastTimeLapseFrameRealTimestampUs = *timestampUs;
283 *timestampUs = mLastFrameTimestampUs + mTimeBetweenTimeLapseVideoFramesUs;
289 void CameraSourceTimeLapse::dataCallbackTimestamp(int64_t timestampUs, int32_t msgType,
292 mSkipCurrentFrame = skipFrameAndModifyTimeStamp(×tampUs);
293 CameraSource::dataCallbackTimestamp(timestampUs, msgType, data);