--- image.h 2002/09/26 01:54:54 1.8.2.1 +++ image.h 2002/11/07 10:28:15 1.8.2.4 @@ -5,7 +5,7 @@ #include "colorspace.h" #include "../xvid.h" -#define EDGE_SIZE 32 +#define EDGE_SIZE 64 typedef struct @@ -18,6 +18,13 @@ void init_image(uint32_t cpu_flags); + +static void __inline +image_null(IMAGE * image) +{ + image->y = image->u = image->v = NULL; +} + int32_t image_create(IMAGE * image, uint32_t edged_width, uint32_t edged_height); @@ -42,6 +49,7 @@ IMAGE * refhv, uint32_t edged_width, uint32_t edged_height, + uint32_t quarterpel, uint32_t rounding); float image_psnr(IMAGE * orig_image, @@ -56,7 +64,9 @@ int height, uint32_t edged_width, uint8_t * src, - int csp); + int src_stride, + int csp, + int interlaced); int image_output(IMAGE * image, uint32_t width, @@ -64,7 +74,8 @@ uint32_t edged_width, uint8_t * dst, uint32_t dst_stride, - int csp); + int csp, + int interlaced);