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

(6679efd2a4cc23de4ed947ef567a799d474e2079)

#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)
template<typename T>
static void multithread_pixels_function (QImageScaleInfo *isi, int dh, const T &scaleSection)
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

◆ multithread_pixels_function()

template<typename T>
void multithread_pixels_function ( QImageScaleInfo * isi,
int dh,
const T & scaleSection )
inlinestatic

Definition at line 286 of file qimagescale.cpp.

◆ qSmoothScaleImage()

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

Definition at line 1217 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 1010 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 1128 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 1167 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 1071 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 1089 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 354 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 476 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 518 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 414 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 435 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 312 of file qimagescale.cpp.