/frameworks/base/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/base/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;
|
H A D | mediametadataretriever.h | 74 sp<IMemory> getFrameAtTime(int64_t timeUs, int option);
|
/frameworks/base/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 LOGV("queueAccessUnit timeUs=%lld us (%.2f secs)", timeUs, timeUs / 201 nextBufferTime(int64_t *timeUs) argument [all...] |
H A D | ESQueue.cpp | 121 const void *data, size_t size, int64_t timeUs) { 278 info.mTimestampUs = timeUs; 283 LOGI("size = %d, timeUs = %.2f secs", size, timeUs / 1E6); 382 int64_t timeUs = -1; local 388 timeUs = tmpUs; 408 if (timeUs >= 0) { 409 accessUnit->meta()->setInt64("timeUs", timeUs); 418 int64_t timeUs local 120 appendData( const void *data, size_t size, int64_t timeUs) argument 543 int64_t timeUs = fetchTimestamp(nextScan); local 599 int64_t timeUs = fetchTimestamp(frameSize); local 756 int64_t timeUs = fetchTimestamp(offset); local 915 int64_t timeUs = fetchTimestamp(offset); local [all...] |
H A D | AnotherPacketSource.h | 46 status_t nextBufferTime(int64_t *timeUs);
|
/frameworks/base/media/java/android/media/ |
H A D | MediaMetadataRetriever.java | 197 * @param timeUs The time position where the frame will be retrieved. 200 * When this happens, a frame nearby will be returned. If timeUs is 206 * that has a timestamp earlier than or the same as timeUs. Use 208 * that has a timestamp later than or the same as timeUs. Use 210 * that has a timestamp closest to or the same as timeUs. Use 212 * or may not be a sync frame but is closest to or the same as timeUs. 214 * to the other options if there is no sync frame located at timeUs. 219 public Bitmap getFrameAtTime(long timeUs, int option) { argument 225 return _getFrameAtTime(timeUs, option); 236 * @param timeUs Th 248 getFrameAtTime(long timeUs) argument 270 _getFrameAtTime(long timeUs, int option) argument [all...] |
/frameworks/base/media/libstagefright/ |
H A D | AudioSource.cpp | 220 int64_t timeUs; local 221 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); 222 int64_t elapsedTimeUs = timeUs - mStartTimeUs; 258 const AudioRecord::Buffer& audioBuffer, int64_t timeUs) { 259 LOGV("dataCallbackTimestamp: %lld us", timeUs); 267 if (mNumFramesReceived == 0 && timeUs < mStartTimeUs) { 269 LOGV("Drop audio data at %lld/%lld us", timeUs, mStartTimeUs); 274 mInitialReadTimeUs = timeUs; 277 mStartTimeUs = timeUs - mStartTimeUs; 320 buffer->meta_data()->setInt64(kKeyDriftTime, timeUs 257 dataCallbackTimestamp( const AudioRecord::Buffer& audioBuffer, int64_t timeUs) argument [all...] |
H A D | VBRISeeker.cpp | 142 bool VBRISeeker::getOffsetForTime(int64_t *timeUs, off64_t *pos) { argument 152 while (segmentIndex < mSegments.size() && nowUs < *timeUs) { 157 LOGV("getOffsetForTime %lld us => 0x%08lx", *timeUs, *pos); 159 *timeUs = nowUs;
|
H A D | StagefrightMetadataRetriever.cpp | 196 int64_t timeUs; local 197 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); 199 if (timeUs != thumbNailTime) { 203 LOGV("thumbNailTime = %lld us, timeUs = %lld us, mime = %s", 204 thumbNailTime, timeUs, mime); 277 int64_t timeUs, int option) { 279 LOGV("getFrameAtTime: %lld us option: %d", timeUs, option); 341 timeUs, option); 348 timeUs, option); 276 getFrameAtTime( int64_t timeUs, int option) argument
|
H A D | MPEG2TSWriter.cpp | 243 out->meta()->setInt64("timeUs", 0ll); 263 int64_t timeUs; local 264 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); 265 copy->meta()->setInt64("timeUs", timeUs); 294 int64_t timeUs; local 295 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); 297 mAACBuffer->meta()->setInt64("timeUs", timeUs); 450 int64_t timeUs; local 660 int64_t timeUs = source->lastAccessUnitTimeUs(); local 869 int64_t timeUs; local [all...] |
/frameworks/base/media/libstagefright/timedtext/ |
H A D | TimedTextPlayer.cpp | 236 int64_t positionUs, timeUs; local 244 mTextBuffer->meta_data()->findInt64(kKeyTime, &timeUs); 248 &mText, &timeUs, &endTimeUs, &options) != OK) { 253 if (timeUs > 0) { 254 extractAndAppendLocalDescriptions(timeUs); 267 if (timeUs <= positionUs + 100000ll) { 270 postTextEvent(timeUs - positionUs - 100000ll); 347 status_t TimedTextPlayer::extractAndAppendLocalDescriptions(int64_t timeUs) { argument 373 (const uint8_t *)data, size, flag, timeUs / 1000, &mData);
|
/frameworks/base/include/media/stagefright/ |
H A D | MPEG4Writer.h | 98 void setStartTimestampUs(int64_t timeUs); 112 Chunk(Track *track, int64_t timeUs, List<MediaBuffer *> samples) argument 113 : mTrack(track), mTimeStampUs(timeUs), mSamples(samples) { 176 void trackProgressStatus(size_t trackId, int64_t timeUs, status_t err = OK);
|
/frameworks/base/media/libmedia/ |
H A D | IMediaMetadataRetriever.cpp | 119 sp<IMemory> getFrameAtTime(int64_t timeUs, int option) argument 121 LOGV("getTimeAtTime: time(%lld us) and option(%d)", timeUs, option); 124 data.writeInt64(timeUs); 209 int64_t timeUs = data.readInt64(); local 211 LOGV("getTimeAtTime: time(%lld us) and option(%d)", timeUs, option); 215 sp<IMemory> bitmap = getFrameAtTime(timeUs, option);
|
H A D | mediametadataretriever.cpp | 127 sp<IMemory> MediaMetadataRetriever::getFrameAtTime(int64_t timeUs, int option) argument 129 LOGV("getFrameAtTime: time(%lld us) option(%d)", timeUs, option); 135 return mRetriever->getFrameAtTime(timeUs, option);
|
/frameworks/base/media/libstagefright/codecs/amrnb/enc/ |
H A D | AMRNBEncoder.cpp | 177 int64_t timeUs; local 178 if (mInputBuffer->meta_data()->findInt64(kKeyDriftTime, &timeUs)) { 179 wallClockTimeUs = timeUs; 181 if (mInputBuffer->meta_data()->findInt64(kKeyAnchorTime, &timeUs)) { 182 mAnchorTimeUs = timeUs;
|
/frameworks/base/media/libstagefright/codecs/amrwbenc/ |
H A D | AMRWBEncoder.cpp | 227 int64_t timeUs; local 228 if (mInputBuffer->meta_data()->findInt64(kKeyDriftTime, &timeUs)) { 229 wallClockTimeUs = timeUs; 231 if (mInputBuffer->meta_data()->findInt64(kKeyAnchorTime, &timeUs)) { 232 mAnchorTimeUs = timeUs;
|
/frameworks/media/libvideoeditor/lvpp/ |
H A D | PreviewPlayer.cpp | 670 status_t PreviewPlayer::seekTo(int64_t timeUs) { argument 674 return seekTo_l(timeUs); 903 int64_t timeUs; local 904 CHECK(mVideoBuffer->meta_data()->findInt64(kKeyTime, &timeUs)); 908 mVideoTimeUs = timeUs; 913 int64_t playbackTimeRemaining = (mPlayEndTimeMsec*1000LL) - timeUs; 924 finishSeekIfNecessary(timeUs); 945 mTimeSourceDeltaUs = ts->getRealTimeUs() - timeUs; 956 int64_t latenessUs = nowUs - timeUs; 963 ts->getRealTimeUs(),timeUs); 1554 int64_t timeUs; local [all...] |
/frameworks/base/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);
|
/frameworks/base/media/libstagefright/codecs/m4v_h263/enc/ |
H A D | M4vH263Encoder.cpp | 417 int64_t timeUs; local 418 CHECK(mInputBuffer->meta_data()->findInt64(kKeyTime, &timeUs)); 424 (mNextModTimeUs > timeUs || mPrevTimestampUs == timeUs)) { 434 CHECK(mPrevTimestampUs < timeUs); 435 mPrevTimestampUs = timeUs; 438 outputBuffer->meta_data()->setInt64(kKeyTime, timeUs); 453 vin.timestamp = (timeUs + 500) / 1000; // in ms
|
/frameworks/base/media/libmediaplayerservice/ |
H A D | MetadataRetrieverClient.h | 49 virtual sp<IMemory> getFrameAtTime(int64_t timeUs, int option);
|