HomeSort by relevance Sort by last modified time
    Searched full:timestampus (Results 1 - 10 of 10) sorted by null

  /frameworks/base/media/libstagefright/
CameraSourceTimeLapse.cpp 229 bool CameraSourceTimeLapse::skipCurrentFrame(int64_t timestampUs) {
239 bool CameraSourceTimeLapse::skipFrameAndModifyTimeStamp(int64_t *timestampUs) {
243 // to current time (timestampUs) and save frame data.
246 mLastTimeLapseFrameRealTimestampUs = *timestampUs;
258 *timestampUs =
267 if (mNumFramesEncoded >= 1 && *timestampUs <
277 // - Artificially modify timestampUs to be one frame time (1/framerate) ahead
281 mLastTimeLapseFrameRealTimestampUs = *timestampUs;
282 *timestampUs = mLastFrameTimestampUs + mTimeBetweenTimeLapseVideoFramesUs;
288 void CameraSourceTimeLapse::dataCallbackTimestamp(int64_t timestampUs, int32_t msgType
    [all...]
AMRWriter.cpp 228 int64_t timestampUs;
229 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timestampUs));
230 if (timestampUs > mEstimatedDurationUs) {
231 mEstimatedDurationUs = timestampUs;
234 previousPausedDurationUs += (timestampUs - maxTimestampUs - 20000);
237 timestampUs -= previousPausedDurationUs;
239 timestampUs, previousPausedDurationUs);
240 if (timestampUs > maxTimestampUs) {
241 maxTimestampUs = timestampUs;
AACWriter.cpp 331 int64_t timestampUs;
332 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timestampUs));
333 if (timestampUs > mEstimatedDurationUs) {
334 mEstimatedDurationUs = timestampUs;
337 previousPausedDurationUs += (timestampUs - maxTimestampUs - mFrameDurationUs);
340 timestampUs -= previousPausedDurationUs;
342 timestampUs, previousPausedDurationUs);
343 if (timestampUs > maxTimestampUs) {
344 maxTimestampUs = timestampUs;
CameraSource.cpp 766 void CameraSource::dataCallbackTimestamp(int64_t timestampUs,
768 LOGV("dataCallbackTimestamp: timestamp %lld us", timestampUs);
770 if (!mStarted || (mNumFramesReceived == 0 && timestampUs < mStartTimeUs)) {
771 LOGV("Drop frame at %lld/%lld us", timestampUs, mStartTimeUs);
777 CHECK(timestampUs > mLastFrameTimestampUs);
778 if (timestampUs - mLastFrameTimestampUs > mGlitchDurationThresholdUs) {
785 if (skipCurrentFrame(timestampUs)) {
790 mLastFrameTimestampUs = timestampUs;
792 mFirstFrameTimeUs = timestampUs;
795 if (timestampUs < mStartTimeUs)
    [all...]
MPEG4Writer.cpp 64 void bufferChunk(int64_t timestampUs);
    [all...]
AudioSource.cpp 285 int64_t timestampUs = mPrevSampleTimeUs;
313 timestampUs += ((1000000LL * (bufferSize >> 1)) +
321 mPrevSampleTimeUs = timestampUs;
OMXCodec.cpp     [all...]
  /frameworks/base/include/media/stagefright/
CameraSource.h 119 virtual void dataCallbackTimestamp(int64_t timestampUs, int32_t msgType,
168 virtual bool skipCurrentFrame(int64_t timestampUs) {return false;}
173 virtual void dataCallbackTimestamp(int64_t timestampUs, int32_t msgType,
CameraSourceTimeLapse.h 133 virtual bool skipCurrentFrame(int64_t timestampUs);
138 virtual void dataCallbackTimestamp(int64_t timestampUs, int32_t msgType,
155 bool skipFrameAndModifyTimeStamp(int64_t *timestampUs);
  /frameworks/base/cmds/stagefright/
stagefright.cpp 248 int64_t timestampUs;
249 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timestampUs));
254 int64_t diff = timestampUs - seekTimeUs;
261 || (gReproduceBug == 5 && timestampUs < 0)) {
263 seekTimeUs / 1E6, timestampUs / 1E6);
271 timestampUs, timestampUs / 1E6);
    [all...]

Completed in 306 milliseconds