James Zern
d640614d54
update copyright text
...
rather than symlink the webm/vpx terms, use the same header as libvpx to
reference in-tree files
based on the discussion in:
https://codereview.chromium.org/12771026/
Change-Id: Ia3067ecddefaa7ee01550136e00f7b3f086d4af4
2013-06-06 23:09:14 -07:00
Pascal Massimino
2fc1301577
harmonize authors as "Name (mail@address)"
...
Change-Id: I85bfae61a37de75a5ed945a906002de2ef75149f
2012-07-19 16:09:47 -07:00
Pascal Massimino
78f3e34504
Enable lossless encoder code
...
Remove USE_LOSSLESS_ENCODER compile flag
Update Makefile.am and makefile.unix
Change-Id: If7080c4d8f37994c7c784730c5e547bb0a851455
2012-06-13 00:26:58 -07:00
James Zern
8fbb91884e
prefer webp/types.h over stdint.h
...
stdint.h is part of C99 and is notably lacking under MSVC
Change-Id: Iff60dcb8bdcc7f948dc35fb0b5d47478520b570f
2012-06-04 18:34:24 -07:00
Vikas Arora
817c9dce61
Few more HuffmanTreeToken conversions.
...
Change-Id: I932b5368d279f83c462c7d916978dab3e81d7709
2012-05-16 12:15:52 +05:30
Pascal Massimino
c6882c49e3
merge all tree processing into a single VP8LProcessTree()
...
-> 0.1% size improvement because we're calling OptimizeForRLE()
systematically now.
Change-Id: I03bd712175728e0d46323f375134cae5a241db4b
2012-05-14 05:49:02 -07:00
Vikas Arora
8b85d01c45
Added HuffmanTreeCode Struct for tree codes.
...
To represent tree codes (depth and bits array).
Change-Id: I87650886384dd10d95b16ab808dfd3bb573172bc
2012-05-14 13:50:35 +05:30
Pascal Massimino
ac8e5e42d1
minor typo and style fix
...
Change-Id: If4927beb7a8f3c96379eee1fedc687a5046a6951
2012-05-11 01:17:31 -07:00
Pascal Massimino
9f566d1d36
clean-up around Huffman-encode
...
* refine doc
* use LUT for bit-reversal
* added assert
* Introduce HuffmanTreeToken instead of separate code/extra_bits arrays
Change-Id: I0fe0b50b55eb43a4be9f730b1abe40632a6fa7f0
2012-05-10 09:11:47 -07:00
Urvang Joshi
2c140e113c
Some cleanup in VP8LCreateHuffmanTree() (and related functions
...
CompareHuffmanTrees() and SetBitDepths()):
- Move 'tree_size' initialization and malloc for 'tree + tree_pool'
outside the loop.
- Some renames/tweaks for readability.
Change-Id: I5cb3cc942afac6e9f51a0b97c57ee897677a48a2
2012-05-09 14:26:01 +05:30
Urvang Joshi
352a4f49ab
Get rid of PackLiteralBitLengths()
...
[and in turn a malloc]. Also, a few related const fixes.
Change-Id: I229519b1c34d41c78d9ad2403f1e25feab3c9d93
2012-05-07 14:24:31 -07:00
Vikas Arora
84547f540c
Add EncodeImageInternal() method.
...
Most of changes in enc/vp8l.c is cherry-picked from src/lossless/encode.c
Change-Id: I27938cb2590eccbfe1db0a454343e856bd483e75
2012-05-07 14:24:25 -07:00
Urvang Joshi
6b38378acb
Guard the lossless encoder (in flux) under a flag
...
Change-Id: I6dd8fd17089c199001c06b1afde14233dc3e3234
2012-05-07 14:24:23 -07:00
Vikas Arora
fcba7be2d3
Fixed header file tag (WEBP_UTILS_HUFFMAN_ENCODE_H_)
...
Change-Id: I7ccd00361b1b0347639b05ee494e8e701c95cfe3
2012-05-07 14:24:16 -07:00
Vikas Arora
bc7037465d
Add backward_ref, histogram & huffman encode modules from lossless.
...
Change-Id: Iac056d27972956782defa182caa3ea400cdb77f8
2012-05-07 14:24:14 -07:00