#include "precomp.h"
Go to the source code of this file.
Defines | |
#define | FX1 65536 |
#define | BPPTOINDEX(bpp) ((UINT)(bpp) >> 3) |
#define | RGBQ(r, g, b) RGB(b, g, r) |
#define | RGBQR(rgb) GetBValue(rgb) |
#define | RGBQG(rgb) GetGValue(rgb) |
#define | RGBQB(rgb) GetRValue(rgb) |
#define | Pel4(p, x) (BYTE)(((x) & 1) ? (((LPBYTE)(p))[(x)/2] & 15) : (((LPBYTE)(p))[(x)/2] >> 4)) |
#define | Pel8(p, x) (BYTE)(((LPBYTE)(p))[(x)]) |
#define | Pel16(p, x) (((WORD UNALIGNED *)(p))[(x)]) |
#define | Pel24(p, x) (*(DWORD UNALIGNED *)((LPBYTE)(p) + (x) * 3)) |
Typedefs | |
typedef VOID(* | SCALEPROC )(LPDWORD, LPBYTE, long, int, int, int, int, LPBYTE, long, int, int) |
typedef VOID(* | INITPROC )(LPBITMAPINFOHEADER) |
Functions | |
BOOL | ScaleDIB (LPBITMAPINFOHEADER, LPVOID, LPBITMAPINFOHEADER, LPVOID) |
VOID | InitDst8 (LPBITMAPINFOHEADER) |
VOID | Scale48 (LPDWORD, LPBYTE, long, int, int, int, int, LPBYTE, long, int, int) |
VOID | Scale88 (LPDWORD, LPBYTE, long, int, int, int, int, LPBYTE, long, int, int) |
VOID | Scale424 (LPDWORD, LPBYTE, long, int, int, int, int, LPBYTE, long, int, int) |
VOID | Scale824 (LPDWORD, LPBYTE, long, int, int, int, int, LPBYTE, long, int, int) |
VOID | Scale2424 (LPDWORD, LPBYTE, long, int, int, int, int, LPBYTE, long, int, int) |
BYTE | Map8 (COLORREF) |
COLORREF | MixRGBI (LPDWORD, BYTE, BYTE, BYTE, BYTE, int, int) |
COLORREF | MixRGB (DWORD, DWORD, DWORD, DWORD, int, int) |
int | SmartStretchDIBits (HDC hdc, int xD, int yD, int dxD, int dyD, int xS, int yS, int dxS, int dyS, LPVOID lpBits, LPBITMAPINFO lpbi, UINT wUsage, DWORD rop) |
VOID | Scale48 (LPDWORD pal, LPBYTE pbSrc, LONG WidthBytesSrc, int x0, int y0, int sdx, int sdy, LPBYTE pbDst, LONG WidthBytesDst, int dxDst, int dyDst) |
VOID | Scale88 (LPDWORD pal, LPBYTE pbSrc, LONG WidthBytesSrc, int x0, int y0, int sdx, int sdy, LPBYTE pbDst, LONG WidthBytesDst, int dxDst, int dyDst) |
VOID | Scale424 (LPDWORD pal, LPBYTE pbSrc, LONG WidthBytesSrc, int x0, int y0, int sdx, int sdy, LPBYTE pbDst, LONG WidthBytesDst, int dxDst, int dyDst) |
VOID | Scale824 (LPDWORD pal, LPBYTE pbSrc, LONG WidthBytesSrc, int x0, int y0, int sdx, int sdy, LPBYTE pbDst, LONG WidthBytesDst, int dxDst, int dyDst) |
VOID | Scale2424 (LPDWORD pal, LPBYTE pbSrc, LONG WidthBytesSrc, int x0, int y0, int sdx, int sdy, LPBYTE pbDst, LONG WidthBytesDst, int dxDst, int dyDst) |
Variables | |
SCALEPROC | ScaleProc [4][4] |
INITPROC | InitDst [] |
BYTE | rmap [256] |
BYTE | gmap [256] |
BYTE | bmap [256] |
|
Definition at line 22 of file cldib.c. Referenced by ScaleDIB(). |
|
Definition at line 16 of file cldib.c. Referenced by MixRGB(), Scale2424(), Scale424(), Scale48(), Scale824(), Scale88(), and ScaleDIB(). |
|
|
|
Definition at line 32 of file cldib.c. Referenced by Scale2424(). |
|
Definition at line 29 of file cldib.c. Referenced by Scale424(), and Scale48(). |
|
Definition at line 30 of file cldib.c. Referenced by Scale824(), and Scale88(). |
|
Definition at line 24 of file cldib.c. Referenced by InitDst8(). |
|
Definition at line 27 of file cldib.c. Referenced by MixRGB(). |
|
Definition at line 26 of file cldib.c. Referenced by MixRGB(). |
|
Definition at line 25 of file cldib.c. Referenced by MixRGB(). |
|
|
|
|
|
Definition at line 616 of file cldib.c. References bmap, g(), gmap, RGBQ, rmap, and VOID().
|
|
Definition at line 650 of file cldib.c. References bmap, BYTE, gmap, and rmap. Referenced by Scale48(), and Scale88().
|
|
Definition at line 538 of file cldib.c. References FX1, g(), RGBQB, RGBQG, and RGBQR. Referenced by MixRGBI(), and Scale2424().
|
|
Definition at line 595 of file cldib.c. References MixRGB(), and RGBX. Referenced by Scale424(), Scale48(), Scale824(), and Scale88().
|
|
Definition at line 479 of file cldib.c. References DWORD, FX1, MixRGB(), Pel24, UINT, and VOID().
|
|
|
|
Definition at line 375 of file cldib.c. References BYTE, FX1, MixRGBI(), Pel4, UINT, and VOID().
|
|
|
|
Definition at line 281 of file cldib.c. References BYTE, FX1, Map8(), MixRGBI(), Pel4, UINT, and VOID().
|
|
|
|
Definition at line 427 of file cldib.c. References BYTE, FX1, MixRGBI(), Pel8, UINT, and VOID().
|
|
|
|
Definition at line 328 of file cldib.c. References BYTE, FX1, Map8(), MixRGBI(), Pel8, UINT, and VOID().
|
|
|
|
Definition at line 185 of file cldib.c. References BitmapWidth, BOOL, BPPTOINDEX, FALSE, FX1, InitDst, NULL, ScaleProc, and TRUE. Referenced by SmartStretchDIBits().
|
|
Definition at line 84 of file cldib.c. References LPVOID, NULL, ScaleDIB(), UINT, UserLocalAlloc, and UserLocalFree. Referenced by BitmapFromDIB().
|
|
Definition at line 68 of file cldib.c. Referenced by InitDst8(), and Map8(). |
|
Definition at line 68 of file cldib.c. Referenced by InitDst8(), and Map8(). |
|
Initial value: Definition at line 64 of file cldib.c. Referenced by ScaleDIB(). |
|
Definition at line 68 of file cldib.c. Referenced by InitDst8(), and Map8(). |
|
Initial value: Definition at line 57 of file cldib.c. Referenced by ScaleDIB(). |