--- branches/dev-api-3/xvidcore/src/image/image.h 2002/11/07 10:31:03 631 +++ branches/dev-api-3/xvidcore/src/image/image.h 2002/12/14 09:39:42 721 @@ -1,21 +1,15 @@ #ifndef _IMAGE_H_ #define _IMAGE_H_ +#include + #include "../portab.h" +#include "../global.h" #include "colorspace.h" #include "../xvid.h" #define EDGE_SIZE 64 - -typedef struct -{ - uint8_t *y; - uint8_t *u; - uint8_t *v; -} -IMAGE; - void init_image(uint32_t cpu_flags); @@ -59,6 +53,10 @@ uint16_t height); +void +image_chroma_optimize(IMAGE * img, int width, int height, int edged_width); + + int image_input(IMAGE * image, uint32_t width, int height, @@ -94,4 +92,16 @@ void output_slice(IMAGE * cur, int edged_width, int width, XVID_DEC_PICTURE* out_frm, int mbx, int mby,int mbl); + +void +image_clear(IMAGE * img, int width, int height, int edged_width, + int y, int u, int v); + + +void +image_deblock_rrv(IMAGE * img, int edgeg_width, + const MACROBLOCK * mbs, int mb_width, int mb_height, int mb_stride, + int block, int flags); + + #endif /* _IMAGE_H_ */