log tools/lib64gfx.c @ 1783:1ce808599129

age author description
Wed, 13 Jun 2018 01:34:46 +0300 Matti Hamalainen Add DM_RLE_ZERO_COUNT_MAX flag for RLE decoder which makes it interpret run
Tue, 12 Jun 2018 20:37:53 +0300 Matti Hamalainen Change c64 format probing API to use DMGrowBuf.
Tue, 12 Jun 2018 17:12:48 +0300 Matti Hamalainen Refactor the c64 bitmap format definitions handling to be more flexible. Again.
Tue, 12 Jun 2018 15:36:00 +0300 Matti Hamalainen Move dmC64ProbeBMP() to more logical place in the source.
Tue, 12 Jun 2018 04:43:05 +0300 Matti Hamalainen Implement fake X raster position for the pixel getting functions. At some
Mon, 11 Jun 2018 14:42:12 +0300 Matti Hamalainen More granular error handling in RLE decoding.
Mon, 11 Jun 2018 13:57:07 +0300 Matti Hamalainen Change DMGrowBuf API somewhat and implement more copy operations.
Sun, 10 Jun 2018 17:56:08 +0300 Matti Hamalainen Fix unitialized data accesses.
Sat, 09 Jun 2018 17:04:33 +0300 Matti Hamalainen Actually fix the warnings .. sigh.
Sat, 09 Jun 2018 17:02:35 +0300 Matti Hamalainen Silence a warning about unused function argument.
Fri, 08 Jun 2018 22:29:49 +0300 Matti Hamalainen Oops, left in wrong variable name. :S
Fri, 08 Jun 2018 22:09:00 +0300 Matti Hamalainen Add dmSetMixedColorC64Palette() for setting a 256 entry "mixed color"
Fri, 08 Jun 2018 22:07:05 +0300 Matti Hamalainen Move dmDefaultC64Palette back to lib64gfx.c
Fri, 08 Jun 2018 22:03:19 +0300 Matti Hamalainen Use the default C64 palette whenever we need it, but make it possible to override it.
Thu, 07 Jun 2018 15:52:58 +0300 Matti Hamalainen Allow image pointer argument to be NULL for dmC64ImageDump().
Thu, 07 Jun 2018 15:21:54 +0300 Matti Hamalainen Improve error messages in the RLE decoder.
Thu, 07 Jun 2018 14:48:26 +0300 Matti Hamalainen Implement operator types DO_SET_MEM_HI and DO_SET_MEM_LO. Not used yet.
Thu, 07 Jun 2018 14:47:37 +0300 Matti Hamalainen Return size of subject in dmC64GetOpSize() despite what the operator type is.
Wed, 06 Jun 2018 15:22:15 +0300 Matti Hamalainen Refactor fmtDecodeTruePaintPacked() to use more generic DMGrowBuf functions
Wed, 06 Jun 2018 15:20:31 +0300 Matti Hamalainen Add one default case error handler.
Wed, 06 Jun 2018 15:19:40 +0300 Matti Hamalainen Add output buffer cropping to dmFinishRLEBuffers() and the flags and fields to DMGrowBuf.
Wed, 06 Jun 2018 14:37:20 +0300 Matti Hamalainen Fix a commit blunder here ..
Wed, 06 Jun 2018 14:36:24 +0300 Matti Hamalainen Use dmFinishRLEBuffers() in dmDecodeGenericRLE()
Wed, 06 Jun 2018 14:34:58 +0300 Matti Hamalainen Improve error handling of dmEncodeGenericRLESequence() and use dmGenericRLEOutputRun() here as well.
Wed, 06 Jun 2018 14:33:30 +0300 Matti Hamalainen Use dmGenericRLEOutputRun().
Wed, 06 Jun 2018 14:31:04 +0300 Matti Hamalainen Add few RLE helper functions.
Wed, 06 Jun 2018 14:26:49 +0300 Matti Hamalainen Use buf->len instead of tmp.len, as it might not be initialized.
Tue, 05 Jun 2018 21:58:10 +0300 Matti Hamalainen More consistently use DMGrowBuf in the lib64gfx APIs, and implement
Tue, 05 Jun 2018 12:55:17 +0300 Matti Hamalainen Refactor DMGrowBuf so that there can be buffers that grow "backwards".
Thu, 31 May 2018 11:40:20 +0300 Matti Hamalainen Cleanup.
Thu, 31 May 2018 00:04:01 +0300 Matti Hamalainen Big overhaul to the enc/dec operator system to be more flexible.
Wed, 30 May 2018 17:05:19 +0300 Matti Hamalainen More work on improving the generic RLE decoder/encoder.
Wed, 30 May 2018 03:25:34 +0300 Matti Hamalainen Refactor RLE encoding a bit, and add support for 16bit run counts and make things more configurable.
Wed, 30 May 2018 01:17:57 +0300 Matti Hamalainen Add sanity check for interlaced formats: check that the interlace type flags are set.
Wed, 30 May 2018 00:57:21 +0300 Matti Hamalainen Add helper functions dmReverse{Get,Put}Byte().
Wed, 30 May 2018 00:56:32 +0300 Matti Hamalainen Reorder some functions.
Fri, 25 May 2018 01:41:31 +0300 Matti Hamalainen Use C64 encdec operator specified size for the element if it is larger than the default size.
Fri, 25 May 2018 00:28:19 +0300 Matti Hamalainen Remove useless assignation.
Mon, 14 May 2018 08:47:19 +0300 Matti Hamalainen Fix some uninitialized variable warnings.
Mon, 14 May 2018 07:27:31 +0300 Matti Hamalainen Fix RLE decoder bounds checks for compressed sequences.
Mon, 14 May 2018 05:53:22 +0300 Matti Hamalainen Add inline helper function fmtGetEncDecOp() and use it.
Mon, 14 May 2018 04:27:53 +0300 Matti Hamalainen Refactor the c64 format memory handling a bit for more flexibility.
Mon, 14 May 2018 04:11:31 +0300 Matti Hamalainen Rename DT_BITMAP to DT_BITMAP_RAM.
Sun, 13 May 2018 20:34:29 +0300 Matti Hamalainen Add NULL check for growbuf pointer.
Sun, 13 May 2018 09:08:18 +0300 Matti Hamalainen Implement another RLE variant, with different ordering of marker, count and data bytes.
Sat, 12 May 2018 21:05:52 +0300 Matti Hamalainen Check C64 bitmap format flags in encode/decode functions.
Sat, 12 May 2018 05:31:40 +0300 Matti Hamalainen Implement dmGenericRLEAnalyze() and use it where appropriate.
Sat, 12 May 2018 04:46:08 +0300 Matti Hamalainen Tiny improvement in MC->FLI upconversion.
Sat, 12 May 2018 03:28:25 +0300 Matti Hamalainen Use the DMGrowBuf push/pop functionality to better implement the stacked
Sat, 12 May 2018 02:24:24 +0300 Matti Hamalainen Set size for DT_{DEC,ENC}_FUNCTION opcodes.
Fri, 11 May 2018 23:17:57 +0300 Matti Hamalainen Another encoding fix ..
Fri, 11 May 2018 23:12:55 +0300 Matti Hamalainen Remove unused variable.
Fri, 11 May 2018 23:11:38 +0300 Matti Hamalainen Fix c64 bitmap encoding / decoding bounds checks.
Fri, 11 May 2018 23:11:16 +0300 Matti Hamalainen Improve error handling of RLE encoder.
Fri, 11 May 2018 22:26:17 +0300 Matti Hamalainen Remove insane troll logic from dmC64GetOpSize().
Fri, 11 May 2018 22:25:12 +0300 Matti Hamalainen Initialize previous data value in RLE encoder.
Fri, 11 May 2018 22:24:53 +0300 Matti Hamalainen Fix an error message, should be "Encode", not "Decode".
Fri, 11 May 2018 22:24:11 +0300 Matti Hamalainen Urgh. 1000L idiotic mistake: a dmGrowBufAlloc() call had been left in
Fri, 11 May 2018 20:28:48 +0300 Matti Hamalainen Oops, left in a debug print.
Fri, 11 May 2018 20:27:16 +0300 Matti Hamalainen Fix handling of predefined DMGrowBuffer in dmC64EncodeGenericBMP().
Fri, 11 May 2018 20:18:14 +0300 Matti Hamalainen Change the passing of RLE compression/decompression parameters to be in a dedicated struct.
Fri, 11 May 2018 07:41:55 +0300 Matti Hamalainen Factor all the c64 file format specific things into lib64fmt.c
Fri, 11 May 2018 07:13:46 +0300 Matti Hamalainen Add static const global for FunPaint 2 magic ID string.
Fri, 11 May 2018 07:12:37 +0300 Matti Hamalainen Fix some blunders in encode/decode error messages.
Fri, 11 May 2018 07:07:40 +0300 Matti Hamalainen Simplify some encoding bits.
Fri, 11 May 2018 07:06:36 +0300 Matti Hamalainen Move encoding stub function to better place.
Fri, 11 May 2018 06:28:55 +0300 Matti Hamalainen Implement rudimentary support for writing RLE compressed DrazPaint 1.4/2.0 and DrazLace 1.0 files.
Fri, 11 May 2018 06:27:53 +0300 Matti Hamalainen Work on the RLE encoding.
Fri, 11 May 2018 06:26:42 +0300 Matti Hamalainen Add short format attribute names to dmC64GetImageTypeString().
Fri, 11 May 2018 05:31:46 +0300 Matti Hamalainen Set DMC64Image::type in dmC64ImageAlloc() from format type.
Fri, 11 May 2018 05:31:16 +0300 Matti Hamalainen Reindent polishing.
Fri, 11 May 2018 05:23:52 +0300 Matti Hamalainen Move one function to a better place in the code.
Fri, 11 May 2018 05:23:07 +0300 Matti Hamalainen Factor the C64 bitmap image format info dump function to lib64gfx and use it from 64vw.
Fri, 11 May 2018 04:55:28 +0300 Matti Hamalainen Various fixes to dmC64EncodeGenericBMP().
Fri, 11 May 2018 04:52:43 +0300 Matti Hamalainen Add DMC64ImageFormat to C64 bitmap format encoding/decoding ops function parameters.
Fri, 11 May 2018 04:23:47 +0300 Matti Hamalainen Oops. Fix dmC64EncodeBMP() to add loading address to total data size.
Fri, 11 May 2018 04:21:15 +0300 Matti Hamalainen Improve dmC64GetImageTypeString() and use it also in 64vw.
Fri, 11 May 2018 03:29:55 +0300 Matti Hamalainen Rename some struct members, and sanitize handling of DMC64Image allocation more.
Fri, 11 May 2018 02:42:49 +0300 Matti Hamalainen More work on RLE encoding/decoding.
Fri, 11 May 2018 02:26:09 +0300 Matti Hamalainen Cleanup the RLE decoder.
Fri, 11 May 2018 02:25:40 +0300 Matti Hamalainen Reorder format list.
Thu, 10 May 2018 23:08:09 +0300 Matti Hamalainen Improve error handling and checking.
Thu, 10 May 2018 23:07:50 +0300 Matti Hamalainen Add stub function to prevent attempts to encode formats that do not support encoding yet.
Thu, 10 May 2018 22:30:02 +0300 Matti Hamalainen Various fixes in bmp encoding.
Thu, 10 May 2018 21:47:48 +0300 Matti Hamalainen Add some new functions that are mostly just stubs and not working tho.
Thu, 10 May 2018 21:46:50 +0300 Matti Hamalainen More work on RLE decoder/encoder changes.
Thu, 10 May 2018 21:29:52 +0300 Matti Hamalainen Change dmC64EncodeGenericBMP() to use DMGrowBuf, and make the necessary changes in gfxconv as well.
Thu, 10 May 2018 21:27:24 +0300 Matti Hamalainen Change dmDecodeGenericRLE() to use DMGrowBuf as output. Also add support
Thu, 10 May 2018 21:22:31 +0300 Matti Hamalainen Fix memory leaks by freeing more things in dmC64ImageFree().
Thu, 10 May 2018 21:21:37 +0300 Matti Hamalainen Cosmetic.
Thu, 10 May 2018 21:19:55 +0300 Matti Hamalainen Improve error handling.
Thu, 10 May 2018 19:58:52 +0300 Matti Hamalainen Add function to set DMImage's palette to default C64 palette and use it.
Thu, 10 May 2018 18:53:42 +0300 Matti Hamalainen Bump copyrights.
Thu, 10 May 2018 05:23:02 +0300 Matti Hamalainen Do not insert load address to the buffer beginning in dmC64EncodeGenericBMP().
Thu, 10 May 2018 05:15:25 +0300 Matti Hamalainen Rename labels.
Thu, 10 May 2018 04:36:03 +0300 Matti Hamalainen Cosmetics.
Thu, 10 May 2018 03:46:36 +0300 Matti Hamalainen Cleanups.
Wed, 22 Nov 2017 01:33:47 +0200 Matti Hamalainen Cosmetics.
Wed, 15 Nov 2017 07:07:26 +0200 Matti Hamalainen Rename global dmC64Palette to dmDefaultC64Palette.
Wed, 15 Nov 2017 07:06:47 +0200 Matti Hamalainen Simplify dmC64GetImageTypeString().
Sun, 05 Nov 2017 23:27:53 +0200 Matti Hamalainen Better fix for the RLE decoding bounds issue, not changing
Sun, 05 Nov 2017 23:27:05 +0200 Matti Hamalainen Backed out changeset 3baed76155a1
Sun, 05 Nov 2017 04:47:13 +0200 Matti Hamalainen Fix dmDecodeGenericRLE() source/read bounds check.
Sun, 05 Nov 2017 03:52:37 +0200 Matti Hamalainen Use Uint8 instead of int in the rle decoder.
Sun, 05 Nov 2017 03:51:48 +0200 Matti Hamalainen Cleanups.
Mon, 16 Oct 2017 03:22:13 +0300 Matti Hamalainen Cosmetic.
Mon, 25 Sep 2017 01:49:18 +0300 Matti Hamalainen Add support for Crest Hires FLI Designer format.
Mon, 25 Sep 2017 01:41:56 +0300 Matti Hamalainen Make screen ram definition macros more flexible, for possible future use cases.
Sun, 24 Sep 2017 22:55:17 +0300 Matti Hamalainen Cleanups, support another variant of FLI Designer format.
Sun, 24 Sep 2017 22:02:54 +0300 Matti Hamalainen FunPaint2 decoding fixes.
Sun, 24 Sep 2017 22:00:51 +0300 Matti Hamalainen Implement GunPaint support. Possibly not working correctly.
Sun, 24 Sep 2017 21:45:35 +0300 Matti Hamalainen Simplify some image format definitions by using macro to define screen ram blocks.
Sun, 24 Sep 2017 21:19:44 +0300 Matti Hamalainen Oops, 100L. Had forgotten to change singlecolor mode handling pixel getter
Sun, 24 Sep 2017 21:11:36 +0300 Matti Hamalainen #undef a macro that needs to be redefined in order to avoid a warning.
Sun, 24 Sep 2017 21:10:46 +0300 Matti Hamalainen Implement (buggy) support for packed and unpacked FunPaint II images in
Sun, 24 Sep 2017 20:48:52 +0300 Matti Hamalainen Cosmetics.
Sun, 24 Sep 2017 19:51:23 +0300 Matti Hamalainen Move things around a bit.
Sun, 24 Sep 2017 19:49:25 +0300 Matti Hamalainen Cosmetics.
Sun, 24 Sep 2017 19:48:33 +0300 Matti Hamalainen Make c64 image bank allocation dynamic.
Sun, 24 Sep 2017 17:50:02 +0300 Matti Hamalainen Cosmetic.