• Skip to content
  • Skip to link menu
KDE 4.4 API Reference
  • KDE API Reference
  • KDE Support
  • Sitemap
  • Contact Us
 

qimageblitz

scale.cpp File Reference

#include <config-processor.h>
#include <config-externalasm.h>
#include "blitzcpu.h"
#include "qimageblitz.h"
#include <string.h>
#include <stdlib.h>
Include dependency graph for scale.cpp:

Go to the source code of this file.

Namespaces

namespace  QImageScale

Defines

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

Typedefs

typedef struct
QImageScale::__qimage_scale_info 
QImageScale::QImageScaleInfo

Functions

int * QImageScale::qimageCalcApoints (int s, int d, int up)
QImageScaleInfo * QImageScale::qimageCalcScaleInfo (const QImage &img, int sw, int sh, int dw, int dh, char aa)
int * QImageScale::qimageCalcXPoints (int sw, int dw)
unsigned int ** QImageScale::qimageCalcYPoints (unsigned int *src, int sw, int sh, int dh)
QImageScaleInfo * QImageScale::qimageFreeScaleInfo (QImageScaleInfo *isi)

Define Documentation

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

Definition at line 141 of file scale.cpp.

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

Definition at line 144 of file scale.cpp.

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

Definition at line 143 of file scale.cpp.

#define INV_XAP   (256 - xapoints[x])

Definition at line 146 of file scale.cpp.

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

Definition at line 148 of file scale.cpp.

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

Definition at line 142 of file scale.cpp.

#define XAP   (xapoints[x])

Definition at line 147 of file scale.cpp.

#define YAP   (yapoints[dyy + y])

Definition at line 149 of file scale.cpp.

qimageblitz

Skip menu "qimageblitz"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

KDE Support

Skip menu "KDE Support"
  • akonadi
  • Decibel
  • grantlee
  • kdewin
  • phonon
  •     Backend
  • polkit-qt
  • qca
  • qimageblitz
  • soprano
  • strigi
  •     searchclient
  •     streamanalyzer
  •     streams
Generated for KDE Support by doxygen 1.5.9-20090814
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal