Home
last modified time | relevance | path

Searched refs:linear_resampler (Results 1 – 6 of 6) sorted by relevance

/external/adhd/cras/src/server/
Dlinear_resampler.h10 struct linear_resampler;
19 struct linear_resampler *linear_resampler_create(unsigned int num_channels,
29 void linear_resampler_set_rates(struct linear_resampler *lr,
34 unsigned int linear_resampler_out_frames_to_in(struct linear_resampler *lr,
38 unsigned int linear_resampler_in_frames_to_out(struct linear_resampler *lr,
42 int linear_resampler_needed(struct linear_resampler *lr);
52 unsigned int linear_resampler_resample(struct linear_resampler *lr,
59 void linear_resampler_destroy(struct linear_resampler *lr);
Dlinear_resampler.c20 struct linear_resampler { struct
30 struct linear_resampler *linear_resampler_create(unsigned int num_channels, in linear_resampler_create() argument
35 struct linear_resampler *lr; in linear_resampler_create()
37 lr = (struct linear_resampler *)calloc(1, sizeof(*lr)); in linear_resampler_create()
48 void linear_resampler_destroy(struct linear_resampler *lr) in linear_resampler_destroy()
54 void linear_resampler_set_rates(struct linear_resampler *lr, in linear_resampler_set_rates()
77 unsigned int linear_resampler_out_frames_to_in(struct linear_resampler *lr, in linear_resampler_out_frames_to_in()
91 unsigned int linear_resampler_in_frames_to_out(struct linear_resampler *lr, in linear_resampler_in_frames_to_out()
105 int linear_resampler_needed(struct linear_resampler *lr) in linear_resampler_needed()
110 unsigned int linear_resampler_resample(struct linear_resampler *lr, in linear_resampler_resample()
Dcras_fmt_conv.c40 struct linear_resampler *resampler;
/external/adhd/cras/src/tests/
Dlinear_resampler_unittest.cc24 struct linear_resampler *lr; in TEST()
65 struct linear_resampler *lr; in TEST()
116 struct linear_resampler *lr; in TEST()
163 struct linear_resampler *lr; in TEST()
182 struct linear_resampler *lr; in TEST()
Dfmt_conv_unittest.cc1538 struct linear_resampler *linear_resampler_create(unsigned int num_channels, in linear_resampler_create()
1545 return reinterpret_cast<struct linear_resampler*>(0x33);; in linear_resampler_create()
1548 int linear_resampler_needed(struct linear_resampler *lr) in linear_resampler_needed()
1553 void linear_resampler_set_rates(struct linear_resampler *lr, in linear_resampler_set_rates()
1559 unsigned int linear_resampler_out_frames_to_in(struct linear_resampler *lr, in linear_resampler_out_frames_to_in()
1566 unsigned int linear_resampler_in_frames_to_out(struct linear_resampler *lr, in linear_resampler_in_frames_to_out()
1572 unsigned int linear_resampler_resample(struct linear_resampler *lr, in linear_resampler_resample()
1592 void linear_resampler_destroy(struct linear_resampler *lr) in linear_resampler_destroy()
/external/adhd/cras/src/
DMakefile.am632 server/linear_resampler.c \
786 server/linear_resampler.c server/cras_audio_area.c
863 server/linear_resampler.c \