ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

converter.c File Reference
#include "config.h"
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "objbase.h"
#include "wincodec.h"
#include "wincodecs_private.h"
#include "wine/debug.h"

Go to the source code of this file.

Data Structures

struct  pixelformatinfo
struct  FormatConverter

Defines

#define COBJMACROS

Typedefs

typedef HRESULT(* copyfunc )(struct FormatConverter *This, const WICRect *prc, UINT cbStride, UINT cbBufferSize, BYTE *pbBuffer, enum pixelformat source_format)

Enumerations

enum  pixelformat {
  format_1bppIndexed, format_2bppIndexed, format_4bppIndexed, format_8bppIndexed,
  format_BlackWhite, format_2bppGray, format_4bppGray, format_8bppGray,
  format_16bppGray, format_16bppBGR555, format_16bppBGR565, format_24bppBGR,
  format_32bppBGR, format_32bppBGRA, format_48bppRGB, format_64bppRGBA
}

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (wincodecs)
static void make_grayscale_palette (WICColor *colors, UINT num_colors)
static HRESULT copypixels_to_32bppBGRA (struct FormatConverter *This, const WICRect *prc, UINT cbStride, UINT cbBufferSize, BYTE *pbBuffer, enum pixelformat source_format)
static HRESULT copypixels_to_32bppBGR (struct FormatConverter *This, const WICRect *prc, UINT cbStride, UINT cbBufferSize, BYTE *pbBuffer, enum pixelformat source_format)
static struct pixelformatinfoget_formatinfo (const WICPixelFormatGUID *format)
static HRESULT WINAPI FormatConverter_QueryInterface (IWICFormatConverter *iface, REFIID iid, void **ppv)
static ULONG WINAPI FormatConverter_AddRef (IWICFormatConverter *iface)
static ULONG WINAPI FormatConverter_Release (IWICFormatConverter *iface)
static HRESULT WINAPI FormatConverter_GetSize (IWICFormatConverter *iface, UINT *puiWidth, UINT *puiHeight)
static HRESULT WINAPI FormatConverter_GetPixelFormat (IWICFormatConverter *iface, WICPixelFormatGUID *pPixelFormat)
static HRESULT WINAPI FormatConverter_GetResolution (IWICFormatConverter *iface, double *pDpiX, double *pDpiY)
static HRESULT WINAPI FormatConverter_CopyPalette (IWICFormatConverter *iface, IWICPalette *pIPalette)
static HRESULT WINAPI FormatConverter_CopyPixels (IWICFormatConverter *iface, const WICRect *prc, UINT cbStride, UINT cbBufferSize, BYTE *pbBuffer)
static HRESULT WINAPI FormatConverter_Initialize (IWICFormatConverter *iface, IWICBitmapSource *pISource, REFWICPixelFormatGUID dstFormat, WICBitmapDitherType dither, IWICPalette *pIPalette, double alphaThresholdPercent, WICBitmapPaletteType paletteTranslate)
static HRESULT WINAPI FormatConverter_CanConvert (IWICFormatConverter *iface, REFWICPixelFormatGUID srcPixelFormat, REFWICPixelFormatGUID dstPixelFormat, BOOL *pfCanConvert)
HRESULT FormatConverter_CreateInstance (IUnknown *pUnkOuter, REFIID iid, void **ppv)

Variables

static struct pixelformatinfo supported_formats []
static const
IWICFormatConverterVtbl 
FormatConverter_Vtbl

Generated on Sat May 26 2012 05:19:21 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.