|
ReactOS 0.4.16-dev-1946-g52006dd
|
#include <stdarg.h>#include <stdio.h>#include "windef.h"#include "wincodec.h"#include "wine/test.h"#include "shlwapi.h"
Go to the source code of this file.
Macros | |
| #define | COBJMACROS |
| #define | PNG_COLOR_TYPE_GRAY 0 |
| #define | PNG_COLOR_TYPE_RGB 2 |
| #define | PNG_COLOR_TYPE_PALETTE 3 |
| #define | PNG_COLOR_TYPE_GRAY_ALPHA 4 |
| #define | PNG_COLOR_TYPE_RGB_ALPHA 6 |
Functions | |
| static HRESULT | create_decoder (const void *image_data, UINT image_size, IWICBitmapDecoder **decoder) |
| static WCHAR * | save_profile (BYTE *buffer, UINT size) |
| static void | test_color_contexts (void) |
| static void | test_png_palette (void) |
| static BOOL | is_valid_png_type_depth (int color_type, int bit_depth, BOOL plte) |
| static void | test_color_formats (void) |
| static void | test_chunk_size (void) |
| START_TEST (pngformat) | |
Variables | |
| static const char | png_no_color_profile [] |
| static const char | png_color_profile [] |
| static IWICImagingFactory * | factory |
| static const char | png_PLTE_tRNS [] |
| static const char | png_gray_tRNS [] |
| static const char | png_1x1_data [] |
| static const char | png_8M_tEXt_start [] |
| static const char | png_8M_tEXt_end [] |
| #define COBJMACROS |
Definition at line 23 of file pngformat.c.
| #define PNG_COLOR_TYPE_GRAY 0 |
Definition at line 697 of file pngformat.c.
| #define PNG_COLOR_TYPE_GRAY_ALPHA 4 |
Definition at line 700 of file pngformat.c.
| #define PNG_COLOR_TYPE_PALETTE 3 |
Definition at line 699 of file pngformat.c.
| #define PNG_COLOR_TYPE_RGB 2 |
Definition at line 698 of file pngformat.c.
| #define PNG_COLOR_TYPE_RGB_ALPHA 6 |
Definition at line 701 of file pngformat.c.
|
static |
Definition at line 279 of file pngformat.c.
Definition at line 703 of file pngformat.c.
Referenced by test_color_formats().
Definition at line 315 of file pngformat.c.
Referenced by test_color_contexts().
| START_TEST | ( | pngformat | ) |
Definition at line 953 of file pngformat.c.
Definition at line 937 of file pngformat.c.
Referenced by START_TEST().
Definition at line 336 of file pngformat.c.
Referenced by START_TEST().
Definition at line 728 of file pngformat.c.
Referenced by START_TEST().
Definition at line 553 of file pngformat.c.
Referenced by START_TEST().
|
static |
Definition at line 277 of file pngformat.c.
Definition at line 655 of file pngformat.c.
Referenced by test_color_formats().
Definition at line 931 of file pngformat.c.
Referenced by test_chunk_size().
Definition at line 926 of file pngformat.c.
Referenced by test_chunk_size().
Definition at line 45 of file pngformat.c.
Referenced by test_color_contexts().
Definition at line 545 of file pngformat.c.
Referenced by test_png_palette().
Definition at line 31 of file pngformat.c.
Referenced by test_color_contexts().
Definition at line 535 of file pngformat.c.
Referenced by test_png_palette().