Searched refs:src_channels (Results 1 – 8 of 8) sorted by relevance
/linux-2.6.39/sound/core/oss/ |
D | mulaw.c | 142 const struct snd_pcm_plugin_channel *src_channels, 169 const struct snd_pcm_plugin_channel *src_channels, in mulaw_decode() argument 181 if (!src_channels[channel].enabled) { in mulaw_decode() 188 src = src_channels[channel].area.addr + src_channels[channel].area.first / 8; in mulaw_decode() 190 src_step = src_channels[channel].area.step / 8; in mulaw_decode() 215 const struct snd_pcm_plugin_channel *src_channels, in mulaw_encode() argument 227 if (!src_channels[channel].enabled) { in mulaw_encode() 234 src = src_channels[channel].area.addr + src_channels[channel].area.first / 8; in mulaw_encode() 236 src_step = src_channels[channel].area.step / 8; in mulaw_encode() 249 const struct snd_pcm_plugin_channel *src_channels, in mulaw_transfer() argument [all …]
|
D | copy.c | 28 const struct snd_pcm_plugin_channel *src_channels, in copy_transfer() argument 35 if (snd_BUG_ON(!plugin || !src_channels || !dst_channels)) in copy_transfer() 41 if (snd_BUG_ON(src_channels->area.first % 8 || in copy_transfer() 42 src_channels->area.step % 8)) in copy_transfer() 47 if (!src_channels->enabled) { in copy_transfer() 54 …snd_pcm_area_copy(&src_channels->area, 0, &dst_channels->area, 0, frames, plugin->src_format.forma… in copy_transfer() 55 src_channels++; in copy_transfer()
|
D | rate.c | 41 const struct snd_pcm_plugin_channel *src_channels, 65 const struct snd_pcm_plugin_channel *src_channels, in resample_expand() argument 83 if (!src_channels[channel].enabled) { in resample_expand() 90 src = (signed short *)src_channels[channel].area.addr + in resample_expand() 91 src_channels[channel].area.first / 8 / 2; in resample_expand() 94 src_step = src_channels[channel].area.step / 8 / 2; in resample_expand() 124 const struct snd_pcm_plugin_channel *src_channels, in resample_shrink() argument 142 if (!src_channels[channel].enabled) { in resample_shrink() 149 src = (signed short *)src_channels[channel].area.addr + in resample_shrink() 150 src_channels[channel].area.first / 8 / 2; in resample_shrink() [all …]
|
D | linear.c | 56 const struct snd_pcm_plugin_channel *src_channels, in convert() argument 68 if (!src_channels[channel].enabled) { in convert() 75 src = src_channels[channel].area.addr + src_channels[channel].area.first / 8; in convert() 77 src_step = src_channels[channel].area.step / 8; in convert() 89 const struct snd_pcm_plugin_channel *src_channels, in linear_transfer() argument 95 if (snd_BUG_ON(!plugin || !src_channels || !dst_channels)) in linear_transfer() 104 if (snd_BUG_ON(src_channels[channel].area.first % 8 || in linear_transfer() 105 src_channels[channel].area.step % 8)) in linear_transfer() 113 convert(plugin, src_channels, dst_channels, frames); in linear_transfer()
|
D | route.c | 48 const struct snd_pcm_plugin_channel *src_channels, in route_transfer() argument 56 if (snd_BUG_ON(!plugin || !src_channels || !dst_channels)) in route_transfer() 69 copy_area(src_channels, dvp, frames, format); in route_transfer() 76 copy_area(src_channels, dvp, frames, format); in route_transfer() 78 src_channels++; in route_transfer()
|
D | io.c | 38 const struct snd_pcm_plugin_channel *src_channels, in io_playback_transfer() argument 44 if (snd_BUG_ON(!src_channels)) in io_playback_transfer() 47 return pcm_write(plugin->plug, src_channels->area.addr, frames); in io_playback_transfer() 54 if (src_channels[channel].enabled) in io_playback_transfer() 55 bufs[channel] = src_channels[channel].area.addr; in io_playback_transfer() 64 const struct snd_pcm_plugin_channel *src_channels, in io_capture_transfer() argument
|
D | pcm_plugin.c | 584 …ansfer(struct snd_pcm_substream *plug, struct snd_pcm_plugin_channel *src_channels, snd_pcm_uframe… in snd_pcm_plug_write_transfer() argument 608 if ((frames = plugin->transfer(plugin, src_channels, dst_channels, frames)) < 0) in snd_pcm_plug_write_transfer() 610 src_channels = dst_channels; in snd_pcm_plug_write_transfer() 619 struct snd_pcm_plugin_channel *src_channels, *dst_channels; in snd_pcm_plug_read_transfer() local 627 src_channels = NULL; in snd_pcm_plug_read_transfer() 639 if ((frames = plugin->transfer(plugin, src_channels, dst_channels, frames)) < 0) in snd_pcm_plug_read_transfer() 642 src_channels = dst_channels; in snd_pcm_plug_read_transfer()
|
D | pcm_plugin.h | 68 const struct snd_pcm_plugin_channel *src_channels, 134 struct snd_pcm_plugin_channel *src_channels,
|