digiKam
dimg_scale.cpp File Reference

Namespaces

 Digikam
 
 Digikam::DImgScale
 

Macros

#define A_VAL(p)   ((unsigned char*)(p))[3]
 
#define A_VAL16(p)   ((ushort*)(p))[3]
 
#define B_VAL(p)   ((unsigned char*)(p))[0]
 
#define B_VAL16(p)   ((ushort*)(p))[0]
 
#define G_VAL(p)   ((unsigned char*)(p))[1]
 
#define G_VAL16(p)   ((ushort*)(p))[1]
 
#define INV_XAP   (256 - xapoints[x])
 
#define INV_YAP   (256 - yapoints[dyy + y])
 
#define R_VAL(p)   ((unsigned char*)(p))[2]
 
#define R_VAL16(p)   ((ushort*)(p))[2]
 
#define XAP   (xapoints[x])
 
#define YAP   (yapoints[dyy + y])
 

Typedefs

typedef int64_t llong
 
typedef uint64_t ullong
 

Functions

int * Digikam::DImgScale::dimgCalcApoints (int s, int d, int up)
 
DImgScaleInfo * Digikam::DImgScale::dimgCalcScaleInfo (const DImg &img, int sw, int sh, int dw, int dh, bool aa)
 
int * Digikam::DImgScale::dimgCalcXPoints (int sw, int dw)
 
uint ** Digikam::DImgScale::dimgCalcYPoints (uint *const src, int sw, int sh, int dh)
 
ullong ** Digikam::DImgScale::dimgCalcYPoints16 (ullong *const src, int sw, int sh, int dh)
 
void Digikam::DImgScale::dimgSampleRGBA (DImgScaleInfo *const isi, uint *const dest, int dxx, int dyy, int dw, int dh, int dow)
 
void Digikam::DImgScale::dimgSampleRGBA (DImgScaleInfo *const isi, uint *const dest, int dxx, int dyy, int dw, int dh, int dow, int clip_dx, int clip_dy, int clip_dw, int clip_dh)
 
void Digikam::DImgScale::dimgSampleRGBA16 (DImgScaleInfo *const isi, ullong *const dest, int dxx, int dyy, int dw, int dh, int dow)
 
void Digikam::DImgScale::dimgSampleRGBA16 (DImgScaleInfo *const isi, ullong *const dest, int dxx, int dyy, int dw, int dh, int dow, int clip_dx, int clip_dy, int clip_dw, int clip_dh)
 
void Digikam::DImgScale::dimgScaleAARGB (DImgScaleInfo *const isi, uint *const dest, int dxx, int dyy, int dw, int dh, int dow, int sow)
 
void Digikam::DImgScale::dimgScaleAARGB (DImgScaleInfo *const isi, uint *const dest, int dxx, int dyy, int dw, int dh, int dow, int sow, int clip_dx, int clip_dy, int clip_dw, int clip_dh)
 
void Digikam::DImgScale::dimgScaleAARGB16 (DImgScaleInfo *const isi, ullong *const dest, int dxx, int dyy, int dw, int dh, int dow, int sow)
 
void Digikam::DImgScale::dimgScaleAARGB16 (DImgScaleInfo *const isi, ullong *const dest, int dxx, int dyy, int dw, int dh, int dow, int sow, int clip_dx, int clip_dy, int clip_dw, int clip_dh)
 
void Digikam::DImgScale::dimgScaleAARGBA (DImgScaleInfo *const isi, uint *const dest, int dxx, int dyy, int dw, int dh, int dow, int sow)
 
void Digikam::DImgScale::dimgScaleAARGBA (DImgScaleInfo *const isi, uint *const dest, int dxx, int dyy, int dw, int dh, int dow, int sow, int clip_dx, int clip_dy, int clip_dw, int clip_dh)
 
void Digikam::DImgScale::dimgScaleAARGBA16 (DImgScaleInfo *const isi, ullong *const dest, int dxx, int dyy, int dw, int dh, int dow, int sow)
 
void Digikam::DImgScale::dimgScaleAARGBA16 (DImgScaleInfo *const isi, ullong *const dest, int dxx, int dyy, int dw, int dh, int dow, int sow, int clip_dx, int clip_dy, int clip_dw, int clip_dh)
 

Macro Definition Documentation

◆ A_VAL

#define A_VAL (   p)    ((unsigned char*)(p))[3]

◆ A_VAL16

#define A_VAL16 (   p)    ((ushort*)(p))[3]

◆ B_VAL

#define B_VAL (   p)    ((unsigned char*)(p))[0]

◆ B_VAL16

#define B_VAL16 (   p)    ((ushort*)(p))[0]

◆ G_VAL

#define G_VAL (   p)    ((unsigned char*)(p))[1]

◆ G_VAL16

#define G_VAL16 (   p)    ((ushort*)(p))[1]

◆ INV_XAP

#define INV_XAP   (256 - xapoints[x])

◆ INV_YAP

#define INV_YAP   (256 - yapoints[dyy + y])

◆ R_VAL

#define R_VAL (   p)    ((unsigned char*)(p))[2]

◆ R_VAL16

#define R_VAL16 (   p)    ((ushort*)(p))[2]

◆ XAP

#define XAP   (xapoints[x])

◆ YAP

#define YAP   (yapoints[dyy + y])

Typedef Documentation

◆ llong

typedef int64_t llong

◆ ullong

typedef uint64_t ullong