Commit Graph

197 Commits

Author SHA1 Message Date
twinaphex
181219ea32 (RPNG) Remove one enum 2015-09-19 01:43:31 +02:00
twinaphex
93684f2741 (RPNG) Turn decode functions static 2015-09-19 01:42:58 +02:00
twinaphex
43018976e9 (RPNG) Simplify rpng 2015-09-19 01:40:29 +02:00
twinaphex
3914fb9658 Simplify rpng_test.c 2015-09-19 01:34:27 +02:00
twinaphex
d0651bae82 (RPNG) Buildfix standalone RPNG 2015-09-19 01:30:11 +02:00
twinaphex
a052934972 Simplify rpng_fbio.c 2015-09-19 01:29:03 +02:00
twinaphex
c2c49da1de More MISSING_DECLS buildfixes 2015-09-06 15:03:58 +02:00
Twinaphex
8d2eceaa22 (rpng) Cleanups 2015-09-06 13:02:44 +02:00
twinaphex
f88575633e Cleanups 2015-09-05 20:34:22 +02:00
twinaphex
6d188a4840 Move function prototypes to rpng_decode.h 2015-09-01 13:42:28 +02:00
twinaphex
7874eb9890 Move some inline functions to rpng_decode.c 2015-09-01 13:41:45 +02:00
twinaphex
30912ef535 Rename rpng_common.h to rpng_internal.h 2015-09-01 13:40:17 +02:00
twinaphex
679a7ee130 (rpng) Don't expose unused internal function 2015-09-01 13:39:09 +02:00
twinaphex
0d923d6b05 (rpng) Cleanup 2015-09-01 13:37:03 +02:00
twinaphex
3ccb4380f1 (RPNG) Move more common code outside 2015-09-01 13:27:36 +02:00
twinaphex
c80e59b888 Create common png_read_plte 2015-09-01 13:22:20 +02:00
twinaphex
c259b983de struct definitions now go inside rpng_common.h - move them
away from public headers
2015-09-01 13:08:10 +02:00
twinaphex
511b2c6d83 Create rpng_set_buf_ptr 2015-09-01 13:00:02 +02:00
twinaphex
d5837f4b7c Don't take in as first argument rpng->buff_data - handle this internally 2015-09-01 12:56:39 +02:00
twinaphex
cd79143038 (rpng) Encapsulate incrementation of buffer position 2015-09-01 12:52:04 +02:00
twinaphex
3762502112 Create rpng_is_valid 2015-09-01 12:41:31 +02:00
twinaphex
09aac8a320 Create rpng_nbio_is_valid 2015-09-01 12:39:17 +02:00
Higor Eurípedes
405ac5ebe5 Improve error handling in some image loading functions 2015-07-11 17:18:16 -03:00
twinaphex
e74e402cdc More C89 build fixes 2015-06-30 14:37:11 +02:00
Alcaro
4ca6c2398c More C89 cleanups, part 3 2015-06-26 18:35:52 +02:00
twinaphex
cdec12faa5 (libretro-common) Cleanups 2015-06-13 00:33:31 +02:00
Higor Eurípedes
dba40157e3 (task_file_transfer.c) Attempt to fix rpng_nbio leak 2015-06-12 18:21:11 -03:00
Higor Eurípedes
03d13c6fa7 (RPNG) Always free the temp chunk on PNG_CHUNK_IHDR 2015-04-25 21:42:20 -03:00
Higor Eurípedes
c11498df9d (RPNG) Actually free zlib stream 2015-04-25 21:28:22 -03:00
Higor Eurípedes
c432811436 (RPNG) Free zlib stream 2015-04-25 21:04:52 -03:00
twinaphex
a27c0714cb Take chunk_type out of struct 2015-04-10 23:45:56 +02:00
twinaphex
9d4f1ca362 (GX) Buildfix 2015-04-03 03:23:58 +02:00
twinaphex
4dea46f6dc Include <formats/rpng.h> once in rpng_common.h 2015-03-30 18:29:51 +02:00
twinaphex
4550019b2c (rpng_fbio.c) GEKKO ifdef not needed here 2015-03-30 17:51:43 +02:00
Neville
672c19074f (OSX PPC) Buildfixes 2015-03-31 02:47:51 +11:00
twinaphex
e7e09d3b8f Don't include zlib.h in rpng_encode.c 2015-03-29 16:31:00 +02:00
twinaphex
4572a1c48d Create zlib_deflate wrapper functions 2015-03-29 16:28:06 +02:00
twinaphex
3187e308a4 (rpng_encode.c) Use zlib_stream_get_total_out 2015-03-29 16:21:46 +02:00
twinaphex
7c047ea3b3 Cleanups 2015-03-29 16:19:09 +02:00
twinaphex
cc2d6ea99d Create more zlib wrapper functions 2015-03-29 15:52:17 +02:00
twinaphex
5d776f15b6 Create zlib_set_stream 2015-03-29 15:35:55 +02:00
twinaphex
758d01b5da Create more wrappers around zlib in file_extract.c 2015-03-29 14:35:18 +02:00
twinaphex
32304af540 Create zlib_inflate_init 2015-03-29 14:30:53 +02:00
twinaphex
33fca0e161 Use zlib_stream_free 2015-03-29 03:09:33 +02:00
twinaphex
0c99c8c68e (RPNG) Use zib_inflate_data_to_file_iterate 2015-03-28 22:32:15 +01:00
twinaphex
abc514b339 Make file_extract.c independent of RetroArch 2015-03-28 20:25:33 +01:00
twinaphex
52eefc35ff (RPNG) Inflate process should be nonblocking now too 2015-03-14 21:51:56 +01:00
twinaphex
431cf5e1f3 (RPNG) Use Z_NO_FLUSH as second param to inflate and put it in a while loop 2015-03-14 21:16:33 +01:00
twinaphex
933cdd136d (RPNG) Get rid of one needless additional function 2015-03-14 17:33:04 +01:00
twinaphex
a3c6ec249c (RPNG) Rename function 2015-03-14 04:21:57 +01:00