Home
last modified time | relevance | path

Searched refs:timeoutUs (Results 1 – 12 of 12) sorted by relevance

/frameworks/av/media/libstagefright/omx/tests/
DOMXHarness.h52 status_t dequeueMessageForNode(omx_message *msg, int64_t timeoutUs = -1);
57 omx_message *msg, int64_t timeoutUs = -1);
DOMXHarness.cpp103 status_t Harness::dequeueMessageForNode(omx_message *msg, int64_t timeoutUs) { in dequeueMessageForNode() argument
104 return dequeueMessageForNodeIgnoringBuffers(NULL, NULL, msg, timeoutUs); in dequeueMessageForNode()
151 omx_message *msg, int64_t timeoutUs) { in dequeueMessageForNodeIgnoringBuffers() argument
152 int64_t finishBy = ALooper::GetNowUs() + timeoutUs; in dequeueMessageForNodeIgnoringBuffers()
174 status_t err = (timeoutUs < 0) in dequeueMessageForNodeIgnoringBuffers()
/frameworks/base/media/jni/
Dandroid_media_MediaCodec.h100 status_t dequeueInputBuffer(size_t *index, int64_t timeoutUs);
103 JNIEnv *env, jobject bufferInfo, size_t *index, int64_t timeoutUs);
Dandroid_media_MediaCodec.cpp373 status_t JMediaCodec::dequeueInputBuffer(size_t *index, int64_t timeoutUs) { in dequeueInputBuffer() argument
374 return mCodec->dequeueInputBuffer(index, timeoutUs); in dequeueInputBuffer()
378 JNIEnv *env, jobject bufferInfo, size_t *index, int64_t timeoutUs) { in dequeueOutputBuffer() argument
383 index, &offset, &size, &timeUs, &flags, timeoutUs); in dequeueOutputBuffer()
1595 JNIEnv *env, jobject thiz, jlong timeoutUs) { in android_media_MediaCodec_dequeueInputBuffer() argument
1606 status_t err = codec->dequeueInputBuffer(&index, timeoutUs); in android_media_MediaCodec_dequeueInputBuffer()
1616 JNIEnv *env, jobject thiz, jobject bufferInfo, jlong timeoutUs) { in android_media_MediaCodec_dequeueOutputBuffer() argument
1628 env, bufferInfo, &index, timeoutUs); in android_media_MediaCodec_dequeueOutputBuffer()
/frameworks/av/media/ndk/include/media/
DNdkMediaCodec.h193 ssize_t AMediaCodec_dequeueInputBuffer(AMediaCodec*, int64_t timeoutUs) __INTRODUCED_IN(21);
240 int64_t timeoutUs) __INTRODUCED_IN(21);
/frameworks/base/media/java/android/media/
DMediaCodec.java2725 public final int dequeueInputBuffer(long timeoutUs) { in dequeueInputBuffer() argument
2726 int res = native_dequeueInputBuffer(timeoutUs); in dequeueInputBuffer()
2735 private native final int native_dequeueInputBuffer(long timeoutUs); in native_dequeueInputBuffer() argument
2788 @NonNull BufferInfo info, long timeoutUs) { in dequeueOutputBuffer() argument
2789 int res = native_dequeueOutputBuffer(info, timeoutUs); in dequeueOutputBuffer()
2804 @NonNull BufferInfo info, long timeoutUs); in native_dequeueOutputBuffer() argument
/frameworks/av/media/ndk/
DNdkMediaCodec.cpp481 ssize_t AMediaCodec_dequeueInputBuffer(AMediaCodec *mData, int64_t timeoutUs) { in AMediaCodec_dequeueInputBuffer() argument
483 status_t ret = mData->mCodec->dequeueInputBuffer(&idx, timeoutUs); in AMediaCodec_dequeueInputBuffer()
568 AMediaCodecBufferInfo *info, int64_t timeoutUs) { in AMediaCodec_dequeueOutputBuffer() argument
575 &flags, timeoutUs); in AMediaCodec_dequeueOutputBuffer()
/frameworks/av/media/libstagefright/
DMediaCodec.cpp1399 status_t MediaCodec::dequeueInputBuffer(size_t *index, int64_t timeoutUs) { in dequeueInputBuffer() argument
1401 msg->setInt64("timeoutUs", timeoutUs); in dequeueInputBuffer()
1420 int64_t timeoutUs) { in dequeueOutputBuffer() argument
1422 msg->setInt64("timeoutUs", timeoutUs); in dequeueOutputBuffer()
2737 int64_t timeoutUs; in onMessageReceived() local
2738 CHECK(msg->findInt64("timeoutUs", &timeoutUs)); in onMessageReceived()
2740 if (timeoutUs == 0LL) { in onMessageReceived()
2748 if (timeoutUs > 0LL) { in onMessageReceived()
2753 timeoutMsg->post(timeoutUs); in onMessageReceived()
2811 int64_t timeoutUs; in onMessageReceived() local
[all …]
DMediaCodecSource.cpp1030 int64_t timeoutUs = kStopTimeoutUs; in onMessageReceived() local
1048 timeoutUs += stopTimeOffsetUs; in onMessageReceived()
1051 timeoutUs = kMaxStopTimeOffsetUs; in onMessageReceived()
1060 timeoutMsg->post(timeoutUs); in onMessageReceived()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaCodec.h152 status_t dequeueInputBuffer(size_t *index, int64_t timeoutUs = 0ll);
160 int64_t timeoutUs = 0ll);
/frameworks/av/media/bufferpool/1.0/
DClientManager.cpp164 int64_t timeoutUs = getTimestampNow() + kRegisterTimeoutUs; in registerSender() local
214 } while (getTimestampNow() < timeoutUs); in registerSender()
/frameworks/av/media/bufferpool/2.0/
DClientManager.cpp171 int64_t timeoutUs = getTimestampNow() + kRegisterTimeoutUs; in registerSender() local
222 } while (getTimestampNow() < timeoutUs); in registerSender()