Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | docs: Various doxygen comment fixes | Michael Drake | 2023-01-01 | 1 | -6/+8 |
| | |||||
* | gif: Remove unnecessary cast | Michael Drake | 2022-12-16 | 1 | -1/+1 |
| | |||||
* | gif: Store buffer length/position as size_t | Michael Drake | 2022-12-16 | 1 | -3/+3 |
| | | | | This makes the internal behaviour match the public API. | ||||
* | lzw: Use size_t for buffer length/position | Michael Drake | 2022-12-16 | 2 | -13/+13 |
| | |||||
* | GIF: Squash multiplication result converted to larger type | Michael Drake | 2022-11-10 | 1 | -7/+16 |
| | |||||
* | GIF: Return EOD if we hit the end during scan | Michael Drake | 2022-11-05 | 1 | -1/+1 |
| | |||||
* | API: Add call to indicate input data is complete | Michael Drake | 2022-11-04 | 1 | -19/+78 |
| | | | | | | By distinguising between waiting for more data and a broken truncated file, we can decode what we can of any final truncated frame. | ||||
* | GIF: Constify gif structure through next frame getters | Michael Drake | 2022-11-04 | 1 | -2/+2 |
| | |||||
* | API: Replace colour_table with {global|local}_palette. | Michael Drake | 2022-05-08 | 1 | -6/+6 |
| | | | | Avoiding use of "colour" because of different spelling in US. | ||||
* | GIF: Rename frame_pointer to frame_offset. | Michael Drake | 2022-05-08 | 1 | -3/+3 |
| | |||||
* | API: Add function to get a frame's local palette. | Michael Drake | 2022-05-08 | 1 | -0/+25 |
| | |||||
* | GIF: Store frame palette offset. | Michael Drake | 2022-05-08 | 1 | -0/+7 |
| | |||||
* | GIF: Restructure local palette decode. | Michael Drake | 2022-05-08 | 1 | -34/+58 |
| | |||||
* | API: Add function to get global colour table. | Michael Drake | 2022-05-07 | 1 | -3/+14 |
| | |||||
* | API: Store presence of global/local colour table in GIF/frame info. | Michael Drake | 2022-05-07 | 1 | -6/+9 |
| | |||||
* | API: Add optional bitmap rowspan callback. | Michael Drake | 2022-05-01 | 1 | -2/+12 |
| | |||||
* | GIF: Ensure frame clipping is applied to max lzw output length. | Michael Drake | 2022-04-15 | 1 | -1/+2 |
| | |||||
* | GIF: Try to recover after LZW_EOI_CODE. | DarthSim | 2022-04-15 | 1 | -2/+3 |
| | |||||
* | API: Add function to control handling of small frame delays. | Michael Drake | 2022-04-04 | 1 | -0/+10 |
| | | | | | | | | By default we match the mainstream behaviour, and this new call allows that to be overriden by the client. Note this only affects animations that are managed by LibNSGIF via nsgif_frame_prepare(). | ||||
* | GIF: Clarify minimum frame delay handling. | Michael Drake | 2022-04-04 | 1 | -2/+15 |
| | |||||
* | API: Don't expose loop_count. | Michael Drake | 2022-04-04 | 1 | -4/+7 |
| | | | | | It is internal state for a libnsgif managed animation, not information about the GIF. | ||||
* | GIF: Remove unused helper function. | Michael Drake | 2022-03-24 | 1 | -12/+0 |
| | |||||
* | API: Use uint32_t for background colour info member. | Michael Drake | 2022-03-24 | 1 | -21/+3 |
| | | | | | 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> | ||||
* | 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 | 1 | -1/+95 |
| | | | | Map the requested layout to appropriate pixel channel offsets. | ||||
* | 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: Single error code for end of data. | Michael Drake | 2022-03-03 | 1 | -2/+1 |
| | |||||
* | 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. | ||||
* | API: Expose transparency flag in frame info. | Michael Drake | 2022-03-02 | 1 | -5/+3 |
| | |||||
* | API: Expose background colour in nsgif info. | Michael Drake | 2022-03-02 | 1 | -5/+33 |
| | |||||
* | GIF: Squash warning about increase of alignment of pointer type. | Michael Drake | 2022-02-27 | 1 | -1/+1 |
| | |||||
* | Source: Update copyright years. | Michael Drake | 2022-02-26 | 1 | -1/+1 |
| | |||||
* | 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 | 1 | -14/+16 |
| | |||||
* | API: Add public access function for frame information. | Michael Drake | 2022-02-26 | 1 | -53/+68 |
| | |||||
* | 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 | 1 | -2/+4 |
| | |||||
* | 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 | 1 | -94/+118 |
| | |||||
* | API: Clean up client bitmap interface. | Michael Drake | 2022-02-24 | 1 | -4/+4 |
| | |||||
* | 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. | ||||
* | API: Rework library API to keep internal workings private. | Michael Drake | 2022-02-23 | 1 | -95/+384 |
| | |||||
* | API: Rename nsgif_animation to nsgif. | Michael Drake | 2022-02-23 | 1 | -27/+27 |
| | |||||
* | API: Split out redraw rectangle. | Michael Drake | 2022-02-23 | 1 | -12/+12 |
| |