HomeSort by relevance Sort by last modified time
    Searched refs:timestampUs (Results 1 - 11 of 11) sorted by null

  /frameworks/av/include/media/stagefright/
CameraSourceTimeLapse.h 126 virtual bool skipCurrentFrame(int64_t timestampUs);
131 virtual void dataCallbackTimestamp(int64_t timestampUs, int32_t msgType,
148 bool skipFrameAndModifyTimeStamp(int64_t *timestampUs);
CameraSource.h 119 virtual void dataCallbackTimestamp(int64_t timestampUs, int32_t msgType,
170 virtual bool skipCurrentFrame(int64_t timestampUs) {return false;}
175 virtual void dataCallbackTimestamp(int64_t timestampUs, int32_t msgType,
  /frameworks/av/media/libstagefright/
CameraSourceTimeLapse.cpp 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) ahea
    [all...]
AACWriter.cpp 338 int64_t timestampUs;
339 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timestampUs));
340 if (timestampUs > mEstimatedDurationUs) {
341 mEstimatedDurationUs = timestampUs;
344 previousPausedDurationUs += (timestampUs - maxTimestampUs - mFrameDurationUs);
347 timestampUs -= previousPausedDurationUs;
349 timestampUs, previousPausedDurationUs);
350 if (timestampUs > maxTimestampUs) {
351 maxTimestampUs = timestampUs;
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;
CameraSource.cpp 776 void CameraSource::dataCallbackTimestamp(int64_t timestampUs,
778 ALOGV("dataCallbackTimestamp: timestamp %lld us", timestampUs);
780 if (!mStarted || (mNumFramesReceived == 0 && timestampUs < mStartTimeUs)) {
781 ALOGV("Drop frame at %lld/%lld us", timestampUs, mStartTimeUs);
787 CHECK(timestampUs > mLastFrameTimestampUs);
788 if (timestampUs - mLastFrameTimestampUs > mGlitchDurationThresholdUs) {
795 if (skipCurrentFrame(timestampUs)) {
800 mLastFrameTimestampUs = timestampUs;
802 mFirstFrameTimeUs = timestampUs;
805 if (timestampUs < mStartTimeUs)
    [all...]
MPEG4Writer.cpp 64 void bufferChunk(int64_t timestampUs);
    [all...]
AudioSource.cpp 352 const int64_t timestampUs =
363 mPrevSampleTimeUs = timestampUs;
OMXCodec.cpp     [all...]
  /frameworks/av/cmds/stagefright/
stagefright.cpp 244 int64_t timestampUs;
245 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timestampUs));
250 int64_t diff = timestampUs - seekTimeUs;
257 || (gReproduceBug == 5 && timestampUs < 0)) {
259 seekTimeUs / 1E6, timestampUs / 1E6);
267 timestampUs, timestampUs / 1E6);
    [all...]
  /frameworks/base/media/jni/
android_media_MediaCodec.cpp 443 jlong timestampUs,
457 index, offset, size, timestampUs, flags, &errorDetailMsg);
469 jlong timestampUs,
579 timestampUs,

Completed in 171 milliseconds