Home
last modified time | relevance | path

Searched refs:outputBuffer (Results 1 – 25 of 30) sorted by relevance

12

/external/sonic/
DSonic.java19 private short outputBuffer[]; field in Sonic
187 outputBuffer = new short[maxRequired*numChannels]; in allocateStreamBuffers()
246 outputBuffer = resize(outputBuffer, outputBufferSize); in enlargeOutputBufferIfNeeded()
339 move(outputBuffer, numOutputSamples, samples, position, numSamples); in copyToOutput()
374 samples[xSample++] = (outputBuffer[xSample])/32767.0f; in readFloatFromStream()
376 move(outputBuffer, 0, outputBuffer, numSamples, remainingSamples); in readFloatFromStream()
397 move(samples, 0, outputBuffer, 0, numSamples); in readShortFromStream()
398 move(outputBuffer, 0, outputBuffer, numSamples, remainingSamples); in readShortFromStream()
420 samples[xSample] = (byte)((outputBuffer[xSample] >> 8) + 128); in readUnsignedByteFromStream()
422 move(outputBuffer, 0, outputBuffer, numSamples, remainingSamples); in readUnsignedByteFromStream()
[all …]
Dsonic.c23 short *outputBuffer; member
187 if(stream->outputBuffer != NULL) { in freeStreamBuffers()
188 free(stream->outputBuffer); in freeStreamBuffers()
223 stream->outputBuffer = (short *)calloc(maxRequired, sizeof(short)*numChannels); in allocateStreamBuffers()
224 if(stream->outputBuffer == NULL) { in allocateStreamBuffers()
316 stream->outputBuffer = (short *)realloc(stream->outputBuffer, in enlargeOutputBufferIfNeeded()
318 if(stream->outputBuffer == NULL) { in enlargeOutputBufferIfNeeded()
428 memcpy(stream->outputBuffer + stream->numOutputSamples*stream->numChannels, in copyToOutput()
472 buffer = stream->outputBuffer; in sonicReadFloatFromStream()
478 memmove(stream->outputBuffer, stream->outputBuffer + numSamples*stream->numChannels, in sonicReadFloatFromStream()
[all …]
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DWaveDataRingBuffer.java130 double outputBuffer[] = new double[mWaveRecord.length]; in getWaveRecord() local
134 System.arraycopy(mWaveRecord, 0, outputBuffer, 0, mIndex); in getWaveRecord()
135 Arrays.fill(outputBuffer, mIndex+1, outputBuffer.length-1, 0); in getWaveRecord()
138 System.arraycopy(mWaveRecord, mIndex, outputBuffer, 0, mWaveRecord.length - mIndex); in getWaveRecord()
139 System.arraycopy(mWaveRecord, 0, outputBuffer, mWaveRecord.length - mIndex, mIndex); in getWaveRecord()
142 return outputBuffer; in getWaveRecord()
/external/libmojo/mojo/public/js/
Dunicode.js28 function encodeUtf8String(str, outputBuffer) { argument
30 if (outputBuffer.length < utf8String.length)
32 for (var i = 0; i < outputBuffer.length && i < utf8String.length; i++)
33 outputBuffer[i] = utf8String.charCodeAt(i);
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLSignatureRawECDSA.java91 byte[] outputBuffer = new byte[output_size]; in engineSign()
94 NativeCrypto.ECDSA_sign(buffer.toByteArray(), outputBuffer, key.getNativeRef()); in engineSign()
103 System.arraycopy(outputBuffer, 0, newBuffer, 0, bytes_written); in engineSign()
104 outputBuffer = newBuffer; in engineSign()
106 return outputBuffer; in engineSign()
DOpenSSLSignatureRawRSA.java144 byte[] outputBuffer = new byte[inputBuffer.length]; in engineSign()
146 NativeCrypto.RSA_private_encrypt(inputOffset, inputBuffer, outputBuffer, in engineSign()
148 return outputBuffer; in engineSign()
174 byte[] outputBuffer = new byte[inputBuffer.length]; in engineVerify()
179 outputBuffer, key.getNativeRef(), NativeConstants.RSA_PKCS1_PADDING); in engineVerify()
188 if (inputBuffer[i] != outputBuffer[i]) { in engineVerify()
/external/skqp/tests/
DPDFDeflateWStreamTest.cpp37 uint8_t outputBuffer[kBufferSize]; in stream_inflate() local
44 flateData.next_out = outputBuffer; in stream_inflate()
66 if (!dst->write(outputBuffer, kBufferSize - flateData.avail_out)) { in stream_inflate()
70 flateData.next_out = outputBuffer; in stream_inflate()
89 if (!dst->write(outputBuffer, kBufferSize - flateData.avail_out)) { in stream_inflate()
93 flateData.next_out = outputBuffer; in stream_inflate()
/external/skia/tests/
DPDFDeflateWStreamTest.cpp37 uint8_t outputBuffer[kBufferSize]; in stream_inflate() local
44 flateData.next_out = outputBuffer; in stream_inflate()
66 if (!dst->write(outputBuffer, kBufferSize - flateData.avail_out)) { in stream_inflate()
70 flateData.next_out = outputBuffer; in stream_inflate()
89 if (!dst->write(outputBuffer, kBufferSize - flateData.avail_out)) { in stream_inflate()
93 flateData.next_out = outputBuffer; in stream_inflate()
/external/deqp/modules/gles31/functional/
Des31fBasicComputeShaderTests.cpp156 const Buffer outputBuffer (m_context.getRenderContext()); in iterate() local
201 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, *outputBuffer); in iterate()
203 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, 1, *outputBuffer); in iterate()
278 const Buffer outputBuffer (m_context.getRenderContext()); in iterate() local
324 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, *outputBuffer); in iterate()
326 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, blockInfo.bufferBinding, *outputBuffer); in iterate()
403 const Buffer outputBuffer (m_context.getRenderContext()); in iterate() local
424 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, *outputBuffer); in iterate()
434 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, *outputBuffer); in iterate()
608 const Buffer outputBuffer (m_context.getRenderContext()); in iterate() local
[all …]
Des31fShaderSharedVarTests.cpp179 Buffer outputBuffer (m_context.getRenderContext()); in iterate() local
306 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, *outputBuffer); in iterate()
308 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, *outputBuffer); in iterate()
Des31fComputeShaderBuiltinVarTests.cpp219 Buffer outputBuffer (m_context.getRenderContext()); in iterate() local
226 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, *outputBuffer); in iterate()
228 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, *outputBuffer); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesBufferSparseBinding.cpp283 …const Unique<VkBuffer> outputBuffer(createBuffer(deviceInterface, getDevice(), &outputBufferCrea… in iterate() local
284 …BufferAlloc(bindBuffer(deviceInterface, getDevice(), getAllocator(), *outputBuffer, MemoryRequirem… in iterate()
289 deviceInterface.cmdCopyBuffer(*commandBuffer, *sparseBuffer, *outputBuffer, 1u, &bufferCopy); in iterate()
296 *outputBuffer, in iterate()
DvktSparseResourcesBufferSparseResidency.cpp278 …const Unique<VkBuffer> outputBuffer (createBuffer(deviceInterface, getDevice(), &outputBufferC… in iterate() local
279 …fferAlloc (bindBuffer(deviceInterface, getDevice(), getAllocator(), *outputBuffer, MemoryRequirem… in iterate()
348 deviceInterface.cmdCopyBuffer(*commandBuffer, *sparseBuffer, *outputBuffer, 1u, &bufferCopy); in iterate()
355 *outputBuffer, in iterate()
DvktSparseResourcesBufferMemoryAliasing.cpp283 …const Unique<VkBuffer> outputBuffer(createBuffer(deviceInterface, getDevice(), &outputBufferCrea… in iterate() local
284 …BufferAlloc(bindBuffer(deviceInterface, getDevice(), getAllocator(), *outputBuffer, MemoryRequirem… in iterate()
358 deviceInterface.cmdCopyBuffer(*commandBuffer, *sparseBufferRead, *outputBuffer, 1u, &bufferCopy); in iterate()
365 *outputBuffer, in iterate()
DvktSparseResourcesImageSparseBinding.cpp335 …const Unique<VkBuffer> outputBuffer (createBuffer(deviceInterface, getDevice(), &outputBufferC… in iterate() local
336 …fferAlloc (bindBuffer(deviceInterface, getDevice(), getAllocator(), *outputBuffer, MemoryRequirem… in iterate()
338 …(*commandBuffer, *imageSparse, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *outputBuffer, static_cast<de… in iterate()
345 *outputBuffer, in iterate()
DvktSparseResourcesMipmapSparseResidency.cpp454 …const Unique<VkBuffer> outputBuffer (createBuffer(deviceInterface, getDevice(), &outputBufferC… in iterate() local
455 …fferAlloc (bindBuffer(deviceInterface, getDevice(), getAllocator(), *outputBuffer, MemoryRequirem… in iterate()
457 …(*commandBuffer, *imageSparse, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *outputBuffer, static_cast<de… in iterate()
464 *outputBuffer, in iterate()
DvktSparseResourcesImageSparseResidency.cpp550 …const Unique<VkBuffer> outputBuffer (createBuffer(deviceInterface, getDevice(), &outputBufferC… in iterate() local
551 …fferAlloc (bindBuffer(deviceInterface, getDevice(), getAllocator(), *outputBuffer, MemoryRequirem… in iterate()
556 …(*commandBuffer, *sparseImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *outputBuffer, 1u, &bufferIma… in iterate()
564 *outputBuffer, in iterate()
DvktSparseResourcesImageMemoryAliasing.cpp594 …const Unique<VkBuffer> outputBuffer (createBuffer(deviceInterface, getDevice(), &outputBufferC… in iterate() local
595 …fferAlloc (bindBuffer(deviceInterface, getDevice(), getAllocator(), *outputBuffer, MemoryRequirem… in iterate()
597 …er(*commandBuffer, *imageRead, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *outputBuffer, static_cast<de… in iterate()
604 *outputBuffer, in iterate()
/external/libphonenumber/internal/prefixmapper/src/com/google/i18n/phonenumbers/prefixmapper/
DFlyweightMapStorage.java200 ByteBuffer outputBuffer, int index) throws IOException { in readExternalWord() argument
203 outputBuffer.putShort(wordIndex, objectInput.readShort()); in readExternalWord()
205 outputBuffer.putInt(wordIndex, objectInput.readInt()); in readExternalWord()
/external/webrtc/talk/app/webrtc/java/src/org/webrtc/
DMediaCodecVideoEncoder.java525 ByteBuffer outputBuffer = outputBuffers[result].duplicate(); in dequeueOutputBuffer() local
526 outputBuffer.position(info.offset); in dequeueOutputBuffer()
527 outputBuffer.limit(info.offset + info.size); in dequeueOutputBuffer()
543 keyFrameBuffer.put(outputBuffer); in dequeueOutputBuffer()
548 return new OutputBufferInfo(result, outputBuffer.slice(), in dequeueOutputBuffer()
DMediaCodecVideoDecoder.java590 DecodedOutputBuffer outputBuffer = dequeueOutputBuffer(dequeueTimeoutMs); in dequeueTextureBuffer() local
591 if (outputBuffer != null) { in dequeueTextureBuffer()
592 dequeuedSurfaceOutputBuffers.add(outputBuffer); in dequeueTextureBuffer()
/external/deqp/external/vulkancts/modules/vulkan/compute/
DvktComputeBasicComputeShaderTests.cpp735 …const Buffer outputBuffer(vk, device, allocator, makeBufferCreateInfo(bufferSizeBytes, VK_BUFFER_U… in iterate() local
756 …const VkDescriptorBufferInfo bufferDescriptorInfo = makeDescriptorBufferInfo(*outputBuffer, 0ull, … in iterate()
781 …erMemoryBarrier(VK_ACCESS_SHADER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *outputBuffer, 0ull, bufferSi… in iterate()
814 const Allocation& outputBufferAllocation = outputBuffer.getAllocation(); in iterate()
945 …const Buffer outputBuffer(vk, device, allocator, makeBufferCreateInfo(bufferSizeBytes, VK_BUFFER_U… in iterate() local
991 …MemoryBarrier(VK_ACCESS_TRANSFER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *outputBuffer, 0ull, bufferSi… in iterate()
1012 …vk.cmdCopyImageToBuffer(*cmdBuffer, *image, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *outputBuffer, 1… in iterate()
1024 const Allocation& outputBufferAllocation = outputBuffer.getAllocation(); in iterate()
1232 …const Buffer outputBuffer(vk, device, allocator, makeBufferCreateInfo(bufferSizeBytes, VK_BUFFER_U… in iterate() local
1251 …const VkDescriptorBufferInfo outputBufferDescriptorInfo = makeDescriptorBufferInfo(*outputBuffer, … in iterate()
[all …]
/external/aac/libFDK/src/
DFDK_bitbuffer.cpp460 UCHAR *RESTRICT outputBuffer = outBuf; in FDK_Fetch() local
475 FDKmemcpy(outputBuffer, &hBitBuf->Buffer[hBitBuf->WriteOffset], in FDK_Fetch()
481 outputBuffer += bToWrite; in FDK_Fetch()
/external/aac/libFDK/include/
DFDK_bitstream.h637 UCHAR *outputBuffer, UINT *writeBytes) { in FDKfetchBuffer() argument
639 FDK_Fetch(&hBitStream->hBitBuf, outputBuffer, writeBytes); in FDKfetchBuffer()
/external/adhd/scripts/mic_testing/frontend/
Dsource.js155 e.outputBuffer.getChannelData(i).set(

12