[FFmpeg-soc] [soc]: r430 - rv40/rv40.c

kostya subversion at mplayerhq.hu
Sun Jul 15 08:18:47 CEST 2007


Author: kostya
Date: Sun Jul 15 08:18:47 2007
New Revision: 430

Log:
Move declaration of RV40DecContext before decoder context declaration

Modified:
   rv40/rv40.c

Modified: rv40/rv40.c
==============================================================================
--- rv40/rv40.c	(original)
+++ rv40/rv40.c	Sun Jul 15 08:18:47 2007
@@ -36,21 +36,6 @@
 
 //#define DEBUG
 
-/** Decoder context */
-typedef struct RV40DecContext{
-    MpegEncContext s;
-    int mb_bits;             ///< bits needed to read MB offet in slice header
-    int *intra_types_hist;   ///< old block types, used for prediction
-    int *intra_types;        ///< block types
-    int intra_types_stride;  ///< stride for block types data
-    int block_start;         ///< start of slice in blocks
-    int ptype;               ///< picture type
-    int quant;               ///< quantizer
-
-    int bits;                ///< slice size in bits
-    H264PredContext h;       ///< functions for 4x4 and 16x16 intra block prediction
-}RV40DecContext;
-
 
 /**
  * VLC tables used by decoder
@@ -66,6 +51,21 @@ typedef struct RV40VLC{
     VLC coefficient;       ///< VLCs used for decoding big coefficients
 }RV40VLC;
 
+/** Decoder context */
+typedef struct RV40DecContext{
+    MpegEncContext s;
+    int mb_bits;             ///< bits needed to read MB offet in slice header
+    int *intra_types_hist;   ///< old block types, used for prediction
+    int *intra_types;        ///< block types
+    int intra_types_stride;  ///< stride for block types data
+    int block_start;         ///< start of slice in blocks
+    int ptype;               ///< picture type
+    int quant;               ///< quantizer
+
+    int bits;                ///< slice size in bits
+    H264PredContext h;       ///< functions for 4x4 and 16x16 intra block prediction
+}RV40DecContext;
+
 static RV40VLC intra_vlcs[NUM_INTRA_TABLES], inter_vlcs[NUM_INTER_TABLES];
 static VLC aic_top_vlc;
 static VLC aic_mode1_vlc[AIC_MODE1_NUM], aic_mode2_vlc[AIC_MODE2_NUM];



More information about the FFmpeg-soc mailing list