[svn] / branches / dev-api-3 / xvidcore / src / decoder.h Repository:
ViewVC logotype

Annotation of /branches/dev-api-3/xvidcore/src/decoder.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3 - (view) (download)
Original Path: trunk/xvidcore/src/decoder.h

1 : Isibaar 3 #ifndef _DECODER_H_
2 :     #define _DECODER_H_
3 :    
4 :     #include "xvid.h"
5 :    
6 :     #include "portab.h"
7 :     #include "global.h"
8 :     #include "image/image.h"
9 :    
10 :    
11 :     typedef struct
12 :     {
13 :     // bitstream
14 :    
15 :     uint32_t shape;
16 :     uint32_t time_inc_bits;
17 :     uint32_t quant_bits;
18 :     uint32_t quant_type;
19 :     uint32_t quarterpel;
20 :    
21 :     // image
22 :    
23 :     uint32_t width;
24 :     uint32_t height;
25 :     uint32_t edged_width;
26 :     uint32_t edged_height;
27 :    
28 :     IMAGE cur;
29 :     IMAGE refn;
30 :     IMAGE refh;
31 :     IMAGE refv;
32 :     IMAGE refhv;
33 :    
34 :     // macroblock
35 :    
36 :     uint32_t mb_width;
37 :     uint32_t mb_height;
38 :     MACROBLOCK * mbs;
39 :    
40 :    
41 :     } DECODER;
42 :    
43 :     void init_decoder(uint32_t cpu_flags);
44 :    
45 :     int decoder_create(XVID_DEC_PARAM * param);
46 :     int decoder_destroy(DECODER * dec);
47 :     int decoder_decode(DECODER * dec, XVID_DEC_FRAME * frame);
48 :    
49 :    
50 :     #endif /* _DECODER_H_ */

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