Home
last modified time | relevance | path

Searched refs:src_area (Results 1 – 10 of 10) sorted by relevance

/third_party/alsa-lib/src/pcm/
Dpcm_rate_linear.c89 const snd_pcm_channel_area_t *src_area = &src_areas[channel]; in linear_expand() local
97 src = snd_pcm_channel_area_addr(src_area, src_offset); in linear_expand()
99 src_step = snd_pcm_channel_area_step(src_area); in linear_expand()
152 const snd_pcm_channel_area_t *src_area = &src_areas[channel]; in linear_expand_s16() local
160 src = snd_pcm_channel_area_addr(src_area, src_offset); in linear_expand_s16()
162 src_step = snd_pcm_channel_area_step(src_area) >> 1; in linear_expand_s16()
211 const snd_pcm_channel_area_t *src_area = &src_areas[channel]; in linear_shrink() local
220 src = snd_pcm_channel_area_addr(src_area, src_offset); in linear_shrink()
222 src_step = snd_pcm_channel_area_step(src_area); in linear_shrink()
273 const snd_pcm_channel_area_t *src_area = &src_areas[channel]; in linear_shrink_s16() local
[all …]
Dpcm_adpcm.c235 const snd_pcm_channel_area_t *src_area = &src_areas[channel]; in snd_pcm_adpcm_decode() local
237 srcbit = src_area->first + src_area->step * src_offset; in snd_pcm_adpcm_decode()
238 src = (const char *) src_area->addr + srcbit / 8; in snd_pcm_adpcm_decode()
240 src_step = src_area->step / 8; in snd_pcm_adpcm_decode()
241 srcbit_step = src_area->step % 8; in snd_pcm_adpcm_decode()
289 const snd_pcm_channel_area_t *src_area = &src_areas[channel]; in snd_pcm_adpcm_encode() local
291 src = snd_pcm_channel_area_addr(src_area, src_offset); in snd_pcm_adpcm_encode()
292 src_step = snd_pcm_channel_area_step(src_area); in snd_pcm_adpcm_encode()
Dpcm_alaw.c161 const snd_pcm_channel_area_t *src_area = &src_areas[channel]; in snd_pcm_alaw_decode() local
163 src = snd_pcm_channel_area_addr(src_area, src_offset); in snd_pcm_alaw_decode()
165 src_step = snd_pcm_channel_area_step(src_area); in snd_pcm_alaw_decode()
199 const snd_pcm_channel_area_t *src_area = &src_areas[channel]; in snd_pcm_alaw_encode() local
201 src = snd_pcm_channel_area_addr(src_area, src_offset); in snd_pcm_alaw_encode()
203 src_step = snd_pcm_channel_area_step(src_area); in snd_pcm_alaw_encode()
Dpcm_mulaw.c178 const snd_pcm_channel_area_t *src_area = &src_areas[channel]; in snd_pcm_mulaw_decode() local
180 src = snd_pcm_channel_area_addr(src_area, src_offset); in snd_pcm_mulaw_decode()
182 src_step = snd_pcm_channel_area_step(src_area); in snd_pcm_mulaw_decode()
216 const snd_pcm_channel_area_t *src_area = &src_areas[channel]; in snd_pcm_mulaw_encode() local
218 src = snd_pcm_channel_area_addr(src_area, src_offset); in snd_pcm_mulaw_encode()
220 src_step = snd_pcm_channel_area_step(src_area); in snd_pcm_mulaw_encode()
Dpcm_route.c139 const snd_pcm_channel_area_t *src_area = 0; in snd_pcm_route_convert1_one() local
148 src_area = &src_areas[channel]; in snd_pcm_route_convert1_one()
149 if (src_area->addr != NULL) in snd_pcm_route_convert1_one()
161 src = snd_pcm_channel_area_addr(src_area, src_offset); in snd_pcm_route_convert1_one()
163 src_step = snd_pcm_channel_area_step(src_area); in snd_pcm_route_convert1_one()
189 const snd_pcm_channel_area_t *src_area = 0; in snd_pcm_route_convert1_one_getput() local
199 src_area = &src_areas[channel]; in snd_pcm_route_convert1_one_getput()
200 if (src_area->addr != NULL) in snd_pcm_route_convert1_one_getput()
213 src = snd_pcm_channel_area_addr(src_area, src_offset); in snd_pcm_route_convert1_one_getput()
215 src_step = snd_pcm_channel_area_step(src_area); in snd_pcm_route_convert1_one_getput()
[all …]
Dpcm_lfloat.c117 const snd_pcm_channel_area_t *src_area = &src_areas[channel]; in snd_pcm_lfloat_convert_integer_float() local
119 src = snd_pcm_channel_area_addr(src_area, src_offset); in snd_pcm_lfloat_convert_integer_float()
121 src_step = snd_pcm_channel_area_step(src_area); in snd_pcm_lfloat_convert_integer_float()
162 const snd_pcm_channel_area_t *src_area = &src_areas[channel]; in snd_pcm_lfloat_convert_float_integer() local
164 src = snd_pcm_channel_area_addr(src_area, src_offset); in snd_pcm_lfloat_convert_float_integer()
166 src_step = snd_pcm_channel_area_step(src_area); in snd_pcm_lfloat_convert_float_integer()
Dpcm_linear.c162 const snd_pcm_channel_area_t *src_area = &src_areas[channel]; in snd_pcm_linear_convert() local
164 src = snd_pcm_channel_area_addr(src_area, src_offset); in snd_pcm_linear_convert()
166 src_step = snd_pcm_channel_area_step(src_area); in snd_pcm_linear_convert()
198 const snd_pcm_channel_area_t *src_area = &src_areas[channel]; in snd_pcm_linear_getput() local
200 src = snd_pcm_channel_area_addr(src_area, src_offset); in snd_pcm_linear_getput()
202 src_step = snd_pcm_channel_area_step(src_area); in snd_pcm_linear_getput()
Dpcm_softvol.c190 src_area = &src_areas[ch]; \
192 src = snd_pcm_channel_area_addr(src_area, src_offset); \
194 src_step = snd_pcm_channel_area_step(src_area) / sizeof(TYPE); \
224 src_area = &src_areas[ch]; \
226 src = snd_pcm_channel_area_addr(src_area, src_offset); \
228 src_step = snd_pcm_channel_area_step(src_area); \
266 src_area = &src_areas[ch]; \
268 src = snd_pcm_channel_area_addr(src_area, src_offset); \
270 src_step = snd_pcm_channel_area_step(src_area) \
325 const snd_pcm_channel_area_t *dst_area, *src_area; in softvol_convert_stereo_vol() local
[all …]
Dpcm_iec958.c163 const snd_pcm_channel_area_t *src_area = &src_areas[channel]; in snd_pcm_iec958_decode() local
165 src = snd_pcm_channel_area_addr(src_area, src_offset); in snd_pcm_iec958_decode()
167 src_step = snd_pcm_channel_area_step(src_area) / sizeof(uint32_t); in snd_pcm_iec958_decode()
206 const snd_pcm_channel_area_t *src_area = &src_areas[channel]; in snd_pcm_iec958_encode() local
208 src = snd_pcm_channel_area_addr(src_area, src_offset); in snd_pcm_iec958_encode()
210 src_step = snd_pcm_channel_area_step(src_area); in snd_pcm_iec958_encode()
Dpcm.c3215 const snd_pcm_channel_area_t *src_area, snd_pcm_uframes_t src_offset, in snd_pcm_area_copy() argument
3223 if (dst_area == src_area && dst_offset == src_offset) in snd_pcm_area_copy()
3225 if (!src_area->addr) in snd_pcm_area_copy()
3227 src = snd_pcm_channel_area_addr(src_area, src_offset); in snd_pcm_area_copy()
3232 if (src_area->step == (unsigned int) width && in snd_pcm_area_copy()
3242 src_step = src_area->step / 8; in snd_pcm_area_copy()
3246 int srcbit = src_area->first % 8; in snd_pcm_area_copy()
3247 int srcbit_step = src_area->step % 8; in snd_pcm_area_copy()