tarsin
54d11dea95
Initial migrate to ImageDecoder Java api, and downgrade minsdk to 28
2022-11-19 22:17:08 +08:00
tarsin
ae79417845
Adjust madvise usage
2022-11-10 15:21:17 +08:00
tarsin
50f0df5012
Explicitly set format and filter we use
...
This helps to reduce native library size
2022-11-10 00:56:49 +08:00
tarsin
bc08a09621
Fix read archive
2022-09-23 09:20:15 +08:00
txyyh
9251ed238c
Fix archive code error ( #289 )
2022-09-21 08:56:56 +08:00
tarsin
3b96328765
Use fixed size buffer
2022-09-20 18:29:35 +08:00
tarsin
108928e524
Implement save, share image from archive
2022-09-20 18:09:41 +08:00
tarsin
144e384441
Refine error handling
2022-08-21 12:00:29 +08:00
tarsin
9bb694171b
Implement multithreading archive read
2022-08-21 09:21:53 +08:00
tarsin
647362cd82
Implement multiple archive context, Fix #213
...
* This is useful for multithreading decompress with lock usage
2022-08-20 23:38:13 +08:00
tarsin
56996558df
Fix a use-after-free
2022-08-20 20:23:57 +08:00
tarsin
a0fe6f0d7d
Revert "archive: Use memfd instead"
...
* It sucks, seems simplify the conditions, but more syscalls are
made(read/seek/write), more context switch, futhermore AImageDecoder itself does support
read raw buffer, and we are not intend to support multi-process decoding
This reverts commit f4826ea727 .
2022-08-07 19:14:25 +08:00
tarsin
f4826ea727
archive: Use memfd instead
2022-08-07 17:13:48 +08:00
tarsin
a17b254494
Call mmap/munmap in native code
2022-08-07 15:23:32 +08:00
tarsin
c8dab6a88f
Archive: ignore crc32
2022-08-07 11:43:27 +08:00
tarsin
6f3bd92539
Merge native
2022-08-03 17:48:46 +08:00