add a new struct, kill old funcs

This commit is contained in:
tTh 2023-10-06 19:47:49 +02:00
parent 6744a631c1
commit 32fc223f2c

View File

@ -4,7 +4,7 @@
http://la.buvette.org/devel/libimage/
*/
#ifndef IMAGE_VERSION_STRING
#define IMAGE_VERSION_STRING "0.4.51 pl 59"
#define IMAGE_VERSION_STRING "0.4.51 pl 62"
/*::------------------------------------------------------------------::*/
/*
@ -609,6 +609,16 @@ int Image_quelques_calculs(Image_Desc *image);
int Image_histo_RGB(Image_Desc *im, long *hr, long *hg, long *hb);
/* XXX may be we need a struct for RGB luts ? */
typedef struct {
unsigned int magic;
uint8_t R[256];
uint8_t G[256];
uint8_t B[256];
int flags;
} Image_LUTs;
int Image_LUT_RGB(Image_Desc *, Image_Desc *, int *, int *, int *);
int Image_LUT_mono(Image_Desc *src, Image_Desc *dst, int *lut);
@ -1314,11 +1324,6 @@ int Image_center_rotate_xy(Image_Desc *src, Image_Desc *dst, double angle,
double x, double y);
/*::------------------------------------------------------------------::*/
int Image_interpolate_0(Image_Desc *src, Image_Desc *dst, int ox, int oy);
int Image_interpolate_1(Image_Desc *src, Image_Desc *dst, int ox, int oy);
int Image_interpolate_2(Image_Desc *src, Image_Desc *dst, RGBA *rgba);
/*::------------------------------------------------------------------::*/
/* anamorphose.c */