Searched refs:floatData (Results 1 – 8 of 8) sorted by relevance
/frameworks/av/media/libaaudio/src/flowgraph/ |
D | SinkI24.cpp | 44 const float *floatData = input.getBlock(); in read() local 47 memcpy_to_p24_from_float(byteData, floatData, numSamples); in read() 50 floatData += numSamples; in read() 55 int32_t n = (int32_t) (*floatData++ * 0x00800000); in read()
|
D | SinkFloat.cpp | 29 float *floatData = (float *) data; in read() local 41 memcpy(floatData, signal, numSamples * sizeof(float)); in read() 42 floatData += numSamples; in read()
|
D | SourceI16.cpp | 34 float *floatData = output.getBlock(); in onProcess() local 45 memcpy_to_float_from_i16(floatData, shortData, numSamples); in onProcess() 48 *floatData++ = *shortData++ * (1.0f / 32768); in onProcess()
|
D | SourceI24.cpp | 36 float *floatData = output.getBlock(); in onProcess() local 47 memcpy_to_float_from_p24(floatData, byteData, numSamples); in onProcess() 59 *floatData++ = pad * scale; // scale to range -1.0 to 1.0 in onProcess()
|
D | SourceFloat.cpp | 38 const float *floatData = &floatBase[mFrameIndex * channelCount]; in onProcess() local 39 memcpy(outputBuffer, floatData, numSamples * sizeof(float)); in onProcess()
|
/frameworks/av/media/libaaudio/examples/write_sine/src/ |
D | write_sine.cpp | 51 float *floatData = nullptr; in main() local 95 floatData = new float[framesPerWrite * actualChannelCount]; in main() 125 myData.sineOscillators[i].render(&floatData[i], actualChannelCount, in main() 140 actual = AAudioStream_write(aaudioStream, floatData, minFrames, timeoutNanos); in main() 197 delete[] floatData; in main()
|
/frameworks/av/media/libaaudio/examples/input_monitor/src/ |
D | input_monitor.cpp | 55 float *floatData = nullptr; in main() local 106 floatData = new float[framesPerRead * actualSamplesPerFrame]; in main() 134 actual = AAudioStream_read(aaudioStream, floatData, minFrames, timeoutNanos); in main() 153 sample = floatData[frameIndex * actualSamplesPerFrame]; in main() 209 delete[] floatData; in main()
|
/frameworks/ml/nn/tools/test_generator/test_harness/ |
D | TestHarness.cpp | 710 float* floatData = converted.data.getMutable<float>(); in convertOperandToFloat32() local 713 std::transform(data, data + numberOfElements, floatData, [&op](T val) { in convertOperandToFloat32() 717 std::transform(data, data + numberOfElements, floatData, in convertOperandToFloat32() 797 const float* floatData = fpBuffer.get<float>(); in setDataFromFloat32Buffer() local 801 std::transform(floatData, floatData + numberOfElements, data, [op](float val) { in setDataFromFloat32Buffer() 808 std::transform(floatData, floatData + numberOfElements, data, in setDataFromFloat32Buffer()
|