]> git.sesse.net Git - ffmpeg/blobdiff - libavresample/dither.h
Merge commit 'b4ad7c54c878dead7dfa4838b912a530c1debe85'
[ffmpeg] / libavresample / dither.h
index 8b30dd23e0b981dda27495cd5453a403b04d2fa4..8db37146fa33f5015632959d0cf7c0d4731949e8 100644 (file)
@@ -66,7 +66,7 @@ typedef struct DitherDSPContext {
 DitherContext *ff_dither_alloc(AVAudioResampleContext *avr,
                                enum AVSampleFormat out_fmt,
                                enum AVSampleFormat in_fmt,
-                               int channels, int sample_rate);
+                               int channels, int sample_rate, int apply_map);
 
 /**
  * Free a DitherContext.
@@ -85,4 +85,9 @@ void ff_dither_free(DitherContext **c);
  */
 int ff_convert_dither(DitherContext *c, AudioData *dst, AudioData *src);
 
+/* arch-specific initialization functions */
+
+void ff_dither_init_x86(DitherDSPContext *ddsp,
+                        enum AVResampleDitherMethod method);
+
 #endif /* AVRESAMPLE_DITHER_H */