Home
last modified time | relevance | path

Searched refs:FloatBuffer (Results 1 – 25 of 36) sorted by relevance

12

/external/webrtc/modules/audio_processing/utility/
Dpffft_wrapper.h31 class FloatBuffer {
33 FloatBuffer(const FloatBuffer&) = delete;
34 FloatBuffer& operator=(const FloatBuffer&) = delete;
35 ~FloatBuffer();
42 FloatBuffer(size_t fft_size, FftType fft_type);
68 std::unique_ptr<FloatBuffer> CreateBuffer() const;
72 void ForwardTransform(const FloatBuffer& in, FloatBuffer* out, bool ordered);
74 void BackwardTransform(const FloatBuffer& in, FloatBuffer* out, bool ordered);
80 void FrequencyDomainConvolve(const FloatBuffer& fft_x,
81 const FloatBuffer& fft_y,
[all …]
Dpffft_wrapper.cc29 Pffft::FloatBuffer::FloatBuffer(size_t fft_size, FftType fft_type) in FloatBuffer() function in webrtc::Pffft::FloatBuffer
33 Pffft::FloatBuffer::~FloatBuffer() { in ~FloatBuffer()
37 rtc::ArrayView<const float> Pffft::FloatBuffer::GetConstView() const { in GetConstView()
41 rtc::ArrayView<float> Pffft::FloatBuffer::GetView() { in GetView()
86 std::unique_ptr<Pffft::FloatBuffer> Pffft::CreateBuffer() const { in CreateBuffer()
89 std::unique_ptr<Pffft::FloatBuffer> buffer( in CreateBuffer()
90 new Pffft::FloatBuffer(fft_size_, fft_type_)); in CreateBuffer()
94 void Pffft::ForwardTransform(const FloatBuffer& in, in ForwardTransform()
95 FloatBuffer* out, in ForwardTransform()
109 void Pffft::BackwardTransform(const FloatBuffer& in, in BackwardTransform()
[all …]
/external/tensorflow/tensorflow/lite/java/src/test/java/org/tensorflow/lite/
DTensorTest.java24 import java.nio.FloatBuffer;
139 FloatBuffer parsedOutput = in testCopyToByteBufferAsFloatBuffer()
150 FloatBuffer parsedOutput = FloatBuffer.allocate(2 * 8 * 8 * 3); in testCopyToFloatBuffer()
249 FloatBuffer inputFloatBuffer = inputByteBuffer.asFloatBuffer(); in testSetTo()
256 inputFloatBuffer = FloatBuffer.allocate(2 * 8 * 8 * 3); in testSetTo()
268 FloatBuffer outputScalar = FloatBuffer.allocate(1); in testSetTo()
275 outputScalar = FloatBuffer.allocate(1); in testSetTo()
370 FloatBuffer inputFloatBuffer = FloatBuffer.wrap(input); in testSetToFloatBuffer()
371 FloatBuffer outputFloatBuffer = FloatBuffer.wrap(output); in testSetToFloatBuffer()
385 FloatBuffer.allocate(3), in testSetToInvalidBuffer()
[all …]
DInterpreterTest.java25 import java.nio.FloatBuffer;
227 FloatBuffer parsedOutput = FloatBuffer.allocate(1); in testRunWithScalarInput()
691 private static FloatBuffer fill(FloatBuffer buffer, float value) { in fill()
719 FloatBuffer output = FloatBuffer.allocate(8 * 1 * 1024); in testDynamicShapesWithDirectBufferInputs()
725 FloatBuffer expected = fill(FloatBuffer.allocate(8 * 1 * 1024), 2.0f); in testDynamicShapesWithDirectBufferInputs()
780 FloatBuffer output = FloatBuffer.allocate(1); in testModelWithSignatureDef()
790 FloatBuffer expected = fill(FloatBuffer.allocate(1), 10.0f); in testModelWithSignatureDef()
810 FloatBuffer output = FloatBuffer.allocate(1); in testModelWithSignatureDefNullMethodName()
820 FloatBuffer expected = fill(FloatBuffer.allocate(1), 10.0f); in testModelWithSignatureDefNullMethodName()
822 output = FloatBuffer.allocate(1); in testModelWithSignatureDefNullMethodName()
/external/webrtc/modules/audio_processing/agc2/rnn_vad/
Dauto_correlation.h41 std::unique_ptr<Pffft::FloatBuffer> tmp_;
42 std::unique_ptr<Pffft::FloatBuffer> X_;
43 std::unique_ptr<Pffft::FloatBuffer> H_;
Dspectral_features.h63 std::unique_ptr<Pffft::FloatBuffer> fft_buffer_;
64 std::unique_ptr<Pffft::FloatBuffer> reference_frame_fft_;
65 std::unique_ptr<Pffft::FloatBuffer> lagged_frame_fft_;
Dspectral_features.cc68 Pffft::FloatBuffer* fft_input_buffer, in ComputeWindowedForwardFft()
69 Pffft::FloatBuffer* fft_output_buffer, in ComputeWindowedForwardFft()
/external/webrtc/sdk/android/api/org/webrtc/
DGlUtil.java17 import java.nio.FloatBuffer;
41 public static FloatBuffer createFloatBuffer(float[] coords) { in createFloatBuffer()
45 FloatBuffer fb = bb.asFloatBuffer(); in createFloatBuffer()
DGlShader.java15 import java.nio.FloatBuffer;
84 public void setVertexAttribArray(String label, int dimension, FloatBuffer buffer) { in setVertexAttribArray()
92 public void setVertexAttribArray(String label, int dimension, int stride, FloatBuffer buffer) { in setVertexAttribArray()
/external/tensorflow/tensorflow/lite/java/src/main/java/org/tensorflow/lite/
DTensor.java22 import java.nio.FloatBuffer;
216 } else if (src instanceof FloatBuffer) { in setTo()
217 FloatBuffer srcBuffer = (FloatBuffer) src; in setTo()
265 } else if (dst instanceof FloatBuffer) { in copyTo()
266 ((FloatBuffer) dst).put(buffer().asFloatBuffer()); in copyTo()
333 if (Float.class.equals(c) || o instanceof FloatBuffer) { in dataTypeOf()
/external/skqp/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/rendering/
DBackgroundRenderer.java30 import java.nio.FloatBuffer;
47 private FloatBuffer quadVertices;
48 private FloatBuffer quadTexCoord;
49 private FloatBuffer quadTexCoordTransformed;
DDrawManager.java43 import java.nio.FloatBuffer;
256 FloatBuffer points = cloud.getPoints(); in drawPointCloud()
323 FloatBuffer polygon = plane.getPolygon(); in drawPlaneOutline()
367 FloatBuffer polygon = plane.getPolygon(); in drawPlaneWithShader()
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/support/tensorbuffer/
DTensorBufferFloat.java18 import java.nio.FloatBuffer;
52 FloatBuffer floatBuffer = buffer.asFloatBuffer(); in getFloatArray()
95 FloatBuffer floatBuffer = buffer.asFloatBuffer(); in loadArray()
/external/replicaisland/src/com/replica/replicaisland/
DGLErrorLogger.java20 import java.nio.FloatBuffer;
250 public void glFogfv(int pname, FloatBuffer params) { in glFogfv()
334 public void glLightModelfv(int pname, FloatBuffer params) { in glLightModelfv()
364 public void glLightfv(int light, int pname, FloatBuffer params) { in glLightfv()
404 public void glLoadMatrixf(FloatBuffer m) { in glLoadMatrixf()
434 public void glMaterialfv(int face, int pname, FloatBuffer params) { in glMaterialfv()
464 public void glMultMatrixf(FloatBuffer m) { in glMultMatrixf()
633 public void glTexEnvfv(int target, int pname, FloatBuffer params) { in glTexEnvfv()
723 public void glClipPlanef(int arg0, FloatBuffer arg1) { in glClipPlanef()
802 public void glGetClipPlanef(int pname, FloatBuffer eqn) { in glGetClipPlanef()
[all …]
DGrid.java23 import java.nio.FloatBuffer;
42 private FloatBuffer mFloatVertexBuffer;
43 private FloatBuffer mFloatTexCoordBuffer;
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/video/
DVideoDecoderRenderer.java23 import java.nio.FloatBuffer;
85 private static final FloatBuffer TEXTURE_VERTICES =
93 private FloatBuffer[] textureCoords;
107 textureCoords = new FloatBuffer[3]; in VideoDecoderRenderer()
/external/compiler-rt/lib/ubsan/
Dubsan_diag.cc207 char FloatBuffer[32]; in RenderText() local
209 sprintf_s(FloatBuffer, sizeof(FloatBuffer), "%Lg", (long double)A.Float); in RenderText()
211 snprintf(FloatBuffer, sizeof(FloatBuffer), "%Lg", (long double)A.Float); in RenderText()
213 Buffer->append("%s", FloatBuffer); in RenderText()
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/spherical/
DProjectionRenderer.java26 import java.nio.FloatBuffer;
207 private final FloatBuffer vertexBuffer;
208 private final FloatBuffer textureBuffer;
/external/llvm-project/compiler-rt/lib/ubsan/
Dubsan_diag.cpp217 char FloatBuffer[32]; in RenderText() local
219 sprintf_s(FloatBuffer, sizeof(FloatBuffer), "%Lg", (long double)A.Float); in RenderText()
221 snprintf(FloatBuffer, sizeof(FloatBuffer), "%Lg", (long double)A.Float); in RenderText()
223 Buffer->append("%s", FloatBuffer); in RenderText()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/
DGlUtil.java33 import java.nio.FloatBuffer;
335 public static FloatBuffer createBuffer(float[] data) { in createBuffer()
336 return (FloatBuffer) createBuffer(data.length).put(data).flip(); in createBuffer()
344 public static FloatBuffer createBuffer(int capacity) { in createBuffer()
/external/tensorflow/tensorflow/java/src/test/java/org/tensorflow/
DTensorTest.java29 import java.nio.FloatBuffer;
127 try (Tensor<Float> t = Tensor.create(shape, FloatBuffer.wrap(floats))) { in createWithTypedBuffer()
149 try (Tensor<Float> t = Tensor.create(new long[floats.length + 1], FloatBuffer.wrap(floats))) { in createWithTypedBuffer()
226 FloatBuffer buf = FloatBuffer.allocate(tfloats.numElements()); in writeTo()
275 FloatBuffer badbuf2 = FloatBuffer.allocate(128); in writeTo()
/external/tensorflow/tensorflow/tools/android/inference_interface/java/org/tensorflow/contrib/android/
DTensorFlowInferenceInterface.java29 import java.nio.FloatBuffer;
318 addFeed(inputName, Tensor.create(dims, FloatBuffer.wrap(src))); in feed()
388 public void feed(String inputName, FloatBuffer src, long... dims) { in feed()
442 fetch(outputName, FloatBuffer.wrap(dst)); in fetch()
487 public void fetch(String outputName, FloatBuffer dst) { in fetch()
/external/webrtc/sdk/android/src/java/org/webrtc/
DGlGenericDrawer.java16 import java.nio.FloatBuffer;
75 private static final FloatBuffer FULL_RECTANGLE_BUFFER = GlUtil.createFloatBuffer(new float[] {
83 private static final FloatBuffer FULL_RECTANGLE_TEXTURE_BUFFER =
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/support/image/
DBoundingBoxUtil.java22 import java.nio.FloatBuffer;
150 FloatBuffer floatBuffer = byteBuffer.asFloatBuffer(); in convert()
/external/adhd/cras/src/tests/
Dfloat_buffer_unittest.cc10 TEST(FloatBuffer, ReadWrite) { in TEST() argument

12