--- image.h 2002/12/14 09:39:42 1.8.2.8 +++ image.h 2003/02/15 15:22:18 1.11 @@ -28,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, @@ -53,6 +56,14 @@ 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);