Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2011-01-05 23:35:36 +0300
committerJustin Ruggles <justin.ruggles@gmail.com>2011-01-05 23:35:36 +0300
commitac05f9030ed4baae317071d0321c91afabaf1080 (patch)
tree89e2030d2568763b382a1a27756bb6c8134d6926 /libavcodec/ac3enc_float.h
parent87c1410d11c34670ab2bec1ee97fc18354aa3c8d (diff)
Convert floating-point MDCT coefficients to 24-bit fixed-point all at once
instead of doing it separately in 2 different functions. This makes float AC-3 encoding approx. 3-7% faster overall. Also, the coefficient conversion can now be easily SIMD-optimized. Originally committed as revision 26232 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ac3enc_float.h')
-rw-r--r--libavcodec/ac3enc_float.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/ac3enc_float.h b/libavcodec/ac3enc_float.h
index 1cd3681ae9..29a479a00e 100644
--- a/libavcodec/ac3enc_float.h
+++ b/libavcodec/ac3enc_float.h
@@ -35,8 +35,6 @@
typedef float SampleType;
typedef float CoefType;
-#define SCALE_COEF(a) SCALE_FLOAT((a), 24)
-
typedef struct AC3MDCTContext {
const float *window; ///< MDCT window function