Commit Graph
1340 Commits
Author SHA1 Message Date
Nigel Tao e26ba24fbf Add wuffs_foo__bar__struct names 2018-10-06 09:41:50 +10:00
Nigel Tao dc17398d64 Generate "WUFFS C HEADER ENDS HERE"
Future commits will mean more than one "#ifdef WUFFS_IMPLEMENTATION".
2018-10-06 09:12:04 +10:00
Nigel Tao 7039a5b9c7 wuffs gen -version=0.2.0-alpha.19 2018-09-23 14:54:37 +10:00
Nigel Tao c4edf6ac25 Add sizeof__wuffs_foo__bar functions 2018-09-23 09:26:08 +10:00
Nigel Tao 6cc954d7e1 Have tests return a "const char*" status 2018-09-22 08:43:56 +10:00
Nigel Tao b6da2f4fb4 Clean up iters vs iters_unscaled 2018-09-15 19:42:27 +10:00
Nigel Tao 058d435759 Don't repeat tests iterscale times 2018-09-15 17:33:39 +10:00
Nigel Tao d1758d7a1c Update wuffs-deflate-decoder-decode-huffman.c 2018-09-15 15:05:43 +10:00
Nigel Tao ad02f2ea62 Have pixbuf_len return uint64_t not size_t 2018-09-15 12:50:39 +10:00
Nigel Tao 4985876c5a wuffs gen -version=0.2.0-alpha.18 2018-09-15 09:44:13 +10:00
Nigel Tao a12c45bb7f Rename io_position_reader to reader_io_position 2018-09-15 09:19:34 +10:00
Nigel Tao 8c6cc80b57 Add wuffs_base__status__is_complete 2018-09-15 09:18:53 +10:00
Nigel Tao 73ed2eece1 Change warning string's prefix from "!" to "~" 2018-09-15 08:59:37 +10:00
Nigel Tao 6fa3d5a9f5 have io_writer.set also reset meta.pos 2018-09-15 08:47:30 +10:00
Nigel Tao 6fed251b40 Split an io_buffer's fields into data and meta 2018-09-15 08:45:50 +10:00
Nigel Tao 2e804c8f20 Remove the testlib's global_palette_buffer 2018-09-09 21:50:28 +10:00
Nigel Tao 990463bdac Move u8 subslice methods from private to public 2018-09-09 21:43:34 +10:00
Nigel Tao 180ce5e481 Add wuffs_base__malloc_slice_uxx functions 2018-09-09 21:31:37 +10:00
Nigel Tao 399a7af6ef Fix comment about palette pointer alignment 2018-09-08 11:21:40 +10:00
Nigel Tao 5894b9448c wuffs gen -version=0.2.0-alpha.17 2018-09-08 11:17:58 +10:00
Nigel Tao ead965c61f Add a ! effect to copy_from_slice 2018-09-08 11:14:37 +10:00
Nigel Tao 68e553f305 Tweak wuffs_base__slice_u8 formatting 2018-09-08 11:12:34 +10:00
Nigel Tao 724b136bf8 Remove the obsolete set_palette method 2018-09-08 11:11:36 +10:00
Nigel Tao 2c7fd8058a Repurpose a pixbuf's plane 3 for the palette 2018-09-08 11:03:22 +10:00
Nigel Tao 29986823e5 Don't assume that pixbuf_len == number of pixels 2018-09-08 09:21:24 +10:00
Nigel Tao fbbdc412d1 Rename work_buffer_size to workbuf_len 2018-09-08 09:06:56 +10:00
Nigel Tao ca940b0c56 Rename pixbuf_size to pixbuf_len 2018-09-08 08:47:34 +10:00
Nigel Tao 5bf7c5c051 Add image_config.first_frame_io_position
Also fix a type typo for image_config.first_frame_is_opaque.
2018-09-08 08:40:45 +10:00
Nigel Tao 91451e8095 Add io_buffer.io_position_{read,writ}er methods 2018-09-08 08:27:19 +10:00
Nigel Tao 11c8917a4c Clip a frame's bounds to the image bounds 2018-09-08 08:02:47 +10:00
Nigel Tao ad80d8e7fc wuffs gen -version=0.2.0-alpha.16 2018-09-02 15:09:11 +10:00
Nigel Tao 555a72d7a9 Add a decode_frame_options type 2018-09-02 15:08:00 +10:00
Nigel Tao 8b1e023e6a Add image_config.work_buffer_size 2018-09-02 14:56:53 +10:00
Nigel Tao a3269e160e Tweak gif restart_frame args 2018-09-02 14:12:51 +10:00
Nigel Tao 708dd7cf87 wuffs gen -version=0.2.0-alpha.15 2018-08-26 23:58:58 +10:00
Nigel Tao a34cc5311e Place the frame_config's pos before it not after 2018-08-26 23:58:03 +10:00
Nigel Tao 9c04249bfe Add warnings as another status code category 2018-08-26 23:22:45 +10:00
Nigel Tao 54e5ea7f15 Test that end_of_data is repeatedly returned 2018-08-26 22:42:42 +10:00
Nigel Tao d4f7c263e3 Rename s/invalid/bad/ in "invalid call sequence" 2018-08-26 21:20:25 +10:00
Nigel Tao 814507e848 First sketch of reset_for_decode_frame 2018-08-26 21:18:08 +10:00
Nigel Tao db24a3f010 Tweak the gif I/O position test 2018-08-26 20:09:56 +10:00
Nigel Tao 14b28340f6 Add frame_config.index test 2018-08-26 17:55:57 +10:00
Nigel Tao 695d731fb9 Put the GIF frame_config I/O position back 1 byte
We'll need that flags byte (for the interlace bit and palette size) when
decoding frames in a random-access manner.
2018-08-26 17:48:43 +10:00
Nigel Tao 0066d6ac9b Re-org gif's which_palette determination 2018-08-26 17:30:36 +10:00
Nigel Tao 826b3e6c48 Remove gif's previous_use_global_palette 2018-08-26 17:25:34 +10:00
Nigel Tao 132b54378c Remove frame_config.palette_changed 2018-08-26 17:22:29 +10:00
Nigel Tao 75195af7db Re-org GIF Image Descriptor parsing 2018-08-26 17:18:20 +10:00
Nigel Tao 87ee928448 Prepare to re-org GIF Image Descriptor parsing 2018-08-26 16:48:09 +10:00
Nigel Tao 7798beaa8c Add I/O positions 2018-08-26 16:31:19 +10:00
Nigel Tao 0c18c064b8 Update wuffs-deflate-decoder-decode-huffman.c 2018-08-26 12:47:44 +10:00