summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/png.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix compilation errors with -Og Celelibi2018-12-111-1/+1
| | | | Signed-off-by: Celelibi <celelibi@gmail.com>
* that doesn't require an instance (nw) Vas Crabb2017-09-031-18/+18
|
* png: make verify_header public (nw) hap2017-09-021-15/+26
|
* add a not BIOS machine filter (useful in composite filters), support RGB PNG ↵ Vas Crabb2017-08-151-7/+19
| | | | with transparent pen because why not
* fix indexed transparency (nw) Vas Crabb2017-08-141-3/+3
|
* PNG: support greyscale with transparent pen, encode/decode text chunks as ↵ Vas Crabb2017-08-141-99/+162
| | | | UTF-8, don't crash on trying to write back a text chunk read from a PNG file, enforce restrictions on keywords
* png: make it not leak memory by default, and look a but more like C++ Vas Crabb2017-08-131-431/+368
|
* png: support 16-bit samples Vas Crabb2017-08-131-21/+35
|
* PNG: fix unfiltering Vas Crabb2017-08-121-76/+71
|
* ui: save/restore images/info selection in right panel Vas Crabb2017-08-121-0/+2
|
* More PNG handling overhaul: Vas Crabb2017-08-121-115/+211
| | | | | | | * Unify code for copying PNG data into bitmap for MAME and pngcmp * Fix upsampling of monochrome PNGs (need to splat across byte) * Add support for greyscale+alpha * Detect more unsupported conditions rather than just behaving badly
* add minimal support for reading Adam7 interlaced PNG Vas Crabb2017-08-121-360/+372
| | | | | | | | | | | | | (nw) This is the path of least resistance, and I plan to fix it up later, I just wanted to get it to actually work first. Decompression and unfiltering is fully supported, at least for all the pixel formats that previously worked. Expanding 1/2/4bpp to 8bpp should work properly, too. Bitmap mapping for Adam7 is only implemented in rendutil.cpp which is whate everything in MAME uses. The function in png.cpp (used by pngcmp) has not been updated. At some point I'll unify at least one of the functions in rendutil.cpp with the one in png.cpp and we can go from three functions that need to do the mapping down to two at the most.
* more TRUE/FALSE cleanup (nw) Miodrag Milanovic2016-10-221-7/+7
|
* NOTICE (TYPE NAME CONSOLIDATION) Miodrag Milanovic2016-10-221-55/+55
| | | | | Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8 also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
* made constexprs lower case and used constexpr for returning input value as ↵ Miodrag Milanovic2016-07-311-4/+4
| | | | well for rest of defines in osdcomm.h (nw)
* Various cleanups suggested by static analyzer (nw) Miodrag Milanovic2016-04-241-5/+5
|
* Turn core_file into a proper class that gets cleaned up safely using unique_ptr Vas Crabb2016-03-061-31/+31
| | | | Subverted somewhat by chd_file class
* macro removal INLINE -> static inline (nw) Miodrag Milanovic2015-12-121-8/+8
|
* clang-modernize part 1 (nw) Miodrag Milanovic2015-12-031-45/+45
|
* Rename *.c -> *.cpp in our source (nw) Miodrag Milanovic2015-11-081-0/+1165