Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qimagescale.cpp File Reference

(64d183c64865a9b1993f1c6c38f9a37a78ace4f9)

#include <private/qimagescale_p.h>
#include <private/qdrawhelper_p.h>
#include <private/qimage_p.h>
#include "qimage.h"
#include "qcolor.h"
#include "qrgba64_p.h"
#include "qrgbafloat.h"
Include dependency graph for qimagescale.cpp:

Go to the source code of this file.

Namespaces

namespace  QImageScale

Functions

static const unsigned int ** QImageScale::qimageCalcYPoints (const unsigned int *src, int sw, int sh, int dh)
static int * QImageScale::qimageCalcXPoints (int sw, int dw)
static int * QImageScale::qimageCalcApoints (int s, int d, int up)
static QImageScaleInfoQImageScale::qimageFreeScaleInfo (QImageScaleInfo *isi)
static QImageScaleInfoQImageScale::qimageCalcScaleInfo (const QImage &img, int sw, int sh, int dw, int dh, char aa)
static void qt_qimageScaleAARGBA_up_x_down_y (QImageScaleInfo *isi, unsigned int *dest, int dw, int dh, int dow, int sow)
static void qt_qimageScaleAARGBA_down_x_up_y (QImageScaleInfo *isi, unsigned int *dest, int dw, int dh, int dow, int sow)
static void qt_qimageScaleAARGBA_down_xy (QImageScaleInfo *isi, unsigned int *dest, int dw, int dh, int dow, int sow)
static void qt_qimageScaleAARGBA_up_xy (QImageScaleInfo *isi, unsigned int *dest, int dw, int dh, int dow, int sow)
static void qt_qimageScaleAARGBA (QImageScaleInfo *isi, unsigned int *dest, int dw, int dh, int dow, int sow)
static void qt_qimageScaleAARGBA_helper (const unsigned int *pix, int xyap, int Cxy, int step, int &r, int &g, int &b, int &a)
static void qt_qimageScaleAARGB_up_x_down_y (QImageScaleInfo *isi, unsigned int *dest, int dw, int dh, int dow, int sow)
static void qt_qimageScaleAARGB_down_x_up_y (QImageScaleInfo *isi, unsigned int *dest, int dw, int dh, int dow, int sow)
static void qt_qimageScaleAARGB_down_xy (QImageScaleInfo *isi, unsigned int *dest, int dw, int dh, int dow, int sow)
static void qt_qimageScaleAARGB (QImageScaleInfo *isi, unsigned int *dest, int dw, int dh, int dow, int sow)
static void qt_qimageScaleAARGB_helper (const unsigned int *pix, int xyap, int Cxy, int step, int &r, int &g, int &b)
QImage qSmoothScaleImage (const QImage &src, int dw, int dh)

Function Documentation

◆ qSmoothScaleImage()

QImage qSmoothScaleImage ( const QImage & src,
int dw,
int dh )

Definition at line 1183 of file qimagescale.cpp.

◆ qt_qimageScaleAARGB()

void qt_qimageScaleAARGB ( QImageScaleInfo * isi,
unsigned int * dest,
int dw,
int dh,
int dow,
int sow )
static

Definition at line 976 of file qimagescale.cpp.

◆ qt_qimageScaleAARGB_down_x_up_y()

void qt_qimageScaleAARGB_down_x_up_y ( QImageScaleInfo * isi,
unsigned int * dest,
int dw,
int dh,
int dow,
int sow )
static

Definition at line 1094 of file qimagescale.cpp.

References qt_qimageScaleAARGB_helper().

Here is the call graph for this function:

◆ qt_qimageScaleAARGB_down_xy()

void qt_qimageScaleAARGB_down_xy ( QImageScaleInfo * isi,
unsigned int * dest,
int dw,
int dh,
int dow,
int sow )
static

Definition at line 1133 of file qimagescale.cpp.

References qt_qimageScaleAARGB_helper().

Here is the call graph for this function:

◆ qt_qimageScaleAARGB_helper()

void qt_qimageScaleAARGB_helper ( const unsigned int * pix,
int xyap,
int Cxy,
int step,
int & r,
int & g,
int & b )
inlinestatic

Definition at line 1037 of file qimagescale.cpp.

Referenced by qt_qimageScaleAARGB_down_x_up_y(), qt_qimageScaleAARGB_down_xy(), and qt_qimageScaleAARGB_up_x_down_y().

Here is the caller graph for this function:

◆ qt_qimageScaleAARGB_up_x_down_y()

void qt_qimageScaleAARGB_up_x_down_y ( QImageScaleInfo * isi,
unsigned int * dest,
int dw,
int dh,
int dow,
int sow )
static

Definition at line 1055 of file qimagescale.cpp.

References qt_qimageScaleAARGB_helper().

Here is the call graph for this function:

◆ qt_qimageScaleAARGBA()

void qt_qimageScaleAARGBA ( QImageScaleInfo * isi,
unsigned int * dest,
int dw,
int dh,
int dow,
int sow )
static

Definition at line 320 of file qimagescale.cpp.

◆ qt_qimageScaleAARGBA_down_x_up_y()

void qt_qimageScaleAARGBA_down_x_up_y ( QImageScaleInfo * isi,
unsigned int * dest,
int dw,
int dh,
int dow,
int sow )
static

Definition at line 442 of file qimagescale.cpp.

References qt_qimageScaleAARGBA_helper().

Here is the call graph for this function:

◆ qt_qimageScaleAARGBA_down_xy()

void qt_qimageScaleAARGBA_down_xy ( QImageScaleInfo * isi,
unsigned int * dest,
int dw,
int dh,
int dow,
int sow )
static

Definition at line 484 of file qimagescale.cpp.

References qt_qimageScaleAARGBA_helper().

Here is the call graph for this function:

◆ qt_qimageScaleAARGBA_helper()

void qt_qimageScaleAARGBA_helper ( const unsigned int * pix,
int xyap,
int Cxy,
int step,
int & r,
int & g,
int & b,
int & a )
inlinestatic

Definition at line 380 of file qimagescale.cpp.

Referenced by qt_qimageScaleAARGBA_down_x_up_y(), qt_qimageScaleAARGBA_down_xy(), and qt_qimageScaleAARGBA_up_x_down_y().

Here is the caller graph for this function:

◆ qt_qimageScaleAARGBA_up_x_down_y()

void qt_qimageScaleAARGBA_up_x_down_y ( QImageScaleInfo * isi,
unsigned int * dest,
int dw,
int dh,
int dow,
int sow )
static

Definition at line 401 of file qimagescale.cpp.

References qt_qimageScaleAARGBA_helper().

Here is the call graph for this function:

◆ qt_qimageScaleAARGBA_up_xy()

void qt_qimageScaleAARGBA_up_xy ( QImageScaleInfo * isi,
unsigned int * dest,
int dw,
int dh,
int dow,
int sow )
static

Definition at line 278 of file qimagescale.cpp.