2 |
#define _IMAGE_H_ |
#define _IMAGE_H_ |
3 |
|
|
4 |
#include "../portab.h" |
#include "../portab.h" |
5 |
|
#include "../global.h" |
6 |
#include "colorspace.h" |
#include "colorspace.h" |
7 |
#include "../xvid.h" |
#include "../xvid.h" |
8 |
|
|
9 |
#define EDGE_SIZE 64 |
#define EDGE_SIZE 64 |
10 |
|
|
|
|
|
|
typedef struct |
|
|
{ |
|
|
uint8_t *y; |
|
|
uint8_t *u; |
|
|
uint8_t *v; |
|
|
} |
|
|
IMAGE; |
|
|
|
|
11 |
void init_image(uint32_t cpu_flags); |
void init_image(uint32_t cpu_flags); |
12 |
|
|
13 |
|
|
51 |
uint16_t height); |
uint16_t height); |
52 |
|
|
53 |
|
|
54 |
|
void |
55 |
|
image_chroma_optimize(IMAGE * img, int width, int height, int edged_width); |
56 |
|
|
57 |
|
|
58 |
int image_input(IMAGE * image, |
int image_input(IMAGE * image, |
59 |
uint32_t width, |
uint32_t width, |
60 |
int height, |
int height, |
90 |
void |
void |
91 |
output_slice(IMAGE * cur, int edged_width, int width, XVID_DEC_PICTURE* out_frm, int mbx, int mby,int mbl); |
output_slice(IMAGE * cur, int edged_width, int width, XVID_DEC_PICTURE* out_frm, int mbx, int mby,int mbl); |
92 |
|
|
93 |
|
|
94 |
|
void |
95 |
|
image_clear(IMAGE * img, int width, int height, int edged_width, |
96 |
|
int y, int u, int v); |
97 |
|
|
98 |
|
|
99 |
|
void |
100 |
|
image_deblock_rrv(IMAGE * img, int edgeg_width, |
101 |
|
const MACROBLOCK * mbs, int mb_width, int mb_height, int mb_stride, |
102 |
|
int block, int flags); |
103 |
|
|
104 |
|
|
105 |
#endif /* _IMAGE_H_ */ |
#endif /* _IMAGE_H_ */ |