Home
last modified time | relevance | path

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

1234

/third_party/protobuf/csharp/src/Google.Protobuf.Benchmarks/
DWriteRawPrimitivesBenchmark.cs66 byte[] outputBuffer; field in Google.Protobuf.Benchmarks.WriteRawPrimitivesBenchmark
77 outputBuffer = new byte[BytesToWrite]; in GlobalSetup()
125 var cos = new CodedOutputStream(outputBuffer); in WriteRawVarint32_CodedOutputStream()
143 var span = new Span<byte>(outputBuffer); in WriteRawVarint32_WriteContext()
167 var cos = new CodedOutputStream(outputBuffer); in WriteRawVarint64_CodedOutputStream()
190 var span = new Span<byte>(outputBuffer); in WriteRawVarint64_WriteContext()
204 var cos = new CodedOutputStream(outputBuffer); in WriteFixed32_CodedOutputStream()
217 var span = new Span<byte>(outputBuffer); in WriteFixed32_WriteContext()
231 var cos = new CodedOutputStream(outputBuffer); in WriteFixed64_CodedOutputStream()
244 var span = new Span<byte>(outputBuffer); in WriteFixed64_WriteContext()
[all …]
DWriteMessagesBenchmark.cs148 private readonly byte[] outputBuffer; field in Google.Protobuf.Benchmarks.WriteMessagesBenchmark.SubTest
156 this.outputBuffer = new byte[messageSize]; in SubTest()
164 var cos = new CodedOutputStream(outputBuffer); // use pre-existing output buffer in WriteToCodedOutputStream_PreAllocatedBuffer()
166 return outputBuffer; in WriteToCodedOutputStream_PreAllocatedBuffer()
171 var span = new Span<byte>(outputBuffer); // use pre-existing output buffer in WriteToSpan_PreAllocatedBuffer()
173 return outputBuffer; in WriteToSpan_PreAllocatedBuffer()
/third_party/pulseaudio/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 …]
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DMultisampledSamplingTests.cpp193 wgpu::Buffer outputBuffer = device.CreateBuffer(&outputBufferDesc); in TEST_P() local
217 {2, outputBuffer, alignedResultSize * sampleOffset, kResultSize}})); in TEST_P()
229 EXPECT_BUFFER_FLOAT_RANGE_EQ(expectedData.data(), outputBuffer, 0 * alignedResultSize, 8) in TEST_P()
233 EXPECT_BUFFER_FLOAT_RANGE_EQ(expectedData.data(), outputBuffer, 1 * alignedResultSize, 8) in TEST_P()
237 EXPECT_BUFFER_FLOAT_RANGE_EQ(expectedData.data(), outputBuffer, 2 * alignedResultSize, 8) in TEST_P()
241 EXPECT_BUFFER_FLOAT_RANGE_EQ(expectedData.data(), outputBuffer, 3 * alignedResultSize, 8) in TEST_P()
245 EXPECT_BUFFER_FLOAT_RANGE_EQ(expectedData.data(), outputBuffer, 4 * alignedResultSize, 8) in TEST_P()
249 EXPECT_BUFFER_FLOAT_RANGE_EQ(expectedData.data(), outputBuffer, 5 * alignedResultSize, 8) in TEST_P()
253 EXPECT_BUFFER_FLOAT_RANGE_EQ(expectedData.data(), outputBuffer, 6 * alignedResultSize, 8) in TEST_P()
257 EXPECT_BUFFER_FLOAT_RANGE_EQ(expectedData.data(), outputBuffer, 7 * alignedResultSize, 8) in TEST_P()
/third_party/vk-gl-cts/external/vulkancts/data/vulkan/amber/spirv_assembly/instruction/compute/switch/
Dswitch-case-to-merge-block.amber31 OpDecorate %outputBuffer DescriptorSet 0
32 OpDecorate %outputBuffer Binding 1
50 %outputBuffer = OpVariable %OutputBlock_ptr Uniform
98 %ptrOut = OpAccessChain %uint_uniform_ptr %outputBuffer %int_0
106 BUFFER outputBuffer DATA_TYPE uint32 DATA 0 END
112 BIND BUFFER outputBuffer AS storage DESCRIPTOR_SET 0 BINDING 1
117 EXPECT outputBuffer IDX 0 EQ 4
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/src/main/cpp/audio/
DAAssetDataSource.cpp68 auto outputBuffer = std::make_unique<float[]>(numSamples); in newFromCompressedAsset() local
71 memcpy(outputBuffer.get(), decodedData, (size_t)bytesDecoded); in newFromCompressedAsset()
76 outputBuffer.get(), in newFromCompressedAsset()
83 return new AAssetDataSource(std::move(outputBuffer), in newFromCompressedAsset()
/third_party/glslang/glslang/MachineIndependent/
DShaderLang.cpp1077 std::string outputBuffer; in operator ()() local
1079 std::bind(&TInputScanner::getLastValidSourceIndex, &input), &outputBuffer); in operator ()()
1081 parseContext.setExtensionCallback([&lineSync, &outputBuffer]( in operator ()()
1084 outputBuffer += "#extension "; in operator ()()
1085 outputBuffer += extension; in operator ()()
1086 outputBuffer += " : "; in operator ()()
1087 outputBuffer += behavior; in operator ()()
1090 parseContext.setLineCallback([&lineSync, &outputBuffer, &parseContext]( in operator ()()
1094 outputBuffer += "#line "; in operator ()()
1095 outputBuffer += std::to_string(newLineNum); in operator ()()
[all …]
/third_party/skia/tests/
DPDFDeflateWStreamTest.cpp38 uint8_t outputBuffer[kBufferSize]; in stream_inflate() local
45 flateData.next_out = outputBuffer; in stream_inflate()
67 if (!dst->write(outputBuffer, kBufferSize - flateData.avail_out)) { in stream_inflate()
71 flateData.next_out = outputBuffer; in stream_inflate()
90 if (!dst->write(outputBuffer, kBufferSize - flateData.avail_out)) { in stream_inflate()
94 flateData.next_out = outputBuffer; in stream_inflate()
/third_party/node/test/common/
Ddebugger.js27 const outputBuffer = [];
32 outputBuffer.push(chunk);
36 return outputBuffer.join('\n').replaceAll('\b', '');
52 outputBuffer.length = 0;
142 return outputBuffer.join('').toString();
/third_party/skia/third_party/externals/oboe/samples/iolib/src/main/cpp/player/
DSampleBuffer.cpp74 float *outputBuffer = new float[numOutFrames]; // multi-channel buffer to be filled in resampleData() local
75 output->mBuffer = outputBuffer; in resampleData()
85 resampler->readNextFrame(outputBuffer); in resampleData()
86 outputBuffer += numChannels; in resampleData()
/third_party/skia/third_party/externals/oboe/src/flowgraph/
DManyToMultiConverter.cpp36 float *outputBuffer = output.getBuffer() + ch; in onProcess() local
41 *outputBuffer = sample; in onProcess()
42 outputBuffer += channelCount; // advance to next multichannel frame in onProcess()
DChannelCountConverter.cpp34 float *outputBuffer = output.getBuffer(); in onProcess() local
43 outputBuffer[outputChannel] = inputBuffer[inputChannel]; in onProcess()
48 outputBuffer += outputChannelCount; in onProcess()
DSampleRateConverter.cpp50 float *outputBuffer = output.getBuffer(); in onProcess() local
64 mResampler.readNextFrame(outputBuffer); in onProcess()
65 outputBuffer += channelCount; in onProcess()
DRampLinear.cpp43 float *outputBuffer = output.getBuffer(); in onProcess() local
63 *outputBuffer++ = *inputBuffer++ * currentLevel; in onProcess()
73 *outputBuffer++ = *inputBuffer++ * mLevelTo; in onProcess()
DMultiToMonoConverter.cpp32 float *outputBuffer = output.getBuffer(); in onProcess() local
36 *outputBuffer++ = *inputBuffer; in onProcess()
DClipToRange.cpp30 float *outputBuffer = output.getBuffer(); in onProcess() local
34 *outputBuffer++ = std::min(mMaximum, std::max(mMinimum, *inputBuffer++)); in onProcess()
DMonoToMultiConverter.cpp32 float *outputBuffer = output.getBuffer(); in onProcess() local
38 *outputBuffer++ = sample; in onProcess()
DSourceFloat.cpp30 float *outputBuffer = output.getBuffer(); in onProcess() local
39 memcpy(outputBuffer, floatData, numSamples * sizeof(float)); in onProcess()
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/mobileer/miditools/synth/
DSynthVoice.java50 public void mix(float[] outputBuffer, int samplesPerFrame, float level) { in mix() argument
51 int numFrames = outputBuffer.length / samplesPerFrame; in mix()
56 outputBuffer[offset + jf] += output * level; in mix()
/third_party/node/deps/npm/lib/
Dnpm.js51 #outputBuffer = [] field in Npm
447 outputBuffer (item) { method in Npm
448 this.#outputBuffer.push(item)
452 if (!jsonError && !this.#outputBuffer.length) {
457 const jsonOutput = this.#outputBuffer.reduce((acc, item) => {
470 for (const item of this.#outputBuffer) {
475 this.#outputBuffer.length = 0
/third_party/skia/third_party/externals/oboe/src/flowgraph/resampler/
DREADME.md46 float *outputBuffer; // multi-channel buffer to be filled
57 resampler->readNextFrame(outputBuffer);
58 outputBuffer += channelCount;
70 float *outputBuffer; // multi-channel buffer to be filled
82 resampler->readNextFrame(outputBuffer);
83 outputBuffer += channelCount;
/third_party/vk-gl-cts/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 …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
DvktPipelineImage2DViewOf3DTests.cpp192 VkBuffer outputBuffer);
199 VkBuffer outputBuffer);
208 VkBuffer outputBuffer) in runComputePipeline() argument
224 …copyImageLayerToBuffer(vk, cmdBuffer, image, outputBuffer, testMipLevelSize.xy(), VK_ACCESS_SHADER… in runComputePipeline()
237 VkBuffer outputBuffer) in runGraphicsPipeline() argument
332 …copyImageLayerToBuffer(vk, cmdBuffer, image, outputBuffer, testMipLevelSize.xy(), VK_ACCESS_SHADER… in runGraphicsPipeline()
354 …const BufferWithMemory outputBuffer (vk, device, allocator, makeBufferCreateInfo(bufferSize, V… in iterate() local
549 …orSetLayout, testMipLevelSize, *cmdBuffer, useSampler ? **resultImage : *testImage, *outputBuffer); in iterate()
551 …orSetLayout, testMipLevelSize, *cmdBuffer, useSampler ? **resultImage : *testImage, *outputBuffer); in iterate()
560 const Allocation& outputBufferAllocation = outputBuffer.getAllocation(); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImage2DViewOf3DTests.cpp192 VkBuffer outputBuffer);
199 VkBuffer outputBuffer);
208 VkBuffer outputBuffer) in runComputePipeline() argument
224 …copyImageLayerToBuffer(vk, cmdBuffer, image, outputBuffer, testMipLevelSize.xy(), VK_ACCESS_SHADER… in runComputePipeline()
237 VkBuffer outputBuffer) in runGraphicsPipeline() argument
332 …copyImageLayerToBuffer(vk, cmdBuffer, image, outputBuffer, testMipLevelSize.xy(), VK_ACCESS_SHADER… in runGraphicsPipeline()
354 …const BufferWithMemory outputBuffer (vk, device, allocator, makeBufferCreateInfo(bufferSize, V… in iterate() local
549 …orSetLayout, testMipLevelSize, *cmdBuffer, useSampler ? **resultImage : *testImage, *outputBuffer); in iterate()
551 …orSetLayout, testMipLevelSize, *cmdBuffer, useSampler ? **resultImage : *testImage, *outputBuffer); in iterate()
560 const Allocation& outputBufferAllocation = outputBuffer.getAllocation(); in iterate()

1234