Searched refs:bufferIndex (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaSyncTest.java | 231 MediaSync sync, ByteBuffer byteBuffer, int bufferIndex) { in runCheckAudioBuffer() 234 decoderAudio.checkReturnedAudioBuffer(byteBuffer, bufferIndex); in runCheckAudioBuffer() 235 decoderAudio.releaseOutputBuffer(bufferIndex, NO_TIMESTAMP); in runCheckAudioBuffer() 292 MediaSync sync, ByteBuffer byteBuffer, int bufferIndex) { in runFlush() 295 returnedIndex[0] = bufferIndex; in runFlush() 437 MediaSync sync, ByteBuffer byteBuffer, int bufferIndex) { in runPlayAV() 440 decoderAudio.releaseOutputBuffer(bufferIndex, NO_TIMESTAMP); in runPlayAV() 553 public AudioBuffer(ByteBuffer byteBuffer, int bufferIndex) { in AudioBuffer() argument 555 mBufferIndex = bufferIndex; in AudioBuffer() 667 public void releaseOutputBuffer(int bufferIndex, long renderTimestampNs) { in releaseOutputBuffer() argument [all …]
|
D | MediaCodecTest.java | 876 int bufferIndex = mediaCodec.dequeueInputBuffer(TIME_OUT_US /* timeoutUs */); in runDecodeTillFirstOutput() local 877 if (bufferIndex != -1) { in runDecodeTillFirstOutput() 878 ByteBuffer buffer = mediaCodec.getInputBuffer(bufferIndex); in runDecodeTillFirstOutput() 883 mediaCodec.queueInputBuffer(bufferIndex, in runDecodeTillFirstOutput() 971 int bufferIndex = mediaCodec.dequeueInputBuffer(0); in runDecodeShortInput() local 972 if (bufferIndex != NO_BUFFER_INDEX) { in runDecodeShortInput() 973 ByteBuffer buffer = mediaCodec.getInputBuffers()[bufferIndex]; in runDecodeShortInput() 979 mediaCodec.queueInputBuffer(bufferIndex, in runDecodeShortInput()
|
D | EncodeVirtualDisplayWithCompositionTest.java | 354 int bufferIndex = mDecoder.dequeueOutputBuffer(info, DEFAULT_WAIT_TIMEOUT_US); in renderColorAndCheckResult() local 356 Log.i(TAG, "decoder dequeueOutputBuffer returned " + bufferIndex); in renderColorAndCheckResult() 358 if (bufferIndex < 0) { in renderColorAndCheckResult() 361 mDecoder.releaseOutputBuffer(bufferIndex, true); in renderColorAndCheckResult()
|
/cts/suite/cts/deviceTests/browserbench/assets/octane/ |
D | gbemu.js | 7556 var bufferIndex = 0; 7558 canvasData[canvasIndex++] = frameBuffer[bufferIndex++]; 7559 canvasData[canvasIndex++] = frameBuffer[bufferIndex++]; 7560 canvasData[canvasIndex++] = frameBuffer[bufferIndex++]; 7569 var bufferIndex = 0; 7571 swizzledFrame[canvasIndex++] = (frameBuffer[bufferIndex] >> 16) & 0xFF; //Red 7572 swizzledFrame[canvasIndex++] = (frameBuffer[bufferIndex] >> 8) & 0xFF; //Green 7573 swizzledFrame[canvasIndex++] = frameBuffer[bufferIndex++] & 0xFF; //Blue 7577 var bufferIndex = 0; 7580 while (bufferIndex < 69120) { [all …]
|