MythTV  master
Macros
mythimage.cpp File Reference
#include "mythimage.h"
#include <cstdint>
#include <iostream>
#include <QImageReader>
#include <QPainter>
#include <QMatrix>
#include <QNetworkReply>
#include <QRgb>
#include "mythdownloadmanager.h"
#include "mythlogging.h"
#include "remotefile.h"
#include "mythuihelper.h"
#include "mythmainwindow.h"
Include dependency graph for mythimage.cpp:

Go to the source code of this file.

Macros

#define SCALEBITS   8
 
#define ONE_HALF   (1 << (SCALEBITS - 1))
 
#define FIX(x)   ((int) ((x) * (1L<<SCALEBITS) /*+ 0.5*/))
 

Macro Definition Documentation

◆ SCALEBITS

#define SCALEBITS   8

Definition at line 429 of file mythimage.cpp.

◆ ONE_HALF

#define ONE_HALF   (1 << (SCALEBITS - 1))

Definition at line 430 of file mythimage.cpp.

◆ FIX

#define FIX (   x)    ((int) ((x) * (1L<<SCALEBITS) /*+ 0.5*/))

Definition at line 431 of file mythimage.cpp.