[FFmpeg-soc] [soc]: r5064 - amr/amr-ffmpeg.diff
cmcq
subversion at mplayerhq.hu
Thu Aug 13 10:19:18 CEST 2009
Author: cmcq
Date: Thu Aug 13 10:19:18 2009
New Revision: 5064
Log:
Simplify
Modified:
amr/amr-ffmpeg.diff
Modified: amr/amr-ffmpeg.diff
==============================================================================
--- amr/amr-ffmpeg.diff Thu Aug 13 10:18:24 2009 (r5063)
+++ amr/amr-ffmpeg.diff Thu Aug 13 10:19:18 2009 (r5064)
@@ -53,7 +53,7 @@ Index: libavcodec/acelp_filters.c
===================================================================
--- libavcodec/acelp_filters.c (revision 19634)
+++ libavcodec/acelp_filters.c (working copy)
-@@ -93,3 +93,21 @@
+@@ -93,3 +93,20 @@
hpf_f[0] = tmp;
}
}
@@ -67,9 +67,8 @@ Index: libavcodec/acelp_filters.c
+ float tmp;
+
+ for (i = 0; i < n; i++) {
-+ tmp = buf[i] - pole_coeffs[0] * mem[0] - pole_coeffs[1] * mem[1];
-+ buf[i] = tmp + zero_coeffs[0] * mem[0] + zero_coeffs[1] * mem[1];
-+ buf[i] *= gain;
++ tmp = gain * buf[i] - pole_coeffs[0] * mem[0] - pole_coeffs[1] * mem[1];
++ buf[i] = tmp + zero_coeffs[0] * mem[0] + zero_coeffs[1] * mem[1];
+
+ mem[1] = mem[0];
+ mem[0] = tmp;
More information about the FFmpeg-soc
mailing list