Lines Matching defs:timestampUs
230 bool CameraSourceTimeLapse::skipCurrentFrame(int64_t timestampUs) {
240 bool CameraSourceTimeLapse::skipFrameAndModifyTimeStamp(int64_t *timestampUs) {
244 // to current time (timestampUs) and save frame data.
247 mLastTimeLapseFrameRealTimestampUs = *timestampUs;
259 *timestampUs =
263 if (*timestampUs < mStartTimeUs) {
264 ALOGI("set timestampUs to start time stamp %lld us", mStartTimeUs);
265 *timestampUs = mStartTimeUs;
274 if (mNumFramesEncoded >= 1 && *timestampUs <
284 // - Artificially modify timestampUs to be one frame time (1/framerate) ahead
288 mLastTimeLapseFrameRealTimestampUs = *timestampUs;
289 *timestampUs = mLastFrameTimestampUs + mTimeBetweenTimeLapseVideoFramesUs;
295 void CameraSourceTimeLapse::dataCallbackTimestamp(int64_t timestampUs, int32_t msgType,
298 mSkipCurrentFrame = skipFrameAndModifyTimeStamp(×tampUs);
299 CameraSource::dataCallbackTimestamp(timestampUs, msgType, data);