Home
last modified time | relevance | path

Searched refs:st_sample (Results 1 – 7 of 7) sorted by relevance

/openbmc/qemu/audio/
H A Dmixeng.h31 struct st_sample { mixeng_real l; mixeng_real r; }; struct
34 struct st_sample { int64_t l; int64_t r; }; argument
36 typedef struct st_sample st_sample; typedef
38 typedef void (t_sample) (struct st_sample *dst, const void *src, int samples);
39 typedef void (f_sample) (void *dst, const struct st_sample *src, int samples);
50 void st_rate_flow(void *opaque, st_sample *ibuf, st_sample *obuf,
52 void st_rate_flow_mix(void *opaque, st_sample *ibuf, st_sample *obuf,
57 void mixeng_clear (struct st_sample *buf, int len);
58 void mixeng_volume (struct st_sample *buf, int len, struct mixeng_volume *vol);
H A Dmixeng_template.h101 (struct st_sample *dst, const void *src, int samples) in glue()
103 struct st_sample *out = dst; in glue()
114 (struct st_sample *dst, const void *src, int samples) in glue()
116 struct st_sample *out = dst; in glue()
128 (void *dst, const struct st_sample *src, int samples) in glue()
130 const struct st_sample *in = src; in glue()
140 (void *dst, const struct st_sample *src, int samples) in glue()
142 const struct st_sample *in = src; in glue()
H A Drate_template.h30 void NAME (void *opaque, struct st_sample *ibuf, struct st_sample *obuf, in NAME()
34 struct st_sample *istart, *iend; in NAME()
35 struct st_sample *ostart, *oend; in NAME()
36 struct st_sample ilast, icur, out; in NAME()
H A Dmixeng.c286 static void conv_natural_float_to_mono(struct st_sample *dst, const void *src, in conv_natural_float_to_mono()
297 static void conv_natural_float_to_stereo(struct st_sample *dst, const void *src, in conv_natural_float_to_stereo()
314 static void clip_natural_float_from_mono(void *dst, const struct st_sample *src, in clip_natural_float_from_mono()
326 void *dst, const struct st_sample *src, int samples) in clip_natural_float_from_stereo()
350 const struct st_sample *sample = samples; in audio_sample_to_uint64()
365 struct st_sample *sample = samples; in audio_sample_from_uint64()
409 struct st_sample ilast; /* last sample in the input stream */
523 void mixeng_clear (struct st_sample *buf, int len) in mixeng_clear()
525 memset (buf, 0, len * sizeof (struct st_sample)); in mixeng_clear()
528 void mixeng_volume (struct st_sample *buf, int len, struct mixeng_volume *vol) in mixeng_volume()
H A Daudio_template.h94 HWBUF.buffer = g_new0(st_sample, samples); in glue()
145 sw->resample_buf.buffer = g_new0(st_sample, samples); in glue()
H A Daudio_int.h61 st_sample *buffer;
H A Daudio.c554 struct st_sample *src, *dst; in audio_pcm_sw_resample_in()
664 st_sample *src = hw->mix_buf.buffer + pos; in audio_pcm_hw_clip_out()
685 struct st_sample *src, *dst; in audio_pcm_sw_resample_out()
1353 struct st_sample *src; in audio_run_capture()