libwebp/examples
Yannis Guyon 9cf9841b5e libwebp: Unicode command tools on Windows
Define macros in examples/unicode.h to use Unicode argv
on Windows. Keep char everywhere on Unix since it handles
UTF-8 without any change.

Impact:
 - All fopen () and SHCreateStreamOnFile(),
 - All fprintf() printing file paths,
 - All strcmp() used with "-",
 - File path parsing,
 - Gif reading.

Concerned executables from examples/ and extras/:
  anim_diff, anim_dump, vwebp, vwebp_sdl,
  cwebp, dwebp, gif2webp, img2webp,
  webpmux, webpinfo, webp_quality, get_disto

When compiled on Windows with Unicode enabled, webpmux and
img2webp will not work when used with an argument file and
will print "Reading arguments from a file is a feature
unavailable with Unicode binaries."

BUG=webp:398

Change-Id: Ic55d222a3ce1a715f9c4cce57ecbe2705d5ce317
2018-10-17 13:19:40 +02:00
..
Android.mk Android.mk: use LOCAL_EXPORT_C_INCLUDES w/public libs 2018-06-07 16:12:58 -07:00
anim_diff.c libwebp: Unicode command tools on Windows 2018-10-17 13:19:40 +02:00
anim_dump.c libwebp: Unicode command tools on Windows 2018-10-17 13:19:40 +02:00
anim_util.c libwebp: Unicode command tools on Windows 2018-10-17 13:19:40 +02:00
anim_util.h gif2webp: fix transcode of loop count=65535 2018-05-11 12:10:25 -07:00
cwebp.c libwebp: Unicode command tools on Windows 2018-10-17 13:19:40 +02:00
dwebp.c libwebp: Unicode command tools on Windows 2018-10-17 13:19:40 +02:00
example_util.c libwebp: Unicode command tools on Windows 2018-10-17 13:19:40 +02:00
example_util.h extract the command-line parsing helpers to example_util 2018-02-08 08:11:31 +00:00
gif2webp.c libwebp: Unicode command tools on Windows 2018-10-17 13:19:40 +02:00
gifdec.c Get code to compile in C++. 2017-06-19 17:12:29 +02:00
gifdec.h gifdec: Move inclusion of webp/config.h to header. 2015-04-17 12:43:17 -07:00
img2webp.c libwebp: Unicode command tools on Windows 2018-10-17 13:19:40 +02:00
Makefile.am libwebp: Remove duplicate GIFDisplayError in anim_util 2018-10-09 17:29:54 +02:00
stopwatch.h cosmetics: normalize include guard comment 2018-08-22 14:46:53 -07:00
test_ref.ppm lot of cosmetics 2010-11-17 20:09:47 -08:00
test.webp remove INAM, ICOP, ... chunks from the test webp file. 2012-07-19 17:34:04 -07:00
unicode_gif.h libwebp: Unicode command tools on Windows 2018-10-17 13:19:40 +02:00
unicode.h libwebp: Unicode command tools on Windows 2018-10-17 13:19:40 +02:00
vwebp.c libwebp: Unicode command tools on Windows 2018-10-17 13:19:40 +02:00
webpinfo.c libwebp: Unicode command tools on Windows 2018-10-17 13:19:40 +02:00
webpmux.c libwebp: Unicode command tools on Windows 2018-10-17 13:19:40 +02:00