Searched refs:outIdx (Results 1 – 4 of 4) sorted by relevance
/frameworks/av/media/tests/benchmark/src/native/decoder/ |
D | Decoder.cpp | 199 ssize_t outIdx = AMediaCodec_dequeueOutputBuffer(mCodec, &info, kQueueDequeueTimeoutUs); in decode() local 200 if (outIdx == AMEDIACODEC_INFO_OUTPUT_FORMAT_CHANGED) { in decode() 204 } else if (outIdx >= 0) { in decode() 206 onOutputAvailable(mCodec, outIdx, &info); in decode() 207 } else if (!(outIdx == AMEDIACODEC_INFO_TRY_AGAIN_LATER || in decode() 208 outIdx == AMEDIACODEC_INFO_OUTPUT_BUFFERS_CHANGED)) { in decode() 209 ALOGE("AMediaCodec_dequeueOutputBuffer returned invalid index %zd\n", outIdx); in decode() 210 mErrorCode = (media_status_t)outIdx; in decode()
|
/frameworks/av/media/tests/benchmark/src/native/encoder/ |
D | Encoder.cpp | 273 ssize_t outIdx = AMediaCodec_dequeueOutputBuffer(mCodec, &info, kQueueDequeueTimeoutUs); in encode() local 274 if (outIdx == AMEDIACODEC_INFO_OUTPUT_FORMAT_CHANGED) { in encode() 278 } else if (outIdx >= 0) { in encode() 280 onOutputAvailable(mCodec, outIdx, &info); in encode() 281 } else if (!(outIdx == AMEDIACODEC_INFO_TRY_AGAIN_LATER || in encode() 282 outIdx == AMEDIACODEC_INFO_OUTPUT_BUFFERS_CHANGED)) { in encode() 283 ALOGE("AMediaCodec_dequeueOutputBuffer returned invalid index %zd\n", outIdx); in encode() 284 mErrorCode = (media_status_t)outIdx; in encode()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | RingBuffer.java | 104 int outIdx = out.length - 1; in toArray() local 105 while (outIdx >= 0) { in toArray() 106 out[outIdx--] = (T) mBuffer[indexOf(inCursor--)]; in toArray()
|
D | ArrayUtils.java | 886 int outIdx = 0; in filterNotNull() local 889 result[outIdx++] = val[i]; in filterNotNull() 922 int outIdx = 0; in filter() local 925 result[outIdx++] = items[i]; in filter()
|