Top |
Functions
void | gst_audio_quantize_free () |
GstAudioQuantize * | gst_audio_quantize_new () |
void | gst_audio_quantize_samples () |
void | gst_audio_quantize_reset () |
Functions
gst_audio_quantize_free ()
void
gst_audio_quantize_free (GstAudioQuantize *quant
);
Free a GstAudioQuantize.
gst_audio_quantize_new ()
GstAudioQuantize * gst_audio_quantize_new (GstAudioDitherMethod dither
,GstAudioNoiseShapingMethod ns
,GstAudioQuantizeFlags flags
,GstAudioFormat format
,guint channels
,guint quantizer
);
gst_audio_quantize_samples ()
void gst_audio_quantize_samples (GstAudioQuantize *quant
,const gpointer in[]
,gpointer out[]
,guint samples
);
Perform quantization on samples
in in
and write the result to out
.
In case the samples are interleaved, in
and out
must point to an
array with a single element pointing to a block of interleaved samples.
If non-interleaved samples are used, in
and out
must point to an
array with pointers to memory blocks, one for each channel.
in
and out
may point to the same memory location, in which case samples will be
modified in-place.
gst_audio_quantize_reset ()
void
gst_audio_quantize_reset (GstAudioQuantize *quant
);
Reset quant
to the state is was when created, clearing any
history it might have.