1 |
#ifndef _IMAGE_H_ |
#ifndef _IMAGE_H_ |
2 |
#define _IMAGE_H_ |
#define _IMAGE_H_ |
3 |
|
|
4 |
|
#include <stdlib.h> |
5 |
|
|
6 |
#include "../portab.h" |
#include "../portab.h" |
7 |
|
#include "../global.h" |
8 |
#include "colorspace.h" |
#include "colorspace.h" |
9 |
#include "../xvid.h" |
#include "../xvid.h" |
10 |
|
|
11 |
#define EDGE_SIZE 64 |
#define EDGE_SIZE 64 |
12 |
|
|
|
|
|
|
typedef struct |
|
|
{ |
|
|
uint8_t *y; |
|
|
uint8_t *u; |
|
|
uint8_t *v; |
|
|
} |
|
|
IMAGE; |
|
|
|
|
13 |
void init_image(uint32_t cpu_flags); |
void init_image(uint32_t cpu_flags); |
14 |
|
|
15 |
|
|
53 |
uint16_t height); |
uint16_t height); |
54 |
|
|
55 |
|
|
56 |
|
void |
57 |
|
image_chroma_optimize(IMAGE * img, int width, int height, int edged_width); |
58 |
|
|
59 |
|
|
60 |
int image_input(IMAGE * image, |
int image_input(IMAGE * image, |
61 |
uint32_t width, |
uint32_t width, |
62 |
int height, |
int height, |
92 |
void |
void |
93 |
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); |
94 |
|
|
95 |
|
|
96 |
|
void |
97 |
|
image_clear(IMAGE * img, int width, int height, int edged_width, |
98 |
|
int y, int u, int v); |
99 |
|
|
100 |
|
|
101 |
|
void |
102 |
|
image_deblock_rrv(IMAGE * img, int edgeg_width, |
103 |
|
const MACROBLOCK * mbs, int mb_width, int mb_height, int mb_stride, |
104 |
|
int block, int flags); |
105 |
|
|
106 |
|
|
107 |
#endif /* _IMAGE_H_ */ |
#endif /* _IMAGE_H_ */ |