Home
last modified time | relevance | path

Searched refs:float_buffer (Results 1 – 11 of 11) sorted by relevance

/external/adhd/cras/src/server/
Dfloat_buffer.h17 struct float_buffer { struct
29 static inline struct float_buffer *
32 struct float_buffer *b; in float_buffer_create()
34 b = (struct float_buffer *)calloc(1, sizeof(*b)); in float_buffer_create()
47 static inline void float_buffer_destroy(struct float_buffer **b) in float_buffer_destroy()
59 static inline float *const *float_buffer_write_pointer(struct float_buffer *b) in float_buffer_write_pointer()
70 static inline unsigned int float_buffer_writable(struct float_buffer *b) in float_buffer_writable()
76 static inline void float_buffer_written(struct float_buffer *b, in float_buffer_written()
83 static inline float *const *float_buffer_read_pointer(struct float_buffer *b, in float_buffer_read_pointer()
109 static inline unsigned int float_buffer_level(struct float_buffer *b) in float_buffer_level()
[all …]
Dcras_apm_list.h15 struct float_buffer;
119 int cras_apm_list_process(struct cras_apm *apm, struct float_buffer *input,
205 struct float_buffer *input, in cras_apm_list_process()
Dinput_data.h26 struct float_buffer *fbuffer;
Dcras_apm_list.c73 struct float_buffer *fbuffer;
131 struct float_buffer *fbuf;
463 static int process_reverse(struct float_buffer *fbuf, unsigned int frame_rate) in process_reverse()
601 int cras_apm_list_process(struct cras_apm *apm, struct float_buffer *input, in cras_apm_list_process()
/external/webrtc/modules/audio_processing/
Daudio_buffer.cc244 std::array<float, kMaxSamplesPerChannel> float_buffer; in CopyFrom() local
245 S16ToFloatS16(interleaved, input_num_frames_, float_buffer.data()); in CopyFrom()
246 input_resamplers_[0]->Resample(float_buffer.data(), input_num_frames_, in CopyFrom()
253 std::array<float, kMaxSamplesPerChannel> float_buffer; in CopyFrom() local
255 resampling_required ? float_buffer.data() : data_->channels()[0]; in CopyFrom()
288 std::array<float, kMaxSamplesPerChannel> float_buffer; in CopyFrom() local
291 float_buffer.data()); in CopyFrom()
292 input_resamplers_[i]->Resample(float_buffer.data(), input_num_frames_, in CopyFrom()
316 std::array<float, kMaxSamplesPerChannel> float_buffer; in CopyTo() local
320 float_buffer.data(), output_num_frames_); in CopyTo()
[all …]
/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dquantization_util.cc137 const auto& float_buffer = in QuantizeBuffer() local
140 quantized_buffer->data.resize(float_buffer.data.size()); in QuantizeBuffer()
141 for (std::size_t i = 0; i < float_buffer.data.size(); i++) { in QuantizeBuffer()
142 const float src_val = float_buffer.data[i]; in QuantizeBuffer()
/external/mesa3d/src/gallium/tests/unit/
Dtranslate_test.c59 float* float_buffer; in main() local
141 float_buffer = align_malloc(buffer_size, 4096); in main()
161 float_buffer[i] = (float)rand_double(); in main()
259 buffer[0] = (unsigned char*)float_buffer; in main()
/external/adhd/cras/src/tests/
Dfloat_buffer_unittest.cc12 struct float_buffer* b = float_buffer_create(10, 2); in TEST()
Dinput_data_unittest.cc122 struct float_buffer* input, in cras_apm_list_process()
Dapm_list_unittest.cc226 struct float_buffer* buf; in TEST()
283 struct float_buffer* buf; in TEST()
/external/deqp/external/openglcts/modules/gl/
Dgl4cTextureViewTests.cpp7209 glw::GLfloat* float_buffer = (glw::GLfloat*)m_mipmap_data; in initTextureObject() local
7215 float_buffer[i * 2] = (float)i - 128; in initTextureObject()
7239 glw::GLfloat* float_buffer = (glw::GLfloat*)m_mipmap_data; in initTextureObject() local
7245 float_buffer[i] = (float)i + offset; in initTextureObject()