[svn] / trunk / xvidcore / src / decoder.h Repository:
ViewVC logotype

Diff of /trunk/xvidcore/src/decoder.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 676, Mon Nov 25 13:38:56 2002 UTC revision 677, Tue Nov 26 23:44:11 2002 UTC
# Line 48  Line 48 
48   *  exception also makes it possible to release a modified version which   *  exception also makes it possible to release a modified version which
49   *  carries forward this exception.   *  carries forward this exception.
50   *   *
51   * $Id: decoder.h,v 1.11 2002-11-16 23:38:16 edgomez Exp $   * $Id: decoder.h,v 1.12 2002-11-26 23:44:09 edgomez Exp $
52   *   *
53   ****************************************************************************/   ****************************************************************************/
54    
# Line 66  Line 66 
66    
67  typedef struct  typedef struct
68  {  {
69          // bitstream          /* bitstream */
70    
71          uint32_t shape;          uint32_t shape;
72          uint32_t time_inc_bits;          uint32_t time_inc_bits;
# Line 78  Line 78 
78          uint32_t top_field_first;          uint32_t top_field_first;
79          uint32_t alternate_vertical_scan;          uint32_t alternate_vertical_scan;
80    
81          // image          /* image */
82    
83          uint32_t width;          uint32_t width;
84          uint32_t height;          uint32_t height;
# Line 86  Line 86 
86          uint32_t edged_height;          uint32_t edged_height;
87    
88          IMAGE cur;          IMAGE cur;
89          IMAGE refn[3];                          // 0   -- last I or P VOP          IMAGE refn[3];                          /* 0   -- last I or P VOP */
90          // 1   -- first I or P          /* 1   -- first I or P */
91          // 2   -- for interpolate mode B-frame          /* 2   -- for interpolate mode B-frame */
92          IMAGE refh;          IMAGE refh;
93          IMAGE refv;          IMAGE refv;
94          IMAGE refhv;          IMAGE refhv;
95    
96          // macroblock          /* macroblock */
97    
98          uint32_t mb_width;          uint32_t mb_width;
99          uint32_t mb_height;          uint32_t mb_height;
100          MACROBLOCK *mbs;          MACROBLOCK *mbs;
101    
102          // for B-frame          /* for B-frame */
103          int32_t frames;                         // total frame number          int32_t frames;                         /* total frame number */
104          int8_t scalability;          int8_t scalability;
105          VECTOR p_fmv, p_bmv;            // pred forward & backward motion vector          VECTOR p_fmv, p_bmv;            /* pred forward & backward motion vector */
106          MACROBLOCK *last_mbs;           // last MB          MACROBLOCK *last_mbs;           /* last MB */
107          int64_t time;                           // for record time          int64_t time;                           /* for record time */
108          int64_t time_base;          int64_t time_base;
109          int64_t last_time_base;          int64_t last_time_base;
110          int64_t last_non_b_time;          int64_t last_non_b_time;
111          uint32_t time_pp;          uint32_t time_pp;
112          uint32_t time_bp;          uint32_t time_bp;
113          uint8_t low_delay;                      // low_delay flage (1 means no B_VOP)          uint8_t low_delay;                      /* low_delay flage (1 means no B_VOP) */
114    
115          XVID_DEC_PICTURE* out_frm;                // This is used for slice rendering          XVID_DEC_PICTURE* out_frm;                /* This is used for slice rendering */
116  }  }
117  DECODER;  DECODER;
118    

Legend:
Removed from v.676  
changed lines
  Added in v.677

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4