Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/omx/tests/
DOMXHarness.h47 IOMX::node_id node, omx_message *msg, int64_t timeoutUs = -1);
53 omx_message *msg, int64_t timeoutUs = -1);
DOMXHarness.cpp74 IOMX::node_id node, omx_message *msg, int64_t timeoutUs) { in dequeueMessageForNode() argument
76 node, NULL, NULL, msg, timeoutUs); in dequeueMessageForNode()
124 omx_message *msg, int64_t timeoutUs) { in dequeueMessageForNodeIgnoringBuffers() argument
125 int64_t finishBy = ALooper::GetNowUs() + timeoutUs; in dequeueMessageForNodeIgnoringBuffers()
146 status_t err = (timeoutUs < 0) in dequeueMessageForNodeIgnoringBuffers()
/frameworks/av/include/ndk/
DNdkMediaCodec.h128 ssize_t AMediaCodec_dequeueInputBuffer(AMediaCodec*, int64_t timeoutUs);
145 …ze_t AMediaCodec_dequeueOutputBuffer(AMediaCodec*, AMediaCodecBufferInfo *info, int64_t timeoutUs);
/frameworks/base/media/jni/
Dandroid_media_MediaCodec.h81 status_t dequeueInputBuffer(size_t *index, int64_t timeoutUs);
84 JNIEnv *env, jobject bufferInfo, size_t *index, int64_t timeoutUs);
Dandroid_media_MediaCodec.cpp290 status_t JMediaCodec::dequeueInputBuffer(size_t *index, int64_t timeoutUs) { in dequeueInputBuffer() argument
291 return mCodec->dequeueInputBuffer(index, timeoutUs); in dequeueInputBuffer()
295 JNIEnv *env, jobject bufferInfo, size_t *index, int64_t timeoutUs) { in dequeueOutputBuffer() argument
300 index, &offset, &size, &timeUs, &flags, timeoutUs); in dequeueOutputBuffer()
1124 JNIEnv *env, jobject thiz, jlong timeoutUs) { in android_media_MediaCodec_dequeueInputBuffer() argument
1135 status_t err = codec->dequeueInputBuffer(&index, timeoutUs); in android_media_MediaCodec_dequeueInputBuffer()
1145 JNIEnv *env, jobject thiz, jobject bufferInfo, jlong timeoutUs) { in android_media_MediaCodec_dequeueOutputBuffer() argument
1157 env, bufferInfo, &index, timeoutUs); in android_media_MediaCodec_dequeueOutputBuffer()
/frameworks/av/media/ndk/
DNdkMediaCodec.cpp246 ssize_t AMediaCodec_dequeueInputBuffer(AMediaCodec *mData, int64_t timeoutUs) { in AMediaCodec_dequeueInputBuffer() argument
248 status_t ret = mData->mCodec->dequeueInputBuffer(&idx, timeoutUs); in AMediaCodec_dequeueInputBuffer()
303 AMediaCodecBufferInfo *info, int64_t timeoutUs) { in AMediaCodec_dequeueOutputBuffer() argument
310 &flags, timeoutUs); in AMediaCodec_dequeueOutputBuffer()
/frameworks/base/media/java/android/media/
DMediaCodec.java982 public final int dequeueInputBuffer(long timeoutUs) { in dequeueInputBuffer() argument
983 int res = native_dequeueInputBuffer(timeoutUs); in dequeueInputBuffer()
992 private native final int native_dequeueInputBuffer(long timeoutUs); in native_dequeueInputBuffer() argument
1032 BufferInfo info, long timeoutUs) { in dequeueOutputBuffer() argument
1033 int res = native_dequeueOutputBuffer(info, timeoutUs); in dequeueOutputBuffer()
1045 BufferInfo info, long timeoutUs); in native_dequeueOutputBuffer() argument
/frameworks/av/media/libstagefright/
DMediaCodec.cpp421 status_t MediaCodec::dequeueInputBuffer(size_t *index, int64_t timeoutUs) { in dequeueInputBuffer() argument
423 msg->setInt64("timeoutUs", timeoutUs); in dequeueInputBuffer()
442 int64_t timeoutUs) { in dequeueOutputBuffer() argument
444 msg->setInt64("timeoutUs", timeoutUs); in dequeueOutputBuffer()
1403 int64_t timeoutUs; in onMessageReceived() local
1404 CHECK(msg->findInt64("timeoutUs", &timeoutUs)); in onMessageReceived()
1406 if (timeoutUs == 0ll) { in onMessageReceived()
1414 if (timeoutUs > 0ll) { in onMessageReceived()
1419 timeoutMsg->post(timeoutUs); in onMessageReceived()
1477 int64_t timeoutUs; in onMessageReceived() local
[all …]
/frameworks/av/include/media/stagefright/
DMediaCodec.h109 status_t dequeueInputBuffer(size_t *index, int64_t timeoutUs = 0ll);
117 int64_t timeoutUs = 0ll);