/third_party/skia/third_party/externals/libwebp/examples/ |
D | unicode.h | 31 const W_CHAR** const wargv = \ 32 (const W_CHAR**)CommandLineToArgvW(GetCommandLineW(), &wargc); \ 47 #define FREE_WARGV() LOCAL_FREE((W_CHAR** const)wargv) 53 #define W_CHAR wchar_t // WCHAR without underscore might already be defined. macro 56 #define WFOPEN(ARG, OPT) _wfopen((const W_CHAR*)ARG, TO_W_CHAR(OPT)) 61 #define WSTRLEN(FILENAME) wcslen((const W_CHAR*)FILENAME) 62 #define WSTRCMP(FILENAME, STR) wcscmp((const W_CHAR*)FILENAME, TO_W_CHAR(STR)) 63 #define WSTRRCHR(FILENAME, STR) wcsrchr((const W_CHAR*)FILENAME, TO_W_CHAR(STR)) 80 #define W_CHAR char macro
|
D | anim_dump.c | 40 const W_CHAR* dump_folder = TO_W_CHAR("."); in main() 41 const W_CHAR* prefix = TO_W_CHAR("dump_"); in main() 42 const W_CHAR* suffix = TO_W_CHAR("png"); in main() 89 const W_CHAR* const file = GET_WARGV(argv, c); in main() 99 W_CHAR out_file[1024]; in main()
|
D | anim_diff.c | 287 WPRINTF("Dumping decoded frames in: %s\n", (const W_CHAR*)dump_folder); in main() 292 WPRINTF("Decoding file: %s\n", (const W_CHAR*)files[i]); in main() 295 (const W_CHAR*)files[i]); in main() 305 WFPRINTF(stderr, "\nFiles %s and %s differ.\n", (const W_CHAR*)files[0], in main() 306 (const W_CHAR*)files[1]); in main() 309 WPRINTF("\nFiles %s and %s are identical.\n", (const W_CHAR*)files[0], in main() 310 (const W_CHAR*)files[1]); in main()
|
D | anim_util.c | 157 const W_CHAR* base_name = NULL; in DumpFrame() 158 W_CHAR* file_name = NULL; in DumpFrame() 165 base_name = (base_name == NULL) ? (const W_CHAR*)filename : base_name + 1; in DumpFrame() 168 file_name = (W_CHAR*)WebPMalloc(max_len * sizeof(*file_name)); in DumpFrame() 172 (const W_CHAR*)dump_folder, base_name, frame_num) < 0) { in DumpFrame() 228 WFPRINTF(stderr, "Error parsing image: %s\n", (const W_CHAR*)filename); in ReadAnimatedWebP() 516 gif = DGifOpenFileUnicode((const W_CHAR*)filename, NULL); in ReadAnimatedGIF() 518 WFPRINTF(stderr, "Could not read file: %s.\n", (const W_CHAR*)filename); in ReadAnimatedGIF() 524 WFPRINTF(stderr, "Could not parse image: %s.\n", (const W_CHAR*)filename); in ReadAnimatedGIF() 710 WFPRINTF(stderr, "Error reading file: %s\n", (const W_CHAR*)filename); in ReadAnimatedImage() [all …]
|
D | webpmux.c | 398 (const W_CHAR*)filename); in CreateMux() 408 (const W_CHAR*)filename); in WriteData() 412 WFPRINTF(stderr, "Error writing file %s!\n", (const W_CHAR*)filename); in WriteData() 415 (const W_CHAR*)filename, (int)webpdata->size); in WriteData() 622 static int ParseCommandLine(Config* config, const W_CHAR** const unicode_argv) { in ParseCommandLine() 723 LOCAL_FREE((W_CHAR** const)unicode_argv); in ParseCommandLine() 730 LOCAL_FREE((W_CHAR** const)unicode_argv); in ParseCommandLine() 830 const W_CHAR** const unicode_argv) { in InitializeConfig()
|
D | dwebp.c | 60 WFPRINTF(stderr, "Saved file %s\n", (const W_CHAR*)out_file); in SaveOutput() 71 WFPRINTF(stderr, "Error writing file %s !!\n", (const W_CHAR*)out_file); in SaveOutput() 396 WFPRINTF(stderr, "Decoded %s.", (const W_CHAR*)in_file); in main() 405 WFPRINTF(stderr, "File %s can be decoded ", (const W_CHAR*)in_file); in main()
|
D | cwebp.c | 95 (const W_CHAR*)filename); in ReadPicture() 122 (const W_CHAR*)filename); in ReadPicture() 194 WFPRINTF(stderr, "File: %s\n", (const W_CHAR*)file_name); in PrintExtraInfoLossless() 213 WFPRINTF(stderr, "File: %s\n", (const W_CHAR*)file_name); in PrintExtraInfoLossy() 975 (const W_CHAR*)in_file); in main() 1003 (const W_CHAR*)out_file); in main() 1007 WFPRINTF(stderr, "Saving file '%s'\n", (const W_CHAR*)out_file); in main() 1162 (const W_CHAR*)dump_file); in main()
|
D | unicode_gif.h | 37 static GifFileType* DGifOpenFileUnicode(const W_CHAR* file_name, int* error) { in DGifOpenFileUnicode()
|
D | img2webp.c | 311 if (ok) WFPRINTF(stderr, "output file: %s ", (const W_CHAR*)output); in main()
|
D | gif2webp.c | 104 const W_CHAR* in_file = NULL, *out_file = NULL; in main()
|
D | webpinfo.c | 1164 const W_CHAR* in_file = NULL; in main()
|
/third_party/skia/third_party/externals/libwebp/imageio/ |
D | imageio_util.c | 87 WFPRINTF(stderr, "cannot open input file '%s'\n", (const W_CHAR*)file_name); in ImgIoUtilReadFile() 98 (const W_CHAR*)file_name); in ImgIoUtilReadFile() 106 (int)file_size, (const W_CHAR*)file_name); in ImgIoUtilReadFile() 130 (const W_CHAR*)file_name); in ImgIoUtilWriteFile()
|
D | webpdec.c | 47 WFPRINTF(stderr, "Decoding of %s failed.\n", (const W_CHAR*)in_file); in PrintWebPError()
|
D | image_enc.c | 570 (const W_CHAR*)out_file_name); in WebPSaveImage()
|
/third_party/skia/third_party/externals/libwebp/extras/ |
D | vwebp_sdl.c | 70 WFPRINTF(stderr, "Error opening file: %s\n", (const W_CHAR*)file); in main() 81 WFPRINTF(stderr, "Error decoding file %s\n", (const W_CHAR*)file); in main()
|
D | webp_quality.c | 39 if (!quiet) WPRINTF("[%s] ", (const W_CHAR*)filename); in main()
|
D | get_disto.c | 53 (const W_CHAR*)filename); in ReadPicture()
|