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

Diff of /xvidcore/src/decoder.h

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

revision 1.1, Fri Mar 8 02:44:29 2002 UTC revision 1.6, Wed Jun 12 20:38:39 2002 UTC
# Line 18  Line 18 
18          uint32_t quant_type;          uint32_t quant_type;
19          uint32_t quarterpel;          uint32_t quarterpel;
20    
21            uint32_t interlacing;
22            uint32_t top_field_first;
23            uint32_t alternate_vertical_scan;
24    
25          // image          // image
26    
27          uint32_t width;          uint32_t width;
# Line 26  Line 30 
30          uint32_t edged_height;          uint32_t edged_height;
31    
32          IMAGE cur;          IMAGE cur;
33          IMAGE refn;          IMAGE refn[3];                          // 0   -- last I or P VOP
34            // 1   -- first I or P
35            // 2   -- for interpolate mode B-frame
36          IMAGE refh;          IMAGE refh;
37          IMAGE refv;          IMAGE refv;
38          IMAGE refhv;          IMAGE refhv;
# Line 37  Line 43 
43          uint32_t mb_height;          uint32_t mb_height;
44          MACROBLOCK * mbs;          MACROBLOCK * mbs;
45    
46            // for B-frame
47  } DECODER;          int32_t frames;                         // total frame number
48            int8_t scalability;
49            VECTOR p_fmv, p_bmv;            // pred forward & backward motion vector
50            MACROBLOCK *last_mbs;           // last MB
51            int64_t time;                           // for record time
52            int64_t time_base;
53            int64_t last_time_base;
54            int64_t last_non_b_time;
55            uint32_t time_pp;
56            uint32_t time_bp;
57            uint8_t low_delay;                      // low_delay flage (1 means no B_VOP)
58    }
59    DECODER;
60    
61  void init_decoder(uint32_t cpu_flags);  void init_decoder(uint32_t cpu_flags);
62    
63  int decoder_create(XVID_DEC_PARAM * param);  int decoder_create(XVID_DEC_PARAM * param);
64  int decoder_destroy(DECODER * dec);  int decoder_destroy(DECODER * dec);
65  int decoder_decode(DECODER * dec, XVID_DEC_FRAME * frame);  int decoder_decode(DECODER * dec,
66                                       XVID_DEC_FRAME * frame);
67    
68    
69  #endif /* _DECODER_H_ */  #endif /* _DECODER_H_ */

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.6

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