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
fa2c482a45
(stdstring) Use old function
2015-03-13 16:11:58 +01:00
twinaphex
a6fc76ac87
(string_replace_substring) Add early return if 'in' is NULL
2015-03-13 15:55:12 +01:00
twinaphex
01c19f943b
Add stdstring to libretro-common
2015-03-13 15:35:55 +01:00
twinaphex
18ce5f73be
Take RARCH_INTERNAL code from file_path.c out of libretro-common
2015-03-13 05:03:50 +01:00
twinaphex
3bbc52eb79
(file_list.c) Do early returns if realloc fails, do early returns if
...
list is NULL
2015-03-12 14:00:27 +01:00
twinaphex
6dc1d953f2
Make 'free' operations of file_list.c more robust
2015-03-12 13:55:16 +01:00
twinaphex
a179d56b75
Update compat/strl.h
2015-03-10 18:49:54 +01:00
twinaphex
21af918cba
Add ifndef conditionals around strlcat / strlcpy definitions
...
in srl.h
2015-03-10 18:47:21 +01:00
twinaphex
2c14e702f6
Update libretro-common
2015-03-10 18:24:02 +01:00
notaz
7f5a08e2cb
implement conv_rgba4444_rgb565
2015-03-07 02:42:38 +02: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
Higor Eurípedes
e198b0e347
(nbio.h) Add include guard
2015-02-20 23:35:39 -03: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
d32593adc4
(nbio.h) Add header guards
2015-02-20 03:06:55 +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