Home
last modified time | relevance | path

Searched refs:audio_sample_t (Results 1 – 8 of 8) sorted by relevance

/frameworks/av/media/libeffects/testlibs/
DAudioBiquadFilter.h78 void process(const audio_sample_t in[], audio_sample_t out[],
96 typedef void (AudioBiquadFilter::*process_func)(const audio_sample_t[],
97 audio_sample_t[],
140 audio_sample_t mDelays[MAX_CHANNELS][4];
157 void process_bypass(const audio_sample_t * in, audio_sample_t * out,
160 void process_normal_mono(const audio_sample_t * in, audio_sample_t * out,
163 void process_transition_normal_mono(const audio_sample_t * in,
164 audio_sample_t * out, int frameCount);
166 void process_transition_bypass_mono(const audio_sample_t * in,
167 audio_sample_t * out, int frameCount);
[all …]
DAudioBiquadFilter.cpp65 void AudioBiquadFilter::process(const audio_sample_t in[], audio_sample_t out[], in process()
139 void AudioBiquadFilter::process_bypass(const audio_sample_t * in, in process_bypass()
140 audio_sample_t * out, in process_bypass()
144 memcpy(out, in, frameCount * mNumChannels * sizeof(audio_sample_t)); in process_bypass()
148 void AudioBiquadFilter::process_normal_mono(const audio_sample_t * in, in process_normal_mono()
149 audio_sample_t * out, in process_normal_mono()
152 audio_sample_t x1 = mDelays[0][0]; in process_normal_mono()
153 audio_sample_t x2 = mDelays[0][1]; in process_normal_mono()
154 audio_sample_t y1 = mDelays[0][2]; in process_normal_mono()
155 audio_sample_t y2 = mDelays[0][3]; in process_normal_mono()
[all …]
DAudioCommon.h30 typedef int32_t audio_sample_t; typedef
43 static const audio_sample_t AUDIO_SAMPLE_ONE = 1 << AUDIO_SAMPLE_PRECISION;
50 inline audio_coef_sample_acc_t mul_coef_sample(audio_coef_t x, audio_sample_t y) { in mul_coef_sample()
55 inline audio_coef_sample_acc_t mac_coef_sample(audio_coef_t x, audio_sample_t y, audio_coef_sample_… in mac_coef_sample()
60 inline audio_sample_t coef_sample_acc_to_sample(audio_coef_sample_acc_t acc) { in coef_sample_acc_to_sample()
64 return (audio_sample_t) (acc >> AUDIO_COEF_PRECISION); in coef_sample_acc_to_sample()
68 inline audio_sample_t s15_to_audio_sample_t(int16_t s15) { in s15_to_audio_sample_t()
69 return audio_sample_t(s15) << 9; in s15_to_audio_sample_t()
73 inline int16_t audio_sample_t_to_s15(audio_sample_t sample) { in audio_sample_t_to_s15()
78 inline int16_t audio_sample_t_to_s15_clip(audio_sample_t sample) { in audio_sample_t_to_s15_clip()
DAudioFormatAdapter.h82 reinterpret_cast<const audio_sample_t *> (pIn), in process()
83 reinterpret_cast<audio_sample_t *> (pOut), in process()
87 reinterpret_cast<const audio_sample_t *> (pIn), in process()
93 pIn = reinterpret_cast<const audio_sample_t *> (pIn) in process()
95 pOut = reinterpret_cast<audio_sample_t *> (pOut) in process()
116 audio_sample_t mBuffer[bufSize];
131 audio_sample_t * pOut = mBuffer; in ConvertInput()
148 const audio_sample_t * pIn = mBuffer; in ConvertOutput()
173 const audio_sample_t * pIn = mBuffer; in MixOutput()
174 audio_sample_t * pOut24 = reinterpret_cast<audio_sample_t *>(pOut); in MixOutput()
DAudioShelvingFilter.h98 void process(const audio_sample_t in[], audio_sample_t out[], in process()
DAudioPeakingFilter.h104 void process(const audio_sample_t in[], audio_sample_t out[], in process()
DAudioEqualizer.h185 void process(const audio_sample_t * pIn, audio_sample_t * pOut,
DAudioEqualizer.cpp225 void AudioEqualizer::process(const audio_sample_t * pIn, in process()
226 audio_sample_t * pOut, in process()