Lines Matching refs:width

52 	ssize_t width;  in snd_pcm_plugin_alloc()  local
62 if ((width = snd_pcm_format_physical_width(format->format)) < 0) in snd_pcm_plugin_alloc()
63 return width; in snd_pcm_plugin_alloc()
64 size = frames * format->channels * width; in snd_pcm_plugin_alloc()
84 c->area.first = channel * width; in snd_pcm_plugin_alloc()
85 c->area.step = format->channels * width; in snd_pcm_plugin_alloc()
97 c->area.step = width; in snd_pcm_plugin_alloc()
321 unsigned int width = snd_pcm_format_width(format); in snd_pcm_plug_slave_format() local
332 if (w >= width) in snd_pcm_plug_slave_format()
333 badness = w - width; in snd_pcm_plug_slave_format()
335 badness = width - w + 32; in snd_pcm_plug_slave_format()
555 int width, nchannels, channel; in snd_pcm_plug_client_channels_buf() local
569 if ((width = snd_pcm_format_physical_width(format->format)) < 0) in snd_pcm_plug_client_channels_buf()
570 return width; in snd_pcm_plug_client_channels_buf()
580 v->area.first = channel * width; in snd_pcm_plug_client_channels_buf()
581 v->area.step = nchannels * width; in snd_pcm_plug_client_channels_buf()
655 int width; in snd_pcm_area_silence() local
660 width = snd_pcm_format_physical_width(format); in snd_pcm_area_silence()
661 if (width <= 0) in snd_pcm_area_silence()
663 if (dst_area->step == (unsigned int) width && width >= 8) in snd_pcm_area_silence()
669 if (width == 4) { in snd_pcm_area_silence()
686 width /= 8; in snd_pcm_area_silence()
688 memcpy(dst, silence, width); in snd_pcm_area_silence()
701 int width; in snd_pcm_area_copy() local
709 width = snd_pcm_format_physical_width(format); in snd_pcm_area_copy()
710 if (width <= 0) in snd_pcm_area_copy()
712 if (src_area->step == (unsigned int) width && in snd_pcm_area_copy()
713 dst_area->step == (unsigned int) width && width >= 8) { in snd_pcm_area_copy()
714 size_t bytes = samples * width / 8; in snd_pcm_area_copy()
720 if (width == 4) { in snd_pcm_area_copy()
750 width /= 8; in snd_pcm_area_copy()
752 memcpy(dst, src, width); in snd_pcm_area_copy()