diff options
author | Jonathan Campbell <jonathan@castus.tv> | 2016-09-03 03:34:01 -0700 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2017-01-22 02:29:16 +0100 |
commit | d5d474aea53822642f0465825f8a94cb2327e1e6 (patch) | |
tree | dc60310bade6ffa810181eb0f0ec92dc41241cdf /libavcodec/ac3dec.h | |
parent | 76c5a69e26afbfdfc5b6f538594ea12efa31fc9a (diff) | |
download | ffmpeg-d5d474aea53822642f0465825f8a94cb2327e1e6.tar.gz |
avcodec/ac3dec: add consistent noise generation option.
use av_lfg_init_from_data() to seed AC-3 dithering from the AC-3 frame
data to make it consistent given the same AC-3 frame, if option is set.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/ac3dec.h')
-rw-r--r-- | libavcodec/ac3dec.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/ac3dec.h b/libavcodec/ac3dec.h index 6cd67c0f21..495e9a69a1 100644 --- a/libavcodec/ac3dec.h +++ b/libavcodec/ac3dec.h @@ -177,6 +177,10 @@ typedef struct AC3DecodeContext { int end_freq[AC3_MAX_CHANNELS]; ///< end frequency bin (endmant) ///@} +///@name Consistent noise generation + int consistent_noise_generation; ///< seed noise generation with AC-3 frame on decode +///@} + ///@name Rematrixing int num_rematrixing_bands; ///< number of rematrixing bands (nrematbnd) int rematrixing_flags[4]; ///< rematrixing flags (rematflg) |