58 *
ppv = &
This->IWICBitmapClipper_iface;
75 TRACE(
"(%p) refcount=%u\n", iface,
ref);
85 TRACE(
"(%p) refcount=%u\n", iface,
ref);
89 This->lock.DebugInfo->Spare[0] = 0;
91 if (
This->source) IWICBitmapSource_Release(
This->source);
129 return IWICBitmapSource_GetPixelFormat(
This->source,
format);
133 double *dpiX,
double *dpiY)
137 TRACE(
"(%p,%p,%p)\n", iface, dpiX, dpiY);
145 return IWICBitmapSource_GetResolution(
This->source, dpiX, dpiY);
161 return IWICBitmapSource_CopyPalette(
This->source,
palette);
223 IWICBitmapSource_AddRef(
This->source);
254 This->lock.DebugInfo->Spare[0] = (
DWORD_PTR)(__FILE__
": BitmapClipper.lock");
256 *clipper = &
This->IWICBitmapClipper_iface;
#define InterlockedIncrement
#define InterlockedDecrement
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
#define HeapFree(x, y, z)
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
GLint GLint GLsizei GLsizei height
GLint GLint GLsizei width
#define IsEqualIID(riid1, riid2)
IWICBitmapClipper IWICBitmapClipper_iface
IWICBitmapSource * source
static void buffer_size(GLcontext *ctx, GLuint *width, GLuint *height)
VOID WINAPI InitializeCriticalSection(OUT LPCRITICAL_SECTION lpCriticalSection)
#define CONTAINING_RECORD(address, type, field)
static ULONG WINAPI BitmapClipper_Release(IWICBitmapClipper *iface)
static HRESULT WINAPI BitmapClipper_GetResolution(IWICBitmapClipper *iface, double *dpiX, double *dpiY)
static HRESULT WINAPI BitmapClipper_CopyPalette(IWICBitmapClipper *iface, IWICPalette *palette)
static ULONG WINAPI BitmapClipper_AddRef(IWICBitmapClipper *iface)
static HRESULT WINAPI BitmapClipper_Initialize(IWICBitmapClipper *iface, IWICBitmapSource *source, const WICRect *rc)
static HRESULT WINAPI BitmapClipper_GetSize(IWICBitmapClipper *iface, UINT *width, UINT *height)
static HRESULT WINAPI BitmapClipper_GetPixelFormat(IWICBitmapClipper *iface, WICPixelFormatGUID *format)
static HRESULT WINAPI BitmapClipper_QueryInterface(IWICBitmapClipper *iface, REFIID iid, void **ppv)
HRESULT BitmapClipper_Create(IWICBitmapClipper **clipper)
static const IWICBitmapClipperVtbl BitmapClipper_Vtbl
static HRESULT WINAPI BitmapClipper_CopyPixels(IWICBitmapClipper *iface, const WICRect *rc, UINT stride, UINT buffer_size, BYTE *buffer)
static BitmapClipper * impl_from_IWICBitmapClipper(IWICBitmapClipper *iface)
void WINAPI LeaveCriticalSection(LPCRITICAL_SECTION)
void WINAPI EnterCriticalSection(LPCRITICAL_SECTION)
void WINAPI DeleteCriticalSection(PCRITICAL_SECTION)
static const char * debug_wic_rect(const WICRect *rect)
#define WINCODEC_ERR_WRONGSTATE