James Zern
522e9d6108
Merge "cwebp: enable '-metadata'"
2013-01-24 20:04:09 -08:00
James Zern
76ec5fa1b6
cwebp: enable '-metadata'
...
This copies metadata selected by -metadata from the input to the output
if present.
Currently there is no WIC support for Windows builds.
Change-Id: I34fb2443729d80ffe3a6da0979d9f6fa9b3fe536
2013-01-24 19:52:50 -08:00
pascal massimino
aeb91a9d49
Merge "cosmetics: break a few long lines"
2013-01-23 15:05:40 -08:00
James Zern
be7c96b069
cosmetics: break a few long lines
...
Change-Id: I785763b974b4e7664ad8e9884251aa2d5274b456
2013-01-23 14:50:19 -08:00
pascal massimino
cff8ddb61b
Merge "add libwebpdecoder.pc"
2013-01-23 14:27:41 -08:00
pascal massimino
93148ab867
Merge "libwebp.pc.in: detab"
2013-01-23 14:25:06 -08:00
pascal massimino
6477f955b6
Merge "Makefile.vc: normalize path separator"
2013-01-23 14:21:36 -08:00
James Zern
bed1ed7c28
add libwebpdecoder.pc
...
Change-Id: Ifc47549a9fe206fa174236664345d3ee064849f5
2013-01-23 13:57:08 -08:00
James Zern
46168b2d00
libwebp.pc.in: detab
...
Change-Id: I60f38e9f6e1cdba29163240a394b5be0a14c4bca
2013-01-23 13:31:43 -08:00
Vikas Arora
a941a3463e
Fixed few nits in the build files.
...
Fixed the nits from last change (Provide an option to build decoder
library).
Change-Id: I7d8675b8156dc63cf21ef64810722552e7fb59f6
2013-01-23 13:22:06 -08:00
James Zern
dd7a49b21b
Makefile.vc: normalize path separator
...
/ -> \
Change-Id: I691c03683650b8b97a365281e9384f4a3f3fe1ca
2013-01-23 12:46:18 -08:00
James Zern
9161be863d
Merge "cwebp: extract WIC decoding to its own module"
2013-01-23 12:44:22 -08:00
pascal massimino
08e7c58ee1
Merge "Provide an option to build decoder library."
2013-01-23 11:54:24 -08:00
Vikas Arora
0aeba52852
Provide an option to build decoder library.
...
When the config option '--enable-libwebpdecoder' is specified, the
lean decoder library 'libwebpdecoder' will be created in addition to
libwebp. Also dwebp binary will be linked to libwebpdecoder, if this
config option is specified.
Change-Id: I9de3e149b59c9a8390fae2ba660941749640e54a
2013-01-23 11:43:36 -08:00
skal
757ebcb1c1
catch malloc(0)/calloc(0) with an assert
...
Actually, it turns out we now should never call these functions
with a zero size, otherwise something is wrong in the logic.
Change-Id: Ie414fcbec95486c169190470a71f2cff0843782a
2013-01-23 20:09:28 +01:00
skal
152ec3d2ee
Merge "handle malloc(0) and calloc(0) uniformly on all platforms"
2013-01-23 04:41:36 -08:00
James Zern
a452a5554a
cwebp: extract WIC decoding to its own module
...
Change-Id: I8e3e20787f6c3cc0616bd33beb2a6ccdda1e04f7
2013-01-22 18:31:28 -08:00
James Zern
2b252a53a8
Merge "Provide option to swap bytes for 16 bit colormodes"
2013-01-22 15:00:39 -08:00
Vikas Arora
94a48b4bc3
Provide option to swap bytes for 16 bit colormodes
...
Color modes: RGB_565 & RGBA_4444
Change-Id: I571b6832b9848e5c4109272978f68623ca373383
2013-01-22 14:51:20 -08:00
skal
42f8f9346c
handle malloc(0) and calloc(0) uniformly on all platforms
...
also change lossless encoder logic, which was relying on explicit
NULL return from WebPSafeMalloc(0)
renamed function to CheckSizeArgumentsOverflow() explicitly
addresses issue #138
Change-Id: Ibbd51cc0281e60e86dfd4c5496274399e4c0f7f3
2013-01-22 23:40:16 +01:00
skal
8b2152c579
Merge "add an extra assert to check memory bounds"
2013-01-22 14:10:02 -08:00
skal
0d19fbff51
remove some -Wshadow warnings
...
these are quite noisy, but it's not a big deal to remove
them.
Change-Id: I5deb08f10263feb77e2cc8a70be44ad4f725febd
2013-01-22 23:06:28 +01:00
skal
cd22f655e8
add an extra assert to check memory bounds
...
-> will remove a static-analysis warning about unused value.
addresses issue #138
Change-Id: I8ba4bf71a41e32759da41907aab73108dd230bc4
2013-01-22 13:38:58 +01:00
skal
8189feda50
Merge "Add details and reference about the YUV->RGB conversion"
2013-01-21 07:10:42 -08:00
pascal massimino
1d2702b1da
Merge "Formatting fixes in lossless bitstream spec"
2013-01-18 14:41:56 -08:00
Urvang Joshi
8425aaee8f
Formatting fixes in lossless bitstream spec
...
- Escape brackets for which kramdown was generating a warning.
Note: This only changes this source file; output HTML would look exactly
the same.
- Also write '5' in words ('five').
Change-Id: I472a03c090a12eb7520719ea463469b36a2736b9
2013-01-18 14:35:47 -08:00
skal
a556cb1ab4
Add details and reference about the YUV->RGB conversion
...
Originated from the discussion at
http://code.google.com/p/webp/issues/detail?id=134
Change-Id: I24384e2d2f5cf262d8632fc98303cba5e2d27224
2013-01-18 23:26:55 +01:00
skal
d8f21e0bab
add link to SSIM description on Wikipedia
...
+ a brief description of LSIM
Change-Id: I4344f3e3b28d8bc4109b729dec9000e9c8fcbdbb
2013-01-18 13:13:56 +01:00
pascal massimino
18e9167ea6
Merge "WebP-lossless spec clarifications:"
2013-01-18 00:15:01 -08:00
pascal massimino
98e25b9b81
Merge "cwebp: add -metadata option"
2013-01-18 00:13:40 -08:00
Urvang Joshi
f01c2a538c
WebP-lossless spec clarifications:
...
- Clarify the BNF using 'Huffman code groups' and 'Huffman code group'.
- Introduce same terminology in 'Interpretation of meta Huffman codes'.
- Make explicit mention of what is the number of Huffman code groups,
number of Huffman codes and the relation between the two.
Change-Id: I07aa9b62c1d464cd25dc02ac1a68d338b575bdc2
2013-01-17 15:19:09 -08:00
pascal massimino
f4a97970de
Merge "Disto4x4 and Disto16x16 in NEON"
2013-01-17 11:07:20 -08:00
Johann
47b7b0ba47
Disto4x4 and Disto16x16 in NEON
...
Change-Id: Ic6d9dbbc97b5025ce359332c33ae306d5d8925a5
2013-01-16 16:57:33 -08:00
James Zern
7eaee9f1ac
cwebp: add -metadata option
...
currently has no effect except to disable metadata extraction from the
input when the value is 'none'.
Change-Id: Ic50d4c9d634cc1f6b72ae4e130e99736c85a6477
2013-01-14 17:44:54 -08:00
James Zern
36c52c2cf1
tiffdec: use toff_t for exif ifd offset
...
versions < 4.0.0 used uint32 interchangeably, but with 4.0.0 toff_t
became 64-bit and TIFFTAG_EXIFIFD began returning it rather than
TIFF_LONG/uint32.
Change-Id: I42492bd24613a884c7496e7bfc0c5d892758bce9
2013-01-10 21:33:24 -08:00
James Zern
7c8111e4a8
Merge "cwebp/tiffdec: add TIFF metadata extraction"
2013-01-10 15:52:05 -08:00
vikas arora
e6409adc2e
Remove redundant include from dsp/lossless code.
...
Change-Id: Ie8a497a486653f907c2a27f4027640a3308c6cc8
2013-01-10 15:09:19 -08:00
pascal massimino
1ab5b3a7bd
Merge "configure: fix --with-gifincludedir"
2013-01-08 13:54:23 -08:00
James Zern
03c749ebb8
configure: fix --with-gifincludedir
...
GIF_INCLUDES were not being used by examples/Makefile.am
Change-Id: I981ad473f6efe24f095e2b9cc8b133d6ae3658b6
2013-01-08 12:39:43 -08:00
Urvang Joshi
8b650635df
multiple libgif versions support for gif2webp
...
Make it work for libgif v5.0+, for which a couple of APIs have changed.
Change-Id: I6dd49bb5bf1b60f96f3a164d58ef2ef19281c96b
2013-01-08 11:52:24 -08:00
Urvang Joshi
476e293fe8
gif2webp: Use DGifOpenFileName()
...
This removes some unnecessary code.
Change-Id: Ic87baa402362f43b30d7c4a75be2f58e8f13f4a1
2013-01-08 11:07:13 -08:00
James Zern
b50f277bc7
tiffdec: correct format string
...
the expression using dircount will be promoted to int when tdir_t is an
unsigned short.
quiets:
warning: format specifies type 'unsigned short' but the argument has
type 'int' [-Wformat]
Change-Id: If2e8c27454826556178b0a972aaed272d5fbfa07
2013-01-07 19:06:20 -08:00
pascal massimino
2b9048e324
Merge "tiffdec: check error returns for width/height"
2012-12-22 06:29:23 -08:00
James Zern
a1b5a9a3e0
Merge "cwebp/tiff: use the first image directory"
2012-12-21 08:37:11 -08:00
James Zern
079423f5c5
tiffdec: check error returns for width/height
...
Change-Id: I1399a7b75aea54044f30c6a53ac11843c1e75877
2012-12-20 22:33:52 -08:00
pascal massimino
d62824af42
Merge "cwebp/jpegdec: add JPEG metadata extraction"
2012-12-20 22:25:46 -08:00
pascal massimino
03afaca4a2
Merge "cwebp: add PNG metadata extraction"
2012-12-20 22:20:12 -08:00
James Zern
2c724968d2
cwebp/jpegdec: add JPEG metadata extraction
...
the values of EXIF/XMP/ICC are unused and Extended XMP for payloads >
64k is unsupported.
Change-Id: If721aa2009335ce090148b7ecd7ea8459f9b942d
2012-12-20 18:35:38 -08:00
James Zern
dba64d91bb
cwebp: add PNG metadata extraction
...
the values of XMP/EXIF/ICC are currently unused.
Change-Id: I39d78b9a179f2d36c9c8ea12776bfdf6d8d18663
2012-12-20 18:32:09 -08:00
Urvang Joshi
1f075f89b0
Lossless spec corrections/rewording/clarifications
...
- Correct BNF for 'predictor-image' and 'color image'
- Correct some references to 'br', 'VP8LReadBits' and 'ReadStream'
- Correct value ranges in distance mapping table.
- Rewrite section 4 (some rearrangement, rewording, adding context etc).
- Similarly, rewrite section 5.
Change-Id: If487490c2553b3f7982b9fcca68d98bab5017e3c
2012-12-20 10:44:42 -08:00