scale-region

scale-region

Synopsis

#define             LANCZOS_MIN
#define             LANCZOS_SPP
#define             LANCZOS_WIDTH
#define             LANCZOS_SAMPLES
#define             LANCZOS_WIDTH2
void                scale_region                        (PixelRegion *srcPR,
                                                         PixelRegion *destPR,
                                                         GimpInterpolationType interpolation,
                                                         GimpProgressFunc progress_callback,
                                                         gpointer progress_data);
gfloat *            create_lanczos_lookup               (void);

Description

Details

LANCZOS_MIN

#define LANCZOS_MIN      (1.0/LANCZOS_SPP)


LANCZOS_SPP

#define LANCZOS_SPP      (4000)    /* number of data pts per unit x in lookup table */


LANCZOS_WIDTH

#define LANCZOS_WIDTH    (3)       /* 3 for Lanczos3 code, for L4 prefer DUAL_LANCZOS below */


LANCZOS_SAMPLES

#define LANCZOS_SAMPLES  (LANCZOS_SPP * (LANCZOS_WIDTH + 1))


LANCZOS_WIDTH2

#define LANCZOS_WIDTH2   (1 + (LANCZOS_WIDTH * 2))


scale_region ()

void                scale_region                        (PixelRegion *srcPR,
                                                         PixelRegion *destPR,
                                                         GimpInterpolationType interpolation,
                                                         GimpProgressFunc progress_callback,
                                                         gpointer progress_data);


create_lanczos_lookup ()

gfloat *            create_lanczos_lookup               (void);