Jonathan Behrens
|
723ef6431a
|
Update src/decoder/mod.rs
|
2022-07-18 19:36:28 -07:00 |
|
Jonathan Behrens
|
3c42a6e1f4
|
Merge pull request #165 from fintelia/improve-predictor
Floating point predictor
|
2022-06-27 07:36:45 -07:00 |
|
Jonathan Behrens
|
5e7702a874
|
Suggested edits
|
2022-06-26 20:45:21 -07:00 |
|
Jonathan Behrens
|
8e5c5b44c5
|
Support floating point predictor (predictor 3)
Based on work by @TomasKralCZ in #135
|
2022-06-22 20:14:25 -07:00 |
|
Jonathan Behrens
|
8a6e93f66e
|
Merge fix_endianness and rev_hpredict methods
|
2022-06-22 20:13:55 -07:00 |
|
Jonathan Behrens
|
697d2877a1
|
Cargo fmt
|
2022-05-02 20:37:37 -07:00 |
|
Jonathan Behrens
|
805a1e5cef
|
Rename chunk_byte_range method
|
2022-05-02 19:47:41 -07:00 |
|
Jonathan Behrens
|
dc8311fb99
|
Merge read_tiled_image and read_stripped_image
|
2022-05-02 19:46:28 -07:00 |
|
Jonathan Behrens
|
f25530adec
|
Unify expand_strip and expand_tile
|
2022-05-02 19:37:00 -07:00 |
|
Jonathan Behrens
|
d437c2708b
|
Merge pull request #162 from AlanRace/tiled-jpeg
Added ability to decompress tiled jpeg files
|
2022-05-01 22:31:14 -07:00 |
|
Jonathan Behrens
|
4f46bacfda
|
Fixes to PackBitsReader
|
2022-04-16 16:10:09 -04:00 |
|
Jonathan Behrens
|
b286457337
|
Remove dbg! print
|
2022-04-16 15:52:09 -04:00 |
|
Jonathan Behrens
|
7881291032
|
Make PackBitsReader incrementally decompress output
|
2022-04-15 12:25:24 -04:00 |
|
Jonathan Behrens
|
ff33343372
|
Fix formatting
|
2022-04-15 11:28:56 -04:00 |
|
Jonathan Behrens
|
4097bf37b1
|
Rename test oom_2 -> fuzzer_testcase4
|
2022-04-15 10:04:05 -04:00 |
|
Jonathan Behrens
|
c910ef8534
|
Remove redundant limit on LZWReader output length
|
2022-04-15 10:02:33 -04:00 |
|
Jonathan Behrens
|
1063d6dd27
|
Have LZWReader internally use a BufReader<Take<R>>
|
2022-04-15 09:49:18 -04:00 |
|
Jonathan Behrens
|
e4eac36c1c
|
Remove now unneeded limit check
|
2022-04-14 21:40:19 -04:00 |
|
Jonathan Behrens
|
9394f6d043
|
Make LZWReader incrementally decompress input
|
2022-04-14 21:00:36 -04:00 |
|
Jonathan Behrens
|
7cdfd154ba
|
Merge pull request #155 from Aaron1011/update/jpeg-decoder
Update jpeg-decoder to 0.2.1
|
2022-02-09 00:44:56 -05:00 |
|
Jonathan Behrens
|
a780da0b34
|
Merge pull request #154 from fintelia/decoder-refactor
Decoder refactor
|
2022-01-15 17:04:11 -05:00 |
|
Jonathan Behrens
|
ca56836a79
|
Add back fuzzer generated testcases
|
2022-01-15 15:11:54 -05:00 |
|
Jonathan Behrens
|
2c7c8891f4
|
Remove use half-open range pattern which is unstable on rustc 1.48
|
2022-01-12 20:46:17 -05:00 |
|
Jonathan Behrens
|
01df985ef8
|
Fix formatting
|
2022-01-12 20:13:23 -05:00 |
|
Jonathan Behrens
|
593479e5e3
|
Avoid reading tags in read_jpeg
|
2022-01-12 19:56:08 -05:00 |
|
Jonathan Behrens
|
bc2055243a
|
Add consistency check between StripOffsets and StripByteCounts
|
2022-01-12 19:56:08 -05:00 |
|
Jonathan Behrens
|
7a7d4f0305
|
Avoid unused warning
|
2022-01-12 19:56:08 -05:00 |
|
Jonathan Behrens
|
720e6586b9
|
Make read_ifd and read_entry stateless
|
2022-01-12 19:56:08 -05:00 |
|
Jonathan Behrens
|
47080293db
|
Move image loading to Image::from_reader
|
2022-01-12 19:56:02 -05:00 |
|
Jonathan Behrens
|
b385a6e752
|
Move some decoder fields into a new Image struct
|
2022-01-12 19:50:06 -05:00 |
|
Jonathan Behrens
|
6ba5553d20
|
Compute tile attributes on demand
|
2022-01-12 19:50:06 -05:00 |
|
Jonathan Behrens
|
a36cd6bd90
|
chunk_{offsets,bytes} to replace {tile,strip}_{offsets,bytes}
|
2022-01-12 19:50:06 -05:00 |
|
Jonathan Behrens
|
63e6ef8bba
|
Add current_chunk to replace strip_index and current_tile
|
2022-01-12 19:50:06 -05:00 |
|
Jonathan Behrens
|
2d10cff97e
|
Reading fields shouldn't need the entire Decoder
|
2022-01-12 19:50:06 -05:00 |
|
Jonathan Behrens
|
23fe194ad9
|
Remove read_ifd_offset_nonrepeating
|
2022-01-12 19:50:06 -05:00 |
|
Jonathan Behrens
|
2d572c0370
|
Remove Decoder::byte_order
|
2022-01-12 19:50:06 -05:00 |
|
Jonathan Behrens
|
4c942ca690
|
Read JPEGTables ahead of time
|
2022-01-12 19:50:06 -05:00 |
|
Jonathan Behrens
|
a19d35233a
|
Read predictor ahead of time
|
2022-01-12 19:50:06 -05:00 |
|
Jonathan Behrens
|
dc95ce10ac
|
Remove some extremely brittle tests
|
2022-01-12 19:49:55 -05:00 |
|
Jonathan Behrens
|
31da6737b9
|
More refactoring
|
2022-01-12 19:45:41 -05:00 |
|
Jonathan Behrens
|
e9aa39d895
|
Initialize Decoder in new instead of init
|
2022-01-12 19:45:41 -05:00 |
|
Jonathan Behrens
|
fb4c119b88
|
Merge pull request #152 from fintelia/refactor-decode
Refactor strip/tile decoding
|
2022-01-05 21:48:14 -05:00 |
|
Jonathan Behrens
|
3242d328d1
|
Reformat
|
2021-12-22 12:06:12 -05:00 |
|
Jonathan Behrens
|
d6c42dd60a
|
Some refactoring of strip/tile decoding
|
2021-12-22 12:05:38 -05:00 |
|
Jonathan Behrens
|
b318481c55
|
Merge pull request #143 from Christopher22/reset_tag_values
Do not carry tag values from previous images
|
2021-08-15 11:43:44 -04:00 |
|
Jonathan Behrens
|
f2fec92283
|
Merge pull request #146 from fintelia/encode-signed-int
Support encoding signed integer formats
|
2021-06-20 18:39:08 -04:00 |
|
Jonathan Behrens
|
be0619d6a1
|
Support encoding signed integer formats
|
2021-06-20 14:33:13 -04:00 |
|
Jonathan Behrens
|
9fe9b2e0a0
|
Merge pull request #134 from RReverser/remove-inflate-error
Remove InflateError
|
2021-05-15 16:50:36 -04:00 |
|
Jonathan Behrens
|
e70121efbb
|
Merge pull request #132 from RReverser/deflate-improvements
Improve deflate support
|
2021-05-14 17:58:11 -04:00 |
|
Jonathan Behrens
|
1eb9c4fab7
|
fix borrow check issue on rustc 1.34.2
|
2021-04-10 21:45:04 -04:00 |
|
Jonathan Behrens
|
201b95f749
|
Improve expand_strip and remove read_{u16, u32, ...}_into
|
2021-04-10 21:34:57 -04:00 |
|
Jonathan Behrens
|
7641dcbd3f
|
Refactoring to simplify expand_strip function
|
2021-04-10 15:02:16 -04:00 |
|
Jonathan Behrens
|
60c6e0cd90
|
Simplify de-compression logic
|
2021-04-10 14:49:04 -04:00 |
|
Jonathan Behrens
|
2cba04dfe7
|
Merge pull request #118 from satarsa/master
Open tif files containing i32 arrays
|
2021-02-24 09:44:37 -05:00 |
|
Jonathan Behrens
|
fc80c5e3dd
|
Merge pull request #111 from tnl-rwa/large_sttrip_size
Large strip size
|
2020-12-07 20:50:17 -05:00 |
|
Jonathan Behrens
|
67105fe4ec
|
Refactor Entry::val function
|
2020-12-04 18:59:51 -05:00 |
|
Jonathan Behrens
|
ff26217534
|
Merge pull request #26 from birktj/incremental
Incremental decoding implemented
|
2019-02-26 20:07:29 -05:00 |
|
Jonathan Behrens
|
4e3b36598d
|
Merge pull request #20 from fintelia/master
Remove unsafe code
|
2019-01-13 23:25:41 -05:00 |
|
Jonathan Behrens
|
fab6734275
|
Remove unsafe code
|
2019-01-11 15:03:40 -05:00 |
|
Jonathan Behrens
|
60f5a8f450
|
Fix calculation of uncompressed_strip_size
|
2018-09-23 01:12:39 -04:00 |
|