/frameworks/base/media/java/android/media/ |
H A D | MediaExtractor.java | 290 public native void seekTo(long timeUs, int mode); argument
|
H A D | MediaMetadataRetriever.java | 225 * @param timeUs The time position where the frame will be retrieved. 228 * When this happens, a frame nearby will be returned. If timeUs is 234 * that has a timestamp earlier than or the same as timeUs. Use 236 * that has a timestamp later than or the same as timeUs. Use 238 * that has a timestamp closest to or the same as timeUs. Use 240 * or may not be a sync frame but is closest to or the same as timeUs. 242 * to the other options if there is no sync frame located at timeUs. 247 public Bitmap getFrameAtTime(long timeUs, int option) { argument 253 return _getFrameAtTime(timeUs, option); 264 * @param timeUs Th 276 getFrameAtTime(long timeUs) argument 298 _getFrameAtTime(long timeUs, int option) argument [all...] |
H A D | MediaPlayer.java | 3218 long timeUs = getCurrentTimeUs(true, false); 3219 if (DEBUG) Log.d(TAG, "onSeekComplete at " + timeUs); 3225 listener.onSeek(timeUs); 3271 long timeUs, MediaTimeProvider.OnMediaTimeListener listener) { 3273 if (DEBUG) Log.d(TAG, "notifyAt " + timeUs); 3274 mTimes[registerListener(listener)] = timeUs; 3270 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 | 226 public void onTimedEvent(long timeUs) { argument 227 if (DEBUG) Log.d(TAG, "onTimedEvent " + timeUs); 229 long timeMs = timeUs / 1000; 241 public void onSeek(long timeUs) { argument 242 if (DEBUG) Log.d(TAG, "onSeek " + timeUs); 244 long timeMs = timeUs / 1000;
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaCodec.cpp | 268 size_t offset, size_t size, int64_t timeUs, uint32_t flags, 271 index, offset, size, timeUs, flags, errorDetailMsg); 297 int64_t timeUs; local 300 index, &offset, &size, &timeUs, &flags, timeoutUs); 310 env->CallVoidMethod(bufferInfo, method, (jint)offset, (jint)size, timeUs, flags); 473 if (!input && buffer->meta()->findInt64("timeUs", ×tamp)) { 611 int64_t timeUs; local 615 CHECK(msg->findInt64("timeUs", &timeUs)); 634 env->CallVoidMethod(obj, method, (jint)offset, (jint)size, timeUs, flag 266 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 | 66 size_t offset, size_t size, int64_t timeUs, uint32_t flags,
|
H A D | android_media_MediaExtractor.cpp | 194 int64_t timeUs, MediaSource::ReadOptions::SeekMode mode) { 195 return mImpl->seekTo(timeUs, mode); 435 JNIEnv *env, jobject thiz, jlong timeUs, jint mode) { 449 extractor->seekTo(timeUs, (MediaSource::ReadOptions::SeekMode)mode); 193 seekTo( int64_t timeUs, MediaSource::ReadOptions::SeekMode mode) argument 434 android_media_MediaExtractor_seekTo( JNIEnv *env, jobject thiz, jlong timeUs, jint mode) argument
|
H A D | android_media_MediaExtractor.h | 55 status_t seekTo(int64_t timeUs, MediaSource::ReadOptions::SeekMode mode);
|
H A D | android_media_MediaMetadataRetriever.cpp | 230 static jobject android_media_MediaMetadataRetriever_getFrameAtTime(JNIEnv *env, jobject thiz, jlong timeUs, jint option) argument 232 ALOGV("getFrameAtTime: %lld us option: %d", timeUs, option); 241 sp<IMemory> frameMemory = retriever->getFrameAtTime(timeUs, option);
|
H A D | android_media_MediaMuxer.cpp | 75 jobject byteBuf, jint offset, jint size, jlong timeUs, jint flags) { 121 status_t err = muxer->writeSampleData(buffer, trackIndex, timeUs, flags); 73 android_media_MediaMuxer_writeSampleData( JNIEnv *env, jclass clazz, jlong nativeObject, jint trackIndex, jobject byteBuf, jint offset, jint size, jlong timeUs, jint flags) argument
|
/frameworks/av/cmds/stagefright/ |
H A D | SimplePlayer.cpp | 494 int64_t timeUs; local 495 CHECK_EQ(mExtractor->getSampleTime(&timeUs), (status_t)OK); 501 timeUs,
|
H A D | codec.cpp | 178 int64_t timeUs; local 179 err = extractor->getSampleTime(&timeUs); 188 timeUs, 214 0ll /* timeUs */,
|
H A D | muxer.cpp | 160 int64_t timeUs; local 161 err = extractor->getSampleTime(&timeUs); 175 if (enableTrim && timeUs > trimStartTimeUs && 176 timeUs <= trimEndTimeUs) { 178 trimOffsetTimeUs = timeUs; 184 if (enableTrim && timeUs > trimEndTimeUs) { 191 timeUs - trimOffsetTimeUs, sampleFlags);
|
H A D | sf2.cpp | 456 outBuffer->meta()->setInt64("timeUs", 0); 506 int64_t timeUs; local 507 CHECK(inBuffer->meta_data()->findInt64(kKeyTime, &timeUs)); 509 outBuffer->meta()->setInt64("timeUs", timeUs);
|
H A D | stagefright.cpp | 574 int64_t timeUs; local 575 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); 578 seekTimeUs, timeUs, seekTimeUs - timeUs);
|
/frameworks/av/include/media/ |
H A D | IMediaMetadataRetriever.h | 43 virtual sp<IMemory> getFrameAtTime(int64_t timeUs, int option) = 0;
|
H A D | MediaMetadataRetrieverInterface.h | 43 virtual VideoFrame* getFrameAtTime(int64_t timeUs, int option) = 0; 55 virtual VideoFrame* getFrameAtTime(int64_t timeUs, int option) { return NULL; } argument
|
H A D | mediametadataretriever.h | 77 sp<IMemory> getFrameAtTime(int64_t timeUs, int option);
|
/frameworks/av/include/media/stagefright/ |
H A D | AudioSource.h | 99 void queueInputBuffer_l(MediaBuffer *buffer, int64_t timeUs);
|
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);
|
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 | 66 int64_t timeUs,
|
/frameworks/av/include/media/stagefright/foundation/ |
H A D | ANetworkSession.h | 78 bool timeValid = false, int64_t timeUs = -1ll);
|
/frameworks/av/include/media/stagefright/timedtext/ |
H A D | TimedTextDriver.h | 49 status_t seekToAsync(int64_t timeUs);
|