[FFmpeg-cvslog] r24551 - trunk/libavcodec/gsmdec.c

reimar subversion
Tue Jul 27 19:11:14 CEST 2010


Author: reimar
Date: Tue Jul 27 19:11:13 2010
New Revision: 24551

Log:
Document how the ref_buf is used.

Modified:
   trunk/libavcodec/gsmdec.c

Modified: trunk/libavcodec/gsmdec.c
==============================================================================
--- trunk/libavcodec/gsmdec.c	Tue Jul 27 18:59:42 2010	(r24550)
+++ trunk/libavcodec/gsmdec.c	Tue Jul 27 19:11:13 2010	(r24551)
@@ -34,6 +34,10 @@
 #define GSM_FRAME_SIZE   160
 
 typedef struct {
+    // Contains first 120 elements from the previous frame
+    // (used by long_term_synth according to the "lag"),
+    // then in the following 160 elements the current
+    // frame is constructed.
     int16_t ref_buf[280];
     int v[9];
     int lar[2][8];



More information about the ffmpeg-cvslog mailing list