Lines Matching defs:mc
69 pcm2adpcm_step(struct msm6258_codecvar *mc, int16_t a)
71 int estim = (int)mc->mc_estim;
77 df = a - mc->mc_amp;
90 mc->mc_amp += (short)(adpcm_estimindex[(int)s] * dl);
97 mc->mc_estim = estim;
104 struct msm6258_codecvar *mc;
112 mc = arg->context;
122 f = pcm2adpcm_step(mc, s);
126 f |= pcm2adpcm_step(mc, s) << 4;
137 adpcm2pcm_step(struct msm6258_codecvar *mc, uint8_t b)
139 int estim = (int)mc->mc_estim;
141 mc->mc_amp += adpcm_estim[estim] * adpcm_estimindex[b];
149 mc->mc_estim = estim;
151 return mc->mc_amp;
157 struct msm6258_codecvar *mc;
165 mc = arg->context;
173 s = adpcm2pcm_step(mc, a & 0x0f);
177 s = adpcm2pcm_step(mc, a >> 4);