/frameworks/av/media/libstagefright/ |
AMRWriter.cpp | 217 int64_t timestampUs; 218 CHECK(buffer->meta_data().findInt64(kKeyTime, ×tampUs)); 219 if (timestampUs > mEstimatedDurationUs) { 220 mEstimatedDurationUs = timestampUs; 223 previousPausedDurationUs += (timestampUs - maxTimestampUs - 20000); 226 timestampUs -= previousPausedDurationUs; 228 timestampUs, previousPausedDurationUs); 229 if (timestampUs > maxTimestampUs) { 230 maxTimestampUs = timestampUs;
|
CameraSourceTimeLapse.cpp | 239 bool CameraSourceTimeLapse::skipCurrentFrame(int64_t /* timestampUs */) { 249 bool CameraSourceTimeLapse::skipFrameAndModifyTimeStamp(int64_t *timestampUs) { 253 // to current time (timestampUs) and save frame data. 256 mLastTimeLapseFrameRealTimestampUs = *timestampUs; 268 *timestampUs = 272 if (*timestampUs < mStartTimeUs) { 273 ALOGI("set timestampUs to start time stamp %" PRId64 " us", mStartTimeUs); 274 *timestampUs = mStartTimeUs; 283 if (mNumFramesEncoded >= 1 && *timestampUs < 293 // - Artificially modify timestampUs to be one frame time (1/framerate) ahea [all...] |
SimpleDecodingSource.cpp | 311 int64_t timestampUs = 0; 312 CHECK(in_buf->meta_data().findInt64(kKeyTime, ×tampUs)); 332 timestampUs, 0 /* flags */);
|
AACWriter.cpp | 326 int64_t timestampUs; 327 CHECK(buffer->meta_data().findInt64(kKeyTime, ×tampUs)); 328 if (timestampUs > mEstimatedDurationUs) { 329 mEstimatedDurationUs = timestampUs; 332 previousPausedDurationUs += (timestampUs - maxTimestampUs - mFrameDurationUs); 335 timestampUs -= previousPausedDurationUs; 337 timestampUs, previousPausedDurationUs); 338 if (timestampUs > maxTimestampUs) { 339 maxTimestampUs = timestampUs;
|
AudioSource.cpp | 430 const int64_t timestampUs = 441 mPrevSampleTimeUs = timestampUs;
|
CameraSource.cpp | [all...] |
MPEG4Writer.cpp | 121 void bufferChunk(int64_t timestampUs); [all...] |
/hardware/google/av/codec2/vndk/bufferpool/vts/ |
multi.cpp | 70 int64_t timestampUs; 170 message.data.bufferId, message.data.timestampUs, &rhandle, &rbuffer); 214 message.data.timestampUs = postUs;
|
/external/libmojo/base/android/java/src/org/chromium/base/ |
PerfTraceEvent.java | 225 long timestampUs = (System.nanoTime() - sBeginNanoTime) / 1000; 227 timestampUs, memoryInfo); 249 long timestampUs = (System.nanoTime() - sBeginNanoTime) / 1000; 251 timestampUs, memoryInfo); 273 long timestampUs = (System.nanoTime() - sBeginNanoTime) / 1000; 279 savePerfString(name, id, type, timestampUs, memInfo); 288 * @param timestampUs The time stamp at which this event was recorded 292 private static void savePerfString(String name, long id, EventType type, long timestampUs, 297 traceObj.put("ts", timestampUs);
|
/frameworks/av/media/libstagefright/webm/ |
WebmFrameThread.cpp | 331 int64_t timestampUs = 0xdeadbeef; 349 CHECK(md.findInt64(kKeyTime, ×tampUs)); 351 mStartTimeUs = timestampUs; 353 timestampUs -= mStartTimeUs; 356 lastDurationUs = timestampUs - lastTimestampUs; 357 lastTimestampUs = timestampUs; 366 int64_t durExcludingEarlierPausesUs = timestampUs - previousPausedDurationUs; 373 timestampUs -= previousPausedDurationUs; 374 CHECK_GE(timestampUs, 0ll); 381 timestampUs * 1000 / mTimeCodeScale [all...] |
/hardware/interfaces/media/omx/1.0/vts/functional/video/ |
VtsHalMediaOmxV1_0TargetVideoDecTest.cpp | 144 timestampUs = 0; 183 EXPECT_GE(msg.data.extendedBufferData.timestampUs, timestampUs); 184 timestampUs = msg.data.extendedBufferData.timestampUs; 192 if (*it == timestampUs) { 257 uint64_t timestampUs; [all...] |
/hardware/google/av/codec2/hidl/1.0/utils/ |
types.cpp | 97 d->timestampUs = static_cast<uint64_t>(s.timestamp.peeku()); 104 d->timestamp = c2_cntr64_t(s.timestampUs); 913 int64_t timestampUs; 915 mReceiverConnectionId, bpData, &transactionId, ×tampUs); 928 bpMessage->timestampUs = timestampUs; [all...] |
/hardware/interfaces/audio/core/2.0/vts/functional/ |
AudioPrimaryHidlHalTest.cpp | [all...] |
/hardware/interfaces/audio/core/all-versions/default/include/core/all-versions/default/ |
StreamOut.impl.h | 410 int64_t timestampUs = 0; 413 mStream->get_next_write_timestamp(mStream, ×tampUs)); 415 _hidl_cb(retval, timestampUs);
|
/hardware/interfaces/media/omx/1.0/vts/functional/audio/ |
VtsHalMediaOmxV1_0TargetAudioDecTest.cpp | 152 timestampUs = 0; 181 EXPECT_GE(msg.data.extendedBufferData.timestampUs, timestampUs); 182 timestampUs = msg.data.extendedBufferData.timestampUs; 190 if (*it == timestampUs) { 251 uint64_t timestampUs; [all...] |
/frameworks/av/cmds/stagefright/ |
stagefright.cpp | 255 int64_t timestampUs; 256 CHECK(buffer->meta_data().findInt64(kKeyTime, ×tampUs)); 261 int64_t diff = timestampUs - seekTimeUs; 268 || (gReproduceBug == 5 && timestampUs < 0)) { 270 seekTimeUs / 1E6, timestampUs / 1E6); 278 timestampUs, timestampUs / 1E6); [all...] |
/hardware/interfaces/audio/core/4.0/vts/functional/ |
AudioPrimaryHidlHalTest.cpp | [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
MediaSyncTest.java | 756 long timestampUs = mExtractor.getSampleTime(); 759 || timestampUs >= mLastBufferTimestampUs; 764 timestampUs,
|
MediaCodecTest.java | [all...] |