James Zern
cbfa9eecf4
lossless: fix crash on user abort
...
avoid free on uninitialized bit writer buffer
Change-Id: I1a41b2cea421bf5a2ea0af33c6e84018cb997caf
2012-07-31 11:59:54 -07:00
Pascal Massimino
a7cc729126
fix type and conversion warnings
...
avoids warning messages on MSVC mainly
Change-Id: I80f281d5263a54c6a224bb095175497cf2f4ce1e
2012-07-25 14:18:21 -07:00
Pascal Massimino
7d853d79dc
add stats for lossless
...
* Extend AuxStats with new fields
it's slightly ABI-incompatible, but i guess it's ok for 0.1.99+
I expect to add more stats later, possibly (predictor stats, etc.)
* Have cwebp report the features used by lossless
compression (either for alpha or full lossless coding)
* Print the PSNR for alpha (useful in case of -alpha_q)
* clean-up alpha.c signatures
+ misc cleanup (added const '* const ptr', etc.)
Change-Id: I157a21581f1793cb0c6cc0882e7b0a2dde68a970
2012-07-24 16:17:13 -07:00
Pascal Massimino
d39177b74c
make QuantizeLevels() store the sum of squared error
...
(instead of MSE).
Useful for directly storing the alpha-PSNR (in another patch)
Change-Id: I4072864f9c53eb4f38366e8025a2816eb14f504e
2012-07-24 15:06:18 -07:00
Pascal Massimino
5955cf5e89
replace x*155/100 by x*101581>>16
...
Don't expect a visible speed diff. it's just cool.
(and, that's one less TODO in the code).
Change-Id: Iaeb2f1c930debb51501e170ee806f2f945fb1a8d
2012-07-24 15:06:00 -07:00
Urvang Joshi
159b75d31a
cwebp output size consistency:
...
In case of lossless too, it should report full file size.
Fixes this issue: http://code.google.com/p/webp/issues/detail?id=126
Change-Id: I96e2bf09e6c9470a0267f5eea911d9b40d1addb3
2012-07-23 12:47:24 +05:30
James Zern
1889e9b6cc
dwebp: report -alpha option
...
remove from WEBP_EXPERIMENTAL_FEATURES block; alpha is no longer
experimental.
Change-Id: I57df006ecac8122a987e52084813dc84ca7bcfd6
2012-07-20 19:42:56 -07:00
pascal massimino
3bc3f7c0ee
Merge "dwebp: add PAM output support" into 0.2.0
2012-07-20 19:09:45 -07:00
James Zern
d919ed06eb
dwebp: add PAM output support
...
retains the alpha channel rather than stripping it as with PPM.
display from ImageMagick can render the files
Change-Id: I4f3a5d332937e0aeaf4e3fbd214fdae3b5382fb8
2012-07-20 19:06:01 -07:00
James Zern
85e215d36f
README/manpages/configure: update website link
...
code.google was moved to developers.google
Change-Id: I072cab38ccb6f45c3d1d6e533d1626420cdbba56
2012-07-20 16:25:04 -07:00
James Zern
c3a207b9f4
Update ChangeLog
...
Change-Id: I7e8192f4c5fd90354669c492235b1348debdc839
2012-07-19 18:19:33 -07:00
James Zern
d1fd78263f
Merge "add extra precision about default values and behaviour" into 0.2.0
2012-07-19 18:15:45 -07:00
Pascal Massimino
efc826e04a
add extra precision about default values and behaviour
...
Change-Id: I445f4d3b20a53d32819fe361f74443e0a0c8a632
2012-07-19 18:08:42 -07:00
Pascal Massimino
9f29635d95
header/doc clean up
...
Put emphasis on RGBA decoding instead of RGB/BGR
Clarify doc at some rough spots
Misc typo fix and cosmetics
Change-Id: Ic5fcfcc5bf4d612c5de23b0a5499f1fadde55bfe
2012-07-19 18:05:03 -07:00
James Zern
ff9fd1bac6
Makefile.vc: fix webpmux.exe *-dynamic builds
...
the libwebpmux objects depend on the generated webp_dll.[hc] files as
well
Change-Id: I26177b56f415d69e4bc34b24d32c70a13c6c053c
2012-07-19 17:55:50 -07:00
Pascal Massimino
8aacc7b056
remove INAM, ICOP, ... chunks from the test webp file.
...
Change-Id: Ia396d932b8b1af85717f693251c76985abc86395
2012-07-19 17:34:04 -07:00
Pascal Massimino
2fc1301577
harmonize authors as "Name (mail@address)"
...
Change-Id: I85bfae61a37de75a5ed945a906002de2ef75149f
2012-07-19 16:09:47 -07:00
pascal massimino
4a9f37b742
Merge "update NEWS" into 0.2.0
2012-07-19 14:44:06 -07:00
James Zern
7415ae1386
makefile.unix: provide examples/webpmux target
...
this target is experimental so must be explicitly set
missing since:
e41a759
build: remove libwebpmux from default targets/config
Change-Id: I128d9e6a06ba3e7102ae3175dc3db52c6f4b1439
2012-07-19 14:39:26 -07:00
James Zern
ce82cedc4b
update NEWS
...
mention TIFF support, cwebp's alpha encoding disposition
Change-Id: I0340590f43e1617c6fb3fc2e98a609dbf4a880ce
2012-07-19 12:59:39 -07:00
pascal massimino
641e28e8dc
Merge "man/cwebp.1: wording, change the date" into 0.2.0
2012-07-19 12:58:13 -07:00
James Zern
c37c23e594
README: cosmetics
...
- update swig function references
- remove references to decode_vp8.h (no longer installed)
- add lossless references
- some grammar/spelling changes
Change-Id: Icebfbcf6f638762f42d844b6bd3c0129c64d9340
2012-07-19 12:38:46 -07:00
James Zern
3976dcd59f
man/cwebp.1: wording, change the date
...
options were added since the last date refresh
Change-Id: I3899ebd429ba0260a28ce02bb973e1ee015c6e6e
2012-07-19 12:20:01 -07:00
James Zern
3e5bbe1c2e
Merge "rename 'use_argb_input' to 'use_argb'" into 0.2.0
2012-07-18 23:26:42 -07:00
James Zern
ce90847a40
Merge "add some padding bytes areas for later use" into 0.2.0
2012-07-18 23:26:18 -07:00
James Zern
2390dabcb6
Merge "fixing the findings by Frederic Kayser to the bitstream spec" into 0.2.0
2012-07-18 23:19:34 -07:00
Pascal Massimino
0275159143
add a very crude progress report for lossless
...
better than nothing. Removed the warning in cwebp.c
(and silenced the warning in quiet mode too)
Change-Id: I85bbeaf77e0f60ead798886043dc053e6b44def5
2012-07-18 22:54:50 -07:00
Pascal Massimino
dd1081763c
rename 'use_argb_input' to 'use_argb'
...
long name, and there's not really an 'output' equivalent
Change-Id: I9133ff734ae8d6572cb2f607211361f011fc0bc1
2012-07-18 22:47:16 -07:00
Pascal Massimino
90516ae8f5
add some padding bytes areas for later use
...
so we can add few fields without breaking ABI
+ re-order fields
+ refresh the doc
Change-Id: Id60ec33934f6346e35c95fcdb4abbe1bc7b50acb
2012-07-18 22:47:13 -07:00
Jyrki Alakuijala
d03b250369
fixing the findings by Frederic Kayser to the bitstream spec
...
Change-Id: I4bcc428412dd4c21675d90159771e2e0b338ecf3
2012-07-18 22:47:11 -07:00
James Zern
ce156afccf
add missing ABI compatibility checks
...
original change:
f7f16a2
add ABI compatibility check
Change-Id: I7cd6508f8d8e0d957a3d62ad52a117876fa5ec29
2012-07-18 22:24:33 -07:00
James Zern
9d45416aa7
Merge "Doc: container spec text tweaks" into 0.2.0
2012-07-18 21:49:24 -07:00
Lou Quillio
4e2e0a8cac
Doc: container spec text tweaks
...
Change-Id: I8e29f1c814b0c8f6aa268562d8653989caaf281d
modified: doc/webp-container-spec.txt
2012-07-18 16:38:50 -07:00
Pascal Massimino
f7f16a2976
add ABI compatibility check
...
minor revision shouldn't matter, we only check major revision number.
Bumped all version numbers so that incompatibility starts *now*
Change-Id: Id06c20f03039845ae4cfb3fd121807b931d67ee4
2012-07-18 11:53:25 -07:00
James Zern
2a77557002
Merge "swig: add WebPEncodeLossless* wrappers" into 0.2.0
2012-07-17 17:30:17 -07:00
James Zern
a3ec6225d5
mux.h: remove '* const' from function parameters
...
makes the public interface consistent and more readable
Change-Id: I33f1d1c4ee752e353e4c10636a4df4e44d7cd03f
2012-07-17 17:21:54 -07:00
James Zern
31426ebaec
encode.h: remove '* const' from function parameters
...
makes the public interface consistent and more readable
Change-Id: Ib93614e901e0af44bb64782357cfd9e724e050be
2012-07-17 16:26:54 -07:00
James Zern
9838e5d5ff
decode.h: remove '* const' from function parameters
...
makes the public interface consistent and more readable
Change-Id: I067eb5ecc1094216ef6aecc65f636f69873de8f9
2012-07-17 15:48:00 -07:00
James Zern
4972302d24
swig: add WebPEncodeLossless* wrappers
...
Change-Id: If373a5d2953ec53b856900666422fb2b4f9939a4
2012-07-17 14:41:51 -07:00
James Zern
9ff00cae72
bump encoder/decoder versions
...
those returned by WebPGet(Encoder|Decoder)Version()
Change-Id: I7584d04060ae7ca552f8f3aaf9df294d310a5be6
2012-07-17 13:43:39 -07:00
Pascal Massimino
c2416c9b61
add lossless quick encoding functions to the public API
...
New functions:
WebPEncodeLosslessRGB()
WebPEncodeLosslessBGR()
WebPEncodeLosslessRGBA()
WebPEncodeLosslessBGRA()
Change-Id: Id56da7569eee80c57de8f1f053fb87b217d33a4b
2012-07-17 12:02:53 -07:00
pascal massimino
4c1f5d6435
Merge "NEWS: mention decode_vp8.h is no longer installed" into 0.2.0
2012-07-17 11:20:55 -07:00
James Zern
6cb2277d0f
NEWS: mention decode_vp8.h is no longer installed
...
Change-Id: Id1075b4a917c83552446fb62dada8868dbdb21ef
2012-07-17 11:19:42 -07:00
James Zern
d5e5ad6356
move decode_vp8.h from webp/ to dec/
...
the functions contained in it are now private
Change-Id: Ief6c81b32ae3f6d97052edac625716e5b909e66e
2012-07-16 22:12:59 -07:00
James Zern
8d3b04a25d
Merge "header clean-up" into 0.2.0
2012-07-16 19:21:49 -07:00
James Zern
02201c35a0
Merge "remove one malloc() by making color_cache non dynamic" into 0.2.0
2012-07-16 19:21:05 -07:00
James Zern
d708ec1452
Merge "move MIN/MAX_HISTO_BITS to format_constants.h" into 0.2.0
2012-07-16 19:19:32 -07:00
James Zern
ab2da3e9fd
Merge "add a malloc() check" into 0.2.0
2012-07-16 19:18:28 -07:00
Pascal Massimino
2d571bd89f
add a malloc() check
...
mostly a sanity measure to be future-proof
Change-Id: I55a81345819b2a8e939c98f0da883dc5c0cc16a2
2012-07-16 19:15:00 -07:00
Pascal Massimino
7f0c178e46
remove one malloc() by making color_cache non dynamic
...
Change-Id: I7c71a056f79a79bfacfe64a263f1eb8476c05456
2012-07-16 19:13:58 -07:00