Searched refs:timeUs (Results 1 - 25 of 97) sorted by last modified time

1234

/frameworks/base/media/java/android/media/
H A DMediaExtractor.java290 public native void seekTo(long timeUs, int mode); argument
H A DMediaMetadataRetriever.java225 * @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 DMediaPlayer.java3218 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 DMediaTimeProvider.java29 * 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 DSubtitleTrack.java226 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 Dandroid_media_MediaCodec.cpp268 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", &timestamp)) {
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 Dandroid_media_MediaCodec.h66 size_t offset, size_t size, int64_t timeUs, uint32_t flags,
H A Dandroid_media_MediaExtractor.cpp194 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 Dandroid_media_MediaExtractor.h55 status_t seekTo(int64_t timeUs, MediaSource::ReadOptions::SeekMode mode);
H A Dandroid_media_MediaMetadataRetriever.cpp230 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 Dandroid_media_MediaMuxer.cpp75 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 DSimplePlayer.cpp494 int64_t timeUs; local
495 CHECK_EQ(mExtractor->getSampleTime(&timeUs), (status_t)OK);
501 timeUs,
H A Dcodec.cpp178 int64_t timeUs; local
179 err = extractor->getSampleTime(&timeUs);
188 timeUs,
214 0ll /* timeUs */,
H A Dmuxer.cpp160 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 Dsf2.cpp456 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 Dstagefright.cpp574 int64_t timeUs; local
575 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs));
578 seekTimeUs, timeUs, seekTimeUs - timeUs);
/frameworks/av/include/media/
H A DIMediaMetadataRetriever.h43 virtual sp<IMemory> getFrameAtTime(int64_t timeUs, int option) = 0;
H A DMediaMetadataRetrieverInterface.h43 virtual VideoFrame* getFrameAtTime(int64_t timeUs, int option) = 0;
55 virtual VideoFrame* getFrameAtTime(int64_t timeUs, int option) { return NULL; } argument
H A Dmediametadataretriever.h77 sp<IMemory> getFrameAtTime(int64_t timeUs, int option);
/frameworks/av/include/media/stagefright/
H A DAudioSource.h99 void queueInputBuffer_l(MediaBuffer *buffer, int64_t timeUs);
H A DMPEG4Writer.h106 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 DMediaMuxer.h110 * @param timeUs the buffer's time stamp.
116 int64_t timeUs, uint32_t flags) ;
H A DNuMediaExtractor.h66 int64_t timeUs,
/frameworks/av/include/media/stagefright/foundation/
H A DANetworkSession.h78 bool timeValid = false, int64_t timeUs = -1ll);
/frameworks/av/include/media/stagefright/timedtext/
H A DTimedTextDriver.h49 status_t seekToAsync(int64_t timeUs);

Completed in 4319 milliseconds

1234