OSDN Git Service

Document how the ref_buf is used.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Tue, 27 Jul 2010 17:11:13 +0000 (17:11 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Tue, 27 Jul 2010 17:11:13 +0000 (17:11 +0000)
Originally committed as revision 24551 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/gsmdec.c

index 3759f35..a9d9c34 100644 (file)
 #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];