]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/af_volume.h
qsvenc: set the timestamp for PIX_FMT_QSV frames as well
[ffmpeg] / libavfilter / af_volume.h
index dec8767f889cf85c065ca45a808b6e2ce56ba414..6bd89acc4d33a2fe87a689ea24207b9a1e41eb51 100644 (file)
@@ -35,10 +35,20 @@ enum PrecisionType {
     PRECISION_DOUBLE,
 };
 
+enum ReplayGainType {
+    REPLAYGAIN_DROP,
+    REPLAYGAIN_IGNORE,
+    REPLAYGAIN_TRACK,
+    REPLAYGAIN_ALBUM,
+};
+
 typedef struct VolumeContext {
     const AVClass *class;
     AVFloatDSPContext fdsp;
     enum PrecisionType precision;
+    enum ReplayGainType replaygain;
+    double replaygain_preamp;
+    int    replaygain_noclip;
     double volume;
     int    volume_i;
     int    channels;
@@ -50,4 +60,6 @@ typedef struct VolumeContext {
     int samples_align;
 } VolumeContext;
 
+void ff_volume_init_x86(VolumeContext *vol);
+
 #endif /* AVFILTER_AF_VOLUME_H */