ReactOS 0.4.16-dev-240-gdb5fa3b
|
#include <stdarg.h>
#include <stdio.h>
#include <assert.h>
#include <math.h>
#include "windef.h"
#include "objbase.h"
#include "wincodec.h"
#include "wine/test.h"
#include "initguid.h"
Go to the source code of this file.
Macros | |
#define | COBJMACROS |
#define | CONST_VTABLE |
#define | INTERFACE IMILBitmapSource |
#define | INTERFACE IMILBitmap |
#define | INTERFACE IMILBitmapScaler |
Functions | |
DEFINE_GUID (IID_IMILUnknown, 0x0ccd7824, 0xdc16, 0x4d09, 0xbc, 0xa8, 0x6b, 0x09, 0xc4, 0xef, 0x55, 0x35) | |
DEFINE_GUID (IID_IMILBitmap, 0xb1784d3f, 0x8115, 0x4763, 0x13, 0xaa, 0x32, 0xed, 0xdb, 0x68, 0x29, 0x4a) | |
DEFINE_GUID (IID_IMILBitmapSource, 0x7543696a, 0xbc8d, 0x46b0, 0x5f, 0x81, 0x8d, 0x95, 0x72, 0x89, 0x72, 0xbe) | |
DEFINE_GUID (IID_IMILBitmapLock, 0xa67b2b53, 0x8fa1, 0x4155, 0x8f, 0x64, 0x0c, 0x24, 0x7a, 0x8f, 0x84, 0xcd) | |
DEFINE_GUID (IID_IMILBitmapScaler, 0xa767b0f0, 0x1c8c, 0x4aef, 0x56, 0x8f, 0xad, 0xf9, 0x6d, 0xcf, 0xd5, 0xcb) | |
DEFINE_GUID (IID_IMILFormatConverter, 0x7e2a746f, 0x25c5, 0x4851, 0xb3, 0xaf, 0x44, 0x3b, 0x79, 0x63, 0x9e, 0xc0) | |
DEFINE_GUID (IID_IMILPalette, 0xca8e206f, 0xf22c, 0x4af7, 0x6f, 0xba, 0x7b, 0xed, 0x5e, 0xb1, 0xc9, 0x2f) | |
DECLARE_INTERFACE_ (IMILBitmapSource, IUnknown) | |
DECLARE_INTERFACE_ (IMILBitmap, IMILBitmapSource) | |
DECLARE_INTERFACE_ (IMILBitmapScaler, IMILBitmapSource) | |
static HRESULT WINAPI | bitmapsource_QueryInterface (IWICBitmapSource *iface, REFIID iid, void **ppv) |
static ULONG WINAPI | bitmapsource_AddRef (IWICBitmapSource *iface) |
static ULONG WINAPI | bitmapsource_Release (IWICBitmapSource *iface) |
static HRESULT WINAPI | bitmapsource_GetSize (IWICBitmapSource *iface, UINT *width, UINT *height) |
static HRESULT WINAPI | bitmapsource_GetPixelFormat (IWICBitmapSource *iface, WICPixelFormatGUID *format) |
static HRESULT WINAPI | bitmapsource_GetResolution (IWICBitmapSource *iface, double *dpiX, double *dpiY) |
static HRESULT WINAPI | bitmapsource_CopyPalette (IWICBitmapSource *iface, IWICPalette *palette) |
static HRESULT WINAPI | bitmapsource_CopyPixels (IWICBitmapSource *iface, const WICRect *rc, UINT stride, UINT buffer_size, BYTE *buffer) |
static HBITMAP | create_dib (int width, int height, int bpp, LOGPALETTE *pal, const void *data) |
static void | test_createbitmap (void) |
static void | test_createbitmapfromsource (void) |
static void | test_CreateBitmapFromMemory (void) |
static void | test_CreateBitmapFromHICON (void) |
static void | test_CreateBitmapFromHBITMAP (void) |
static void | test_clipper (void) |
static | HRESULT (WINAPI *pWICCreateBitmapFromSectionEx)(UINT |
static IWICBitmap **static void | test_WICCreateBitmapFromSectionEx (void) |
static void | test_bitmap_scaler (void) |
static LONG | obj_refcount (void *obj) |
static void | test_IMILBitmap (void) |
START_TEST (bitmap) | |
Variables | |
static IWICImagingFactory * | factory |
static WICRect | g_rect |
static BOOL | called_CopyPixels |
static const IWICBitmapSourceVtbl | sourcevtbl |
static IWICBitmapSource | bitmapsource = { &sourcevtbl } |
static | UINT |
static | REFWICPixelFormatGUID |
static | HANDLE |
static | WICSectionAccessLevel |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 100 of file bitmap.c.
|
static |
|
static |
Definition at line 174 of file bitmap.c.
Referenced by test_CreateBitmapFromHBITMAP().
DECLARE_INTERFACE_ | ( | IMILBitmap | , |
IMILBitmapSource | |||
) |
Definition at line 59 of file bitmap.c.
DECLARE_INTERFACE_ | ( | IMILBitmapScaler | , |
IMILBitmapSource | |||
) |
DECLARE_INTERFACE_ | ( | IMILBitmapSource | , |
IUnknown | |||
) |
DEFINE_GUID | ( | IID_IMILBitmap | , |
0xb1784d3f | , | ||
0x8115 | , | ||
0x4763 | , | ||
0x13 | , | ||
0xaa | , | ||
0x32 | , | ||
0xed | , | ||
0xdb | , | ||
0x68 | , | ||
0x29 | , | ||
0x4a | |||
) |
DEFINE_GUID | ( | IID_IMILBitmapLock | , |
0xa67b2b53 | , | ||
0x8fa1 | , | ||
0x4155 | , | ||
0x8f | , | ||
0x64 | , | ||
0x0c | , | ||
0x24 | , | ||
0x7a | , | ||
0x8f | , | ||
0x84 | , | ||
0xcd | |||
) |
DEFINE_GUID | ( | IID_IMILBitmapScaler | , |
0xa767b0f0 | , | ||
0x1c8c | , | ||
0x4aef | , | ||
0x56 | , | ||
0x8f | , | ||
0xad | , | ||
0xf9 | , | ||
0x6d | , | ||
0xcf | , | ||
0xd5 | , | ||
0xcb | |||
) |
DEFINE_GUID | ( | IID_IMILBitmapSource | , |
0x7543696a | , | ||
0xbc8d | , | ||
0x46b0 | , | ||
0x5f | , | ||
0x81 | , | ||
0x8d | , | ||
0x95 | , | ||
0x72 | , | ||
0x89 | , | ||
0x72 | , | ||
0xbe | |||
) |
DEFINE_GUID | ( | IID_IMILFormatConverter | , |
0x7e2a746f | , | ||
0x25c5 | , | ||
0x4851 | , | ||
0xb3 | , | ||
0xaf | , | ||
0x44 | , | ||
0x3b | , | ||
0x79 | , | ||
0x63 | , | ||
0x9e | , | ||
0xc0 | |||
) |
DEFINE_GUID | ( | IID_IMILPalette | , |
0xca8e206f | , | ||
0xf22c | , | ||
0x4af7 | , | ||
0x6f | , | ||
0xba | , | ||
0x7b | , | ||
0xed | , | ||
0x5e | , | ||
0xb1 | , | ||
0xc9 | , | ||
0x2f | |||
) |
DEFINE_GUID | ( | IID_IMILUnknown | , |
0x0ccd7824 | , | ||
0xdc16 | , | ||
0x4d09 | , | ||
0xbc | , | ||
0xa8 | , | ||
0x6b | , | ||
0x09 | , | ||
0xc4 | , | ||
0xef | , | ||
0x55 | , | ||
0x35 | |||
) |
Definition at line 1317 of file bitmap.c.
Referenced by test_IMILBitmap().
START_TEST | ( | bitmap | ) |
Definition at line 1469 of file bitmap.c.
Definition at line 1148 of file bitmap.c.
Referenced by START_TEST().
Definition at line 984 of file bitmap.c.
Referenced by START_TEST().
Definition at line 219 of file bitmap.c.
Referenced by START_TEST().
Definition at line 809 of file bitmap.c.
Referenced by START_TEST().
Definition at line 734 of file bitmap.c.
Referenced by START_TEST().
Definition at line 659 of file bitmap.c.
Referenced by START_TEST().
Definition at line 455 of file bitmap.c.
Referenced by START_TEST().
Definition at line 1323 of file bitmap.c.
Referenced by START_TEST().
|
static |
Definition at line 1093 of file bitmap.c.
Referenced by START_TEST().
|
static |
Definition at line 172 of file bitmap.c.
Referenced by test_clipper(), and test_createbitmapfromsource().
|
static |
Definition at line 151 of file bitmap.c.
Referenced by bitmapsource_CopyPixels(), and test_clipper().
|
static |
|
static |
Definition at line 150 of file bitmap.c.
Referenced by bitmapsource_CopyPixels(), and test_clipper().
|
static |
Definition at line 1091 of file bitmap.c.
Referenced by DECLARE_INTERFACE_().