Home
last modified time | relevance | path

Searched refs:dst_area (Results 1 – 14 of 14) sorted by relevance

/third_party/alsa-lib/src/pcm/
Dpcm_rate_linear.c90 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in linear_expand() local
98 dst = snd_pcm_channel_area_addr(dst_area, dst_offset); in linear_expand()
100 dst_step = snd_pcm_channel_area_step(dst_area); in linear_expand()
153 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in linear_expand_s16() local
161 dst = snd_pcm_channel_area_addr(dst_area, dst_offset); in linear_expand_s16()
163 dst_step = snd_pcm_channel_area_step(dst_area) >> 1; in linear_expand_s16()
212 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in linear_shrink() local
221 dst = snd_pcm_channel_area_addr(dst_area, dst_offset); in linear_shrink()
223 dst_step = snd_pcm_channel_area_step(dst_area); in linear_shrink()
274 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in linear_shrink_s16() local
[all …]
Dpcm_route.c76 typedef void (*route_f)(const snd_pcm_channel_area_t *dst_area,
112 static void snd_pcm_route_convert1_zero(const snd_pcm_channel_area_t *dst_area, in snd_pcm_route_convert1_zero() argument
121 snd_pcm_area_silence(dst_area, dst_offset, frames, params->dst_sfmt); in snd_pcm_route_convert1_zero()
126 static void snd_pcm_route_convert1_one(const snd_pcm_channel_area_t *dst_area, in snd_pcm_route_convert1_one() argument
153 snd_pcm_route_convert1_zero(dst_area, dst_offset, in snd_pcm_route_convert1_one()
162 dst = snd_pcm_channel_area_addr(dst_area, dst_offset); in snd_pcm_route_convert1_one()
164 dst_step = snd_pcm_channel_area_step(dst_area); in snd_pcm_route_convert1_one()
176 static void snd_pcm_route_convert1_one_getput(const snd_pcm_channel_area_t *dst_area, in snd_pcm_route_convert1_one_getput() argument
204 snd_pcm_route_convert1_zero(dst_area, dst_offset, in snd_pcm_route_convert1_one_getput()
214 dst = snd_pcm_channel_area_addr(dst_area, dst_offset); in snd_pcm_route_convert1_one_getput()
[all …]
Dpcm_adpcm.c236 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in snd_pcm_adpcm_decode() local
242 dst = snd_pcm_channel_area_addr(dst_area, dst_offset); in snd_pcm_adpcm_decode()
243 dst_step = snd_pcm_channel_area_step(dst_area); in snd_pcm_adpcm_decode()
290 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in snd_pcm_adpcm_encode() local
293 dstbit = dst_area->first + dst_area->step * dst_offset; in snd_pcm_adpcm_encode()
294 dst = (char *) dst_area->addr + dstbit / 8; in snd_pcm_adpcm_encode()
296 dst_step = dst_area->step / 8; in snd_pcm_adpcm_encode()
297 dstbit_step = dst_area->step % 8; in snd_pcm_adpcm_encode()
Dpcm_mulaw.c179 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in snd_pcm_mulaw_decode() local
181 dst = snd_pcm_channel_area_addr(dst_area, dst_offset); in snd_pcm_mulaw_decode()
183 dst_step = snd_pcm_channel_area_step(dst_area); in snd_pcm_mulaw_decode()
217 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in snd_pcm_mulaw_encode() local
219 dst = snd_pcm_channel_area_addr(dst_area, dst_offset); in snd_pcm_mulaw_encode()
221 dst_step = snd_pcm_channel_area_step(dst_area); in snd_pcm_mulaw_encode()
Dpcm_alaw.c162 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in snd_pcm_alaw_decode() local
164 dst = snd_pcm_channel_area_addr(dst_area, dst_offset); in snd_pcm_alaw_decode()
166 dst_step = snd_pcm_channel_area_step(dst_area); in snd_pcm_alaw_decode()
200 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in snd_pcm_alaw_encode() local
202 dst = snd_pcm_channel_area_addr(dst_area, dst_offset); in snd_pcm_alaw_encode()
204 dst_step = snd_pcm_channel_area_step(dst_area); in snd_pcm_alaw_encode()
Dpcm_lfloat.c118 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in snd_pcm_lfloat_convert_integer_float() local
120 dst = snd_pcm_channel_area_addr(dst_area, dst_offset); in snd_pcm_lfloat_convert_integer_float()
122 dst_step = snd_pcm_channel_area_step(dst_area); in snd_pcm_lfloat_convert_integer_float()
163 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in snd_pcm_lfloat_convert_float_integer() local
165 dst = snd_pcm_channel_area_addr(dst_area, dst_offset); in snd_pcm_lfloat_convert_float_integer()
167 dst_step = snd_pcm_channel_area_step(dst_area); in snd_pcm_lfloat_convert_float_integer()
Dpcm_linear.c163 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in snd_pcm_linear_convert() local
165 dst = snd_pcm_channel_area_addr(dst_area, dst_offset); in snd_pcm_linear_convert()
167 dst_step = snd_pcm_channel_area_step(dst_area); in snd_pcm_linear_convert()
199 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in snd_pcm_linear_getput() local
201 dst = snd_pcm_channel_area_addr(dst_area, dst_offset); in snd_pcm_linear_getput()
203 dst_step = snd_pcm_channel_area_step(dst_area); in snd_pcm_linear_getput()
Dpcm_softvol.c191 dst_area = &dst_areas[ch]; \
193 dst = snd_pcm_channel_area_addr(dst_area, dst_offset); \
195 dst_step = snd_pcm_channel_area_step(dst_area) / sizeof(TYPE); \
225 dst_area = &dst_areas[ch]; \
227 dst = snd_pcm_channel_area_addr(dst_area, dst_offset); \
229 dst_step = snd_pcm_channel_area_step(dst_area); \
267 dst_area = &dst_areas[ch]; \
269 dst = snd_pcm_channel_area_addr(dst_area, dst_offset); \
272 dst_step = snd_pcm_channel_area_step(dst_area) \
325 const snd_pcm_channel_area_t *dst_area, *src_area; in softvol_convert_stereo_vol() local
[all …]
Dpcm_iec958.c164 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in snd_pcm_iec958_decode() local
166 dst = snd_pcm_channel_area_addr(dst_area, dst_offset); in snd_pcm_iec958_decode()
168 dst_step = snd_pcm_channel_area_step(dst_area); in snd_pcm_iec958_decode()
207 const snd_pcm_channel_area_t *dst_area = &dst_areas[channel]; in snd_pcm_iec958_encode() local
209 dst = snd_pcm_channel_area_addr(dst_area, dst_offset); in snd_pcm_iec958_encode()
211 dst_step = snd_pcm_channel_area_step(dst_area) / sizeof(uint32_t); in snd_pcm_iec958_encode()
Dpcm.c3048 int snd_pcm_area_silence(const snd_pcm_channel_area_t *dst_area, snd_pcm_uframes_t dst_offset, in snd_pcm_area_silence() argument
3056 if (!dst_area->addr) in snd_pcm_area_silence()
3058 dst = snd_pcm_channel_area_addr(dst_area, dst_offset); in snd_pcm_area_silence()
3065 if (dst_area->step == (unsigned int) width && in snd_pcm_area_silence()
3077 dst_step = dst_area->step / 8; in snd_pcm_area_silence()
3082 int dstbit = dst_area->first % 8; in snd_pcm_area_silence()
3083 int dstbit_step = dst_area->step % 8; in snd_pcm_area_silence()
3214 int snd_pcm_area_copy(const snd_pcm_channel_area_t *dst_area, snd_pcm_uframes_t dst_offset, in snd_pcm_area_copy() argument
3223 if (dst_area == src_area && dst_offset == src_offset) in snd_pcm_area_copy()
3226 return snd_pcm_area_silence(dst_area, dst_offset, samples, format); in snd_pcm_area_copy()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/vl/
Dvl_bicubic_filter.c389 struct u_rect *dst_area, in vl_bicubic_filter_render() argument
415 if(dst_area){ in vl_bicubic_filter_render()
416 viewport.scale[0] = dst_area->x1 - dst_area->x0; in vl_bicubic_filter_render()
417 viewport.scale[1] = dst_area->y1 - dst_area->y0; in vl_bicubic_filter_render()
418 viewport.translate[0] = dst_area->x0; in vl_bicubic_filter_render()
419 viewport.translate[1] = dst_area->y0; in vl_bicubic_filter_render()
Dvl_compositor.c529 unsigned layer, struct u_rect *dst_area) in vl_compositor_set_layer_dst_area() argument
535 s->layers[layer].viewport_valid = dst_area != NULL; in vl_compositor_set_layer_dst_area()
536 if (dst_area) { in vl_compositor_set_layer_dst_area()
537 s->layers[layer].viewport.scale[0] = dst_area->x1 - dst_area->x0; in vl_compositor_set_layer_dst_area()
538 s->layers[layer].viewport.scale[1] = dst_area->y1 - dst_area->y0; in vl_compositor_set_layer_dst_area()
539 s->layers[layer].viewport.translate[0] = dst_area->x0; in vl_compositor_set_layer_dst_area()
540 s->layers[layer].viewport.translate[1] = dst_area->y0; in vl_compositor_set_layer_dst_area()
Dvl_bicubic_filter.h59 struct u_rect *dst_area,
Dvl_compositor.h232 unsigned layer, struct u_rect *dst_area);