| Commit message (Collapse) | Author | Age | Lines | ||
|---|---|---|---|---|---|
| ... | |||||
| * | sixel: clean up state machine | Daniel Eklöf | 2020-02-22 | -91/+97 | |
| | | | | | | Use proper state names, and implement the state machine using switch statements. | ||||
| * | sixel: use a struct coord for current sixel position | Daniel Eklöf | 2020-02-22 | -24/+22 | |
| | | |||||
| * | sixel: rename state SIXEL_SIXEL -> SIXEL_GROUND | Daniel Eklöf | 2020-02-22 | -6/+6 | |
| | | |||||
| * | sixel: raster: only resize image buffer if necessary | Daniel Eklöf | 2020-02-22 | -1/+3 | |
| | | |||||
| * | sixel: resize image buffer after receiving a "raster" command | Daniel Eklöf | 2020-02-22 | -0/+1 | |
| | | |||||
| * | sixel: resize image buffer dynamically | Daniel Eklöf | 2020-02-22 | -23/+80 | |
| | | |||||
| * | sixel: add sixel_destroy() | Daniel Eklöf | 2020-02-21 | -4/+13 | |
| | | |||||
| * | sixel: always bump row on unhook | Daniel Eklöf | 2020-02-21 | -6/+4 | |
| | | |||||
| * | sixel: ugly hack to remove over-written sixel images | Daniel Eklöf | 2020-02-21 | -0/+8 | |
| | | |||||
| * | sixel: calculate image height in (cell) rows | Daniel Eklöf | 2020-02-21 | -0/+1 | |
| | | |||||
| * | sixel: wip: maintain a list of finished, and "active" sixel images | Daniel Eklöf | 2020-02-21 | -24/+20 | |
| | | | | | | | | | | | | | | | | | | | | In unhook, add the generated image to a list of finished sixel images, along with positioning and size information. When rendering, loop this list of images, and render the images (or parts of) that are visible. When scrolling, check if any part of the images cover the re-cycled lines, and if so, remove the *entire* image from the list. This means we have the following limitations: * The renderer always renders the whole (visible area of) the image(s). There are times when this isn't necessary - for example, when the image is scrolled inside the visible area. * It would be nice if we could crop the image when parts of it is scrolled out. | ||||
| * | sixel: initial support | Daniel Eklöf | 2020-02-21 | -0/+284 | |
| This implements basic parsing of sixel data. Lots of limitations and temporary solutions as this is still work-in-progress: * Maximum image size hardcoded to 800x800 * No HLS color format support * Image is always rendered at 0x0 in the terminal | |||||
