James Zern
e7ea61eb75
wicdec: silence some warnings
...
-Wformat, -Wmissing-field-initializers and size type related
Change-Id: I92b1c7cc485bf59f94b5c0f8bb2137d87604f831
2013-02-06 23:16:50 -08:00
skal
23c0f354a6
fix missing intptr_t->int cast for MSVC
...
Change-Id: I39acdfbe287ef7b7f615d59e0729aab161189bf9
2013-02-06 17:51:10 +01:00
skal
e895059a05
add a -jpeg_like option
...
This option remaps internal parameters to better match
the expected compression curve of JPEG and produce output files
of similar size, but with better quality.
Change-Id: I96a1cbb480b1f6a0c6845a23c33dfd63f197b689
2013-02-06 14:19:16 +01:00
pascal massimino
1f803f645d
Merge "Tune alpha quality mapping to more reasonable values."
2013-02-05 10:50:28 -08:00
Urvang Joshi
1267d498dc
Tune alpha quality mapping to more reasonable values.
...
This results in a significant speedup with minimal increase in file sizes.
Change-Id: I6ecefe33eee219fba4099810d04a916f7efbd292
2013-02-05 19:49:35 +01:00
skal
043076e2ef
Merge "speed-up lossless in BackwardTrace"
2013-02-05 10:46:06 -08:00
skal
f3a44dcd83
remove one malloc from TraceBackwards()
...
Change-Id: I4f77c0240ca2ece86e8beab11d02c74277409921
2013-02-05 19:43:43 +01:00
skal
0fc1a3a072
speed-up lossless in BackwardTrace
...
we special-case code=2 (with a later TODO to adapt this on quality)
Change-Id: I93d43f5b3f8f1ef9f211cce253bb4b415918ee57
2013-02-05 19:42:23 +01:00
James Zern
7c732e59f4
cwebp: centralize WebPCleanupTransparentArea()
...
this can be safely called whether the picture has alpha or not
Change-Id: I0047fd4c110f1072f183f3d340682502bd6623d7
2013-02-04 15:44:26 -08:00
James Zern
7381254e9a
Merge "wicdec: add ICC profile extraction"
2013-02-04 15:43:39 -08:00
James Zern
e83ff7decd
wicdec: add ICC profile extraction
...
Change-Id: I4522cdd5a529f802f1eb566b6d94539612e0976b
2013-02-02 10:40:49 -08:00
pascal massimino
146c6e3be8
Merge "cosmetics: pngdec: normalize default label location"
2013-02-02 00:18:37 -08:00
pascal massimino
a8f549d799
Merge "manpages: italicize option parameters"
2013-02-02 00:18:05 -08:00
pascal massimino
e118db83b1
Merge "encode.h: note the need to free() WebPMemoryWriter"
2013-02-02 00:12:59 -08:00
James Zern
1dfee6dbea
cosmetics: pngdec: normalize default label location
...
Change-Id: I25dd0e61898af3fcaff3d17cddedd3d39d4930aa
2013-02-01 20:37:05 -08:00
James Zern
14c3820038
manpages: italicize option parameters
...
Change-Id: Id7e4edde2a1c91fe4fbf96ddc280a06132e9986a
2013-02-01 20:35:58 -08:00
James Zern
7defbfadbe
encode.h: note the need to free() WebPMemoryWriter
...
Change-Id: Iec873764e9f4c085c634498630b8c1ced3283984
2013-02-01 19:18:47 -08:00
James Zern
88d382a042
cwebp: cleanup after memory_writer
...
always initialize the memory_writer so it can be unconditionally freed
on exit
Change-Id: I9226addb588309446ec94abadfdde201f23195d2
2013-02-01 19:17:26 -08:00
Pascal Massimino
12d6cecfbd
fix extra space in dwebp.1 man
...
Change-Id: Ifa3d91c73e0efeecb02365bc2168c830a01c759a
2013-01-30 04:50:03 -08:00
Urvang Joshi
b01681a93f
Fix for demuxer frame iteration:
...
Return error in WebPDemuxGetFrame() when static method GetFrame()
returns NULL.
Change-Id: Idbc54037047c3df75209ac67ff8bede3f83042be
2013-01-29 10:58:04 -08:00
Urvang Joshi
56c12aa698
Demuxer creation fix:
...
If it's not a partial file and parser returns PARSE_NEED_MORE_DATA, then
consider it to be PARSE_ERROR.
Change-Id: Id652a345bd2a9f574970272dd0a00517de113215
2013-01-29 10:53:52 -08:00
skal
66c810bc3c
add a -yuv option to dwebp (very similar to -pgm)
...
It will decode to raw (flat) YUV format, similar to what
cwebp can take as input. Makes the PSNR/SSIM calculation easier.
Change-Id: Iebfaedfc0bedc70c169b24ae4aabc701488d0644
2013-01-28 23:22:14 +01:00
pascal massimino
841a3ba5da
Merge "Remove -Wshadow warnings."
2013-01-28 13:15:54 -08:00
pascal massimino
8fd0252787
Merge "upsampling_neon.c: fix build"
2013-01-28 13:14:39 -08:00
Johann
6efed26865
Remove -Wshadow warnings.
...
Accidentally carried some bad habits from SSE code. Copy over fixes
from 0d19fbf
Change-Id: I763312c9d176c434ba41f95602bada1aeffebfb2
2013-01-28 12:29:12 -08:00
Pascal Massimino
60904aa629
Merge "allow WebPINewRGB/YUVA to be passed a NULL output buffer."
2013-01-28 04:06:16 -08:00
Pascal Massimino
b7adf37621
allow WebPINewRGB/YUVA to be passed a NULL output buffer.
...
If a NULL pre-allocated buffer is passed, a buffer will be automatically
allocated.
+ add some parameter checks.
reported in http://code.google.com/p/webp/issues/detail?id=139
Change-Id: I9e14ed97db30ee12e46b5e92aac7eeaaeb99bfd5
2013-01-28 00:07:32 -08:00
James Zern
27f8f7420e
upsampling_neon.c: fix build
...
store values to a temporary variable before calling functions that take
vector types.
removes non-standard constructs such as:
(uint8x8x2_t){{ a, b }}
fixing:
src/dsp/upsampling_neon.c:69:32: error: macro "vst2_u8" passed 3
arguments, but takes just 2
Change-Id: Ib4368e16e3a3efac18024f02be94e76243ade2dc
Fixes: https://code.google.com/p/webp/issues/detail?id=140
2013-01-25 19:42:50 -08:00
James Zern
06b9cdf1e7
gitignore: add IOS related directories
...
iosbuild / WebP.framework courtesy of iosbuild.sh
Change-Id: I706fd5fada5fab2528e89d6b09fe93fa44486035
2013-01-25 18:25:28 -08:00
James Zern
f112221e77
Merge "Fix more comments for iobuild.sh"
2013-01-25 17:52:23 -08:00
Vikas Arora
fe4d25ddad
Fix more comments for iobuild.sh
...
Change-Id: If97af61a00c0f2dfbd09758c121a9ddd9536b6d1
2013-01-25 16:07:59 -08:00
pascal massimino
1de3e25271
Merge "NEON optimised yuv to rgb conversion"
2013-01-25 15:51:40 -08:00
Mans Rullgard
090b708a00
NEON optimised yuv to rgb conversion
...
- along the lines of the SSE chroma upsampling.
Total speedup is ~30%.
4% speed loss on YuvToRgbXX conversion using tables instead
of 14-bit fixed precision. TODO(later): investigate, and compare
to x86.
see http://code.google.com/p/webp/issues/detail?id=134
Change-Id: Idc2261037cd13b4553ca20ecc4c4007099c37009
2013-01-25 15:46:40 -08:00
pascal massimino
daa06476e1
Merge "Add ios build script for building iOS library."
2013-01-25 15:26:09 -08:00
Vikas Arora
79fe39e2f2
Add ios build script for building iOS library.
...
This build script (iosbuild.sh) will build for following platforms:
iPhoneSimulator, iPhoneOS-V7 & iPhoneOS-V7s
Change-Id: Icbb69e00277a4164f848b8766089302e299506e0
2013-01-25 10:10:50 -08:00
Pascal Massimino
126c035f3f
remove some more -Wshadow warnings
...
Change-Id: Icaba088b9a74732137bd35d82854eed858ec88f8
2013-01-25 00:44:31 -08:00
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