Home
last modified time | relevance | path

Searched refs:dst_areas (Results 1 – 18 of 18) sorted by relevance

/third_party/alsa-lib/src/pcm/
Dpcm_plugin.h104 void snd_pcm_linear_convert(const snd_pcm_channel_area_t *dst_areas, snd_pcm_uframes_t dst_offset,
108 void snd_pcm_linear_getput(const snd_pcm_channel_area_t *dst_areas, snd_pcm_uframes_t dst_offset,
112 void snd_pcm_alaw_decode(const snd_pcm_channel_area_t *dst_areas,
118 void snd_pcm_alaw_encode(const snd_pcm_channel_area_t *dst_areas,
124 void snd_pcm_mulaw_decode(const snd_pcm_channel_area_t *dst_areas,
130 void snd_pcm_mulaw_encode(const snd_pcm_channel_area_t *dst_areas,
142 void snd_pcm_adpcm_decode(const snd_pcm_channel_area_t *dst_areas,
149 void snd_pcm_adpcm_encode(const snd_pcm_channel_area_t *dst_areas,
Dpcm_rate_linear.c44 const snd_pcm_channel_area_t *dst_areas,
69 const snd_pcm_channel_area_t *dst_areas, in linear_expand() argument
90 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in linear_expand()
140 const snd_pcm_channel_area_t *dst_areas, in linear_expand_s16() argument
153 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in linear_expand_s16()
191 const snd_pcm_channel_area_t *dst_areas, in linear_shrink() argument
212 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in linear_shrink()
261 const snd_pcm_channel_area_t *dst_areas, in linear_shrink_s16() argument
274 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in linear_shrink_s16()
312 const snd_pcm_channel_area_t *dst_areas, in linear_convert() argument
[all …]
Dpcm_dmix.c156 const snd_pcm_channel_area_t *dst_areas, in mix_areas() argument
198 (unsigned char *)dst_areas[0].addr + sample_size * dst_ofs * channels, in mix_areas()
211 dst_step = dst_areas[dchn].step / 8; in mix_areas()
213 ((unsigned char *)dst_areas[dchn].addr + dst_areas[dchn].first / 8) + dst_ofs * dst_step, in mix_areas()
224 const snd_pcm_channel_area_t *dst_areas, in remix_areas() argument
266 (unsigned char *)dst_areas[0].addr + sample_size * dst_ofs * channels, in remix_areas()
279 dst_step = dst_areas[dchn].step / 8; in remix_areas()
281 ((unsigned char *)dst_areas[dchn].addr + dst_areas[dchn].first / 8) + dst_ofs * dst_step, in remix_areas()
316 const snd_pcm_channel_area_t *src_areas, *dst_areas; in snd_pcm_dmix_sync_area() local
359 dst_areas = snd_pcm_mmap_areas(dmix->spcm); in snd_pcm_dmix_sync_area()
[all …]
Dpcm_dshare.c61 const snd_pcm_channel_area_t *dst_areas; in do_silence() local
65 dst_areas = snd_pcm_mmap_areas(dshare->spcm); in do_silence()
71 snd_pcm_area_silence(&dst_areas[dchn], 0, in do_silence()
78 const snd_pcm_channel_area_t *dst_areas, in share_areas() argument
90 memcpy(((char *)dst_areas[0].addr) + (dst_ofs * channels * fbytes), in share_areas()
97 snd_pcm_area_copy(&dst_areas[dchn], dst_ofs, in share_areas()
112 const snd_pcm_channel_area_t *src_areas, *dst_areas; in snd_pcm_dshare_sync_area() local
134 dst_areas = snd_pcm_mmap_areas(dshare->spcm); in snd_pcm_dshare_sync_area()
147 share_areas(dshare, src_areas, dst_areas, appl_ptr, slave_appl_ptr, transfer); in snd_pcm_dshare_sync_area()
Dpcm_alaw.c42 typedef void (*alaw_f)(const snd_pcm_channel_area_t *dst_areas,
144 void snd_pcm_alaw_decode(const snd_pcm_channel_area_t *dst_areas, in snd_pcm_alaw_decode() argument
162 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in snd_pcm_alaw_decode()
181 void snd_pcm_alaw_encode(const snd_pcm_channel_area_t *dst_areas, in snd_pcm_alaw_encode() argument
200 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in snd_pcm_alaw_encode()
Dpcm_mulaw.c44 const snd_pcm_channel_area_t *dst_areas,
161 void snd_pcm_mulaw_decode(const snd_pcm_channel_area_t *dst_areas, in snd_pcm_mulaw_decode() argument
179 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in snd_pcm_mulaw_decode()
198 void snd_pcm_mulaw_encode(const snd_pcm_channel_area_t *dst_areas, in snd_pcm_mulaw_encode() argument
217 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in snd_pcm_mulaw_encode()
Dpcm_lfloat.c55 void (*func)(const snd_pcm_channel_area_t *dst_areas, snd_pcm_uframes_t dst_offset,
96 void snd_pcm_lfloat_convert_integer_float(const snd_pcm_channel_area_t *dst_areas, snd_pcm_uframes_… in snd_pcm_lfloat_convert_integer_float() argument
118 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in snd_pcm_lfloat_convert_integer_float()
141 void snd_pcm_lfloat_convert_float_integer(const snd_pcm_channel_area_t *dst_areas, snd_pcm_uframes_… in snd_pcm_lfloat_convert_float_integer() argument
163 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in snd_pcm_lfloat_convert_float_integer()
Dpcm_softvol.c191 dst_area = &dst_areas[ch]; \
225 dst_area = &dst_areas[ch]; \
267 dst_area = &dst_areas[ch]; \
318 const snd_pcm_channel_area_t *dst_areas, in softvol_convert_stereo_vol() argument
330 snd_pcm_areas_silence(dst_areas, dst_offset, channels, frames, in softvol_convert_stereo_vol()
335 snd_pcm_areas_copy(dst_areas, dst_offset, src_areas, src_offset, in softvol_convert_stereo_vol()
379 const snd_pcm_channel_area_t *dst_areas, in softvol_convert_mono_vol() argument
391 snd_pcm_areas_silence(dst_areas, dst_offset, channels, frames, in softvol_convert_mono_vol()
395 snd_pcm_areas_copy(dst_areas, dst_offset, src_areas, src_offset, in softvol_convert_mono_vol()
Dpcm_adpcm.c72 typedef void (*adpcm_f)(const snd_pcm_channel_area_t *dst_areas,
216 void snd_pcm_adpcm_decode(const snd_pcm_channel_area_t *dst_areas, in snd_pcm_adpcm_decode() argument
236 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in snd_pcm_adpcm_decode()
269 void snd_pcm_adpcm_encode(const snd_pcm_channel_area_t *dst_areas, in snd_pcm_adpcm_encode() argument
290 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in snd_pcm_adpcm_encode()
Dpcm_dsnoop.c76 const snd_pcm_channel_area_t *dst_areas, in snoop_areas() argument
88 memcpy(((char *)dst_areas[0].addr) + (dst_ofs * channels * fbytes), in snoop_areas()
94 snd_pcm_area_copy(&dst_areas[chn], dst_ofs, &src_areas[schn], src_ofs, size, format); in snoop_areas()
107 const snd_pcm_channel_area_t *src_areas, *dst_areas; in snd_pcm_dsnoop_sync_area() local
110 dst_areas = snd_pcm_mmap_areas(pcm); in snd_pcm_dsnoop_sync_area()
119 snoop_areas(dsnoop, src_areas, dst_areas, slave_hw_ptr, hw_ptr, transfer); in snd_pcm_dsnoop_sync_area()
Dpcm_iec958.c48 const snd_pcm_channel_area_t *dst_areas,
147 const snd_pcm_channel_area_t *dst_areas, in snd_pcm_iec958_decode() argument
164 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in snd_pcm_iec958_decode()
184 const snd_pcm_channel_area_t *dst_areas, in snd_pcm_iec958_encode() argument
207 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in snd_pcm_iec958_encode()
Dpcm_linear.c147 void snd_pcm_linear_convert(const snd_pcm_channel_area_t *dst_areas, snd_pcm_uframes_t dst_offset, in snd_pcm_linear_convert() argument
163 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in snd_pcm_linear_convert()
181 void snd_pcm_linear_getput(const snd_pcm_channel_area_t *dst_areas, snd_pcm_uframes_t dst_offset, in snd_pcm_linear_getput() argument
199 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in snd_pcm_linear_getput()
Dpcm_direct.c606 const snd_pcm_channel_area_t *dst_areas; local
607 dst_areas = snd_pcm_mmap_areas(direct->spcm);
608 snd_pcm_areas_silence(dst_areas, 0, direct->spcm->channels,
1367 const snd_pcm_channel_area_t *dst_areas; local
1368 dst_areas = snd_pcm_mmap_areas(spcm);
1369 snd_pcm_areas_silence(dst_areas, 0, spcm->channels,
1631 const snd_pcm_channel_area_t *dst_areas; local
1640 dst_areas = snd_pcm_mmap_areas(dmix->spcm);
1643 if (dst_areas[chn-1].addr != dst_areas[chn].addr)
1651 if (dst_areas[chn].first != chn * bits ||
[all …]
Dpcm.c3163 int snd_pcm_areas_silence(const snd_pcm_channel_area_t *dst_areas, snd_pcm_uframes_t dst_offset, in snd_pcm_areas_silence() argument
3168 void *addr = dst_areas->addr; in snd_pcm_areas_silence()
3169 unsigned int step = dst_areas->step; in snd_pcm_areas_silence()
3170 const snd_pcm_channel_area_t *begin = dst_areas; in snd_pcm_areas_silence()
3177 dst_areas++; in snd_pcm_areas_silence()
3179 dst_areas->addr != addr || in snd_pcm_areas_silence()
3180 dst_areas->step != step || in snd_pcm_areas_silence()
3181 dst_areas->first != dst_areas[-1].first + width) in snd_pcm_areas_silence()
3194 dst_areas = begin + 1; in snd_pcm_areas_silence()
3335 int snd_pcm_areas_copy(const snd_pcm_channel_area_t *dst_areas, snd_pcm_uframes_t dst_offset, in snd_pcm_areas_copy() argument
[all …]
Dpcm_rate.c569 static void do_convert(const snd_pcm_channel_area_t *dst_areas, in do_convert() argument
583 out_areas = dst_areas; in do_convert()
606 snd_pcm_linear_convert(dst_areas, dst_offset, in do_convert()
Dpcm_route.c401 static void snd_pcm_route_convert(const snd_pcm_channel_area_t *dst_areas, in snd_pcm_route_convert() argument
415 dst_area = dst_areas; in snd_pcm_route_convert()
/third_party/alsa-lib/include/
Dpcm_rate.h89 const snd_pcm_channel_area_t *dst_areas,
153 const snd_pcm_channel_area_t *dst_areas,
171 const snd_pcm_channel_area_t *dst_areas,
Dpcm_extplug.h134 const snd_pcm_channel_area_t *dst_areas,