Searched refs:src_format (Results 1 - 18 of 18) 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.c39 nchannels = plugin->src_format.channels;
54 snd_pcm_area_copy(&src_channels->area, 0, &dst_channels->area, 0, frames, plugin->src_format.format);
62 struct snd_pcm_plugin_format *src_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))
81 width = snd_pcm_format_physical_width(src_format->format);
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.c61 nsrcs = plugin->src_format.channels;
86 struct snd_pcm_plugin_format *src_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 Drate.c58 for (channel = 0; channel < plugin->src_format.channels; channel++) {
79 for (channel = 0; channel < plugin->src_format.channels; channel++) {
138 for (channel = 0; channel < plugin->src_format.channels; ++channel) {
193 if (plugin->src_format.rate < plugin->dst_format.rate) {
226 if (plugin->src_format.rate < plugin->dst_format.rate) {
264 for (channel = 0; channel < plugin->src_format.channels; channel++) {
301 struct snd_pcm_plugin_format *src_format,
313 if (snd_BUG_ON(src_format->channels != dst_format->channels))
315 if (snd_BUG_ON(src_format->channels <= 0))
317 if (snd_BUG_ON(src_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 Dlinear.c62 int nchannels = plugin->src_format.channels;
103 for (channel = 0; channel < plugin->src_format.channels; channel++) {
117 static void init_data(struct linear_priv *data, int src_format, int dst_format) argument
121 src_bytes = snd_pcm_format_width(src_format) / 8;
123 src_le = snd_pcm_format_little_endian(src_format) > 0;
133 data->src_ofs = snd_pcm_format_physical_width(src_format) / 8 -
140 if (snd_pcm_format_signed(src_format) !=
150 struct snd_pcm_plugin_format *src_format,
162 if (snd_BUG_ON(src_format->rate != dst_format->rate))
164 if (snd_BUG_ON(src_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.h57 struct snd_pcm_plugin_format src_format; /* source format */ member in struct:snd_pcm_plugin
87 struct snd_pcm_plugin_format *src_format,
104 struct snd_pcm_plugin_format *src_format,
108 struct snd_pcm_plugin_format *src_format,
112 struct snd_pcm_plugin_format *src_format,
116 struct snd_pcm_plugin_format *src_format,
120 struct snd_pcm_plugin_format *src_format,
H A Dmulaw.c175 int nchannels = plugin->src_format.channels;
221 int nchannels = plugin->src_format.channels;
262 for (channel = 0; channel < plugin->src_format.channels; channel++) {
299 struct snd_pcm_plugin_format *src_format,
313 if (snd_BUG_ON(src_format->rate != dst_format->rate))
315 if (snd_BUG_ON(src_format->channels != dst_format->channels))
319 format = src_format;
322 else if (src_format->format == SNDRV_PCM_FORMAT_MU_LAW) {
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 Dpcm_plugin.c55 format = &plugin->src_format;
145 struct snd_pcm_plugin_format *src_format,
155 if (snd_BUG_ON(!src_format || !dst_format))
164 plugin->src_format = *src_format;
165 plugin->src_width = snd_pcm_format_physical_width(src_format->format);
171 channels = src_format->channels;
553 format = &plugin->src_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 Dio.c102 for (channel = 0; channel < plugin->src_format.channels; ++channel, ++v)
H A Dpcm_oss.c1325 size_t oss_frame_bytes = (runtime->oss.plugin_first->src_width * runtime->oss.plugin_first->src_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.c53 int snd_pcm_linear_convert_index(snd_pcm_format_t src_format, argument
58 sign = (snd_pcm_format_signed(src_format) !=
61 src_endian = snd_pcm_format_big_endian(src_format);
64 src_endian = snd_pcm_format_little_endian(src_format);
73 src_width = snd_pcm_format_width(src_format) / 8 - 1;
79 int snd_pcm_linear_get_index(snd_pcm_format_t src_format, snd_pcm_format_t dst_format) argument
82 sign = (snd_pcm_format_signed(src_format) !=
85 endian = snd_pcm_format_big_endian(src_format);
87 endian = snd_pcm_format_little_endian(src_format);
91 pwidth = snd_pcm_format_physical_width(src_format);
110 snd_pcm_linear_get32_index(snd_pcm_format_t src_format, snd_pcm_format_t dst_format) argument
115 snd_pcm_linear_put_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
282 err = INTERNAL(snd_pcm_hw_params_get_format)(params, &src_format);
285 src_format = slave->format;
288 if (snd_pcm_format_linear(src_format)) {
289 lfloat->int32_idx = snd_pcm_linear_get32_index(src_format, SND_PCM_FORMAT_S32);
294 lfloat->float32_idx = snd_pcm_lfloat_get_s32_index(src_format);
H A Dpcm_route.c626 snd_pcm_format_t src_format, dst_format; local
636 err = INTERNAL(snd_pcm_hw_params_get_format)(params, &src_format);
639 src_format = slave->format;
644 route->params.use_getput = snd_pcm_format_physical_width(src_format) == 24 ||
646 route->params.get_idx = snd_pcm_linear_get_index(src_format, SND_PCM_FORMAT_S16);
648 route->params.conv_idx = snd_pcm_linear_convert_index(src_format, dst_format);
649 route->params.src_size = snd_pcm_format_width(src_format) / 8;
654 if (snd_pcm_format_width(src_format) == 32)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/msm/
H A Dmdp4_overlay.c295 switch (pipe->src_format) {
429 if (pipe->src_format == MDP_Y_CRCB_H2V1) {
433 } else if (pipe->src_format == MDP_Y_CBCR_H2V1) {
437 } else if (pipe->src_format == MDP_Y_CRCB_H2V2) {
441 } else if (pipe->src_format == MDP_Y_CBCR_H2V2) {
462 if (pipe->src_format == MDP_Y_CRCB_H2V2_TILE) {
466 } else if (pipe->src_format == MDP_Y_CBCR_H2V2_TILE) {
761 transp_color_key(pipe->src_format, pipe->transp, &c0, &c1, &c2);
963 pipe->src_format = req->src.format;
H A Dmdp4.h223 uint32 src_format; member in struct:mdp4_overlay_pipe
H A Dmdp4_overlay_mddi.c80 pipe->src_format = format;
H A Dmdp4_overlay_lcdc.c127 pipe->src_format = format;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libswscale/
H A Dswscale_unscaled.c555 const AVPixFmtDescriptor *src_format = av_pix_fmt_desc_get(c->srcFormat); local
558 int alpha = src_format->flags & AV_PIX_FMT_FLAG_ALPHA;
560 if ( HAVE_BIGENDIAN && !(src_format->flags & AV_PIX_FMT_FLAG_BE) ||
561 !HAVE_BIGENDIAN && src_format->flags & AV_PIX_FMT_FLAG_BE)
570 src_format->name, dst_format->name);
593 src_format->name, dst_format->name);
726 const AVPixFmtDescriptor *src_format = av_pix_fmt_desc_get(c->srcFormat); local
728 int bits_per_sample = src_format->comp[0].depth_minus1 + 1;
730 if ( HAVE_BIGENDIAN && !(src_format->flags & AV_PIX_FMT_FLAG_BE) ||
731 !HAVE_BIGENDIAN && src_format
[all...]

Completed in 163 milliseconds