Searched refs:src_channels (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/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 93 if (snd_BUG_ON(!plugin || !src_channels || !dst_channels)) in linear_transfer() 101 if (snd_BUG_ON(src_channels[channel].area.first % 8 || in linear_transfer() 102 src_channels[channel].area.step % 8)) in linear_transfer() 112 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() 71 copy_area(src_channels, dvp, frames, format); in route_transfer() 78 copy_area(src_channels, dvp, frames, format); in route_transfer() 80 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 | 592 …ansfer(struct snd_pcm_substream *plug, struct snd_pcm_plugin_channel *src_channels, snd_pcm_uframe… in snd_pcm_plug_write_transfer() argument 624 if ((frames = plugin->transfer(plugin, src_channels, dst_channels, frames)) < 0) in snd_pcm_plug_write_transfer() 626 src_channels = dst_channels; in snd_pcm_plug_write_transfer() 635 struct snd_pcm_plugin_channel *src_channels, *dst_channels; in snd_pcm_plug_read_transfer() local 643 src_channels = NULL; in snd_pcm_plug_read_transfer() 655 if ((frames = plugin->transfer(plugin, src_channels, dst_channels, frames)) < 0) in snd_pcm_plug_read_transfer() 658 src_channels = dst_channels; in snd_pcm_plug_read_transfer()
|
D | pcm_plugin.h | 53 const struct snd_pcm_plugin_channel *src_channels, 119 struct snd_pcm_plugin_channel *src_channels,
|