/frameworks/av/media/libstagefright/include/ |
H A D | MP3Seeker.h | 31 // Given a request seek time in "*timeUs", find the byte offset closest 32 // to that position and return it in "*pos". Update "*timeUs" to reflect 34 virtual bool getOffsetForTime(int64_t *timeUs, off64_t *pos) = 0;
|
H A D | VBRISeeker.h | 34 virtual bool getOffsetForTime(int64_t *timeUs, off64_t *pos);
|
H A D | XINGSeeker.h | 32 virtual bool getOffsetForTime(int64_t *timeUs, off64_t *pos);
|
H A D | StagefrightMetadataRetriever.h | 41 virtual VideoFrame *getFrameAtTime(int64_t timeUs, int option);
|
/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
|
H A D | IMediaMetadataRetriever.h | 40 virtual sp<IMemory> getFrameAtTime(int64_t timeUs, int option) = 0;
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | AnotherPacketSource.cpp | 116 int64_t timeUs; local 117 CHECK(buffer->meta()->findInt64("timeUs", &timeUs)); 121 mediaBuffer->meta_data()->setInt64(kKeyTime, timeUs); 147 CHECK(buffer->meta()->findInt64("timeUs", &mLastQueuedTimeUs)); 148 ALOGV("queueAccessUnit timeUs=%lld us (%.2f secs)", mLastQueuedTimeUs, mLastQueuedTimeUs / 1E6); 220 int64_t timeUs; local 221 if (buffer->meta()->findInt64("timeUs", &timeUs)) { 223 time1 = timeUs; 238 nextBufferTime(int64_t *timeUs) argument [all...] |
H A D | ESQueue.cpp | 124 const void *data, size_t size, int64_t timeUs) { 287 info.mTimestampUs = timeUs; 292 ALOGI("size = %d, timeUs = %.2f secs", size, timeUs / 1E6); 311 accessUnit->meta()->setInt64("timeUs", info.mTimestampUs); 378 int64_t timeUs = fetchTimestamp(payloadSize + 4); local 379 CHECK_GE(timeUs, 0ll); 380 accessUnit->meta()->setInt64("timeUs", timeUs); 482 int64_t timeUs local 123 appendData( const void *data, size_t size, int64_t timeUs) argument 497 int64_t timeUs = -1; local 623 int64_t timeUs = fetchTimestamp(nextScan); local 679 int64_t timeUs = fetchTimestamp(frameSize); local 836 int64_t timeUs = fetchTimestamp(offset); local 995 int64_t timeUs = fetchTimestamp(offset); local [all...] |
/frameworks/av/media/libstagefright/ |
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 | 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 | MediaMuxer.cpp | 136 int64_t timeUs, uint32_t flags) { 160 sampleMetaData->setInt64(kKeyTime, timeUs); 162 sampleMetaData->setInt64(kKeyDecodingTime, timeUs); 135 writeSampleData(const sp<ABuffer> &buffer, size_t trackIndex, int64_t timeUs, uint32_t flags) argument
|
/frameworks/av/media/libstagefright/timedtext/ |
H A D | TimedTextPlayer.h | 44 void seekToAsync(int64_t timeUs); 75 void postTextEvent(const sp<ParcelEvent>& parcel = NULL, int64_t timeUs = -1);
|
H A D | TimedTextSRTSource.h | 71 int64_t timeUs, const AString &text, Parcel *parcel); 73 // Compares the time range of the subtitle at index to the given timeUs. 74 // The time range of the subtitle to match with given timeUs is extended to 78 // called with seek options. Note that timeUs within gap ranges, such as 87 // returns 0, if timeUs is in [200, 400) 88 // returns -1, if timeUs >= 400, 89 // returns 1, if timeUs < 200. 90 int compareExtendedRangeAndTime(size_t index, int64_t timeUs);
|
H A D | TimedText3GPPSource.h | 50 int64_t timeUs, const MediaBuffer *textBuffer, Parcel *parcel);
|
H A D | TimedTextSRTSource.cpp | 270 int64_t timeUs, const AString &text, Parcel *parcel) { 278 (const uint8_t *)data, size, flag, timeUs / 1000, parcel); 283 int TimedTextSRTSource::compareExtendedRangeAndTime(size_t index, int64_t timeUs) { argument 288 if (timeUs >= startTimeUs && timeUs < endTimeUs) { 290 } else if (endTimeUs <= timeUs) { 269 extractAndAppendLocalDescriptions( int64_t timeUs, const AString &text, Parcel *parcel) argument
|
H A D | TimedTextPlayer.cpp | 69 void TimedTextPlayer::seekToAsync(int64_t timeUs) { argument 71 msg->setInt64("seekTimeUs", timeUs); 259 void TimedTextPlayer::postTextEvent(const sp<ParcelEvent>& parcel, int64_t timeUs) { argument 260 int64_t delayUs = delayUsFromCurrentTime(timeUs); 266 msg->setInt64("fireTimeUs", timeUs);
|
/frameworks/base/media/java/android/media/ |
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/av/cmds/stagefright/ |
H A D | muxer.cpp | 158 int64_t timeUs; local 159 err = extractor->getSampleTime(&timeUs); 173 if (enableTrim && timeUs > trimStartTimeUs && 174 timeUs <= trimEndTimeUs) { 176 trimOffsetTimeUs = timeUs; 182 if (enableTrim && timeUs > trimEndTimeUs) { 189 timeUs - trimOffsetTimeUs, sampleFlags);
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | Converter.cpp | 507 int64_t timeUs; local 508 CHECK(buffer->meta()->findInt64("timeUs", &timeUs)); 511 timeUs += copyUs; 512 buffer->meta()->setInt64("timeUs", timeUs); 553 int64_t timeUs; local 554 CHECK(buffer->meta()->findInt64("timeUs", &timeUs)); 556 partialAudioAU->meta()->setInt64("timeUs", timeU 592 int64_t timeUs = 0ll; local 646 int64_t timeUs; local [all...] |
/frameworks/av/include/media/stagefright/ |
H A D | MPEG4Writer.h | 106 void setStartTimestampUs(int64_t timeUs); 120 Chunk(Track *track, int64_t timeUs, List<MediaBuffer *> samples) argument 121 : mTrack(track), mTimeStampUs(timeUs), mSamples(samples) { 190 void trackProgressStatus(size_t trackId, int64_t timeUs, status_t err = OK);
|
/frameworks/av/media/libmedia/ |
H A D | IMediaMetadataRetriever.cpp | 119 sp<IMemory> getFrameAtTime(int64_t timeUs, int option) argument 121 ALOGV("getTimeAtTime: time(%lld us) and option(%d)", timeUs, option); 124 data.writeInt64(timeUs); 223 int64_t timeUs = data.readInt64(); local 225 ALOGV("getTimeAtTime: time(%lld us) and option(%d)", timeUs, option); 229 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/libstagefright/wifi-display/ |
H A D | MediaSender.cpp | 231 int64_t timeUs; local 233 CHECK(accessUnit->meta()->findInt64("timeUs", &timeUs)); 235 if (minTrackIndex < 0 || timeUs < minTimeUs) { 237 minTimeUs = timeUs; 258 int64_t timeUs; local 259 CHECK(accessUnit->meta()->findInt64("timeUs", &timeUs)); 260 tsPackets->meta()->setInt64("timeUs", timeUs); 453 int64_t timeUs = ALooper::GetNowUs(); local [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | StreamingSource.cpp | 176 int64_t timeUs; local 177 CHECK((*accessUnit)->meta()->findInt64("timeUs", &timeUs)); 178 ALOGV("dequeueAccessUnit timeUs=%lld us", timeUs);
|
/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);
|