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

123456

/frameworks/base/media/java/android/media/
H A DMediaExtractor.java586 public native void seekTo(long timeUs, @SeekMode int mode); argument
H A DMediaMetadataRetriever.java230 * @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 DMediaPlayer.java5260 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 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.java227 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 Dandroid_media_MediaCodec.cpp332 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", &timestamp)) {
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 Dandroid_media_MediaCodec.h79 size_t offset, size_t size, int64_t timeUs, uint32_t flags,
H A Dandroid_media_MediaExtractor.cpp133 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 Dandroid_media_MediaExtractor.h61 status_t seekTo(int64_t timeUs, MediaSource::ReadOptions::SeekMode mode);
H A Dandroid_media_MediaMetadataRetriever.cpp247 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 Dandroid_media_MediaMuxer.cpp78 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 DAVIExtractor.h106 int64_t timeUs, MediaSource::ReadOptions::SeekMode mode,
H A DAudioSource.h106 void queueInputBuffer_l(MediaBuffer *buffer, int64_t timeUs);
H A DMP3Seeker.h31 // 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 DMPEG4Writer.h127 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 DMediaMuxer.h110 * @param timeUs the buffer's time stamp.
116 int64_t timeUs, uint32_t flags) ;
H A DNuMediaExtractor.h78 int64_t timeUs,
H A DStagefrightMetadataRetriever.h43 virtual VideoFrame *getFrameAtTime(int64_t timeUs, int option);
H A DVBRISeeker.h34 virtual bool getOffsetForTime(int64_t *timeUs, off64_t *pos);
H A DXINGSeeker.h32 virtual bool getOffsetForTime(int64_t *timeUs, off64_t *pos);
/frameworks/av/include/media/stagefright/foundation/
H A DANetworkSession.h78 bool timeValid = false, int64_t timeUs = -1ll);
/frameworks/av/media/libstagefright/filters/
H A DMediaFilter.cpp237 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 DANetworkSession.cpp103 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 DAVIExtractor.h106 int64_t timeUs, MediaSource::ReadOptions::SeekMode mode,
H A DAudioSource.h106 void queueInputBuffer_l(MediaBuffer *buffer, int64_t timeUs);

Completed in 209 milliseconds

123456