[FFmpeg-cvslog] Add buffers to context necessary for reverting cdmls and mclms filter

Mashiat Sarker Shakkhar git at videolan.org
Sun Nov 20 16:01:41 CET 2011


ffmpeg | branch: master | Mashiat Sarker Shakkhar <shahriman_ams at yahoo.com> | Sat Nov  5 02:22:21 2011 +0600| [d58db7207d41a5395e635c79b96b1aee3b91f5bb] | committer: Mashiat Sarker Shakkhar

Add buffers to context necessary for reverting cdmls and mclms filter

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d58db7207d41a5395e635c79b96b1aee3b91f5bb
---

 libavcodec/wmalosslessdec.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/libavcodec/wmalosslessdec.c b/libavcodec/wmalosslessdec.c
index a15ea01..22116ea 100644
--- a/libavcodec/wmalosslessdec.c
+++ b/libavcodec/wmalosslessdec.c
@@ -236,6 +236,8 @@ typedef struct WmallDecodeCtx {
     int8_t mclms_scaling;
     int16_t mclms_coeffs[128];
     int16_t mclms_coeffs_cur[4];
+    int mclms_prevvalues[64];   // FIXME: should be 32-bit / 16-bit depending on bit-depth
+    int16_t mclms_updates[64];
 
     int movave_scaling;
     int quant_stepsize;
@@ -246,6 +248,8 @@ typedef struct WmallDecodeCtx {
 	int coefsend;
 	int bitsend;
 	int16_t coefs[256];
+    int lms_prevvalues[512];    // FIXME: see above
+    int16_t lms_updates[512];   // and here too
     } cdlms[2][9];
 
 



More information about the ffmpeg-cvslog mailing list