/frameworks/av/cmds/stagefright/ |
H A D | SimplePlayer.cpp | 490 int64_t timeUs; local 491 CHECK_EQ(mExtractor->getSampleTime(&timeUs), (status_t)OK); 497 timeUs,
|
H A D | codec.cpp | 175 int64_t timeUs; local 176 err = extractor->getSampleTime(&timeUs); 185 timeUs, 211 0ll /* timeUs */,
|
H A D | sf2.cpp | 432 outBuffer->meta()->setInt64("timeUs", 0); 482 int64_t timeUs; local 483 CHECK(inBuffer->meta_data()->findInt64(kKeyTime, &timeUs)); 485 outBuffer->meta()->setInt64("timeUs", timeUs);
|
H A D | stagefright.cpp | 575 int64_t timeUs; local 576 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); 578 printf("%lld\t%lld\t%lld\n", seekTimeUs, timeUs, seekTimeUs - timeUs);
|
/frameworks/av/include/media/ |
H A D | MediaMetadataRetrieverInterface.h | 39 virtual VideoFrame* getFrameAtTime(int64_t timeUs, int option) = 0; 51 virtual VideoFrame* getFrameAtTime(int64_t timeUs, int option) { return NULL; } argument
|
/frameworks/av/include/media/stagefright/ |
H A D | MPEG4Writer.h | 99 void setStartTimestampUs(int64_t timeUs); 113 Chunk(Track *track, int64_t timeUs, List<MediaBuffer *> samples) argument 114 : mTrack(track), mTimeStampUs(timeUs), mSamples(samples) { 176 void trackProgressStatus(size_t trackId, int64_t timeUs, status_t err = OK);
|
/frameworks/av/libvideoeditor/lvpp/ |
H A D | NativeWindowRenderer.cpp | 382 int64_t timeUs; local 383 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); 384 native_window_set_buffers_timestamp(anw, timeUs * 1000);
|
H A D | PreviewPlayer.cpp | 676 status_t PreviewPlayer::seekTo(int64_t timeUs) { argument 679 return seekTo_l(timeUs); 899 int64_t timeUs; local 900 CHECK(mVideoBuffer->meta_data()->findInt64(kKeyTime, &timeUs)); 901 setPosition_l(timeUs); 904 int64_t playbackTimeRemaining = (mPlayEndTimeMsec * 1000LL) - timeUs; 915 finishSeekIfNecessary(timeUs); 936 mTimeSourceDeltaUs = ts->getRealTimeUs() - timeUs; 947 int64_t latenessUs = nowUs - timeUs; 954 ts->getRealTimeUs(),timeUs); 1536 int64_t timeUs; local 1887 setPosition_l(int64_t timeUs) argument 1891 seekTo_l(int64_t timeUs) argument [all...] |
H A D | VideoEditorSRC.cpp | 170 int64_t timeUs = mInitialTimeStampUs + totalOutDurationUs; local 171 to->setInt64(kKeyTime, timeUs);
|
/frameworks/av/media/libmedia/ |
H A D | IMediaMetadataRetriever.cpp | 118 sp<IMemory> getFrameAtTime(int64_t timeUs, int option) argument 120 ALOGV("getTimeAtTime: time(%lld us) and option(%d)", timeUs, option); 123 data.writeInt64(timeUs); 208 int64_t timeUs = data.readInt64(); local 210 ALOGV("getTimeAtTime: time(%lld us) and option(%d)", timeUs, option); 214 sp<IMemory> bitmap = getFrameAtTime(timeUs, option);
|
H A D | mediametadataretriever.cpp | 127 sp<IMemory> MediaMetadataRetriever::getFrameAtTime(int64_t timeUs, int option) argument 129 ALOGV("getFrameAtTime: time(%lld us) option(%d)", timeUs, option); 135 return mRetriever->getFrameAtTime(timeUs, option);
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MetadataRetrieverClient.cpp | 178 sp<IMemory> MetadataRetrieverClient::getFrameAtTime(int64_t timeUs, int option) argument 180 ALOGV("getFrameAtTime: time(%lld us) option(%d)", timeUs, option); 187 VideoFrame *frame = mRetriever->getFrameAtTime(timeUs, option);
|
H A D | StagefrightRecorder.cpp | 381 status_t StagefrightRecorder::setParamMaxFileDurationUs(int64_t timeUs) { argument 382 ALOGV("setParamMaxFileDurationUs: %lld us", timeUs); 385 if (timeUs <= 0) { 386 ALOGW("Max file duration is not positive: %lld us. Disabling duration limit.", timeUs); 387 timeUs = 0; // Disable the duration limit for zero or negative values. 388 } else if (timeUs <= 100000LL) { // XXX: 100 milli-seconds 389 ALOGE("Max file duration is too short: %lld us", timeUs); 393 if (timeUs <= 15 * 1000000LL) { 394 ALOGW("Target duration (%lld us) too short to be respected", timeUs); 396 mMaxFileDurationUs = timeUs; 544 setParamTimeBetweenTimeLapseFrameCapture(int64_t timeUs) argument [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | GenericSource.cpp | 230 int64_t timeUs; local 231 CHECK(mbuf->meta_data()->findInt64(kKeyTime, &timeUs)); 233 buffer->meta()->setInt64("timeUs", timeUs); 236 *actualTimeUs = timeUs;
|
H A D | StreamingSource.cpp | 153 int64_t timeUs; local 154 CHECK((*accessUnit)->meta()->findInt64("timeUs", &timeUs)); 155 ALOGV("dequeueAccessUnit timeUs=%lld us", timeUs);
|
/frameworks/av/media/libstagefright/ |
H A D | ACodec.cpp | 157 int64_t timeUs, 2458 int64_t timeUs; local 2465 CHECK(msg->findInt64("timestamp", &timeUs)); 2473 timeUs, 2620 int64_t timeUs; local 2621 CHECK(buffer->meta()->findInt64("timeUs", &timeUs)); 2653 mCodec->mComponentName.c_str(), bufferID, timeUs); 2656 mCodec->mComponentName.c_str(), bufferID, timeUs); 2664 mCodec->mBufferStats.add(timeUs, stat 2752 onOMXFillBufferDone( IOMX::buffer_id bufferID, size_t rangeOffset, size_t rangeLength, OMX_U32 flags, int64_t timeUs, void *platformPrivate, void *dataPtr) argument [all...] |
H A D | AVIExtractor.cpp | 175 int64_t timeUs; local 177 mTrackIndex, mSampleIndex, &offset, &size, &isKey, &timeUs); 196 out->meta_data()->setInt64(kKeyTime, timeUs); 353 int64_t timeUs = mBaseTimeUs + (mNumSamplesRead * 1000000ll) / sampleRate; local 356 mbuf->meta_data()->setInt64(kKeyTime, timeUs); 848 int64_t timeUs; local 849 status_t err = getSampleInfo(0, 0, &offset, &size, &isKey, &timeUs); 853 err = getSampleInfo(0, 0, &offset, &size, &isKey, &timeUs); 1005 int64_t timeUs; local 1007 getSampleInfo(trackIndex, 0, &offset, &size, &isKey, &timeUs); 1053 int64_t timeUs; local 1172 getSampleIndexAtTime( size_t trackIndex, int64_t timeUs, MediaSource::ReadOptions::SeekMode mode, size_t *sampleIndex) const argument [all...] |
H A D | AudioSource.cpp | 237 int64_t timeUs; local 238 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); 239 int64_t elapsedTimeUs = timeUs - mStartTimeUs; 275 int64_t timeUs = systemTime() / 1000ll; local 277 ALOGV("dataCallbackTimestamp: %lld us", timeUs); 285 if (mNumFramesReceived == 0 && timeUs < mStartTimeUs) { 287 ALOGV("Drop audio data at %lld/%lld us", timeUs, mStartTimeUs); 292 mInitialReadTimeUs = timeUs; 295 mStartTimeUs = timeUs - mStartTimeUs; 330 queueInputBuffer_l(lostAudioBuffer, timeUs); 347 queueInputBuffer_l(MediaBuffer *buffer, int64_t timeUs) argument [all...] |
H A D | AwesomePlayer.cpp | 129 int64_t timeUs; local 130 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); 131 native_window_set_buffers_timestamp(mNativeWindow.get(), timeUs * 1000); 1297 status_t AwesomePlayer::seekTo(int64_t timeUs) { argument 1302 return seekTo_l(timeUs); 1308 status_t AwesomePlayer::seekTo_l(int64_t timeUs) { argument 1324 mSeekTimeUs = timeUs; 1682 int64_t timeUs; local 1683 CHECK(mVideoBuffer->meta_data()->findInt64(kKeyTime, &timeUs)); 1685 mLastVideoTimeUs = timeUs; [all...] |
H A D | CameraSource.cpp | 844 int64_t timeUs = mStartTimeUs + (timestampUs - mFirstFrameTimeUs); local 845 mFrameTimes.push_back(timeUs); 847 mStartTimeUs, timeUs);
|
H A D | FLACExtractor.cpp | 647 int64_t timeUs = (1000000LL * sampleNumber) / getSampleRate(); local 648 buffer->meta_data()->setInt64(kKeyTime, timeUs);
|
H A D | FragmentedMP4Extractor.cpp | 279 int64_t timeUs; local 280 CHECK(meta->findInt64("timeUs", &timeUs)); 281 buffer->meta_data()->setInt64(kKeyTime, timeUs);
|
H A D | MPEG2TSWriter.cpp | 244 out->meta()->setInt64("timeUs", 0ll); 264 int64_t timeUs; local 265 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); 266 copy->meta()->setInt64("timeUs", timeUs); 295 int64_t timeUs; local 296 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); 298 mAACBuffer->meta()->setInt64("timeUs", timeUs); 453 int64_t timeUs; local 669 int64_t timeUs = source->lastAccessUnitTimeUs(); local 883 int64_t timeUs; local [all...] |
H A D | MPEG4Writer.cpp | 280 void trackProgressStatus(int64_t timeUs, status_t err = OK); 1210 void MPEG4Writer::setStartTimestampUs(int64_t timeUs) { argument 1211 ALOGI("setStartTimestampUs: %lld", timeUs); 1212 CHECK_GE(timeUs, 0ll); 1214 if (mStartTimestampUs < 0 || mStartTimestampUs > timeUs) { 1215 mStartTimestampUs = timeUs; 1415 int64_t timeUs; local 1416 if (params && params->findInt64(kKeyTrackTimeStatus, &timeUs)) { 1417 ALOGV("Receive request to track progress status for every %lld us", timeUs); 1418 mTrackEveryTimeDurationUs = timeUs; 1961 int64_t timeUs = (driftTimeUs + prevDriftTimeUs) >> 1; local 2389 trackProgressStatus(int64_t timeUs, status_t err) argument 2400 trackProgressStatus( size_t trackId, int64_t timeUs, status_t err) argument [all...] |
H A D | MediaCodec.cpp | 193 msg->setInt64("timeUs", presentationTimeUs); 224 msg->setInt64("timeUs", presentationTimeUs); 268 CHECK(response->findInt64("timeUs", presentationTimeUs)); 420 int64_t timeUs; local 421 CHECK(buffer->meta()->findInt64("timeUs", &timeUs)); 423 response->setInt64("timeUs", timeUs); 1220 msg->setInt64("timeUs", 0ll); 1307 int64_t timeUs; local [all...] |