ReactOS 0.4.16-dev-1056-gbe87e00
|
Go to the source code of this file.
Classes | |
struct | _MetadataItem |
struct | _MetadataHandlerVtbl |
struct | decoder_info |
struct | decoder_stat |
struct | decoder_frame |
struct | decoder_block |
struct | decoder |
struct | decoder_funcs |
struct | encoder_info |
struct | encoder_frame |
struct | encoder |
struct | encoder_funcs |
Macros | |
#define | INTERFACE IMILBitmapSource |
#define | INTERFACE IMILBitmap |
#define | INTERFACE IMILBitmapScaler |
#define | THISCALLMETHOD_(type, method) type (__thiscall *method) |
#define | INTERFACE IMILUnknown1 |
#define | INTERFACE IMILUnknown2 |
#define | DECODER_FLAGS_CAPABILITY_MASK 0x1f |
#define | DECODER_FLAGS_UNSUPPORTED_COLOR_CONTEXT 0x80000000 |
#define | DECODER_BLOCK_OPTION_MASK 0x0001000F |
#define | DECODER_BLOCK_FULL_STREAM 0x80000000 |
#define | DECODER_BLOCK_READER_CLSID 0x40000000 |
#define | ENCODER_FLAGS_MULTI_FRAME 0x1 |
#define | ENCODER_FLAGS_ICNS_SIZE 0x2 |
#define | ENCODER_FLAGS_SUPPORTS_METADATA 0x4 |
Typedefs | |
typedef HRESULT(* | class_constructor) (REFIID, void **) |
typedef struct BmpDecoder | BmpDecoder |
typedef struct _MetadataItem | MetadataItem |
typedef struct _MetadataHandlerVtbl | MetadataHandlerVtbl |
Variables | |
IID | IID_IMILBitmap |
IID | IID_IMILBitmapSource |
IID | IID_IMILBitmapLock |
IID | IID_IMILBitmapScaler |
IID | IID_IMILFormatConverter |
IID | IID_IMILPalette |
HMODULE | windowscodecs_module |
#define DECODER_BLOCK_FULL_STREAM 0x80000000 |
Definition at line 301 of file wincodecs_private.h.
#define DECODER_BLOCK_OPTION_MASK 0x0001000F |
Definition at line 300 of file wincodecs_private.h.
#define DECODER_BLOCK_READER_CLSID 0x40000000 |
Definition at line 302 of file wincodecs_private.h.
#define DECODER_FLAGS_CAPABILITY_MASK 0x1f |
Definition at line 280 of file wincodecs_private.h.
#define DECODER_FLAGS_UNSUPPORTED_COLOR_CONTEXT 0x80000000 |
Definition at line 281 of file wincodecs_private.h.
#define ENCODER_FLAGS_ICNS_SIZE 0x2 |
Definition at line 364 of file wincodecs_private.h.
#define ENCODER_FLAGS_MULTI_FRAME 0x1 |
Definition at line 363 of file wincodecs_private.h.
#define ENCODER_FLAGS_SUPPORTS_METADATA 0x4 |
Definition at line 365 of file wincodecs_private.h.
Definition at line 145 of file wincodecs_private.h.
Definition at line 145 of file wincodecs_private.h.
Definition at line 145 of file wincodecs_private.h.
Definition at line 145 of file wincodecs_private.h.
Definition at line 145 of file wincodecs_private.h.
Definition at line 111 of file wincodecs_private.h.
typedef struct BmpDecoder BmpDecoder |
Definition at line 218 of file wincodecs_private.h.
Definition at line 161 of file wincodecs_private.h.
typedef struct _MetadataItem MetadataItem |
Definition at line 348 of file wincodecs_private.h.
Definition at line 422 of file gifformat.c.
Referenced by GifDecoder_Block_GetReaderByIndex().
HRESULT BitmapClipper_Create | ( | IWICBitmapClipper ** | clipper | ) |
Definition at line 243 of file clipper.c.
Referenced by ImagingFactory_CreateBitmapClipper().
HRESULT BitmapImpl_Create | ( | UINT | uiWidth, |
UINT | uiHeight, | ||
UINT | stride, | ||
UINT | datasize, | ||
void * | view, | ||
UINT | offset, | ||
REFWICPixelFormatGUID | pixelFormat, | ||
WICBitmapCreateCacheOption | option, | ||
IWICBitmap ** | ppIBitmap | ||
) |
Definition at line 790 of file bitmap.c.
Referenced by create_bitmap_from_source_rect(), ImagingFactory_CreateBitmap(), ImagingFactory_CreateBitmapFromHBITMAP(), ImagingFactory_CreateBitmapFromHICON(), ImagingFactory_CreateBitmapFromMemory(), and WICCreateBitmapFromSectionEx().
HRESULT BitmapScaler_Create | ( | IWICBitmapScaler ** | scaler | ) |
Definition at line 513 of file scaler.c.
Referenced by ImagingFactory_CreateBitmapScaler().
Definition at line 1230 of file bmpdecode.c.
void BmpDecoder_FindIconMask | ( | BmpDecoder * | This, |
ULONG * | mask_offset, | ||
int * | topdown | ||
) |
Definition at line 1251 of file bmpdecode.c.
Referenced by ReadIcoDib().
void BmpDecoder_GetWICDecoder | ( | BmpDecoder * | This, |
IWICBitmapDecoder ** | ppDecoder | ||
) |
Definition at line 1245 of file bmpdecode.c.
Referenced by ReadIcoDib().
Definition at line 642 of file bmpencode.c.
HRESULT ColorContext_Create | ( | IWICColorContext ** | context | ) |
Definition at line 256 of file colorcontext.c.
Referenced by ImagingFactory_CreateColorContext().
HRESULT ColorTransform_Create | ( | IWICColorTransform ** | transform | ) |
Definition at line 172 of file colortransform.c.
Referenced by ImagingFactory_CreateColorTransformer().
HRESULT CommonDecoder_CreateInstance | ( | struct decoder * | decoder, |
const struct decoder_info * | decoder_info, | ||
REFIID | iid, | ||
void ** | ppv | ||
) |
Definition at line 780 of file decoder.c.
Referenced by JpegDecoder_CreateInstance(), PngDecoder_CreateInstance(), and TiffDecoder_CreateInstance().
HRESULT CommonEncoder_CreateInstance | ( | struct encoder * | encoder, |
const struct encoder_info * | encoder_info, | ||
REFIID | iid, | ||
void ** | ppv | ||
) |
Definition at line 867 of file encoder.c.
Referenced by JpegEncoder_CreateInstance(), PngEncoder_CreateInstance(), and TiffEncoder_CreateInstance().
HRESULT configure_write_source | ( | IWICBitmapFrameEncode * | iface, |
IWICBitmapSource * | source, | ||
const WICRect * | prc, | ||
const WICPixelFormatGUID * | format, | ||
INT | width, | ||
INT | height, | ||
double | xres, | ||
double | yres | ||
) |
Definition at line 38 of file wincodecs_common.c.
Referenced by BmpFrameEncode_WriteSource(), CommonEncoderFrame_WriteSource(), and GifFrameEncode_WriteSource().
HRESULT copy_pixels | ( | UINT | bpp, |
const BYTE * | srcbuffer, | ||
UINT | srcwidth, | ||
UINT | srcheight, | ||
INT | srcstride, | ||
const WICRect * | rc, | ||
UINT | dststride, | ||
UINT | dstbuffersize, | ||
BYTE * | dstbuffer | ||
) |
Definition at line 86 of file wincodecs_common.h.
Definition at line 212 of file clsfactory.c.
Referenced by BitmapDecoderInfo_CreateInstance(), BitmapEncoderInfo_CreateInstance(), CommonDecoderFrame_Block_GetReaderByIndex(), CommonDecoderFrame_GetMetadataQueryReader(), FormatConverterInfo_CreateInstance(), MetadataReaderInfo_CreateInstance(), PaletteImpl_InitializeFromBitmap(), and write_source().
HRESULT CreateComponentEnumerator | ( | DWORD | componentTypes, |
DWORD | options, | ||
IEnumUnknown ** | ppIEnumUnknown | ||
) |
Definition at line 2339 of file info.c.
Referenced by find_decoder(), foreach_component(), ImagingFactory_CreateComponentEnumerator(), ImagingFactory_CreateDecoder(), ImagingFactory_CreateEncoder(), and WICConvertBitmapSource().
HRESULT CreateComponentInfo | ( | REFCLSID | clsid, |
IWICComponentInfo ** | ppIInfo | ||
) |
Definition at line 2030 of file info.c.
Referenced by BmpEncoder_GetEncoderInfo(), CommonEncoder_GetEncoderInfo(), create_bitmap_from_source_rect(), CreateComponentEnumerator(), DdsEncoder_GetEncoderInfo(), get_decoder_info(), get_pixelformat_bpp(), GifEncoder_GetEncoderInfo(), ImagingFactory_CreateComponentInfo(), and MetadataHandler_GetMetadataHandlerInfo().
HRESULT CreatePropertyBag2 | ( | const PROPBAG2 * | options, |
UINT | count, | ||
IPropertyBag2 ** | property | ||
) |
Definition at line 278 of file propertybag.c.
Referenced by BmpEncoder_CreateNewFrame(), CommonEncoder_CreateNewFrame(), ComponentFactory_CreateEncoderPropertyBag(), and GifEncoder_CreateNewFrame().
Definition at line 1750 of file ddsformat.c.
Definition at line 2131 of file ddsformat.c.
Definition at line 261 of file wincodecs_private.h.
Referenced by BitmapClipper_CopyPixels(), BitmapClipper_Initialize(), BitmapImpl_CopyPixels(), BitmapImpl_Lock(), BitmapScaler_CopyPixels(), BmpFrameDecode_CopyPixels(), BmpFrameEncode_WriteSource(), ColorTransform_CopyPixels(), CommonDecoderFrame_CopyPixels(), CommonEncoderFrame_WriteSource(), DdsFrameDecode_CopyPixels(), DdsFrameEncode_WriteSource(), FlipRotator_CopyPixels(), FormatConverter_CopyPixels(), GifFrameDecode_CopyPixels(), IcoFrameDecode_CopyPixels(), and TgaDecoder_Frame_CopyPixels().
DECLARE_INTERFACE_ | ( | IMILBitmap | , |
IMILBitmapSource | |||
) |
Definition at line 70 of file wincodecs_private.h.
DECLARE_INTERFACE_ | ( | IMILBitmapScaler | , |
IMILBitmapSource | |||
) |
Definition at line 93 of file wincodecs_private.h.
DECLARE_INTERFACE_ | ( | IMILBitmapSource | , |
IUnknown | |||
) |
Definition at line 54 of file wincodecs_private.h.
DECLARE_INTERFACE_ | ( | IMILUnknown1 | , |
IUnknown | |||
) |
Definition at line 114 of file wincodecs_private.h.
DECLARE_INTERFACE_ | ( | IMILUnknown2 | , |
IUnknown | |||
) |
Definition at line 146 of file wincodecs_private.h.
HRESULT CDECL decoder_copy_pixels | ( | struct decoder * | This, |
UINT | frame, | ||
const WICRect * | prc, | ||
UINT | stride, | ||
UINT | buffersize, | ||
BYTE * | buffer | ||
) |
Definition at line 29 of file wincodecs_common.h.
Referenced by CommonDecoderFrame_CopyPixels().
HRESULT CDECL decoder_create | ( | const CLSID * | decoder_clsid, |
struct decoder_info * | info, | ||
struct decoder ** | result | ||
) |
Definition at line 46 of file wincodecs_common.h.
Referenced by CommonDecoder_CreateInstance(), and CommonDecoder_Release().
HRESULT CDECL decoder_get_color_context | ( | struct decoder * | This, |
UINT | frame, | ||
UINT | num, | ||
BYTE ** | data, | ||
DWORD * | datasize | ||
) |
Definition at line 40 of file wincodecs_common.h.
Referenced by CommonDecoderFrame_GetColorContexts().
HRESULT CDECL decoder_get_frame_info | ( | struct decoder * | This, |
UINT | frame, | ||
struct decoder_frame * | info | ||
) |
Definition at line 24 of file wincodecs_common.h.
Referenced by CommonDecoder_GetFrame().
HRESULT CDECL decoder_get_metadata_blocks | ( | struct decoder * | This, |
UINT | frame, | ||
UINT * | count, | ||
struct decoder_block ** | blocks | ||
) |
Definition at line 35 of file wincodecs_common.h.
Referenced by CommonDecoderFrame_InitializeMetadata().
HRESULT CDECL decoder_initialize | ( | struct decoder * | This, |
IStream * | stream, | ||
struct decoder_stat * | st | ||
) |
Definition at line 19 of file wincodecs_common.h.
Referenced by CommonDecoder_Initialize().
DEFINE_GUID | ( | CLSID_WineTgaDecoder | , |
0xb11fc79a | , | ||
0x67cc | , | ||
0x43e6 | , | ||
0xa9 | , | ||
0xce | , | ||
0xe3 | , | ||
0xd5 | , | ||
0x49 | , | ||
0x45 | , | ||
0xd3 | , | ||
0x04 | |||
) |
DEFINE_GUID | ( | GUID_VendorWine | , |
0xddf46da1 | , | ||
0x7dc1 | , | ||
0x404e | , | ||
0x98 | , | ||
0xf2 | , | ||
0xef | , | ||
0xa4 | , | ||
0x8d | , | ||
0xfc | , | ||
0x95 | , | ||
0x0a | |||
) |
DEFINE_GUID | ( | GUID_WineContainerFormatTga | , |
0x0c44fda1 | , | ||
0xa5c5 | , | ||
0x4298 | , | ||
0x96 | , | ||
0x85 | , | ||
0x47 | , | ||
0x3f | , | ||
0xc1 | , | ||
0x7c | , | ||
0xd3 | , | ||
0x22 | |||
) |
Definition at line 1235 of file bmpdecode.c.
Definition at line 71 of file wincodecs_common.h.
Referenced by CommonEncoderFrame_Commit().
Definition at line 61 of file wincodecs_common.h.
Referenced by CommonEncoderFrame_WritePixels().
Definition at line 81 of file wincodecs_common.h.
Referenced by CommonEncoder_CreateInstance(), and CommonEncoder_Release().
HRESULT CDECL encoder_get_supported_format | ( | struct encoder * | This, |
GUID * | pixel_format, | ||
DWORD * | bpp, | ||
BOOL * | indexed | ||
) |
Definition at line 56 of file wincodecs_common.h.
Referenced by CommonEncoderFrame_SetPixelFormat().
Definition at line 51 of file wincodecs_common.h.
Referenced by CommonEncoder_Initialize().
HRESULT CDECL encoder_write_lines | ( | struct encoder * | This, |
BYTE * | data, | ||
DWORD | line_count, | ||
DWORD | stride | ||
) |
Definition at line 66 of file wincodecs_common.h.
Referenced by CommonEncoderFrame_WritePixels().
HRESULT FlipRotator_Create | ( | IWICBitmapFlipRotator ** | fliprotator | ) |
Definition at line 266 of file fliprotate.c.
Referenced by ImagingFactory_CreateBitmapFlipRotator().
Definition at line 1953 of file converter.c.
Referenced by ImagingFactory_CreateFormatConverter().
Definition at line 315 of file gifformat.c.
Referenced by GifFrameDecode_Block_GetReaderByIndex().
HRESULT get_decoder_info | ( | REFCLSID | clsid, |
IWICBitmapDecoderInfo ** | info | ||
) |
Definition at line 2117 of file info.c.
Definition at line 62 of file main.c.
Referenced by BitmapImpl_Create(), BitmapScaler_Initialize(), FormatConverter_Initialize(), and WICCreateBitmapFromSectionEx().
Definition at line 516 of file gifformat.c.
Referenced by GifDecoder_Block_GetReaderByIndex(), and GifFrameDecode_Block_GetReaderByIndex().
Definition at line 1402 of file gifformat.c.
Definition at line 2476 of file gifformat.c.
Definition at line 757 of file icoformat.c.
HRESULT IcoDibDecoder_CreateInstance | ( | BmpDecoder ** | ppDecoder | ) |
Definition at line 1240 of file bmpdecode.c.
Referenced by ReadIcoDib().
Definition at line 1177 of file metadatahandler.c.
Definition at line 1606 of file imgfactory.c.
Referenced by WICCreateImagingFactory_Proxy().
Definition at line 343 of file libjpeg.c.
Referenced by JpegDecoder_CreateInstance().
Definition at line 638 of file libjpeg.c.
Referenced by JpegEncoder_CreateInstance().
Definition at line 114 of file main.c.
Definition at line 128 of file main.c.
Definition at line 156 of file gifformat.c.
Referenced by GifDecoder_Block_GetReaderByIndex().
HRESULT MetadataQueryReader_CreateInstance | ( | IWICMetadataBlockReader * | mbr, |
const WCHAR * | root, | ||
IWICMetadataQueryReader ** | out | ||
) |
Definition at line 727 of file metadataquery.c.
Referenced by ComponentFactory_CreateQueryReaderFromBlockReader(), GifDecoder_GetMetadataQueryReader(), GifFrameDecode_GetMetadataQueryReader(), and mqr_GetMetadataByName().
HRESULT MetadataQueryWriter_CreateInstance | ( | IWICMetadataBlockWriter * | mbw, |
const WCHAR * | root, | ||
IWICMetadataQueryWriter ** | out | ||
) |
Definition at line 867 of file metadataquery.c.
Referenced by CommonEncoderFrame_GetMetadataQueryWriter(), ComponentFactory_CreateQueryWriterFromBlockWriter(), and GifFrameEncode_GetMetadataQueryWriter().
HRESULT MetadataReader_Create | ( | const MetadataHandlerVtbl * | vtable, |
REFIID | iid, | ||
void ** | ppv | ||
) |
Definition at line 466 of file metadatahandler.c.
Referenced by APEReader_CreateInstance(), GCEReader_CreateInstance(), GifCommentReader_CreateInstance(), IfdMetadataReader_CreateInstance(), IMDReader_CreateInstance(), LSDReader_CreateInstance(), PngChrmReader_CreateInstance(), PngGamaReader_CreateInstance(), PngHistReader_CreateInstance(), PngTextReader_CreateInstance(), PngTimeReader_CreateInstance(), and UnknownMetadataReader_CreateInstance().
HRESULT PaletteImpl_Create | ( | IWICPalette ** | palette | ) |
Definition at line 897 of file palette.c.
Referenced by BitmapImpl_SetPalette(), copypixels_to_32bppBGRA(), create_bitmap_from_source_rect(), FormatConverter_Initialize(), ImagingFactory_CreateBitmapFromHBITMAP(), and ImagingFactory_CreatePalette().
Definition at line 468 of file libpng.c.
Referenced by PngDecoder_CreateInstance().
Definition at line 817 of file libpng.c.
Referenced by PngEncoder_CreateInstance().
Definition at line 245 of file pngformat.c.
Definition at line 399 of file pngformat.c.
Referenced by ReadIcoPng().
Definition at line 413 of file pngformat.c.
Definition at line 168 of file pngformat.c.
Definition at line 308 of file pngformat.c.
Definition at line 109 of file pngformat.c.
Definition at line 394 of file pngformat.c.
Definition at line 156 of file wincodecs_common.h.
Referenced by LoadChrmMetadata(), LoadGamaMetadata(), LoadHistMetadata(), LoadTextMetadata(), LoadTimeMetadata(), and png_decoder_get_metadata_blocks().
Definition at line 2110 of file info.c.
Referenced by DllMain().
Definition at line 197 of file wincodecs_common.h.
Referenced by BmpFrameDecode_ReadRGB8(), copypixels_to_24bppBGR(), copypixels_to_24bppRGB(), copypixels_to_32bppBGRA(), copypixels_to_32bppRGBA(), jpeg_decoder_initialize(), and tiff_decoder_read_tile().
Definition at line 176 of file wincodecs_common.c.
Referenced by tiff_stream_size().
HRESULT stream_initialize_from_filehandle | ( | IWICStream * | iface, |
HANDLE | hfile | ||
) |
Definition at line 1043 of file stream.c.
Referenced by ImagingFactory_CreateDecoderFromFileHandle().
Definition at line 189 of file wincodecs_common.c.
HRESULT CDECL stream_seek | ( | IStream * | stream, |
LONGLONG | ofs, | ||
DWORD | origin, | ||
ULONGLONG * | new_position | ||
) |
Definition at line 194 of file wincodecs_common.c.
Referenced by jpeg_decoder_initialize(), png_decoder_get_metadata_blocks(), png_decoder_initialize(), source_mgr_skip_input_data(), tiff_open_stream(), and tiff_stream_seek().
HRESULT CDECL stream_write | ( | IStream * | stream, |
const void * | buffer, | ||
ULONG | write, | ||
ULONG * | bytes_written | ||
) |
Definition at line 208 of file wincodecs_common.c.
Referenced by dest_mgr_empty_output_buffer(), dest_mgr_term_destination(), tiff_stream_write(), and user_write_data().
HRESULT StreamImpl_Create | ( | IWICStream ** | stream | ) |
Definition at line 1158 of file stream.c.
Referenced by IcoDecoder_GetFrame(), ImagingFactory_CreateDecoderFromFileHandle(), ImagingFactory_CreateDecoderFromFilename(), ImagingFactory_CreateStream(), and stream_initialize_from_filehandle().
Definition at line 938 of file tgaformat.c.
Definition at line 1091 of file libtiff.c.
Referenced by TiffDecoder_CreateInstance().
Definition at line 1329 of file libtiff.c.
Referenced by TiffEncoder_CreateInstance().
Definition at line 86 of file main.c.
Definition at line 100 of file main.c.
Definition at line 742 of file metadatahandler.c.
Referenced by create_unknown_metadata_reader(), GifDecoder_Block_GetReaderByIndex(), and GifFrameDecode_Block_GetReaderByIndex().
HRESULT write_source | ( | IWICBitmapFrameEncode * | iface, |
IWICBitmapSource * | source, | ||
const WICRect * | prc, | ||
const WICPixelFormatGUID * | format, | ||
UINT | bpp, | ||
BOOL | need_palette, | ||
INT | width, | ||
INT | height | ||
) |
Definition at line 89 of file wincodecs_common.c.
Referenced by BmpFrameEncode_WriteSource(), CommonEncoderFrame_WriteSource(), and GifFrameEncode_WriteSource().
|
extern |
Referenced by BitmapImpl_QueryInterface(), and test_IMILBitmap().
|
extern |
|
extern |
Referenced by BitmapScaler_QueryInterface(), and test_IMILBitmap().
|
extern |
Referenced by BitmapImpl_QueryInterface(), IMILBitmapScaler_GetPixelFormat(), and test_IMILBitmap().
|
extern |
|
extern |