/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/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.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);
|
ATSParser.cpp | 503 int64_t timeUs = mProgram->convertPTSToTimestamp(PTS); 505 status_t err = mQueue.appendData(data, size, 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);
|
ARTPWriter.cpp | 574 int64_t timeUs; 575 CHECK(mediaBuf->meta_data()->findInt64(kKeyTime, &timeUs)); 577 uint32_t rtpTime = mRTPTimeBase + (timeUs * 9 / 100ll); 669 int64_t timeUs; 670 CHECK(mediaBuf->meta_data()->findInt64(kKeyTime, &timeUs)); 672 uint32_t rtpTime = mRTPTimeBase + (timeUs * 9 / 100ll); 754 int64_t timeUs; 755 CHECK(mediaBuf->meta_data()->findInt64(kKeyTime, &timeUs)); 756 uint32_t rtpTime = mRTPTimeBase + (timeUs / (isWide ? 250 : 125));
|
/frameworks/base/media/libstagefright/codecs/aacdec/ |
AACDecoder.cpp | 189 int64_t timeUs; 190 if (mInputBuffer->meta_data()->findInt64(kKeyTime, &timeUs)) { 191 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/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/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/libmedia/ |
IMediaMetadataRetriever.cpp | 125 sp<IMemory> getFrameAtTime(int64_t timeUs, int option) 127 LOGV("getTimeAtTime: time(%lld us) and option(%d)", timeUs, option); 130 data.writeInt64(timeUs); 204 int64_t timeUs = data.readInt64(); 206 LOGV("getTimeAtTime: time(%lld us) and option(%d)", timeUs, option); 210 sp<IMemory> bitmap = getFrameAtTime(timeUs, option);
|
/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/amrwb/ |
AMRWBDecoder.cpp | 159 int64_t timeUs; 160 if (mInputBuffer->meta_data()->findInt64(kKeyTime, &timeUs)) { 161 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/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/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/vorbis/dec/ |
VorbisDecoder.cpp | 239 int64_t timeUs; 240 if (inputBuffer->meta_data()->findInt64(kKeyTime, &timeUs)) { 241 mAnchorTimeUs = timeUs;
|
/frameworks/base/media/libstagefright/ |
CameraSource.cpp | 363 int64_t timeUs = mStartTimeUs + (timestampUs - mFirstFrameTimeUs); 364 mFrameTimes.push_back(timeUs); 366 mStartTimeUs, timeUs);
|
StagefrightMetadataRetriever.cpp | 190 int64_t timeUs; 191 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); 193 if (timeUs != thumbNailTime) { 197 LOGV("thumbNailTime = %lld us, timeUs = %lld us, mime = %s", 198 thumbNailTime, timeUs, mime); 244 int64_t timeUs, int option) { 246 LOGV("getFrameAtTime: %lld us option: %d", timeUs, option); 284 timeUs, option); 291 timeUs, option);
|
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);
|
/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...] |
/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/ |
M4vH263Decoder.cpp | 246 int64_t timeUs; 247 CHECK(inputBuffer->meta_data()->findInt64(kKeyTime, &timeUs)); 255 CHECK(timeUs <= mTargetTimeUs); 257 if (timeUs < mTargetTimeUs) { 262 LOGV("skipping frame at %lld us", timeUs); 264 LOGV("found target frame at %lld us", timeUs); 275 (*out)->meta_data()->setInt64(kKeyTime, timeUs);
|
/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/cmds/stagefright/ |
stagefright.cpp | 439 int64_t timeUs; 440 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); 442 printf("%lld\t%lld\t%lld\n", seekTimeUs, timeUs, seekTimeUs - timeUs);
|