Searched refs:dst_format (Results 1 - 14 of 14) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/core/oss/
H A Dcopy.c49 snd_pcm_area_silence(&dst_channels->area, 0, frames, plugin->dst_format.format);
63 struct snd_pcm_plugin_format *dst_format,
74 if (snd_BUG_ON(src_format->format != dst_format->format))
76 if (snd_BUG_ON(src_format->rate != dst_format->rate))
78 if (snd_BUG_ON(src_format->channels != dst_format->channels))
85 err = snd_pcm_plugin_build(plug, "copy", src_format, dst_format,
61 snd_pcm_plugin_build_copy(struct snd_pcm_substream *plug, struct snd_pcm_plugin_format *src_format, struct snd_pcm_plugin_format *dst_format, struct snd_pcm_plugin **r_plugin) argument
H A Droute.c62 ndsts = plugin->dst_format.channels;
64 format = plugin->dst_format.format;
87 struct snd_pcm_plugin_format *dst_format,
96 if (snd_BUG_ON(src_format->rate != dst_format->rate))
98 if (snd_BUG_ON(src_format->format != dst_format->format))
102 src_format, dst_format, 0, &plugin);
85 snd_pcm_plugin_build_route(struct snd_pcm_substream *plug, struct snd_pcm_plugin_format *src_format, struct snd_pcm_plugin_format *dst_format, struct snd_pcm_plugin **r_plugin) argument
H A Dlinear.c70 snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin->dst_format.format);
117 static void init_data(struct linear_priv *data, int src_format, int dst_format) argument
122 dst_bytes = snd_pcm_format_width(dst_format) / 8;
124 dst_le = snd_pcm_format_little_endian(dst_format) > 0;
138 data->dst_ofs = snd_pcm_format_physical_width(dst_format) / 8 -
141 snd_pcm_format_signed(dst_format)) {
151 struct snd_pcm_plugin_format *dst_format,
162 if (snd_BUG_ON(src_format->rate != dst_format->rate))
164 if (snd_BUG_ON(src_format->channels != dst_format->channels))
167 !snd_pcm_format_linear(dst_format
149 snd_pcm_plugin_build_linear(struct snd_pcm_substream *plug, struct snd_pcm_plugin_format *src_format, struct snd_pcm_plugin_format *dst_format, struct snd_pcm_plugin **r_plugin) argument
[all...]
H A Dpcm_plugin.h58 struct snd_pcm_plugin_format dst_format; /* destination format */ member in struct:snd_pcm_plugin
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,
H A Drate.c85 snd_pcm_area_silence(&dst_channels[channel].area, 0, dst_frames, plugin->dst_format.format);
144 snd_pcm_area_silence(&dst_channels[channel].area, 0, dst_frames, plugin->dst_format.format);
193 if (plugin->src_format.rate < plugin->dst_format.rate) {
226 if (plugin->src_format.rate < plugin->dst_format.rate) {
302 struct snd_pcm_plugin_format *dst_format,
313 if (snd_BUG_ON(src_format->channels != dst_format->channels))
319 if (snd_BUG_ON(dst_format->format != SNDRV_PCM_FORMAT_S16))
321 if (snd_BUG_ON(src_format->rate == dst_format->rate))
325 src_format, dst_format,
332 if (src_format->rate < dst_format
300 snd_pcm_plugin_build_rate(struct snd_pcm_substream *plug, struct snd_pcm_plugin_format *src_format, struct snd_pcm_plugin_format *dst_format, struct snd_pcm_plugin **r_plugin) argument
[all...]
H A Dmulaw.c183 snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin->dst_format.format);
229 snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin->dst_format.format);
300 struct snd_pcm_plugin_format *dst_format,
313 if (snd_BUG_ON(src_format->rate != dst_format->rate))
315 if (snd_BUG_ON(src_format->channels != dst_format->channels))
318 if (dst_format->format == SNDRV_PCM_FORMAT_MU_LAW) {
323 format = dst_format;
334 src_format, dst_format,
298 snd_pcm_plugin_build_mulaw(struct snd_pcm_substream *plug, struct snd_pcm_plugin_format *src_format, struct snd_pcm_plugin_format *dst_format, struct snd_pcm_plugin **r_plugin) argument
H A Dio.c49 int channel, channels = plugin->dst_format.channels;
75 int channel, channels = plugin->dst_format.channels;
H A Dpcm_plugin.c57 format = &plugin->dst_format;
146 struct snd_pcm_plugin_format *dst_format,
155 if (snd_BUG_ON(!src_format || !dst_format))
167 plugin->dst_format = *dst_format;
168 plugin->dst_width = snd_pcm_format_physical_width(dst_format->format);
173 channels = dst_format->channels;
556 format = &plugin->dst_format;
143 snd_pcm_plugin_build(struct snd_pcm_substream *plug, const char *name, struct snd_pcm_plugin_format *src_format, struct snd_pcm_plugin_format *dst_format, size_t extra, struct snd_pcm_plugin **ret) argument
H A Dpcm_oss.c1426 size_t oss_frame_bytes = (runtime->oss.plugin_last->dst_width * runtime->oss.plugin_last->dst_format.channels) / 8;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/alsa-lib-1.0.26/src/pcm/
H A Dpcm_linear.c54 snd_pcm_format_t dst_format)
59 snd_pcm_format_signed(dst_format));
62 dst_endian = snd_pcm_format_big_endian(dst_format);
65 dst_endian = snd_pcm_format_little_endian(dst_format);
74 dst_width = snd_pcm_format_width(dst_format) / 8 - 1;
79 int snd_pcm_linear_get_index(snd_pcm_format_t src_format, snd_pcm_format_t dst_format) argument
83 snd_pcm_format_signed(dst_format));
110 int snd_pcm_linear_get32_index(snd_pcm_format_t src_format, snd_pcm_format_t dst_format) argument
112 return snd_pcm_linear_get_index(src_format, dst_format);
115 int snd_pcm_linear_put_index(snd_pcm_format_t src_format, snd_pcm_format_t dst_format) argument
53 snd_pcm_linear_convert_index(snd_pcm_format_t src_format, snd_pcm_format_t dst_format) argument
146 snd_pcm_linear_put32_index(snd_pcm_format_t src_format, snd_pcm_format_t dst_format) argument
[all...]
H A Dpcm_plugin.h95 int snd_pcm_linear_get_index(snd_pcm_format_t src_format, snd_pcm_format_t dst_format);
96 int snd_pcm_linear_put_index(snd_pcm_format_t src_format, snd_pcm_format_t dst_format);
97 int snd_pcm_linear_get32_index(snd_pcm_format_t src_format, snd_pcm_format_t dst_format);
98 int snd_pcm_linear_put32_index(snd_pcm_format_t src_format, snd_pcm_format_t dst_format);
99 int snd_pcm_linear_convert_index(snd_pcm_format_t src_format, snd_pcm_format_t dst_format);
H A Dpcm_lfloat.c273 snd_pcm_format_t src_format, dst_format; local
283 dst_format = slave->format;
286 err = INTERNAL(snd_pcm_hw_params_get_format)(params, &dst_format);
290 lfloat->float32_idx = snd_pcm_lfloat_put_s32_index(dst_format);
293 lfloat->int32_idx = snd_pcm_linear_put32_index(SND_PCM_FORMAT_S32, dst_format);
H A Dpcm_route.c626 snd_pcm_format_t src_format, dst_format; local
637 dst_format = slave->format;
640 err = INTERNAL(snd_pcm_hw_params_get_format)(params, &dst_format);
645 snd_pcm_format_physical_width(dst_format) == 24;
647 route->params.put_idx = snd_pcm_linear_put32_index(SND_PCM_FORMAT_S32, dst_format);
648 route->params.conv_idx = snd_pcm_linear_convert_index(src_format, dst_format);
650 route->params.dst_sfmt = dst_format;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libswscale/
H A Dswscale_unscaled.c556 const AVPixFmtDescriptor *dst_format = av_pix_fmt_desc_get(c->dstFormat); local
557 int bpc = dst_format->comp[0].depth_minus1 + 1;
563 if ( HAVE_BIGENDIAN && !(dst_format->flags & AV_PIX_FMT_FLAG_BE) ||
564 !HAVE_BIGENDIAN && dst_format->flags & AV_PIX_FMT_FLAG_BE)
567 if ((dst_format->flags & (AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_RGB)) !=
570 src_format->name, dst_format->name);
593 src_format->name, dst_format->name);
727 const AVPixFmtDescriptor *dst_format = av_pix_fmt_desc_get(c->dstFormat); local
733 if ( HAVE_BIGENDIAN && !(dst_format->flags & AV_PIX_FMT_FLAG_BE) ||
734 !HAVE_BIGENDIAN && dst_format
[all...]

Completed in 267 milliseconds