Home
last modified time | relevance | path

Searched refs:timeoutUs (Results 1 – 10 of 10) 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.cpp110 status_t Harness::dequeueMessageForNode(omx_message *msg, int64_t timeoutUs) { in dequeueMessageForNode() argument
111 return dequeueMessageForNodeIgnoringBuffers(NULL, NULL, msg, timeoutUs); in dequeueMessageForNode()
158 omx_message *msg, int64_t timeoutUs) { in dequeueMessageForNodeIgnoringBuffers() argument
159 int64_t finishBy = ALooper::GetNowUs() + timeoutUs; in dequeueMessageForNodeIgnoringBuffers()
181 status_t err = (timeoutUs < 0) in dequeueMessageForNodeIgnoringBuffers()
/frameworks/av/media/ndk/include/media/
DNdkMediaCodec.h132 ssize_t AMediaCodec_dequeueInputBuffer(AMediaCodec*, int64_t timeoutUs);
178 int64_t timeoutUs);
/frameworks/base/media/jni/
Dandroid_media_MediaCodec.h98 status_t dequeueInputBuffer(size_t *index, int64_t timeoutUs);
101 JNIEnv *env, jobject bufferInfo, size_t *index, int64_t timeoutUs);
Dandroid_media_MediaCodec.cpp356 status_t JMediaCodec::dequeueInputBuffer(size_t *index, int64_t timeoutUs) { in dequeueInputBuffer() argument
357 return mCodec->dequeueInputBuffer(index, timeoutUs); in dequeueInputBuffer()
361 JNIEnv *env, jobject bufferInfo, size_t *index, int64_t timeoutUs) { in dequeueOutputBuffer() argument
366 index, &offset, &size, &timeUs, &flags, timeoutUs); in dequeueOutputBuffer()
1447 JNIEnv *env, jobject thiz, jlong timeoutUs) { in android_media_MediaCodec_dequeueInputBuffer() argument
1458 status_t err = codec->dequeueInputBuffer(&index, timeoutUs); in android_media_MediaCodec_dequeueInputBuffer()
1468 JNIEnv *env, jobject thiz, jobject bufferInfo, jlong timeoutUs) { in android_media_MediaCodec_dequeueOutputBuffer() argument
1480 env, bufferInfo, &index, timeoutUs); in android_media_MediaCodec_dequeueOutputBuffer()
/frameworks/av/media/ndk/
DNdkMediaCodec.cpp273 ssize_t AMediaCodec_dequeueInputBuffer(AMediaCodec *mData, int64_t timeoutUs) { in AMediaCodec_dequeueInputBuffer() argument
275 status_t ret = mData->mCodec->dequeueInputBuffer(&idx, timeoutUs); in AMediaCodec_dequeueInputBuffer()
334 AMediaCodecBufferInfo *info, int64_t timeoutUs) { in AMediaCodec_dequeueOutputBuffer() argument
341 &flags, timeoutUs); in AMediaCodec_dequeueOutputBuffer()
/frameworks/base/media/java/android/media/
DMediaCodec.java2568 public final int dequeueInputBuffer(long timeoutUs) { in dequeueInputBuffer() argument
2569 int res = native_dequeueInputBuffer(timeoutUs); in dequeueInputBuffer()
2578 private native final int native_dequeueInputBuffer(long timeoutUs); in native_dequeueInputBuffer() argument
2631 @NonNull BufferInfo info, long timeoutUs) { in dequeueOutputBuffer() argument
2632 int res = native_dequeueOutputBuffer(info, timeoutUs); in dequeueOutputBuffer()
2647 @NonNull BufferInfo info, long timeoutUs); in native_dequeueOutputBuffer() argument
/frameworks/av/media/libstagefright/
DMediaCodec.cpp1082 status_t MediaCodec::dequeueInputBuffer(size_t *index, int64_t timeoutUs) { in dequeueInputBuffer() argument
1084 msg->setInt64("timeoutUs", timeoutUs); in dequeueInputBuffer()
1103 int64_t timeoutUs) { in dequeueOutputBuffer() argument
1105 msg->setInt64("timeoutUs", timeoutUs); in dequeueOutputBuffer()
2332 int64_t timeoutUs; in onMessageReceived() local
2333 CHECK(msg->findInt64("timeoutUs", &timeoutUs)); in onMessageReceived()
2335 if (timeoutUs == 0ll) { in onMessageReceived()
2343 if (timeoutUs > 0ll) { in onMessageReceived()
2348 timeoutMsg->post(timeoutUs); in onMessageReceived()
2406 int64_t timeoutUs; in onMessageReceived() local
[all …]
DMediaCodecSource.cpp1010 int64_t timeoutUs = kStopTimeoutUs; in onMessageReceived() local
1028 timeoutUs += stopTimeOffsetUs; in onMessageReceived()
1031 timeoutUs = kMaxStopTimeOffsetUs; in onMessageReceived()
1040 timeoutMsg->post(timeoutUs); in onMessageReceived()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaCodec.h150 status_t dequeueInputBuffer(size_t *index, int64_t timeoutUs = 0ll);
158 int64_t timeoutUs = 0ll);