Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | API: Use uint32_t for background colour info member. | Michael Drake | 2022-03-24 | 2 | -22/+4 |
| | | | | | This avoids increasing alignment of pointer type where we handle the background fill. | ||||
* | Util: Improve host endian detection for older GCCs. | Michael Drake | 2022-03-24 | 1 | -2/+2 |
| | | | | Co-authored-by: John-Mark Bell <jmb@netsurf-browser.org> | ||||
* | Tests: Update decoder to set required pixel format. | Michael Drake | 2022-03-23 | 1 | -1/+1 |
| | |||||
* | Docs: Mention colour formats in README. | Michael Drake | 2022-03-23 | 1 | -4/+7 |
| | |||||
* | GIF: Build colour tables using colours with client channel ordering. | Michael Drake | 2022-03-23 | 1 | -18/+28 |
| | |||||
* | API: GIF: Take client colour layout on nsgif_create(). | Michael Drake | 2022-03-23 | 2 | -3/+99 |
| | | | | Map the requested layout to appropriate pixel channel offsets. | ||||
* | API: Add enum for colour component order selection. | Michael Drake | 2022-03-23 | 1 | -3/+58 |
| | | | | | This will allow the client to choose the colour component order for decoded bitmaps. | ||||
* | GIF: Support AnimExts Looping Application Extension. | Michael Drake | 2022-03-08 | 1 | -6/+45 |
| | | | | The the NETSCAPE2.0 and ANIMEXTS1.0 extensions are identical. | ||||
* | GIF: Fix handling of loop count value in application extension. | Michael Drake | 2022-03-08 | 1 | -0/+3 |
| | |||||
* | API: Docs: Document meaning of zero for loop_max gif info member. | Michael Drake | 2022-03-08 | 1 | -1/+1 |
| | |||||
* | Docs: Update README to mention nsgif_data_scan errors. | Michael Drake | 2022-03-07 | 1 | -4/+9 |
| | |||||
* | Test: Make decoder more tolerant of bad gifs. | Michael Drake | 2022-03-03 | 1 | -12/+11 |
| | | | | | This makes us keep going if the scan or a frame decode fails, ensuring everything is tested. | ||||
* | API: Document nsgif_data_scan return code errors being non-fatal. | Michael Drake | 2022-03-03 | 1 | -0/+3 |
| | |||||
* | API: Single error code for end of data. | Michael Drake | 2022-03-03 | 2 | -8/+2 |
| | |||||
* | GIF: Fix frame background colour disposal for frame clipping. | Michael Drake | 2022-03-03 | 1 | -4/+6 |
| | |||||
* | GIF: Fix frame limit off-by-one. | Michael Drake | 2022-03-03 | 1 | -2/+2 |
| | |||||
* | GIF: Apply minimum frame delay only in nsgif_frame_prepare(). | Michael Drake | 2022-03-02 | 1 | -7/+6 |
| | | | | | Now the frame info contains the raw delay from the GIF file, without the minimum applied. | ||||
* | Test: Add transparency to frame info dump. | Michael Drake | 2022-03-02 | 1 | -0/+1 |
| | |||||
* | Test: Default to single loop if loop count is zero. | Michael Drake | 2022-03-02 | 1 | -0/+4 |
| | |||||
* | Test: Add background to gif info dump. | Michael Drake | 2022-03-02 | 1 | -0/+4 |
| | |||||
* | API: Expose transparency flag in frame info. | Michael Drake | 2022-03-02 | 2 | -5/+5 |
| | |||||
* | API: Expose background colour in nsgif info. | Michael Drake | 2022-03-02 | 2 | -5/+35 |
| | |||||
* | API: Minor code documentation improvements for public API. | Michael Drake | 2022-03-01 | 1 | -17/+20 |
| | |||||
* | API: Document pixel buffer format in header. | Michael Drake | 2022-03-01 | 1 | -0/+5 |
| | |||||
* | GIF: Squash warning about increase of alignment of pointer type. | Michael Drake | 2022-02-27 | 1 | -1/+1 |
| | |||||
* | Docs: Add note about source data lifetime to README. | Michael Drake | 2022-02-27 | 1 | -0/+5 |
| | |||||
* | Docs: Update README for new API. | Michael Drake | 2022-02-26 | 1 | -34/+114 |
| | |||||
* | Docs: Rename readme to have markdown extension. | Michael Drake | 2022-02-26 | 1 | -0/+0 |
| | |||||
* | Source: Update copyright years. | Michael Drake | 2022-02-26 | 3 | -2/+3 |
| | |||||
* | GIF: Simplify frame delay calculation. | Michael Drake | 2022-02-26 | 1 | -12/+16 |
| | |||||
* | GIF: Don't error for a final partial frame. | Michael Drake | 2022-02-26 | 1 | -3/+2 |
| | |||||
* | API: Consistent typedef naming convention. | Michael Drake | 2022-02-26 | 3 | -29/+33 |
| | |||||
* | Test: Add support for gif info dump and loop count to nsgif tool. | Michael Drake | 2022-02-26 | 4 | -45/+985 |
| | |||||
* | API: Add public access function for frame information. | Michael Drake | 2022-02-26 | 2 | -87/+160 |
| | |||||
* | GIF: Rename gif source data buffer members. | Michael Drake | 2022-02-26 | 1 | -26/+27 |
| | |||||
* | GIF: Minimum gif delay shouldn't be public. | Michael Drake | 2022-02-26 | 2 | -4/+4 |
| | |||||
* | Test: Use tabs for indent in test runner script. | Michael Drake | 2022-02-26 | 1 | -31/+31 |
| | | | | | Previously it was 4 spaces for first level indent, 1 tab for second level, 1 tab plus 4 spaces for third level. | ||||
* | Test: Rename nsgif test utilitiy. | Michael Drake | 2022-02-26 | 3 | -2/+2 |
| | |||||
* | GIF: First frame establishes a redraw rectangle. | Michael Drake | 2022-02-26 | 1 | -1/+0 |
| | |||||
* | API: Clean up error codes and add nsgif_strerror function. | Michael Drake | 2022-02-26 | 3 | -158/+207 |
| | |||||
* | API: Clean up client bitmap interface. | Michael Drake | 2022-02-24 | 3 | -30/+67 |
| | |||||
* | GIF: Don't need previous frame size now. | Michael Drake | 2022-02-24 | 1 | -21/+4 |
| | | | | The image dimensions are constant now. | ||||
* | GIF: Avoid two colour table allocations. | Michael Drake | 2022-02-24 | 1 | -28/+9 |
| | | | | | Just having the arrays in the nsgif object reduces allocations and improves cache locality. | ||||
* | Test: Decoder: Simplify logic. | Michael Drake | 2022-02-23 | 1 | -14/+12 |
| | |||||
* | Test: Update decode test to new API. | Michael Drake | 2022-02-23 | 1 | -75/+68 |
| | |||||
* | API: Rework library API to keep internal workings private. | Michael Drake | 2022-02-23 | 2 | -204/+501 |
| | |||||
* | test: Add commented out echo line to test runner. | Michael Drake | 2022-02-23 | 1 | -0/+1 |
| | |||||
* | API: Rename nsgif_animation to nsgif. | Michael Drake | 2022-02-23 | 3 | -36/+36 |
| | |||||
* | API: Split out redraw rectangle. | Michael Drake | 2022-02-23 | 2 | -20/+27 |
| | |||||
* | GIF: Remove redundant comment. | Michael Drake | 2022-02-23 | 1 | -1/+0 |
| |