/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/media/libstagefright/rtsp/ |
H A D | rtp_test.cpp | 213 int64_t timeUs; local 214 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); 217 buffer->range_length(), timeUs / 1E6);
|
H A D | ARTPWriter.cpp | 574 int64_t timeUs; local 575 CHECK(mediaBuf->meta_data()->findInt64(kKeyTime, &timeUs)); 577 uint32_t rtpTime = mRTPTimeBase + (timeUs * 9 / 100ll); 669 int64_t timeUs; local 670 CHECK(mediaBuf->meta_data()->findInt64(kKeyTime, &timeUs)); 672 uint32_t rtpTime = mRTPTimeBase + (timeUs * 9 / 100ll); 754 int64_t timeUs; local 755 CHECK(mediaBuf->meta_data()->findInt64(kKeyTime, &timeUs)); 756 uint32_t rtpTime = mRTPTimeBase + (timeUs / (isWide ? 250 : 125));
|
/frameworks/av/media/libstagefright/timedtext/ |
H A D | TimedText3GPPSource.cpp | 66 int64_t timeUs, const MediaBuffer *textBuffer, Parcel *parcel) { 82 (const uint8_t *)data, size, flag, timeUs / 1000, parcel); 65 extractAndAppendLocalDescriptions( int64_t timeUs, const MediaBuffer *textBuffer, Parcel *parcel) argument
|
H A D | TimedTextDriver.cpp | 143 status_t TimedTextDriver::seekToAsync(int64_t timeUs) { argument 144 mPlayer->seekToAsync(timeUs);
|
H A D | TimedTextPlayer.cpp | 60 void TimedTextPlayer::seekToAsync(int64_t timeUs) { argument 62 msg->setInt64("seekTimeUs", timeUs); 187 void TimedTextPlayer::postTextEvent(const sp<ParcelEvent>& parcel, int64_t timeUs) { argument 195 if (timeUs <= positionUs + kAdjustmentProcessingTimeUs) { 198 delayUs = timeUs - positionUs - kAdjustmentProcessingTimeUs;
|
H A D | TimedTextSRTSource.cpp | 279 int64_t timeUs, const AString &text, Parcel *parcel) { 287 (const uint8_t *)data, size, flag, timeUs / 1000, parcel); 278 extractAndAppendLocalDescriptions( int64_t timeUs, const AString &text, Parcel *parcel) argument
|
/frameworks/av/libvideoeditor/lvpp/ |
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 | 166 sp<IMemory> MetadataRetrieverClient::getFrameAtTime(int64_t timeUs, int option) argument 168 ALOGV("getFrameAtTime: time(%lld us) option(%d)", timeUs, option); 175 VideoFrame *frame = mRetriever->getFrameAtTime(timeUs, option);
|
/frameworks/av/media/libstagefright/ |
H A D | VBRISeeker.cpp | 148 bool VBRISeeker::getOffsetForTime(int64_t *timeUs, off64_t *pos) { argument 158 while (segmentIndex < mSegments.size() && nowUs < *timeUs) { 163 ALOGV("getOffsetForTime %lld us => 0x%08lx", *timeUs, *pos); 165 *timeUs = nowUs;
|
H A D | XINGSeeker.cpp | 46 bool XINGSeeker::getOffsetForTime(int64_t *timeUs, off64_t *pos) { argument 51 float percent = (float)(*timeUs) * 100 / mDurationUs;
|
H A D | AudioSource.cpp | 241 int64_t timeUs; local 242 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); 243 int64_t elapsedTimeUs = timeUs - mStartTimeUs; 279 const AudioRecord::Buffer& audioBuffer, int64_t timeUs) { 280 ALOGV("dataCallbackTimestamp: %lld us", timeUs); 288 if (mNumFramesReceived == 0 && timeUs < mStartTimeUs) { 290 ALOGV("Drop audio data at %lld/%lld us", timeUs, mStartTimeUs); 295 mInitialReadTimeUs = timeUs; 298 mStartTimeUs = timeUs - mStartTimeUs; 332 queueInputBuffer_l(lostAudioBuffer, timeUs); 278 dataCallbackTimestamp( const AudioRecord::Buffer& audioBuffer, int64_t timeUs) argument 349 queueInputBuffer_l(MediaBuffer *buffer, int64_t timeUs) argument [all...] |
H A D | NuMediaExtractor.cpp | 353 int64_t timeUs, MediaSource::ReadOptions::SeekMode mode) { 356 ssize_t minIndex = fetchTrackSamples(timeUs, mode); 352 seekTo( int64_t timeUs, MediaSource::ReadOptions::SeekMode mode) argument
|
H A D | StagefrightMetadataRetriever.cpp | 199 int64_t timeUs; local 200 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); 202 if (timeUs != thumbNailTime) { 206 ALOGV("thumbNailTime = %lld us, timeUs = %lld us, mime = %s", 207 thumbNailTime, timeUs, mime); 287 int64_t timeUs, int option) { 289 ALOGV("getFrameAtTime: %lld us option: %d", timeUs, option); 351 timeUs, option); 358 timeUs, option); 286 getFrameAtTime( int64_t timeUs, int option) argument
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | AnotherPacketSource.cpp | 113 int64_t timeUs; local 114 CHECK(buffer->meta()->findInt64("timeUs", &timeUs)); 118 mediaBuffer->meta_data()->setInt64(kKeyTime, timeUs); 144 int64_t timeUs; local 145 CHECK(buffer->meta()->findInt64("timeUs", &timeUs)); 146 ALOGV("queueAccessUnit timeUs=%lld us (%.2f secs)", timeUs, timeUs / 217 int64_t timeUs; local 235 nextBufferTime(int64_t *timeUs) argument [all...] |
/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 | 173 int64_t timeUs; local 174 err = extractor->getSampleTime(&timeUs); 183 timeUs, 209 0ll /* timeUs */,
|
/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/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;
|
/frameworks/av/media/libstagefright/codecs/aacenc/ |
H A D | AACEncoder.cpp | 260 int64_t timeUs; local 261 if (mInputBuffer->meta_data()->findInt64(kKeyDriftTime, &timeUs)) { 262 wallClockTimeUs = timeUs; 264 if (mInputBuffer->meta_data()->findInt64(kKeyAnchorTime, &timeUs)) { 265 mAnchorTimeUs = timeUs;
|
/frameworks/base/media/java/android/media/ |
H A D | MediaExtractor.java | 233 public native void seekTo(long timeUs, int mode); argument
|
H A D | MediaMetadataRetriever.java | 215 * @param timeUs The time position where the frame will be retrieved. 218 * When this happens, a frame nearby will be returned. If timeUs is 224 * that has a timestamp earlier than or the same as timeUs. Use 226 * that has a timestamp later than or the same as timeUs. Use 228 * that has a timestamp closest to or the same as timeUs. Use 230 * or may not be a sync frame but is closest to or the same as timeUs. 232 * to the other options if there is no sync frame located at timeUs. 237 public Bitmap getFrameAtTime(long timeUs, int option) { argument 243 return _getFrameAtTime(timeUs, option); 254 * @param timeUs Th 266 getFrameAtTime(long timeUs) argument 288 _getFrameAtTime(long timeUs, int option) argument [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_MediaMetadataRetriever.cpp | 218 static jobject android_media_MediaMetadataRetriever_getFrameAtTime(JNIEnv *env, jobject thiz, jlong timeUs, jint option) argument 220 ALOGV("getFrameAtTime: %lld us option: %d", timeUs, option); 229 sp<IMemory> frameMemory = retriever->getFrameAtTime(timeUs, option);
|