--- image.h 2002/03/08 02:44:46 1.1 +++ image.h 2002/04/09 13:35:40 1.3 @@ -21,11 +21,14 @@ 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_setedges(IMAGE * image, uint32_t edged_width, uint32_t edged_height, uint32_t width, uint32_t height, uint32_t interlacing); void image_interpolate(const IMAGE * refn, IMAGE * refh, IMAGE * refv, IMAGE * refhv, uint32_t edged_width, uint32_t edged_height, uint32_t rounding); +float image_psnr(IMAGE *orig_image, IMAGE *recon_image, + uint16_t stride, uint16_t width, uint16_t height); + int image_input(IMAGE * image, uint32_t width, int height, uint32_t edged_width, uint8_t * src, int csp);