Commit Graph

197 Commits

Author SHA1 Message Date
twinaphex
65f80aa5e0 (RPNG) Fix rpng_test.c 2015-03-14 03:22:41 +01:00
twinaphex
9a0bd3c650 (RPNG) Rewrite rpng_nbio_load_image_process 2015-03-14 03:18:15 +01:00
twinaphex
4124fb7130 (RPNG) Add rpng_process 'initialized' variable 2015-03-14 02:56:38 +01:00
twinaphex
bb1a9a91c6 (RPNG) Turn more functions static 2015-03-14 02:10:44 +01:00
twinaphex
b29cc138c8 (RPNG) Some functions can become static now 2015-03-14 02:08:15 +01:00
twinaphex
ebbefc41b2 (RPNG) Reimplement png_reverse_filter_loop 2015-03-14 02:05:50 +01:00
twinaphex
b7d73ebc93 (RPNG) More cleanups to png_reverse_filter_loop 2015-03-14 01:58:50 +01:00
twinaphex
cb9c0828db (RPNG) More cleanups 2015-03-14 01:56:32 +01:00
twinaphex
a14850c915 (RPNG) Create rpng_load_image_argb_process_init - cut down on some more
code duplication
2015-03-14 01:50:45 +01:00
twinaphex
bfaddc15bd Simplify rpng_fbio.c - create 'iterate' function 2015-03-14 01:29:46 +01:00
twinaphex
ce4e2e0f61 (RPNG) Reorganize files 2015-03-14 00:52:55 +01:00
twinaphex
53a788f95a (RPNG) Create shared png_process_ihdr - both FBIO and FNBIO use it 2015-03-14 00:35:08 +01:00
twinaphex
1902c92ad5 (RPNG) More cleanups 2015-03-14 00:24:21 +01:00
twinaphex
3a56a6c274 (RPNG) More dehardcoding of cases 2015-03-14 00:16:59 +01:00
twinaphex
4dcd62df81 (RPNG) Dehardcode more magic numbers 2015-03-14 00:13:55 +01:00
twinaphex
7d8784b91e (RPNG) Deharcode some magic numbers 2015-03-14 00:06:56 +01:00
twinaphex
0d59d2534f (RPNG) Dehardcode magic number in adam7_iterate 2015-03-14 00:04:31 +01:00
twinaphex
68ef4e7b72 (RPNG) Refactor png_reverse_filter_regular_loop 2015-03-14 00:01:30 +01:00
twinaphex
752f5dc42b (RPNG) Add data_restore_buf_size 2015-03-13 23:54:17 +01:00
twinaphex
978628a878 (RPNG) Start putting regular_loop inside a while loop on the outside 2015-03-13 23:30:29 +01:00
twinaphex
d6c7ba448a Change png_reverse_filter_regular_loop's return code 2015-03-13 23:28:12 +01:00
twinaphex
003fb2a7c8 (RPNG) Reorganize png_process_reverse_filter_regular_loop 2015-03-13 23:22:39 +01:00
twinaphex
a6d6e9750f (RPNG) Start using png_process_code for more code 2015-03-13 23:20:18 +01:00
twinaphex
96b16d4205 (RPNG) Add PNG_PROCESS_* enums 2015-03-13 22:56:34 +01:00
twinaphex
39b718aa03 (RPNG) Create rpng_reverse_filter_adam7_iterate 2015-03-13 21:54:51 +01:00
twinaphex
2c48b2a25d (RPNG) Refactor png_reverse_filter_loop 2015-03-13 21:34:18 +01:00
twinaphex
1144e260d0 (RPNG) Start passing uint32_t **data around 2015-03-13 21:22:19 +01:00
twinaphex
a7e761c0d1 (RPNG) Create png_reverse_filter_iterate 2015-03-13 20:53:28 +01:00
twinaphex
6506f6ce85 (RPNG) Uncouple png_reverse_filter_init from png_reverse_filter_regular 2015-03-13 20:36:48 +01:00
twinaphex
676b6aaad5 Rename rpng_reverse_filter to rpng_reverse_filter_regular 2015-03-13 20:14:47 +01:00
twinaphex
846886c0b9 (RPNG) Don't pass palette pointer around anymore - put it inside the png_process
struct
2015-03-13 20:00:10 +01:00
twinaphex
91d69e20e0 (RPNG) png_reverse_filter_init - palette pointer passed never used 2015-03-13 19:55:01 +01:00
twinaphex
71b9e67a40 (RPNG) Don't pass inflate_buf as pointer to copy_line function anymore 2015-03-13 19:52:25 +01:00
twinaphex
adc6e0b139 (RPNG) Start using restore_buf_size 2015-03-13 19:50:00 +01:00
twinaphex
4852773da4 (RPNG) Start adding restore_buf_size incrementing 2015-03-13 19:47:51 +01:00
twinaphex
03984168c6 (RPNG) Create adam7_restore_buf_size 2015-03-13 19:39:36 +01:00
twinaphex
1df814f9d5 (PNG) png_reverse_filter_init doesn't need pointer to inflate_buf 2015-03-13 19:29:49 +01:00
twinaphex
ba084b19d5 (RPNG) Rename some functions 2015-03-13 19:21:04 +01:00
twinaphex
ce0fd47c33 Rename png_reverse_filter_wrapper to png_reverse_filter_copy_line 2015-03-13 19:15:22 +01:00
twinaphex
d32550665a Cleanup png_reverse_filter_adam7 2015-03-13 18:55:18 +01:00
twinaphex
1ba1ee55b8 (RPNG) More modifications 2015-03-13 18:54:19 +01:00
twinaphex
ccb106580e (RPNG) Restore inflate_buf to previous state at end of adam7 loop 2015-03-13 18:45:55 +01:00
twinaphex
87933f1ff3 Revert "Create png_reverse_filter_adam7_process"
This reverts commit 1444c14b38.
2015-03-13 17:55:43 +01:00
twinaphex
1444c14b38 Create png_reverse_filter_adam7_process 2015-03-13 17:53:40 +01:00
twinaphex
6217739f05 (RPNG) Start changing return of png_reverse_filter_adam7 2015-03-13 17:11:11 +01:00
twinaphex
bb682d1ed4 Cleanups 2015-02-26 22:16:52 +01:00
twinaphex
3e971488a8 Create png_reverse_filter_loop 2015-02-26 21:36:23 +01:00
twinaphex
a2035e72c8 Move adam7 pass initialization to png_reverse_filter_init 2015-02-26 21:05:09 +01:00
twinaphex
97b3e9134d Refactor some more code in adam7 png_reverse_filter function 2015-02-26 20:59:42 +01:00
twinaphex
75ccb24bf4 Make png_reverse_filter_wrapper nonblocking 2015-02-26 20:39:10 +01:00
twinaphex
99b5ae18df (RPNG) Refactors 2015-02-26 20:25:51 +01:00
twinaphex
0227445f6c png_reverse_filter_wrapper - cleanup 2015-02-26 20:18:14 +01:00
twinaphex
b08176ae00 Move png_chunk_type to rpng_decode_common.h 2015-02-26 20:09:43 +01:00
twinaphex
f9fcbb7bb2 Make copy_line functions non-inline 2015-02-26 20:07:57 +01:00
twinaphex
9e000f64fe Move some code from rpng_common.h to rpng_decode_common.h 2015-02-26 19:52:44 +01:00
twinaphex
26b0b397c3 (PNG) Cleanup 2015-02-26 19:47:21 +01:00
twinaphex
bb02411544 Refactor pgn_reverse_filter_wrapper 2015-02-26 19:45:25 +01:00
twinaphex
4897aed9e0 png_reverse_filter_wrapper - more refactoring 2015-02-26 07:58:40 +01:00
twinaphex
9e9dcc12ab png_reverse_filter_wrapper - more cleanups 2015-02-26 07:44:45 +01:00
twinaphex
a7d4b0e8bc Start creating png_reverse_filter_wrapper 2015-02-26 07:40:11 +01:00
twinaphex
de95f0cc1d Create png_reverse_filter_init/png_reverse_filter_deinit 2015-02-26 07:30:13 +01:00
twinaphex
dda9d41d43 Fix png_reverse_filter 2015-02-26 07:26:02 +01:00
twinaphex
9eaf62f319 (PNG) More refactors 2015-02-26 07:14:43 +01:00
twinaphex
c874ee3aa1 Add some variables to png_process_t 2015-02-26 07:07:34 +01:00
twinaphex
3c2d6020ed Move prev_scanline/decoded_scanline to rpng_process_t 2015-02-26 03:54:17 +01:00
twinaphex
0006f0a429 Make process a part of rpng_t 2015-02-26 03:49:35 +01:00
twinaphex
05e33f1ac4 Move stream to process_t handle 2015-02-26 03:28:55 +01:00
twinaphex
ea99f00016 Revert "Move inflate_buf to rpng_process_t"
This reverts commit c97096287d.
2015-02-25 21:55:17 +01:00
twinaphex
4770b37273 Revert "Create palette in rpng_process_t"
This reverts commit 93706c67e8.
2015-02-25 21:55:06 +01:00
twinaphex
18da753ec1 Revert "Move more to rpng_process_t"
This reverts commit 1e2a91fca7.
2015-02-25 21:54:50 +01:00
twinaphex
2ce507c1c7 Revert "(PNG) Refactor process code some more"
This reverts commit fbed3cfd27.
2015-02-25 21:54:39 +01:00
twinaphex
141a417e11 Revert "Create png_reverse_filter_deinit"
This reverts commit ef09b9a855.
2015-02-25 21:54:24 +01:00
twinaphex
c6f34ff91e Revert "Split up deinit code from png_reverse_filter"
This reverts commit 3fc262ecac.
2015-02-25 21:54:08 +01:00
twinaphex
3fc262ecac Split up deinit code from png_reverse_filter 2015-02-25 20:43:12 +01:00
twinaphex
ef09b9a855 Create png_reverse_filter_deinit 2015-02-25 20:36:54 +01:00
twinaphex
fbed3cfd27 (PNG) Refactor process code some more 2015-02-25 10:25:14 +01:00
twinaphex
1e2a91fca7 Move more to rpng_process_t 2015-02-25 10:05:21 +01:00
twinaphex
93706c67e8 Create palette in rpng_process_t 2015-02-25 09:48:06 +01:00
twinaphex
c97096287d Move inflate_buf to rpng_process_t 2015-02-25 09:42:19 +01:00
twinaphex
4c7325c07c Create rpng_process_t 2015-02-25 09:38:54 +01:00
twinaphex
415d9e0d73 (PNG) Fix RPNG decode PLTE 2015-02-24 09:21:50 +01:00
twinaphex
1bf6489da9 SImplify rpng_test.c 2015-02-22 08:42:03 +01:00
twinaphex
07c7a0df99 Decouple nbio_t from rpng_decode_fnbio.c 2015-02-22 08:00:47 +01:00
twinaphex
f233ccb141 Start making rnbio_handle chain 2015-02-22 07:34:33 +01:00
twinaphex
d09574bb1f Move files around 2015-02-22 04:56:18 +01:00
twinaphex
6c54e8119e (NBIO) Make all nbio functions nonblocking 2015-02-21 03:57:34 +01:00
twinaphex
a48343c130 Move png_chunk to rpng_t 2015-02-21 03:28:00 +01:00
twinaphex
82432ca5d5 Remove mpng leftovers 2015-02-21 02:46:58 +01:00
twinaphex
28cdf2c93a Rename rpng files 2015-02-21 02:46:04 +01:00
twinaphex
1b0c9d7776 Move rpng_nbio wrapper function to rpng_test.c 2015-02-21 02:42:33 +01:00
twinaphex
e912d3c49c Move palette over to rpng_t too 2015-02-21 02:34:49 +01:00
twinaphex
fdc3aeffb0 Cleanup rpng_nbio_load_image_argb_init 2015-02-21 02:30:06 +01:00
twinaphex
d2206b8ab2 Start splitting up rpng_nbio_load_image_argb 2015-02-21 02:28:59 +01:00
twinaphex
65ea11f7be (RPNG) rpng_t - Create userdata/ptr 2015-02-21 02:13:20 +01:00
twinaphex
3867a63344 Move png_chunk inside iterate function 2015-02-21 02:07:20 +01:00
twinaphex
7c80d7e1d0 Move inflate_buf_size and palette to rpng_t 2015-02-21 02:04:30 +01:00
twinaphex
193fef41cc Move png_ihdr to rpng_t struct 2015-02-21 01:59:59 +01:00
twinaphex
538b3f3231 rpng.c - Update 2015-02-21 01:56:56 +01:00
twinaphex
7914c8a01c Move idat_buffer to rpng.h header and to rpng_t struct 2015-02-21 01:54:57 +01:00
twinaphex
99d869abca (RPNG) Move more variables to rpng_t struct 2015-02-21 01:49:47 +01:00