summaryrefslogtreecommitdiff
path: root/libavcodec/aacenc.h
diff options
context:
space:
mode:
authorRostislav Pehlivanov <atomnuker@gmail.com>2016-10-08 01:47:04 +0100
committerRostislav Pehlivanov <atomnuker@gmail.com>2016-10-12 11:15:49 +0100
commit230178dfe25ebe27934062c9fa8e2a40e6ad2b0b (patch)
tree9815d504a8744bccf622d80ad2ed4de1f1b62284 /libavcodec/aacenc.h
parentcfa3c2655ac2bafe7b76f1e68c8fe6ecee03f1a8 (diff)
aacenc: use the decoder's lcg PRNG
Using lfg was an overkill in this case where the random numbers were only used for encoder descisions. Should increase result uniformity between different FPUs and gives a slight speedup. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Diffstat (limited to 'libavcodec/aacenc.h')
-rw-r--r--libavcodec/aacenc.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/aacenc.h b/libavcodec/aacenc.h
index 63e789366f..1ace00d2e0 100644
--- a/libavcodec/aacenc.h
+++ b/libavcodec/aacenc.h
@@ -23,7 +23,6 @@
#define AVCODEC_AACENC_H
#include "libavutil/float_dsp.h"
-#include "libavutil/lfg.h"
#include "avcodec.h"
#include "put_bits.h"
@@ -100,7 +99,6 @@ typedef struct AACEncContext {
FFTContext mdct1024; ///< long (1024 samples) frame transform context
FFTContext mdct128; ///< short (128 samples) frame transform context
AVFloatDSPContext *fdsp;
- AVLFG lfg; ///< PRNG needed for PNS
float *planar_samples[8]; ///< saved preprocessed input
int profile; ///< copied from avctx