/frameworks/base/media/java/android/media/ |
H A D | MediaExtractor.java | 586 public native void seekTo(long timeUs, @SeekMode int mode); argument
|
H A D | MediaMetadataRetriever.java | 230 * @param timeUs The time position where the frame will be retrieved. 233 * When this happens, a frame nearby will be returned. If timeUs is 239 * that has a timestamp earlier than or the same as timeUs. Use 241 * that has a timestamp later than or the same as timeUs. Use 243 * that has a timestamp closest to or the same as timeUs. Use 245 * or may not be a sync frame but is closest to or the same as timeUs. 247 * to the other options if there is no sync frame located at timeUs. 252 public Bitmap getFrameAtTime(long timeUs, int option) { argument 258 return _getFrameAtTime(timeUs, option); 269 * @param timeUs Th 281 getFrameAtTime(long timeUs) argument 303 _getFrameAtTime(long timeUs, int option) argument [all...] |
H A D | MediaPlayer.java | 5260 long timeUs = getCurrentTimeUs(true, false); 5261 if (DEBUG) Log.d(TAG, "onSeekComplete at " + timeUs); 5267 listener.onSeek(timeUs); 5319 long timeUs, MediaTimeProvider.OnMediaTimeListener listener) { 5321 if (DEBUG) Log.d(TAG, "notifyAt " + timeUs); 5322 mTimes[registerListener(listener)] = timeUs; 5318 notifyAt( long timeUs, MediaTimeProvider.OnMediaTimeListener listener) argument
|
H A D | MediaTimeProvider.java | 29 * registers the listener to get seek and stop notifications. If timeUs is 33 * is larger than or equal to timeUs. 35 * @param timeUs presentation time to get timed event callback at (or 38 public void notifyAt(long timeUs, OnMediaTimeListener listener); argument 72 * @param timeUs current media time 74 void onTimedEvent(long timeUs); argument 79 * @param timeUs current media time 81 void onSeek(long timeUs); argument
|
H A D | SubtitleTrack.java | 227 public void onTimedEvent(long timeUs) { argument 228 if (DEBUG) Log.d(TAG, "onTimedEvent " + timeUs); 230 long timeMs = timeUs / 1000; 242 public void onSeek(long timeUs) { argument 243 if (DEBUG) Log.d(TAG, "onSeek " + timeUs); 245 long timeMs = timeUs / 1000;
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaCodec.cpp | 332 size_t offset, size_t size, int64_t timeUs, uint32_t flags, 335 index, offset, size, timeUs, flags, errorDetailMsg); 362 int64_t timeUs; local 365 index, &offset, &size, &timeUs, &flags, timeoutUs); 375 env->CallVoidMethod(bufferInfo, method, (jint)offset, (jint)size, timeUs, flags); 545 if (!input && buffer->meta()->findInt64("timeUs", ×tamp)) { 701 int64_t timeUs; local 705 CHECK(msg->findInt64("timeUs", &timeUs)); 724 env->CallVoidMethod(obj, method, (jint)offset, (jint)size, timeUs, flag 330 queueInputBuffer( size_t index, size_t offset, size_t size, int64_t timeUs, uint32_t flags, AString *errorDetailMsg) argument [all...] |
H A D | android_media_MediaCodec.h | 79 size_t offset, size_t size, int64_t timeUs, uint32_t flags,
|
H A D | android_media_MediaExtractor.cpp | 133 int64_t timeUs, MediaSource::ReadOptions::SeekMode mode) { 134 return mImpl->seekTo(timeUs, mode); 381 JNIEnv *env, jobject thiz, jlong timeUs, jint mode) { 395 extractor->seekTo(timeUs, (MediaSource::ReadOptions::SeekMode)mode); 132 seekTo( int64_t timeUs, MediaSource::ReadOptions::SeekMode mode) argument 380 android_media_MediaExtractor_seekTo( JNIEnv *env, jobject thiz, jlong timeUs, jint mode) argument
|
H A D | android_media_MediaExtractor.h | 61 status_t seekTo(int64_t timeUs, MediaSource::ReadOptions::SeekMode mode);
|
H A D | android_media_MediaMetadataRetriever.cpp | 247 static jobject android_media_MediaMetadataRetriever_getFrameAtTime(JNIEnv *env, jobject thiz, jlong timeUs, jint option) argument 249 ALOGV("getFrameAtTime: %lld us option: %d", (long long)timeUs, option); 258 sp<IMemory> frameMemory = retriever->getFrameAtTime(timeUs, option);
|
H A D | android_media_MediaMuxer.cpp | 78 jobject byteBuf, jint offset, jint size, jlong timeUs, jint flags) { 124 status_t err = muxer->writeSampleData(buffer, trackIndex, timeUs, flags); 76 android_media_MediaMuxer_writeSampleData( JNIEnv *env, jclass , jlong nativeObject, jint trackIndex, jobject byteBuf, jint offset, jint size, jlong timeUs, jint flags) argument
|
/frameworks/av/include/media/stagefright/ |
H A D | AVIExtractor.h | 106 int64_t timeUs, MediaSource::ReadOptions::SeekMode mode,
|
H A D | AudioSource.h | 106 void queueInputBuffer_l(MediaBuffer *buffer, int64_t timeUs);
|
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 | MPEG4Writer.h | 127 void setStartTimestampUs(int64_t timeUs); 141 Chunk(Track *track, int64_t timeUs, List<MediaBuffer *> samples) argument 142 : mTrack(track), mTimeStampUs(timeUs), mSamples(samples) { 215 void trackProgressStatus(size_t trackId, int64_t timeUs, status_t err = OK);
|
H A D | MediaMuxer.h | 110 * @param timeUs the buffer's time stamp. 116 int64_t timeUs, uint32_t flags) ;
|
H A D | NuMediaExtractor.h | 78 int64_t timeUs,
|
H A D | StagefrightMetadataRetriever.h | 43 virtual VideoFrame *getFrameAtTime(int64_t timeUs, int option);
|
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);
|
/frameworks/av/include/media/stagefright/foundation/ |
H A D | ANetworkSession.h | 78 bool timeValid = false, int64_t timeUs = -1ll);
|
/frameworks/av/media/libstagefright/filters/ |
H A D | MediaFilter.cpp | 237 info.mData->meta()->setInt64("timeUs", 0); 356 int64_t timeUs; local 357 CHECK(inputInfo->mData->meta()->findInt64("timeUs", &timeUs)); 358 outputInfo->mData->meta()->setInt64("timeUs", timeUs); 714 inputInfo->mData->meta()->setInt64("timeUs", item.mTimestamp / 1000);
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | ANetworkSession.cpp | 103 const void *data, ssize_t size, bool timeValid, int64_t timeUs); 692 const void *data, ssize_t size, bool timeValid, int64_t timeUs) { 770 frag.mTimeUs = timeUs; 1207 bool timeValid, int64_t timeUs) { 1218 status_t err = session->sendRequest(data, size, timeValid, timeUs); 691 sendRequest( const void *data, ssize_t size, bool timeValid, int64_t timeUs) argument 1205 sendRequest( int32_t sessionID, const void *data, ssize_t size, bool timeValid, int64_t timeUs) argument
|
/frameworks/av/media/libstagefright/foundation/include/ |
H A D | AVIExtractor.h | 106 int64_t timeUs, MediaSource::ReadOptions::SeekMode mode,
|
H A D | AudioSource.h | 106 void queueInputBuffer_l(MediaBuffer *buffer, int64_t timeUs);
|