Commit Graph

215 Commits

Author SHA1 Message Date
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
twinaphex
a46a819e2d Get rid of unused 'increment_size' in rpng_nbio.c 2015-02-21 01:41:55 +01:00
twinaphex
e1ff181b3f (RPNG) Start creating struct rpng_t 2015-02-21 01:40:21 +01:00
twinaphex
5cafadd167 rpng_test.c - Add nonblocking tests 2015-02-21 01:35:04 +01:00
twinaphex
7b15d8e701 Refactor rpng_test.c 2015-02-21 00:05:05 +01:00
twinaphex
3c0cd5a0da Restore rpng_test.c 2015-02-21 00:03:32 +01:00
twinaphex
b51e6d4acc Differentiate - rename rpng_parse_ihdr for rpng.c as rpng_parse_ihdr_fio 2015-02-20 23:47:28 +01:00
twinaphex
cd7d967701 (RPNG) Move around code to make it suitable for Griffin 2015-02-20 23:46:13 +01:00
twinaphex
e55827a8a6 Rewrite rpng_test.c 2015-02-20 23:36:53 +01:00
twinaphex
614dc9039a Split up rpng_nbio.c code into separate file and
make sure we have no namespace conflicts
2015-02-20 23:17:04 +01:00
twinaphex
9dcbd97a5b Split up rpng encode code into separate file 2015-02-20 22:59:24 +01:00
twinaphex
2ac62e0cd3 Restore original rpng.c 2015-02-20 22:49:49 +01:00
twinaphex
14fb2f6418 Cleanup original rpng.c 2015-02-20 21:51:32 +01:00
twinaphex
2e61afcab8 use rpng_nbio.c now - try to cover PNG_CHUNK_PLTE as well 2015-02-20 21:35:06 +01:00
twinaphex
d07cb93057 Some more cleanups 2015-02-20 21:26:57 +01:00
twinaphex
33c818cf81 (RPNG) Make imlib2 optional 2015-02-20 21:10:32 +01:00
twinaphex
1f2db14c2d (rpng_nbio.c) Cleanups 2015-02-20 21:05:07 +01:00
twinaphex
6b9bf2c100 Some more progress on rpng_nbio.c 2015-02-20 18:49:51 +01:00
twinaphex
102c815db1 (rpng) Add nbio_stdio.c to test Makefile 2015-02-20 16:36:52 +01:00
twinaphex
a3c5142040 Split up rpng_nbio.c test code to separate file 2015-02-20 16:36:00 +01:00
twinaphex
7d55de8278 Don't define NONBLOCKING_TEST by default 2015-02-20 03:19:39 +01:00
twinaphex
0bb5e0c7fd Cleanups 2015-02-20 03:18:06 +01:00
twinaphex
a227a99c6c Move header code outside of load_image_argb_init 2015-02-20 03:12:27 +01:00
twinaphex
deb282af4d (rpng) Add stub code for nonblocking 2015-02-20 02:34:17 +01:00
twinaphex
4d631cba30 Update 2015-02-20 02:10:05 +01:00
unknown
391e9bc150 moved file I/O out of rpng_load_image_argb_init 2015-02-19 19:54:20 -05:00
unknown
857d0b1009 rpng_load_image_argb_init should write file size to ssize_t, not long. 2015-02-19 19:36:17 -05:00
unknown
429eb3d1d5 bool rpng_load_image_argb_init should be a static function. 2015-02-19 16:24:28 -05:00
unknown
4429819ee7 removed unused path parameter to rpng_load_image_argb
We already have a pointer to FILE of an opened file stream, so why would we need a file path string for loading one if we already had one loaded supplied to this func?
2015-02-19 16:24:03 -05:00
twinaphex
8da734c921 (png/rpng.c) Cleanup 2015-02-19 18:13:28 +01:00
twinaphex
af91764fc8 Simplify rpng_load_image_iterate 2015-02-19 17:28:17 +01:00
twinaphex
f382aceb28 Add log for when file loading fails 2015-02-19 17:11:37 +01:00
twinaphex
58af552945 rpng_load_image_argb - simplify 2015-02-19 16:35:49 +01:00
twinaphex
67d83baa33 (rpng) Refactor file_increment_ptr 2015-02-19 16:23:23 +01:00
twinaphex
90214163a4 Call file_increment_ptr only once 2015-02-19 16:21:12 +01:00
twinaphex
fe8577b173 (rpng) Cleanups 2015-02-19 15:36:10 +01:00
twinaphex
57a04df37f Create rpng_load_image_argb_init 2015-02-19 15:33:27 +01:00
twinaphex
a4c3097cdb Create rpng_load_image_argb_process 2015-02-19 15:25:12 +01:00
twinaphex
d125fd0d0b Create rpng_image_load_iterate 2015-02-19 15:15:13 +01:00
twinaphex
fee00be453 (rpng) Refactor #2 2015-02-19 15:01:08 +01:00
twinaphex
64ebcfba2b (rpng) Refactor some code 2015-02-19 14:47:26 +01:00
twinaphex
e519e2f2bb (rpng) Cleanups 2015-02-19 06:36:13 +01:00
twinaphex
0ea6dc0445 (MPNG) Updates 2015-02-19 04:13:58 +01:00
twinaphex
9c8dc6c437 (MPNG) Update 2015-02-19 03:33:01 +01:00
twinaphex
542bbd3ee9 Compile in mpng 2015-02-19 03:30:12 +01:00
twinaphex
2596e1c0f6 (mpng) Cleanups 2015-02-19 02:53:47 +01:00
twinaphex
6bb81b59d5 (mpng_decode.c) Style nits 2015-02-19 02:46:41 +01:00
twinaphex
a33016d457 Renamed libretro-sdk to libretro-common 2015-02-19 00:04:03 +01:00