/frameworks/av/media/libstagefright/ |
D | CameraSourceTimeLapse.cpp | 266 bool CameraSourceTimeLapse::skipFrameAndModifyTimeStamp(int64_t *timestampUs) { in skipFrameAndModifyTimeStamp() argument 273 mLastTimeLapseFrameRealTimestampUs = *timestampUs; in skipFrameAndModifyTimeStamp() 285 *timestampUs = in skipFrameAndModifyTimeStamp() 289 if (*timestampUs < mStartTimeUs) { in skipFrameAndModifyTimeStamp() 291 *timestampUs = mStartTimeUs; in skipFrameAndModifyTimeStamp() 300 if (mNumFramesEncoded >= 1 && *timestampUs < in skipFrameAndModifyTimeStamp() 314 mLastTimeLapseFrameRealTimestampUs = *timestampUs; in skipFrameAndModifyTimeStamp() 315 *timestampUs = mLastFrameTimestampUs + mTimeBetweenTimeLapseVideoFramesUs; in skipFrameAndModifyTimeStamp() 321 void CameraSourceTimeLapse::dataCallbackTimestamp(int64_t timestampUs, int32_t msgType, in dataCallbackTimestamp() argument 324 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 | 1128 bool CameraSource::shouldSkipFrameLocked(int64_t timestampUs) { in shouldSkipFrameLocked() argument 1129 if (!mStarted || (mNumFramesReceived == 0 && timestampUs < mStartTimeUs)) { in shouldSkipFrameLocked() 1130 ALOGV("Drop frame at %lld/%lld us", (long long)timestampUs, (long long)mStartTimeUs); in shouldSkipFrameLocked() 1134 if (mStopSystemTimeUs != -1 && timestampUs >= mStopSystemTimeUs) { in shouldSkipFrameLocked() 1136 (long long)timestampUs, (long long)mStopSystemTimeUs); in shouldSkipFrameLocked() 1144 if (skipCurrentFrame(timestampUs)) { in shouldSkipFrameLocked() 1149 if (timestampUs <= mLastFrameTimestampUs) { in shouldSkipFrameLocked() 1151 (long long)timestampUs, (long long)mLastFrameTimestampUs); in shouldSkipFrameLocked() 1154 if (timestampUs - mLastFrameTimestampUs > mGlitchDurationThresholdUs) { in shouldSkipFrameLocked() 1159 mLastFrameTimestampUs = timestampUs; in shouldSkipFrameLocked() [all …]
|
D | OggWriter.cpp | 343 int64_t timestampUs; in threadFunc() local 344 CHECK(buffer->meta_data().findInt64(kKeyTime, ×tampUs)); in threadFunc() 345 if (timestampUs > mEstimatedDurationUs) { in threadFunc() 346 mEstimatedDurationUs = timestampUs; in threadFunc() 349 previousPausedDurationUs += (timestampUs - maxTimestampUs - 20000); in threadFunc() 353 timestampUs -= previousPausedDurationUs; in threadFunc() 355 ALOGV("time stamp: %" PRId64 ", previous paused duration: %" PRId64, timestampUs, in threadFunc() 357 if (timestampUs > maxTimestampUs) { in threadFunc() 358 maxTimestampUs = timestampUs; in threadFunc()
|
D | MPEG4Writer.cpp | 123 void bufferChunk(int64_t timestampUs); 2953 int64_t timestampUs = 0; in threadEntry() local 3124 CHECK(meta_data->findInt64(kKeyTime, ×tampUs)); in threadEntry() 3140 mOwner->setStartTimestampUs(timestampUs); in threadEntry() 3141 mStartTimestampUs = timestampUs; in threadEntry() 3146 int64_t durExcludingEarlierPausesUs = timestampUs - previousPausedDurationUs; in threadEntry() 3166 timestampUs -= previousPausedDurationUs; in threadEntry() 3167 timestampDebugEntry.pts = timestampUs; in threadEntry() 3168 if (WARN_UNLESS(timestampUs >= 0LL, "for %s track", trackName)) { in threadEntry() 3206 timestampUs + kMaxCttsOffsetTimeUs - decodingTimeUs; in threadEntry() [all …]
|
D | SimpleDecodingSource.cpp | 312 int64_t timestampUs = 0; in doRead() local 313 CHECK(in_buf->meta_data().findInt64(kKeyTime, ×tampUs)); in doRead() 333 timestampUs, 0 /* flags */); in doRead()
|
/frameworks/av/media/libstagefright/webm/ |
D | WebmFrameThread.cpp | 340 int64_t timestampUs = 0xdeadbeef; in run() local 358 CHECK(md.findInt64(kKeyTime, ×tampUs)); in run() 360 mStartTimeUs = timestampUs; in run() 364 lastDurationUs = timestampUs - lastTimestampUs; in run() 365 lastTimestampUs = timestampUs; in run() 374 int64_t durExcludingEarlierPausesUs = timestampUs - previousPausedDurationUs; in run() 381 timestampUs -= previousPausedDurationUs; in run() 382 CHECK_GE(timestampUs, 0LL); in run() 389 timestampUs * 1000 / mTimeCodeScale, in run() 397 timestampUs * 1000 / mTimeCodeScale, in run() [all …]
|
/frameworks/av/media/bufferpool/1.0/ |
D | BufferPoolClient.cpp | 67 int64_t timestampUs, 74 TransactionId *transactionId, int64_t *timestampUs); 79 int64_t timestampUs); 347 TransactionId transactionId, BufferId bufferId, int64_t timestampUs, in receive() argument 353 if (timestampUs != 0) { in receive() 354 timestampUs += kReceiveTimeoutUs; in receive() 356 if (!postReceive(bufferId, transactionId, timestampUs)) { in receive() 453 TransactionId *transactionId, int64_t *timestampUs) { in postSend() argument 458 *timestampUs = getTimestampNow(); in postSend() 476 BufferId bufferId, TransactionId transactionId, int64_t timestampUs) { in postReceive() argument [all …]
|
D | ClientManager.cpp | 117 int64_t timestampUs, 124 int64_t *timestampUs); 332 BufferId bufferId, int64_t timestampUs, in receive() argument 343 return client->receive(transactionId, bufferId, timestampUs, handle, buffer); in receive() 348 TransactionId *transactionId, int64_t *timestampUs) { in postSend() argument 359 return client->postSend(receiverId, buffer, transactionId, timestampUs); in postSend() 475 BufferId bufferId, int64_t timestampUs, in receive() argument 479 timestampUs, handle, buffer); in receive() 486 TransactionId *transactionId, int64_t* timestampUs) { in postSend() argument 488 return mImpl->postSend(receiverId, buffer, transactionId, timestampUs); in postSend()
|
D | BufferPoolClient.h | 80 int64_t timestampUs, 87 int64_t *timestampUs);
|
/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, 232 virtual void dataCallbackTimestamp(int64_t timestampUs, int32_t msgType, 235 virtual void recordingFrameHandleCallbackTimestamp(int64_t timestampUs, 331 bool shouldSkipFrameLocked(int64_t timestampUs);
|
/frameworks/av/media/bufferpool/2.0/ |
D | BufferPoolClient.cpp | 71 int64_t timestampUs, 78 TransactionId *transactionId, int64_t *timestampUs); 83 int64_t timestampUs); 396 TransactionId transactionId, BufferId bufferId, int64_t timestampUs, in receive() argument 402 if (timestampUs != 0) { in receive() 403 timestampUs += kReceiveTimeoutUs; in receive() 405 if (!postReceive(bufferId, transactionId, timestampUs)) { in receive() 502 TransactionId *transactionId, int64_t *timestampUs) { in postSend() argument 512 *timestampUs = getTimestampNow(); in postSend() 530 BufferId bufferId, TransactionId transactionId, int64_t timestampUs) { in postReceive() argument [all …]
|
D | ClientManager.cpp | 121 int64_t timestampUs, 128 int64_t *timestampUs); 373 BufferId bufferId, int64_t timestampUs, in receive() argument 387 transactionId, bufferId, timestampUs, &origHandle, buffer); in receive() 398 return client->receive(transactionId, bufferId, timestampUs, handle, buffer); in receive() 404 TransactionId *transactionId, int64_t *timestampUs) { in postSend() argument 415 return client->postSend(receiverId, buffer, transactionId, timestampUs); in postSend() 539 BufferId bufferId, int64_t timestampUs, in receive() argument 543 timestampUs, handle, buffer); in receive() 550 TransactionId *transactionId, int64_t* timestampUs) { in postSend() argument [all …]
|
D | BufferPoolClient.h | 88 int64_t timestampUs, 95 int64_t *timestampUs);
|
/frameworks/base/media/java/android/media/ |
D | TimedMetaData.java | 58 public TimedMetaData(long timestampUs, @NonNull byte[] metaData) { in TimedMetaData() argument 62 mTimestampUs = timestampUs; in TimedMetaData()
|
/frameworks/av/media/bufferpool/1.0/include/bufferpool/ |
D | ClientManager.h | 132 int64_t timestampUs, 153 int64_t *timestampUs);
|
/frameworks/av/media/bufferpool/2.0/include/bufferpool/ |
D | ClientManager.h | 148 int64_t timestampUs, 169 int64_t *timestampUs);
|
/frameworks/av/media/bufferpool/2.0/tests/ |
D | multi.cpp | 65 int64_t timestampUs; member 161 message.data.bufferId, message.data.timestampUs, &rhandle, &rbuffer); in doReceiver() 209 message.data.timestampUs = postUs; in TEST_F()
|
/frameworks/av/media/bufferpool/1.0/vts/ |
D | multi.cpp | 65 int64_t timestampUs; member 161 message.data.bufferId, message.data.timestampUs, &rhandle, &rbuffer); in doReceiver() 209 message.data.timestampUs = postUs; in TEST_F()
|
/frameworks/av/cmds/stagefright/ |
D | stagefright.cpp | 265 int64_t timestampUs; in playSource() local 266 CHECK(buffer->meta_data().findInt64(kKeyTime, ×tampUs)); in playSource() 271 int64_t diff = timestampUs - seekTimeUs; in playSource() 278 || (gReproduceBug == 5 && timestampUs < 0)) { in playSource() 280 seekTimeUs / 1E6, timestampUs / 1E6); in playSource() 288 timestampUs, timestampUs / 1E6); in playSource()
|
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/ |
D | Conversion.h | 213 t->data.extendedBufferData.timestampUs = in wrapAs() 218 t->data.renderData.timestampUs = l.u.render_data.timestamp; in wrapAs() 260 t.data.extendedBufferData.timestampUs; in wrapAs() 264 l->u.render_data.timestamp = t.data.renderData.timestampUs; in wrapAs()
|
/frameworks/av/media/libmedia/include/media/omx/1.0/ |
D | Conversion.h | 355 t->data.extendedBufferData.timestampUs = in wrapAs() 360 t->data.renderData.timestampUs = l.u.render_data.timestamp; in wrapAs() 402 t.data.extendedBufferData.timestampUs; in wrapAs() 406 l->u.render_data.timestamp = t.data.renderData.timestampUs; in wrapAs()
|
/frameworks/av/media/codec2/components/aac/ |
D | C2SoftAacEnc.cpp | 460 c2_cntr64_t timestampUs; in process() member 591 ordinal.timestamp = front.timestampUs; in process() 602 ordinal.timestamp = outputBuffers.front().timestampUs; in process()
|