32 |
IMAGE cur; |
IMAGE cur; |
33 |
IMAGE refn[3]; // 0 -- last I or P VOP |
IMAGE refn[3]; // 0 -- last I or P VOP |
34 |
// 1 -- first I or P |
// 1 -- first I or P |
35 |
// 2,3 -- for interpolate mode B-frame |
// 2 -- for interpolate mode B-frame |
36 |
IMAGE refh; |
IMAGE refh; |
37 |
IMAGE refv; |
IMAGE refv; |
38 |
IMAGE refhv; |
IMAGE refhv; |
54 |
int64_t last_non_b_time; |
int64_t last_non_b_time; |
55 |
uint32_t time_pp; |
uint32_t time_pp; |
56 |
uint32_t time_bp; |
uint32_t time_bp; |
57 |
} DECODER; |
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_ */ |