twinaphex
2fa5b09e7a
(RJPEG) Cleanups
2016-12-18 15:57:47 +01:00
twinaphex
d6ece7f1b8
(RJPEG) Cleanups
2016-12-18 15:51:08 +01:00
twinaphex
a44afda5c5
(RJPEG) Cleanups
2016-12-18 15:30:29 +01:00
twinaphex
099f3a8d52
(RJPEG) Style nits
2016-12-18 15:28:02 +01:00
twinaphex
e9d9f1d90f
(RBMP) Cleanups
2016-12-18 14:51:57 +01:00
twinaphex
35de6df7f9
(RJPEG) Cleanups
2016-12-18 12:15:36 +01:00
twinaphex
222650df35
(rjpeg.c) Cleanups
2016-12-18 12:12:09 +01:00
Andre Leiradella
d6625434a7
Fixed copyright notice and removed reference to stb_image
2016-12-12 23:26:08 +00:00
Andre Leiradella
b65e16d39d
Added support for loading 8 and 16 bps, mono/stereo, uncompressed PCM wave files
2016-12-12 23:23:36 +00:00
Gregor Richards
ac50e17f50
Moving zlib stream interface
...
Moving the zlib streaming interface out of archive_file and into
trans_stream, including updating the png support to use the new
trans_stream interface. archive_file_zlib itself still needs updating.
2016-11-26 10:47:24 -05:00
twinaphex
cb772047ff
Prevent some more memsets
2016-10-21 19:32:44 +02:00
twinaphex
2b834ce9d8
(rpng) Prevent implicit memsets
2016-10-16 01:34:16 +02:00
twinaphex
efdee89d09
Create samples
2016-09-28 12:44:41 +02:00
twinaphex
dbf6d9331f
(rpng_encode.c) Use encoding_crc32
2016-09-21 02:16:56 +02:00
Brad Parker
7c29fd6c33
create 7z archive backend, enables scanning of 7z content
2016-09-18 10:31:21 -04:00
twinaphex
db36b40b20
Rework this code
2016-08-23 20:12:37 +02:00
twinaphex
1b44f44822
Buildfix
2016-08-23 20:11:12 +02:00
Francisco José García García
5bd2364575
(VITA) Fix screenshots and some debug options
2016-08-23 18:17:46 +02:00
twinaphex
b64070793a
(PS3) Fix two warnings
2016-08-03 16:30:58 +02:00
twinaphex
fda2495021
Get rid of HAVE_ZLIB_DEFLATE - implicitly enable it
2016-08-02 15:34:48 +02:00
twinaphex
aefcca125a
Fix TGA color conversion
2016-06-27 09:23:01 +02:00
Sebastien Ronsse
62b1c5a7af
image transfer: Add TGA support to image_transfer_new function
2016-06-27 17:17:35 +10:00
Sebastien Ronsse
e77599be32
image texture: Add length argument to image_transfer_process
2016-06-21 14:34:34 +10:00
twinaphex
14fce400ce
Another C89 fix
2016-06-07 00:17:00 +02:00
Twinaphex
75ad88e171
Cleanups
2016-06-03 05:09:54 +02:00
twinaphex
bc3eb34da5
Remove unused variables
2016-06-01 04:09:59 +02:00
twinaphex
da6ac4aae7
Fix explicit NULL dereferenced warnings
2016-06-01 04:05:14 +02:00
Andre Leiradella
9cc830ecd6
fixed getting wrong alpha values from tRNS chunk
2016-05-29 11:30:04 -03:00
Andre Leiradella
88eab60b13
optimized palette decoding
2016-05-29 11:25:28 -03:00
Andre Leiradella
d9ea20727c
support tRNS chunks in palettized images
2016-05-29 01:03:44 -03:00
twinaphex
0f954fd4c8
Resource leaks fixes (catched by Coverity)
2016-05-26 17:26:55 +02:00
twinaphex
20cc877ad3
(PS3) Cleanup warnings
2016-05-26 06:41:28 +02:00
twinaphex
7859868ffc
(RPNG) Dehardcode return values
2016-05-25 15:24:18 +02:00
Sebastien Ronsse
58328fa2b0
rjpeg: Fix invalid read/writes during JPEG RGBA to ARGB conversion
2016-05-25 15:57:01 +10:00
twinaphex
d037d12faa
(RJPEG) Attempt to solve defect
2016-05-24 23:43:51 +02:00
twinaphex
bfa6f49ae6
Fix logically dead code warnings
2016-05-24 22:12:51 +02:00
twinaphex
42971febba
Fix resource leaks (pointed out by Coverity)
2016-05-24 22:01:43 +02:00
twinaphex
3cc84d60c8
(RJPEG) Cleanup
2016-05-24 20:54:32 +02:00
twinaphex
fc37ef5c7d
rjpeg_load_jpeg_image - cleanup
2016-05-24 20:44:46 +02:00
Twinaphex
fae5eb89df
rjpeg_process_image - cleanup
2016-05-24 20:36:27 +02:00
twinaphex
d04810f5fd
Reimplement rjpeg_process_image
2016-05-24 20:19:17 +02:00
twinaphex
ae4cd05690
(RPNG) Simplification
2016-05-24 20:15:09 +02:00
Twinaphex
7e6f23ea54
(RJPEG) Cleanup
2016-05-24 20:05:45 +02:00
twinaphex
ffaa32842f
(libretro-common) Update
2016-05-24 14:18:29 +02:00
Twinaphex
44edf684db
(RPNG) Another potential leak plugged
2016-05-23 21:33:26 +02:00
twinaphex
faef7b498d
(Coverity) Fix some resource leaks
2016-05-23 21:28:43 +02:00
twinaphex
45cbe06401
rpng_process_image - cleanup resources if we fail
2016-05-20 21:05:27 +02:00
twinaphex
d02d27f92a
(PNG) Cleanup
2016-05-20 15:37:36 +02:00
twinaphex
033bc60939
(RPNG) Cleanup
2016-05-19 01:00:03 +02:00
twinaphex
ceb657eba2
Cleanups
2016-05-19 00:51:34 +02:00
twinaphex
6c2e933321
rpng_process_init - free resources when failing
2016-05-19 00:46:07 +02:00
twinaphex
a0974a899d
(RPNG) Rewrite initialization of process struct
2016-05-19 00:42:05 +02:00
twinaphex
e21a655dc6
(RPNG) Use image process codes
2016-05-18 17:18:36 +02:00
twinaphex
9b572d0fe4
Make RBMP optional too
2016-05-18 13:28:20 +02:00
twinaphex
7e36dcb27f
move video_texture_image to libretro-common and rename it to image_texture.c
2016-05-18 12:58:00 +02:00
twinaphex
1ef5eee8b3
Header cleanup
2016-05-18 11:08:09 +02:00
twinaphex
9bc11731fb
Start reimplementing TGA image load support
2016-05-18 10:52:23 +02:00
twinaphex
248b99e8e7
(BMP) Fix color conversion
2016-05-17 22:40:29 +02:00
twinaphex
492dd59164
Hook up BMP image loading - color channels swapped - RGBA to ARGB
...
conversion won't work here
2016-05-17 21:38:51 +02:00
twinaphex
4309793b1d
Add rbmp.c
2016-05-17 21:21:45 +02:00
twinaphex
cecb50bd19
(RJPEG) Cleanups
2016-05-17 20:30:35 +02:00
twinaphex
8c640a28c6
(RJPEG) Remove unused rjpeg_image_load
2016-05-17 16:40:11 +02:00
twinaphex
1166be62ae
(gfx/video_texture_image.c) Drop more implementation details
2016-05-17 16:32:53 +02:00
twinaphex
52948b436e
We can take out RPNG implementation details out of video_texture_image.c
...
now
2016-05-17 16:23:22 +02:00
twinaphex
99bcf5946c
Take out DEBUG printfs
2016-05-17 16:04:54 +02:00
twinaphex
7a282eab23
(rbmp_encode.c) Cleanups
2016-05-17 15:58:50 +02:00
twinaphex
a64f0a24c6
(RJPEG) Cleanups
2016-05-17 14:07:05 +02:00
Twinaphex
beac855ff7
(RJPEG) Remove unused variable
2016-05-17 13:51:42 +02:00
twinaphex
ce0376e382
Remove debug printf
2016-05-17 13:50:35 +02:00
twinaphex
185050075a
(RJPEG) Cleanups
2016-05-17 12:56:11 +02:00
twinaphex
6c79ecdae7
(RJPEG) Cleanups
2016-05-17 12:52:45 +02:00
twinaphex
808004a132
(RJPEG) Cleanups
2016-05-17 12:47:46 +02:00
twinaphex
609d00b3d7
(RJPEG) Image needs to be converted from RGBA to ARGB
2016-05-17 12:17:45 +02:00
twinaphex
9202256c3c
Don't need rjpeg__jpeg_test
2016-05-17 12:02:24 +02:00
twinaphex
64c176288b
Should fix JPEG decoding tasks
2016-05-17 10:07:40 +02:00
twinaphex
23f410c5fe
(RPNG) Fix test
2016-05-14 01:12:05 +02:00
twinaphex
f8e99403a4
Cleanups
2016-05-14 00:48:40 +02:00
twinaphex
7a16cf8806
Revert "(RJPEG) Remove rjpeg_test"
...
This reverts commit 5a4b062b0d
.
2016-05-13 13:31:10 +02:00
twinaphex
e56abc03b3
(rjpeg_process_image) Handle error
2016-05-13 11:15:31 +02:00
twinaphex
5a4b062b0d
(RJPEG) Remove rjpeg_test
2016-05-13 11:10:59 +02:00
twinaphex
19eaa05040
(RJPEG) Cleanups
2016-05-13 10:55:22 +02:00
twinaphex
101539b489
(RJPEG) more internal changes
2016-05-13 09:58:42 +02:00
twinaphex
ee95af8ae3
(RPNG) Cleanup
2016-05-13 09:51:08 +02:00
twinaphex
fa27a8447e
Rename RPNG functions
2016-05-13 09:49:38 +02:00
twinaphex
1623d538d5
Add rjpeg_set_buf_ptr
2016-05-13 09:42:02 +02:00
twinaphex
1512d36220
rjpeg_process_image should not set the texture image's width/height -
...
that is done later
2016-05-13 09:34:42 +02:00
twinaphex
1e872108b7
(RJPEG) Add back rgba to bgra routines
2016-05-13 09:27:58 +02:00
twinaphex
8efe2de0ec
(RJPEG/RPNG) Add debug logs and change function signatures
2016-05-13 09:08:32 +02:00
twinaphex
5068accc4e
Start preparing image transfer for RJPEG
2016-05-13 08:50:50 +02:00
twinaphex
17d39fd54f
Add rjpeg_free
2016-05-13 08:16:13 +02:00
twinaphex
d3df016005
(RJPEG) Add rjpeg_alloc
2016-05-13 08:13:21 +02:00
twinaphex
13f49e1d9a
Split up image transfer code to separate file
2016-05-13 04:38:21 +02:00
twinaphex
1ac30884c4
(RJPEG) Prevent warnings
2016-05-11 03:40:25 +02:00
twinaphex
eec4218ebb
(RJPEG) Use features_cpu
2016-05-10 20:36:05 +02:00
twinaphex
35ea37b37f
Revert "Move cpu_features to libretro-common"
...
This reverts commit 2b8ff3bf38
.
2016-05-10 09:32:24 +02:00
twinaphex
2b8ff3bf38
Move cpu_features to libretro-common
2016-05-10 09:27:29 +02:00
twinaphex
ea8715ca92
(RJPEG) Cleanup
2016-05-10 07:16:27 +02:00
twinaphex
f3af0263ed
Remove RJPEG_NO_JPEG
2016-05-10 07:15:23 +02:00
twinaphex
bb063fb692
Cleanups
2016-05-10 07:13:52 +02:00
twinaphex
8d3f6c39ac
Replace STBI_ with RJPEG_
2016-05-10 07:10:42 +02:00
Twinaphex
b59b56d2fc
(RJPEG) Last buildfixes
2016-05-10 07:09:27 +02:00
twinaphex
3c4329aa1f
(RJPEG) uniquely namespace all functions
2016-05-10 07:08:45 +02:00
Twinaphex
88f259d3ef
(RJPEG) Mass renaming (pt. 1)
2016-05-10 07:05:52 +02:00
twinaphex
c321c161a8
Update rjpeg
2016-05-10 06:51:58 +02:00
twinaphex
f931ce7606
Adds conversion when color shifts are BGRA
2016-05-10 06:02:00 +02:00
twinaphex
7462988f33
Use stb_image jpeg code
2016-05-10 05:50:38 +02:00
Sebastien Ronsse
bab8935b58
rbmp encode: Fix memory leak when saving image
2016-05-10 13:09:38 +10:00
Sebastien Ronsse
3db9623809
rbmp encode: Fix saving mechanism resulting in vertically flipped screenshots.
2016-05-10 11:51:56 +10:00
twinaphex
bca9c687a1
(RJPEG) Remove register storage class
2016-05-10 03:23:15 +02:00
twinaphex
e87f030246
C89_BUILD fixes
2016-05-09 05:50:08 +02:00
Hans-Kristian Arntzen
8faa6231db
Fix some warnings.
2016-05-08 09:37:27 +02:00
twinaphex
ef5da43d35
Cleanups
2016-05-07 18:35:06 +02:00
twinaphex
7f272a4bd0
Add missing parameters
2016-05-07 16:24:26 +02:00
twinaphex
0a2544c1bf
(rjpeg) Try manual conversion to RGB
2016-05-07 06:55:52 +02:00
twinaphex
c5895b4aa0
(libretro-common/formats/jpeg/rjpeg.c) Allocate out_img->pixels
2016-05-07 06:49:48 +02:00
twinaphex
f86d4d400d
Start adding jpeg hooks
2016-05-07 06:20:17 +02:00
twinaphex
7b79975516
Start adding rjpeg_image_load
2016-05-07 06:16:02 +02:00
twinaphex
0ab61a2428
(libretro-common) Add rjpeg
2016-05-07 04:33:54 +02:00
twinaphex
268be70fe8
Cleanups
2016-05-07 04:15:39 +02:00
twinaphex
b8644536d2
(video_texture_image.c) Cleanups - we use nbio now in video_texture_image_load
...
for both TGA and PNG, and we remove the file I/O based RPNG function
2016-05-07 04:04:09 +02:00
twinaphex
f9bd28663a
Nit
2016-05-04 04:03:46 +02:00
twinaphex
d8dcaab996
(RPNG) Cleanup
2016-05-04 03:58:29 +02:00
Twinaphex
eeeec23c66
(OSX) Static code analyzer cleanups
2016-05-02 16:57:53 +02:00
twinaphex
1b289c0f05
(libretro-common) Update
2016-03-24 04:23:17 +01:00
twinaphex
e41127459e
Rename 'filestream' functions
2016-03-24 04:09:25 +01:00
twinaphex
483699357d
(RPNG) cleanups
2016-03-21 19:43:29 +01:00
twinaphex
32a8b57826
Move test files
2016-03-21 18:27:02 +01:00
twinaphex
f55ee11554
(libretro-common) Header updates
2016-03-20 17:13:31 +01:00
twinaphex
f0fd3895b6
Updates
2016-03-20 16:36:39 +01:00
twinaphex
3720cf87e7
Rename retro_file to file_stream
2016-03-20 16:29:14 +01:00
twinaphex
c7e13e2bcd
(libretro-common) Rename file_archive to archive_file
2016-03-20 16:14:40 +01:00
Twinaphex
43b931129d
(iOS) Buildfix
2016-03-20 15:07:49 +01:00
twinaphex
87840e5b6c
(rbmp) Change typedef enum
2016-03-20 05:35:52 +01:00
twinaphex
b40b169098
Copy over libretro-common changes
2016-03-20 04:49:59 +01:00
twinaphex
cbc8bab8e2
Cleanup
2016-03-03 00:19:37 +01:00
twinaphex
9459cf6445
Rename zlib_ to file_archive_
2016-01-24 22:17:11 +01:00
twinaphex
aae1faf76f
Move crc32_calculate to file_archive_zlib.c
2016-01-24 21:50:28 +01:00
twinaphex
2bc75715f7
Move zlib_deflate_init to file_archive_zlib.c
2016-01-24 21:26:02 +01:00
twinaphex
1a04bb4532
Add stream_decompress_data_to_file_init and stream-decompress_data_to_file_iterate to
...
file_archive_zlib.c
2016-01-24 21:23:33 +01:00
twinaphex
7130f0c8d8
Move zlib_set_stream to file_archive_zlib
2016-01-24 21:06:53 +01:00
twinaphex
7d29929819
Move file_archive_inflate_init to file_archive_zlib
2016-01-24 20:18:52 +01:00
twinaphex
fa00f51e80
Move zlib_deflate_data_to_file to file_archive_zlib.c
2016-01-24 20:15:17 +01:00
twinaphex
d1ef6f032e
Create stream_compress_free and add it to file_archive_zlib
2016-01-24 20:12:12 +01:00
twinaphex
f264d3d29b
Move zlib_stream_ functions to file_archive_zlib.c
2016-01-24 20:08:57 +01:00
twinaphex
064c5ffc3a
Move zlib_stream_free to file_archive_zlib.c
2016-01-24 20:01:35 +01:00
twinaphex
9a23d95846
Add zlib_stream_new to file_archive_zlib.c
2016-01-24 19:57:31 +01:00
twinaphex
021d8e6af8
Make file_archive_get_default_file_backend public scope
2016-01-24 19:48:25 +01:00
twinaphex
5b343c2a32
(RPNG) Update
2016-01-24 07:47:27 +01:00
twinaphex
3c2a45d923
Rename file_extract functions
2016-01-24 07:42:46 +01:00
twinaphex
552e78c9bc
Rename file_extract to file_archive
2016-01-24 07:29:11 +01:00