/frameworks/base/media/libstagefright/ |
MediaSource.cpp | 62 void MediaSource::ReadOptions::setSkipFrame(int64_t timeUs) { 64 mSkipFrameUntilTimeUs = timeUs; 67 bool MediaSource::ReadOptions::getSkipFrame(int64_t *timeUs) const { 68 *timeUs = mSkipFrameUntilTimeUs;
|
MPEG2TSWriter.cpp | 230 out->meta()->setInt64("timeUs", 0ll); 249 int64_t timeUs; 250 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); 251 copy->meta()->setInt64("timeUs", timeUs); 278 int64_t timeUs; 279 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); 281 mAACBuffer->meta()->setInt64("timeUs", timeUs); 721 int64_t timeUs; [all...] |
OggExtractor.cpp | 181 int64_t timeUs; 182 if (packet->meta_data()->findInt64(kKeyTime, &timeUs)) { 183 LOGI("found time = %lld us", timeUs); 394 int64_t timeUs = -1; 436 timeUs = mCurrentPage.mGranulePosition * 1000000ll / mVi.rate; 459 if (timeUs >= 0) { 460 buffer->meta_data()->setInt64(kKeyTime, timeUs); 507 if (timeUs >= 0) { 508 buffer->meta_data()->setInt64(kKeyTime, timeUs);
|
StagefrightMetadataRetriever.cpp | 176 int64_t timeUs; 177 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); 179 if (timeUs != thumbNailTime) { 183 LOGV("thumbNailTime = %lld us, timeUs = %lld us, mime = %s", 184 thumbNailTime, timeUs, mime);
|
/frameworks/base/media/libstagefright/mpeg2ts/ |
AnotherPacketSource.cpp | 69 uint64_t timeUs; 71 "time", (int64_t *)&timeUs)); 74 mediaBuffer->meta_data()->setInt64(kKeyTime, timeUs); 94 int64_t timeUs; 95 CHECK(buffer->meta()->findInt64("time", &timeUs)); 96 LOGV("queueAccessUnit timeUs=%lld us (%.2f secs)", timeUs, timeUs / 1E6);
|
ESQueue.h | 37 status_t appendData(const void *data, size_t size, int64_t timeUs);
|
ESQueue.cpp | 50 const void *data, size_t size, int64_t timeUs) { 97 mTimestamps.push_back(timeUs); 191 int64_t timeUs = *mTimestamps.begin(); 194 accessUnit->meta()->setInt64("time", timeUs); 337 int64_t timeUs = *mTimestamps.begin(); 340 accessUnit->meta()->setInt64("time", timeUs);
|
/frameworks/base/include/media/stagefright/ |
MediaSource.h | 87 bool getSkipFrame(int64_t *timeUs) const; 88 void setSkipFrame(int64_t timeUs);
|
MPEG4Writer.h | 88 void setStartTimestampUs(int64_t timeUs); 100 Chunk(Track *track, int64_t timeUs, List<MediaBuffer *> samples) 101 : mTrack(track), mTimeStampUs(timeUs), mSamples(samples) { 156 void trackProgressStatus(const Track* track, int64_t timeUs, status_t err = OK);
|
/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/ |
M4vH263Decoder.cpp | 239 int64_t timeUs; 240 CHECK(inputBuffer->meta_data()->findInt64(kKeyTime, &timeUs)); 248 CHECK(timeUs <= mTargetTimeUs); 250 if (timeUs < mTargetTimeUs) { 255 LOGV("skipping frame at %lld us", timeUs); 257 LOGV("found target frame at %lld us", timeUs); 268 (*out)->meta_data()->setInt64(kKeyTime, timeUs);
|
/frameworks/base/media/libstagefright/codecs/on2/dec/ |
VPXDecoder.cpp | 175 int64_t timeUs; 176 CHECK(input->meta_data()->findInt64(kKeyTime, &timeUs)); 184 CHECK(timeUs <= mTargetTimeUs); 186 if (timeUs < mTargetTimeUs) { 191 LOGV("skipping frame at %lld us", timeUs); 193 LOGV("found target frame at %lld us", timeUs); 267 output->meta_data()->setInt64(kKeyTime, timeUs);
|
/frameworks/base/media/libstagefright/codecs/m4v_h263/enc/ |
M4vH263Encoder.cpp | 306 int64_t timeUs; 307 CHECK(mInputBuffer->meta_data()->findInt64(kKeyTime, &timeUs)); 313 (mNextModTimeUs > timeUs || mPrevTimestampUs == timeUs)) { 323 CHECK(mPrevTimestampUs < timeUs); 324 mPrevTimestampUs = timeUs; 327 outputBuffer->meta_data()->setInt64(kKeyTime, timeUs); 342 vin.timestamp = (timeUs + 500) / 1000; // in ms
|
/frameworks/base/media/libstagefright/codecs/avc/dec/ |
AVCDecoder.cpp | 256 int64_t timeUs; 257 CHECK(mbuf->meta_data()->findInt64(kKeyTime, &timeUs)); 258 CHECK(timeUs <= mTargetTimeUs); 260 if (timeUs < mTargetTimeUs) { 265 LOGV("skipping frame at %lld us", timeUs); 267 LOGV("found target frame at %lld us", timeUs); 582 int64_t timeUs; 583 CHECK(mInputBuffer->meta_data()->findInt64(kKeyTime, &timeUs)); 584 mFrames[index]->meta_data()->setInt64(kKeyTime, timeUs);
|
/frameworks/base/media/libstagefright/codecs/aacenc/ |
AACEncoder.cpp | 242 int64_t timeUs; 243 if (mInputBuffer->meta_data()->findInt64(kKeyDriftTime, &timeUs)) { 244 wallClockTimeUs = timeUs; 246 if (mInputBuffer->meta_data()->findInt64(kKeyAnchorTime, &timeUs)) { 247 mAnchorTimeUs = timeUs;
|
/frameworks/base/media/libstagefright/codecs/amrnb/enc/ |
AMRNBEncoder.cpp | 173 int64_t timeUs; 174 if (mInputBuffer->meta_data()->findInt64(kKeyDriftTime, &timeUs)) { 175 wallClockTimeUs = timeUs; 177 if (mInputBuffer->meta_data()->findInt64(kKeyAnchorTime, &timeUs)) { 178 mAnchorTimeUs = timeUs;
|
/frameworks/base/media/libstagefright/codecs/amrwbenc/ |
AMRWBEncoder.cpp | 223 int64_t timeUs; 224 if (mInputBuffer->meta_data()->findInt64(kKeyDriftTime, &timeUs)) { 225 wallClockTimeUs = timeUs; 227 if (mInputBuffer->meta_data()->findInt64(kKeyAnchorTime, &timeUs)) { 228 mAnchorTimeUs = timeUs;
|
/frameworks/base/media/libstagefright/codecs/amrnb/dec/ |
AMRNBDecoder.cpp | 141 int64_t timeUs; 142 if (mInputBuffer->meta_data()->findInt64(kKeyTime, &timeUs)) { 143 mAnchorTimeUs = timeUs;
|
/frameworks/base/media/libstagefright/codecs/amrwb/ |
AMRWBDecoder.cpp | 159 int64_t timeUs; 160 if (mInputBuffer->meta_data()->findInt64(kKeyTime, &timeUs)) { 161 mAnchorTimeUs = timeUs;
|
/frameworks/base/media/libstagefright/codecs/g711/dec/ |
G711Decoder.cpp | 136 int64_t timeUs; 137 CHECK(inBuffer->meta_data()->findInt64(kKeyTime, &timeUs)); 158 outBuffer->meta_data()->setInt64(kKeyTime, timeUs);
|
/frameworks/base/media/libstagefright/codecs/mp3dec/ |
MP3Decoder.cpp | 150 int64_t timeUs; 151 if (mInputBuffer->meta_data()->findInt64(kKeyTime, &timeUs)) { 152 mAnchorTimeUs = timeUs;
|
/frameworks/base/media/libstagefright/rtsp/ |
rtp_test.cpp | 213 int64_t timeUs; 214 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); 217 buffer->range_length(), timeUs / 1E6);
|
MyHandler.h | 138 void seek(int64_t timeUs, const sp<AMessage> &doneMsg) { 140 msg->setInt64("time", timeUs); 148 int64_t timeUs = mTracks.editItemAt(i).mPacketSource 151 if (i == 0 || timeUs > maxTimeUs) { 152 maxTimeUs = timeUs; 698 int64_t timeUs = (int64_t)(ntpTime * 1E6 / (1ll << 32)); 700 accessUnit->meta()->setInt64("timeUs", timeUs); 732 int64_t timeUs; 733 CHECK(msg->findInt64("time", &timeUs)); [all...] |
ARTSPController.cpp | 87 int64_t timeUs, 110 mHandler->seek(timeUs, msg);
|
/frameworks/base/media/libstagefright/include/ |
ARTSPController.h | 36 void seekAsync(int64_t timeUs, void (*seekDoneCb)(void *), void *cookie);
|
/frameworks/base/media/libstagefright/codecs/avc/enc/ |
AVCEncoder.cpp | 410 int64_t timeUs; 411 CHECK(mInputBuffer->meta_data()->findInt64(kKeyTime, &timeUs)); 412 outputBuffer->meta_data()->setInt64(kKeyTime, timeUs); 417 if (mNumInputFrames >= 1 && mPrevTimestampUs == timeUs) { 427 CHECK(mPrevTimestampUs < timeUs); 428 mPrevTimestampUs = timeUs; 434 videoInput.coding_timestamp = (timeUs + 500) / 1000; // in ms 525 int64_t timeUs; 526 CHECK(mInputBuffer->meta_data()->findInt64(kKeyTime, &timeUs)); 527 mOutputBuffers[index]->meta_data()->setInt64(kKeyTime, timeUs); [all...] |