19#ifndef WINCODECS_PRIVATE_H
20#define WINCODECS_PRIVATE_H
23#include "wincodecsdk.h"
26#include "wine/unicode.h"
28DEFINE_GUID(CLSID_WineTgaDecoder, 0xb11fc79a,0x67cc,0x43e6,0xa9,0xce,0xe3,0xd5,0x49,0x45,0xd3,0x04);
30DEFINE_GUID(CLSID_WICIcnsEncoder, 0x312fb6f1,0xb767,0x409d,0x8a,0x6d,0x0f,0xc1,0x54,0xd4,0xf0,0x5c);
32DEFINE_GUID(GUID_WineContainerFormatTga, 0x0c44fda1,0xa5c5,0x4298,0x96,0x85,0x47,0x3f,0xc1,0x7c,0xd3,0x22);
34DEFINE_GUID(GUID_VendorWine, 0xddf46da1,0x7dc1,0x404e,0x98,0xf2,0xef,0xa4,0x8d,0xfc,0x95,0x0a);
36DEFINE_GUID(IID_IMILBitmap,0xb1784d3f,0x8115,0x4763,0x13,0xaa,0x32,0xed,0xdb,0x68,0x29,0x4a);
37DEFINE_GUID(IID_IMILBitmapSource,0x7543696a,0xbc8d,0x46b0,0x5f,0x81,0x8d,0x95,0x72,0x89,0x72,0xbe);
38DEFINE_GUID(IID_IMILBitmapLock,0xa67b2b53,0x8fa1,0x4155,0x8f,0x64,0x0c,0x24,0x7a,0x8f,0x84,0xcd);
39DEFINE_GUID(IID_IMILBitmapScaler,0xa767b0f0,0x1c8c,0x4aef,0x56,0x8f,0xad,0xf9,0x6d,0xcf,0xd5,0xcb);
40DEFINE_GUID(IID_IMILFormatConverter,0x7e2a746f,0x25c5,0x4851,0xb3,0xaf,0x44,0x3b,0x79,0x63,0x9e,0xc0);
41DEFINE_GUID(IID_IMILPalette,0xca8e206f,0xf22c,0x4af7,0x6f,0xba,0x7b,0xed,0x5e,0xb1,0xc9,0x2f);
43#define INTERFACE IMILBitmapSource
59#define INTERFACE IMILBitmap
82#define INTERFACE IMILBitmapScaler
101#define THISCALLMETHOD_(type,method) type (__thiscall *method)
103#define INTERFACE IMILUnknown1
126#define INTERFACE IMILUnknown2
251 if (!
rect)
return "(null)";
#define DECLARE_INTERFACE_(i, b)
DWORD WINAPI GetSize(LPVOID)
const char * wine_dbg_sprintf(const char *format,...)
GLuint GLuint GLsizei count
GLint GLint GLsizei GLsizei height
GLint GLint GLsizei width
GLuint GLenum GLenum transform
GLenum GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * bits
#define memcpy(s1, s2, n)
static HRESULT QueryInterface(REFIID, void **)
static const char mbstate_t *static wchar_t const char mbstate_t *static const wchar_t int *static double
static ULONG WINAPI AddRef(IStream *iface)
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8)
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFWAITLOCK * Lock
WICBitmapInterpolationMode
WICBitmapCreateCacheOption
HRESULT FormatConverter_CreateInstance(REFIID riid, void **ppv) DECLSPEC_HIDDEN
HRESULT BitmapScaler_Create(IWICBitmapScaler **scaler) DECLSPEC_HIDDEN
HRESULT configure_write_source(IWICBitmapFrameEncode *iface, IWICBitmapSource *source, const WICRect *prc, const WICPixelFormatGUID *format, INT width, INT height, double xres, double yres) DECLSPEC_HIDDEN
HRESULT APEReader_CreateInstance(REFIID iid, void **ppv) DECLSPEC_HIDDEN
HRESULT PaletteImpl_Create(IWICPalette **palette) DECLSPEC_HIDDEN
struct _MetadataItem MetadataItem
HRESULT get_pixelformat_bpp(const GUID *pixelformat, UINT *bpp) DECLSPEC_HIDDEN
static const char * debug_wic_rect(const WICRect *rect)
HRESULT GifCommentReader_CreateInstance(REFIID iid, void **ppv) DECLSPEC_HIDDEN
HRESULT ImagingFactory_CreateInstance(REFIID riid, void **ppv) DECLSPEC_HIDDEN
void BmpDecoder_GetWICDecoder(BmpDecoder *This, IWICBitmapDecoder **ppDecoder) DECLSPEC_HIDDEN
struct _MetadataHandlerVtbl MetadataHandlerVtbl
HRESULT PngTextReader_CreateInstance(REFIID iid, void **ppv) DECLSPEC_HIDDEN
HRESULT BitmapImpl_Create(UINT uiWidth, UINT uiHeight, UINT stride, UINT datasize, void *view, UINT offset, REFWICPixelFormatGUID pixelFormat, WICBitmapCreateCacheOption option, IWICBitmap **ppIBitmap) DECLSPEC_HIDDEN
HRESULT copy_pixels(UINT bpp, const BYTE *srcbuffer, UINT srcwidth, UINT srcheight, INT srcstride, const WICRect *rc, UINT dststride, UINT dstbuffersize, BYTE *dstbuffer) DECLSPEC_HIDDEN
HRESULT MetadataQueryReader_CreateInstance(IWICMetadataBlockReader *, const WCHAR *, IWICMetadataQueryReader **) DECLSPEC_HIDDEN
HRESULT GCEReader_CreateInstance(REFIID iid, void **ppv) DECLSPEC_HIDDEN
void BmpDecoder_FindIconMask(BmpDecoder *This, ULONG *mask_offset, int *topdown) DECLSPEC_HIDDEN
HRESULT DibDecoder_CreateInstance(REFIID iid, void **ppv) DECLSPEC_HIDDEN
HRESULT StreamImpl_Create(IWICStream **stream) DECLSPEC_HIDDEN
HRESULT IfdMetadataReader_CreateInstance(REFIID iid, void **ppv) DECLSPEC_HIDDEN
HRESULT LSDReader_CreateInstance(REFIID iid, void **ppv) DECLSPEC_HIDDEN
HRESULT BmpEncoder_CreateInstance(REFIID iid, void **ppv) DECLSPEC_HIDDEN
HRESULT CreateComponentInfo(REFCLSID clsid, IWICComponentInfo **ppIInfo) DECLSPEC_HIDDEN
HRESULT GifEncoder_CreateInstance(REFIID iid, void **ppv) DECLSPEC_HIDDEN
HRESULT PngEncoder_CreateInstance(REFIID iid, void **ppv) DECLSPEC_HIDDEN
void reverse_bgr8(UINT bytesperpixel, LPBYTE bits, UINT width, UINT height, INT stride) DECLSPEC_HIDDEN
HRESULT write_source(IWICBitmapFrameEncode *iface, IWICBitmapSource *source, const WICRect *prc, const WICPixelFormatGUID *format, UINT bpp, INT width, INT height) DECLSPEC_HIDDEN
HRESULT CreateComponentEnumerator(DWORD componentTypes, DWORD options, IEnumUnknown **ppIEnumUnknown) DECLSPEC_HIDDEN
HRESULT BmpDecoder_CreateInstance(REFIID riid, void **ppv) DECLSPEC_HIDDEN
HRESULT IcnsEncoder_CreateInstance(REFIID iid, void **ppv) DECLSPEC_HIDDEN
void convert_rgba_to_bgra(UINT bytesperpixel, LPBYTE bits, UINT width, UINT height, INT stride) DECLSPEC_HIDDEN
HRESULT CreatePropertyBag2(const PROPBAG2 *options, UINT count, IPropertyBag2 **property) DECLSPEC_HIDDEN
HRESULT PngGamaReader_CreateInstance(REFIID iid, void **ppv) DECLSPEC_HIDDEN
HRESULT TiffEncoder_CreateInstance(REFIID iid, void **ppv) DECLSPEC_HIDDEN
HRESULT JpegEncoder_CreateInstance(REFIID iid, void **ppv) DECLSPEC_HIDDEN
HRESULT FlipRotator_Create(IWICBitmapFlipRotator **fliprotator) DECLSPEC_HIDDEN
HRESULT JpegDecoder_CreateInstance(REFIID iid, void **ppv) DECLSPEC_HIDDEN
HRESULT IMDReader_CreateInstance(REFIID iid, void **ppv) DECLSPEC_HIDDEN
HRESULT MetadataReader_Create(const MetadataHandlerVtbl *vtable, REFIID iid, void **ppv) DECLSPEC_HIDDEN
HRESULT ColorTransform_Create(IWICColorTransform **transform) DECLSPEC_HIDDEN
HRESULT PngDecoder_CreateInstance(REFIID iid, void **ppv) DECLSPEC_HIDDEN
HRESULT get_decoder_info(REFCLSID clsid, IWICBitmapDecoderInfo **info) DECLSPEC_HIDDEN
HRESULT IcoDibDecoder_CreateInstance(BmpDecoder **ppDecoder) DECLSPEC_HIDDEN
HRESULT create_instance(CLSID *clsid, const IID *iid, void **ppv) DECLSPEC_HIDDEN
static WCHAR * heap_strdupW(const WCHAR *src)
HRESULT PngChrmReader_CreateInstance(REFIID iid, void **ppv) DECLSPEC_HIDDEN
HRESULT TiffDecoder_CreateInstance(REFIID iid, void **ppv) DECLSPEC_HIDDEN
HRESULT TgaDecoder_CreateInstance(REFIID iid, void **ppv) DECLSPEC_HIDDEN
HRESULT UnknownMetadataReader_CreateInstance(REFIID iid, void **ppv) DECLSPEC_HIDDEN
HRESULT BitmapClipper_Create(IWICBitmapClipper **clipper) DECLSPEC_HIDDEN
HRESULT IcoDecoder_CreateInstance(REFIID iid, void **ppv) DECLSPEC_HIDDEN
HRESULT GifDecoder_CreateInstance(REFIID riid, void **ppv) DECLSPEC_HIDDEN
HRESULT ColorContext_Create(IWICColorContext **context) DECLSPEC_HIDDEN
HRESULT(* class_constructor)(REFIID, void **)
HRESULT stream_initialize_from_filehandle(IWICStream *iface, HANDLE hfile) DECLSPEC_HIDDEN
void ReleaseComponentInfos(void) DECLSPEC_HIDDEN
int WINAPI GetPixelFormat(_In_ HDC)
_In_ BOOLEAN SetResolution