/linux-3.4.99/sound/core/oss/ |
D | linear.c | 70 snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin->dst_format.format); in convert() 115 snd_pcm_format_t src_format, snd_pcm_format_t dst_format) in init_data() argument 120 dst_bytes = snd_pcm_format_width(dst_format) / 8; in init_data() 122 dst_le = snd_pcm_format_little_endian(dst_format) > 0; in init_data() 136 data->dst_ofs = snd_pcm_format_physical_width(dst_format) / 8 - in init_data() 139 snd_pcm_format_signed(dst_format)) { in init_data() 149 struct snd_pcm_plugin_format *dst_format, in snd_pcm_plugin_build_linear() argument 160 if (snd_BUG_ON(src_format->rate != dst_format->rate)) in snd_pcm_plugin_build_linear() 162 if (snd_BUG_ON(src_format->channels != dst_format->channels)) in snd_pcm_plugin_build_linear() 165 !snd_pcm_format_linear(dst_format->format))) in snd_pcm_plugin_build_linear() [all …]
|
D | copy.c | 49 snd_pcm_area_silence(&dst_channels->area, 0, frames, plugin->dst_format.format); in copy_transfer() 63 struct snd_pcm_plugin_format *dst_format, in snd_pcm_plugin_build_copy() argument 74 if (snd_BUG_ON(src_format->format != dst_format->format)) in snd_pcm_plugin_build_copy() 76 if (snd_BUG_ON(src_format->rate != dst_format->rate)) in snd_pcm_plugin_build_copy() 78 if (snd_BUG_ON(src_format->channels != dst_format->channels)) in snd_pcm_plugin_build_copy() 85 err = snd_pcm_plugin_build(plug, "copy", src_format, dst_format, in snd_pcm_plugin_build_copy()
|
D | route.c | 62 ndsts = plugin->dst_format.channels; in route_transfer() 64 format = plugin->dst_format.format; in route_transfer() 87 struct snd_pcm_plugin_format *dst_format, in snd_pcm_plugin_build_route() argument 96 if (snd_BUG_ON(src_format->rate != dst_format->rate)) in snd_pcm_plugin_build_route() 98 if (snd_BUG_ON(src_format->format != dst_format->format)) in snd_pcm_plugin_build_route() 102 src_format, dst_format, 0, &plugin); in snd_pcm_plugin_build_route()
|
D | rate.c | 85 snd_pcm_area_silence(&dst_channels[channel].area, 0, dst_frames, plugin->dst_format.format); in resample_expand() 144 snd_pcm_area_silence(&dst_channels[channel].area, 0, dst_frames, plugin->dst_format.format); in resample_shrink() 193 if (plugin->src_format.rate < plugin->dst_format.rate) { in rate_src_frames() 226 if (plugin->src_format.rate < plugin->dst_format.rate) { in rate_dst_frames() 302 struct snd_pcm_plugin_format *dst_format, in snd_pcm_plugin_build_rate() argument 313 if (snd_BUG_ON(src_format->channels != dst_format->channels)) in snd_pcm_plugin_build_rate() 319 if (snd_BUG_ON(dst_format->format != SNDRV_PCM_FORMAT_S16)) in snd_pcm_plugin_build_rate() 321 if (snd_BUG_ON(src_format->rate == dst_format->rate)) in snd_pcm_plugin_build_rate() 325 src_format, dst_format, in snd_pcm_plugin_build_rate() 332 if (src_format->rate < dst_format->rate) { in snd_pcm_plugin_build_rate() [all …]
|
D | pcm_plugin.h | 58 struct snd_pcm_plugin_format dst_format; /* destination format */ member 88 struct snd_pcm_plugin_format *dst_format, 105 struct snd_pcm_plugin_format *dst_format, 109 struct snd_pcm_plugin_format *dst_format, 113 struct snd_pcm_plugin_format *dst_format, 117 struct snd_pcm_plugin_format *dst_format, 121 struct snd_pcm_plugin_format *dst_format,
|
D | mulaw.c | 183 snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin->dst_format.format); in mulaw_decode() 229 snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin->dst_format.format); in mulaw_encode() 300 struct snd_pcm_plugin_format *dst_format, in snd_pcm_plugin_build_mulaw() argument 313 if (snd_BUG_ON(src_format->rate != dst_format->rate)) in snd_pcm_plugin_build_mulaw() 315 if (snd_BUG_ON(src_format->channels != dst_format->channels)) in snd_pcm_plugin_build_mulaw() 318 if (dst_format->format == SNDRV_PCM_FORMAT_MU_LAW) { in snd_pcm_plugin_build_mulaw() 323 format = dst_format; in snd_pcm_plugin_build_mulaw() 334 src_format, dst_format, in snd_pcm_plugin_build_mulaw()
|
D | pcm_plugin.c | 60 format = &plugin->dst_format; in snd_pcm_plugin_alloc() 149 struct snd_pcm_plugin_format *dst_format, in snd_pcm_plugin_build() argument 158 if (snd_BUG_ON(!src_format || !dst_format)) in snd_pcm_plugin_build() 170 plugin->dst_format = *dst_format; in snd_pcm_plugin_build() 171 plugin->dst_width = snd_pcm_format_physical_width(dst_format->format); in snd_pcm_plugin_build() 176 channels = dst_format->channels; in snd_pcm_plugin_build() 563 format = &plugin->dst_format; in snd_pcm_plug_client_channels_buf()
|
D | io.c | 49 int channel, channels = plugin->dst_format.channels; in io_playback_transfer() 75 int channel, channels = plugin->dst_format.channels; in io_capture_transfer()
|
D | pcm_oss.c | 1439 …_bytes = (runtime->oss.plugin_last->dst_width * runtime->oss.plugin_last->dst_format.channels) / 8; in snd_pcm_oss_read2()
|
/linux-3.4.99/drivers/gpu/drm/gma500/ |
D | accel_2d.c | 175 uint32_t dst_stride, uint32_t dst_format, in psb_accel_2d_copy() argument 210 PSB_2D_DST_SURF_BH | dst_format | (dst_stride << in psb_accel_2d_copy() 250 uint32_t dst_format; in psbfb_copyarea_accel() local 261 dst_format = PSB_2D_DST_332RGB; in psbfb_copyarea_accel() 265 dst_format = PSB_2D_DST_555RGB; in psbfb_copyarea_accel() 269 dst_format = PSB_2D_DST_565RGB; in psbfb_copyarea_accel() 275 dst_format = PSB_2D_DST_8888ARGB; in psbfb_copyarea_accel() 289 offset, stride, dst_format, in psbfb_copyarea_accel()
|