/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 | 1098 bool CameraSource::shouldSkipFrameLocked(int64_t timestampUs) { in shouldSkipFrameLocked() argument 1099 if (!mStarted || (mNumFramesReceived == 0 && timestampUs < mStartTimeUs)) { in shouldSkipFrameLocked() 1100 ALOGV("Drop frame at %lld/%lld us", (long long)timestampUs, (long long)mStartTimeUs); in shouldSkipFrameLocked() 1106 if (skipCurrentFrame(timestampUs)) { in shouldSkipFrameLocked() 1111 if (timestampUs <= mLastFrameTimestampUs) { in shouldSkipFrameLocked() 1113 (long long)timestampUs, (long long)mLastFrameTimestampUs); in shouldSkipFrameLocked() 1116 if (timestampUs - mLastFrameTimestampUs > mGlitchDurationThresholdUs) { in shouldSkipFrameLocked() 1121 mLastFrameTimestampUs = timestampUs; in shouldSkipFrameLocked() 1123 mFirstFrameTimeUs = timestampUs; in shouldSkipFrameLocked() 1126 if (timestampUs < mStartTimeUs) { in shouldSkipFrameLocked() [all …]
|
D | MPEG4Writer.cpp | 115 void bufferChunk(int64_t timestampUs); 2547 int64_t timestampUs = 0; in threadEntry() local 2698 CHECK(meta_data->findInt64(kKeyTime, ×tampUs)); in threadEntry() 2712 mStartTimestampUs = timestampUs; in threadEntry() 2718 int64_t durExcludingEarlierPausesUs = timestampUs - previousPausedDurationUs; in threadEntry() 2738 timestampUs -= previousPausedDurationUs; in threadEntry() 2739 timestampPair.first = timestampUs; in threadEntry() 2740 if (WARN_UNLESS(timestampUs >= 0ll, "for %s track", trackName)) { in threadEntry() 2770 timestampUs + kMaxCttsOffsetTimeUs - decodingTimeUs; in threadEntry() 2778 timestampUs = decodingTimeUs; in threadEntry() [all …]
|
D | SimpleDecodingSource.cpp | 286 int64_t timestampUs = 0; in doRead() local 287 CHECK(in_buf->meta_data()->findInt64(kKeyTime, ×tampUs)); in doRead() 307 timestampUs, 0 /* flags */); in doRead()
|
D | AudioSource.cpp | 396 const int64_t timestampUs = in queueInputBuffer_l() local 407 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/ |
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 | 141 virtual void dataCallbackTimestamp(int64_t timestampUs, int32_t msgType, 143 virtual void recordingFrameHandleCallbackTimestamp(int64_t timestampUs, 230 virtual void dataCallbackTimestamp(int64_t timestampUs, int32_t msgType, 233 virtual void recordingFrameHandleCallbackTimestamp(int64_t timestampUs, 328 bool shouldSkipFrameLocked(int64_t timestampUs);
|
/frameworks/av/cmds/stagefright/ |
D | stagefright.cpp | 250 int64_t timestampUs; in playSource() local 251 CHECK(buffer->meta_data()->findInt64(kKeyTime, ×tampUs)); in playSource() 256 int64_t diff = timestampUs - seekTimeUs; in playSource() 263 || (gReproduceBug == 5 && timestampUs < 0)) { in playSource() 265 seekTimeUs / 1E6, timestampUs / 1E6); in playSource() 273 timestampUs, timestampUs / 1E6); in playSource()
|
/frameworks/av/include/media/omx/1.0/ |
D | Conversion.h | 308 t->data.extendedBufferData.timestampUs = in wrapAs() 313 t->data.renderData.timestampUs = l.u.render_data.timestamp; in wrapAs() 355 t.data.extendedBufferData.timestampUs; in wrapAs() 359 l->u.render_data.timestamp = t.data.renderData.timestampUs; in wrapAs()
|
D | WOmxNode.h | 147 uint32_t flags, uint64_t timestampUs,
|
/frameworks/av/media/libstagefright/omx/1.0/ |
D | WOmxNode.cpp | 395 uint64_t timestampUs, const hidl_handle& fence) { in emptyBuffer() argument 404 toOMXTicks(timestampUs), in emptyBuffer()
|
D | WOmxNode.h | 148 uint32_t flags, uint64_t timestampUs,
|
D | Conversion.h | 301 t->data.extendedBufferData.timestampUs = in wrapAs() 306 t->data.renderData.timestampUs = l.u.render_data.timestamp; in wrapAs() 348 t.data.extendedBufferData.timestampUs; in wrapAs() 352 l->u.render_data.timestamp = t.data.renderData.timestampUs; in wrapAs()
|
/frameworks/av/media/libmedia/omx/1.0/ |
D | WOmxNode.cpp | 392 uint64_t timestampUs, const hidl_handle& fence) { in emptyBuffer() argument 401 toOMXTicks(timestampUs), in emptyBuffer()
|
/frameworks/base/media/jni/ |
D | android_media_MediaCodec.cpp | 1261 jlong timestampUs, in android_media_MediaCodec_queueInputBuffer() argument 1275 index, offset, size, timestampUs, flags, &errorDetailMsg); in android_media_MediaCodec_queueInputBuffer() 1287 jlong timestampUs, in android_media_MediaCodec_queueSecureInputBuffer() argument 1424 timestampUs, in android_media_MediaCodec_queueSecureInputBuffer()
|