--- image.h 2002/12/10 11:13:50 1.8.2.5 +++ image.h 2003/01/25 22:51:20 1.8.2.10 @@ -1,6 +1,8 @@ #ifndef _IMAGE_H_ #define _IMAGE_H_ +#include + #include "../portab.h" #include "../global.h" #include "colorspace.h" @@ -26,15 +28,18 @@ void image_swap(IMAGE * image1, IMAGE * image2); + void image_copy(IMAGE * image1, IMAGE * image2, uint32_t edged_width, uint32_t height); + void image_setedges(IMAGE * image, uint32_t edged_width, uint32_t edged_height, uint32_t width, uint32_t height); + void image_interpolate(const IMAGE * refn, IMAGE * refh, IMAGE * refv, @@ -51,6 +56,18 @@ uint16_t height); +float sse_to_PSNR(long sse, int pixels); + +long plane_sse(uint8_t * orig, + uint8_t * recon, + uint16_t stride, + uint16_t width, + 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, @@ -88,8 +105,14 @@ 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); + const MACROBLOCK * mbs, int mb_width, int mb_height, int mb_stride, + int block, int flags); #endif /* _IMAGE_H_ */