Searched refs:outIdx (Results 1 – 5 of 5) 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 | 92 int outIdx = out.length - 1; in toArray() local 93 while (outIdx >= 0) { in toArray() 94 out[outIdx--] = (T) mBuffer[indexOf(inCursor--)]; in toArray()
|
D | ArrayUtils.java | 752 int outIdx = 0; in filterNotNull() local 755 result[outIdx++] = val[i]; in filterNotNull() 788 int outIdx = 0; in filter() local 791 result[outIdx++] = items[i]; in filter()
|
/frameworks/ml/nn/common/operations/ |
D | Squeeze.cpp | 117 for (int32_t inIdx = 0, outIdx = 0; inIdx < numInputDims; ++inIdx) { in prepare() local 119 outDims[outIdx++] = getSizeOfDimension(inputShape, inIdx); in prepare()
|