/frameworks/av/media/libstagefright/ |
D | CameraSourceTimeLapse.cpp | 249 bool CameraSourceTimeLapse::skipFrameAndModifyTimeStamp(int64_t *timestampUs) { in skipFrameAndModifyTimeStamp() argument 256 mLastTimeLapseFrameRealTimestampUs = *timestampUs; in skipFrameAndModifyTimeStamp() 268 *timestampUs = in skipFrameAndModifyTimeStamp() 272 if (*timestampUs < mStartTimeUs) { in skipFrameAndModifyTimeStamp() 274 *timestampUs = mStartTimeUs; in skipFrameAndModifyTimeStamp() 283 if (mNumFramesEncoded >= 1 && *timestampUs < in skipFrameAndModifyTimeStamp() 297 mLastTimeLapseFrameRealTimestampUs = *timestampUs; in skipFrameAndModifyTimeStamp() 298 *timestampUs = mLastFrameTimestampUs + mTimeBetweenTimeLapseVideoFramesUs; in skipFrameAndModifyTimeStamp() 304 void CameraSourceTimeLapse::dataCallbackTimestamp(int64_t timestampUs, int32_t msgType, in dataCallbackTimestamp() argument 307 mSkipCurrentFrame = skipFrameAndModifyTimeStamp(×tampUs); in dataCallbackTimestamp() [all …]
|
D | AMRWriter.cpp | 217 int64_t timestampUs; in threadFunc() local 218 CHECK(buffer->meta_data().findInt64(kKeyTime, ×tampUs)); in threadFunc() 219 if (timestampUs > mEstimatedDurationUs) { in threadFunc() 220 mEstimatedDurationUs = timestampUs; in threadFunc() 223 previousPausedDurationUs += (timestampUs - maxTimestampUs - 20000); in threadFunc() 226 timestampUs -= previousPausedDurationUs; in threadFunc() 228 timestampUs, previousPausedDurationUs); in threadFunc() 229 if (timestampUs > maxTimestampUs) { in threadFunc() 230 maxTimestampUs = timestampUs; in threadFunc()
|
D | AACWriter.cpp | 326 int64_t timestampUs; in threadFunc() local 327 CHECK(buffer->meta_data().findInt64(kKeyTime, ×tampUs)); in threadFunc() 328 if (timestampUs > mEstimatedDurationUs) { in threadFunc() 329 mEstimatedDurationUs = timestampUs; in threadFunc() 332 previousPausedDurationUs += (timestampUs - maxTimestampUs - mFrameDurationUs); in threadFunc() 335 timestampUs -= previousPausedDurationUs; in threadFunc() 337 timestampUs, previousPausedDurationUs); in threadFunc() 338 if (timestampUs > maxTimestampUs) { in threadFunc() 339 maxTimestampUs = timestampUs; in threadFunc()
|
D | CameraSource.cpp | 1123 bool CameraSource::shouldSkipFrameLocked(int64_t timestampUs) { in shouldSkipFrameLocked() argument 1124 if (!mStarted || (mNumFramesReceived == 0 && timestampUs < mStartTimeUs)) { in shouldSkipFrameLocked() 1125 ALOGV("Drop frame at %lld/%lld us", (long long)timestampUs, (long long)mStartTimeUs); in shouldSkipFrameLocked() 1129 if (mStopSystemTimeUs != -1 && timestampUs >= mStopSystemTimeUs) { in shouldSkipFrameLocked() 1131 (long long)timestampUs, (long long)mStopSystemTimeUs); in shouldSkipFrameLocked() 1137 if (skipCurrentFrame(timestampUs)) { in shouldSkipFrameLocked() 1142 if (timestampUs <= mLastFrameTimestampUs) { in shouldSkipFrameLocked() 1144 (long long)timestampUs, (long long)mLastFrameTimestampUs); in shouldSkipFrameLocked() 1147 if (timestampUs - mLastFrameTimestampUs > mGlitchDurationThresholdUs) { in shouldSkipFrameLocked() 1152 mLastFrameTimestampUs = timestampUs; in shouldSkipFrameLocked() [all …]
|
D | MPEG4Writer.cpp | 121 void bufferChunk(int64_t timestampUs); 2877 int64_t timestampUs = 0; in threadEntry() local 3047 CHECK(meta_data->findInt64(kKeyTime, ×tampUs)); in threadEntry() 3063 mStartTimestampUs = timestampUs; in threadEntry() 3069 int64_t durExcludingEarlierPausesUs = timestampUs - previousPausedDurationUs; in threadEntry() 3089 timestampUs -= previousPausedDurationUs; in threadEntry() 3090 timestampDebugEntry.pts = timestampUs; in threadEntry() 3091 if (WARN_UNLESS(timestampUs >= 0ll, "for %s track", trackName)) { in threadEntry() 3129 timestampUs + kMaxCttsOffsetTimeUs - decodingTimeUs; in threadEntry() 3137 timestampUs = decodingTimeUs; in threadEntry() [all …]
|
D | SimpleDecodingSource.cpp | 311 int64_t timestampUs = 0; in doRead() local 312 CHECK(in_buf->meta_data().findInt64(kKeyTime, ×tampUs)); in doRead() 332 timestampUs, 0 /* flags */); in doRead()
|
D | AudioSource.cpp | 430 const int64_t timestampUs = in queueInputBuffer_l() local 441 mPrevSampleTimeUs = timestampUs; in queueInputBuffer_l()
|
/frameworks/av/media/libstagefright/webm/ |
D | WebmFrameThread.cpp | 331 int64_t timestampUs = 0xdeadbeef; in run() local 349 CHECK(md.findInt64(kKeyTime, ×tampUs)); in run() 351 mStartTimeUs = timestampUs; in run() 353 timestampUs -= mStartTimeUs; in run() 356 lastDurationUs = timestampUs - lastTimestampUs; in run() 357 lastTimestampUs = timestampUs; in run() 366 int64_t durExcludingEarlierPausesUs = timestampUs - previousPausedDurationUs; in run() 373 timestampUs -= previousPausedDurationUs; in run() 374 CHECK_GE(timestampUs, 0ll); in run() 381 timestampUs * 1000 / mTimeCodeScale, in run() [all …]
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | CameraSourceTimeLapse.h | 138 virtual bool skipCurrentFrame(int64_t timestampUs); 145 virtual void dataCallbackTimestamp(int64_t timestampUs, int32_t msgType, 154 virtual void recordingFrameHandleCallbackTimestamp(int64_t timestampUs, 185 bool skipFrameAndModifyTimeStamp(int64_t *timestampUs);
|
D | CameraSource.h | 142 virtual void dataCallbackTimestamp(int64_t timestampUs, int32_t msgType, 144 virtual void recordingFrameHandleCallbackTimestamp(int64_t timestampUs, 231 virtual void dataCallbackTimestamp(int64_t timestampUs, int32_t msgType, 234 virtual void recordingFrameHandleCallbackTimestamp(int64_t timestampUs, 330 bool shouldSkipFrameLocked(int64_t timestampUs);
|
/frameworks/av/cmds/stagefright/ |
D | stagefright.cpp | 255 int64_t timestampUs; in playSource() local 256 CHECK(buffer->meta_data().findInt64(kKeyTime, ×tampUs)); in playSource() 261 int64_t diff = timestampUs - seekTimeUs; in playSource() 268 || (gReproduceBug == 5 && timestampUs < 0)) { in playSource() 270 seekTimeUs / 1E6, timestampUs / 1E6); in playSource() 278 timestampUs, timestampUs / 1E6); in playSource()
|
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/ |
D | Conversion.h | 271 t->data.extendedBufferData.timestampUs = in wrapAs() 276 t->data.renderData.timestampUs = l.u.render_data.timestamp; in wrapAs() 318 t.data.extendedBufferData.timestampUs; in wrapAs() 322 l->u.render_data.timestamp = t.data.renderData.timestampUs; in wrapAs()
|
D | WOmxNode.h | 148 uint32_t flags, uint64_t timestampUs,
|
/frameworks/av/media/libmedia/include/media/omx/1.0/ |
D | Conversion.h | 350 t->data.extendedBufferData.timestampUs = in wrapAs() 355 t->data.renderData.timestampUs = l.u.render_data.timestamp; in wrapAs() 397 t.data.extendedBufferData.timestampUs; in wrapAs() 401 l->u.render_data.timestamp = t.data.renderData.timestampUs; in wrapAs()
|
D | WOmxNode.h | 147 uint32_t flags, uint64_t timestampUs,
|
/frameworks/av/media/libmedia/omx/1.0/ |
D | WOmxNode.cpp | 393 uint64_t timestampUs, const hidl_handle& fence) { in emptyBuffer() argument 402 toOMXTicks(timestampUs), in emptyBuffer()
|
/frameworks/av/media/libstagefright/omx/1.0/ |
D | WOmxNode.cpp | 396 uint64_t timestampUs, const hidl_handle& fence) { in emptyBuffer() argument 405 toOMXTicks(timestampUs), in emptyBuffer()
|
/frameworks/base/media/jni/ |
D | android_media_MediaCodec.cpp | 1376 jlong timestampUs, in android_media_MediaCodec_queueInputBuffer() argument 1390 index, offset, size, timestampUs, flags, &errorDetailMsg); in android_media_MediaCodec_queueInputBuffer() 1402 jlong timestampUs, in android_media_MediaCodec_queueSecureInputBuffer() argument 1539 timestampUs, in android_media_MediaCodec_queueSecureInputBuffer()
|