![]() |
Notcurses 3.0.17
a blingful library for TUIs and character graphics
|
Go to the source code of this file.
Data Structures | |
| struct | tament |
| struct | sprixel |
Macros | |
| #define | SIXEL_MAX_REGISTERS 65534 |
Typedefs | |
| typedef struct tament | tament |
| typedef struct sprixel | sprixel |
Enumerations | |
| enum | sprixel_e { SPRIXEL_QUIESCENT , SPRIXEL_UNSEEN , SPRIXEL_LOADED , SPRIXEL_INVALIDATED , SPRIXEL_HIDE , SPRIXEL_MOVED } |
| enum | sprixcell_e { SPRIXCELL_TRANSPARENT , SPRIXCELL_OPAQUE_SIXEL , SPRIXCELL_OPAQUE_KITTY , SPRIXCELL_MIXED_SIXEL , SPRIXCELL_MIXED_KITTY , SPRIXCELL_ANNIHILATED , SPRIXCELL_ANNIHILATED_TRANS } |
Functions | |
| int | sprite_init (struct tinfo *t, int fd) |
| int | sixel_wipe (sprixel *s, int ycell, int xcell) |
| int | kitty_wipe (sprixel *s, int ycell, int xcell) |
| int | kitty_wipe_animation (sprixel *s, int ycell, int xcell) |
| int | kitty_wipe_selfref (sprixel *s, int ycell, int xcell) |
| int | fbcon_wipe (sprixel *s, int ycell, int xcell) |
| int | sixel_rebuild (sprixel *s, int ycell, int xcell, uint8_t *auxvec) |
| int | kitty_rebuild (sprixel *s, int ycell, int xcell, uint8_t *auxvec) |
| int | fbcon_rebuild (sprixel *s, int ycell, int xcell, uint8_t *auxvec) |
| int | kitty_rebuild_animation (sprixel *s, int ycell, int xcell, uint8_t *auxvec) |
| int | kitty_rebuild_selfref (sprixel *s, int ycell, int xcell, uint8_t *auxvec) |
| int | sixel_draw (const struct tinfo *ti, const struct ncpile *p, sprixel *s, fbuf *f, int yoff, int xoff) |
| int | kitty_draw (const struct tinfo *ti, const struct ncpile *p, sprixel *s, fbuf *f, int yoff, int xoff) |
| int | kitty_move (sprixel *s, fbuf *f, unsigned noscroll, int yoff, int xoff) |
| int | sixel_scrub (const struct ncpile *p, sprixel *s) |
| int | kitty_scrub (const struct ncpile *p, sprixel *s) |
| int | fbcon_scrub (const struct ncpile *p, sprixel *s) |
| int | kitty_remove (int id, fbuf *f) |
| int | kitty_clear_all (fbuf *f) |
| int | sixel_init_forcesdm (struct tinfo *ti, int fd) |
| int | sixel_init_inverted (struct tinfo *ti, int fd) |
| int | sixel_init (struct tinfo *ti, int fd) |
| uint8_t * | sixel_trans_auxvec (const struct ncpile *p) |
| uint8_t * | kitty_trans_auxvec (const struct ncpile *p) |
| int | kitty_commit (fbuf *f, sprixel *s, unsigned noscroll) |
| int | sixel_blit (struct ncplane *nc, int linesize, const void *data, int leny, int lenx, const struct blitterargs *bargs) |
| int | kitty_blit (struct ncplane *nc, int linesize, const void *data, int leny, int lenx, const struct blitterargs *bargs) |
| int | kitty_blit_animated (struct ncplane *n, int linesize, const void *data, int leny, int lenx, const struct blitterargs *bargs) |
| int | kitty_blit_selfref (struct ncplane *nc, int linesize, const void *data, int leny, int lenx, const struct blitterargs *bargs) |
| int | fbcon_blit (struct ncplane *nc, int linesize, const void *data, int leny, int lenx, const struct blitterargs *bargs) |
| int | fbcon_draw (const struct tinfo *ti, sprixel *s, int yoff, int xoff) |
| void | fbcon_scroll (const struct ncpile *p, struct tinfo *ti, int rows) |
| void | sixel_refresh (const struct ncpile *p, sprixel *s) |
| int | sprixel_load (sprixel *spx, fbuf *f, unsigned pixy, unsigned pixx, int parse_start, sprixel_e state) |
| int | sprixel_rescale (sprixel *spx, unsigned ncellpixy, unsigned ncellpixx) |
| void | sixel_cleanup (struct tinfo *ti) |
| enum sprixcell_e |
| Enumerator | |
|---|---|
| SPRIXCELL_TRANSPARENT | |
| SPRIXCELL_OPAQUE_SIXEL | |
| SPRIXCELL_OPAQUE_KITTY | |
| SPRIXCELL_MIXED_SIXEL | |
| SPRIXCELL_MIXED_KITTY | |
| SPRIXCELL_ANNIHILATED | |
| SPRIXCELL_ANNIHILATED_TRANS | |
Definition at line 114 of file sprite.h.
| enum sprixel_e |
| int fbcon_blit | ( | struct ncplane * | nc, |
| int | linesize, | ||
| const void * | data, | ||
| int | leny, | ||
| int | lenx, | ||
| const struct blitterargs * | bargs | ||
| ) |
Definition at line 44 of file linux.c.
| int fbcon_rebuild | ( | sprixel * | s, |
| int | ycell, | ||
| int | xcell, | ||
| uint8_t * | auxvec | ||
| ) |
| int fbcon_wipe | ( | sprixel * | s, |
| int | ycell, | ||
| int | xcell | ||
| ) |
| int kitty_blit | ( | struct ncplane * | nc, |
| int | linesize, | ||
| const void * | data, | ||
| int | leny, | ||
| int | lenx, | ||
| const struct blitterargs * | bargs | ||
| ) |
| int kitty_blit_animated | ( | struct ncplane * | n, |
| int | linesize, | ||
| const void * | data, | ||
| int | leny, | ||
| int | lenx, | ||
| const struct blitterargs * | bargs | ||
| ) |
| int kitty_blit_selfref | ( | struct ncplane * | nc, |
| int | linesize, | ||
| const void * | data, | ||
| int | leny, | ||
| int | lenx, | ||
| const struct blitterargs * | bargs | ||
| ) |
| int kitty_clear_all | ( | fbuf * | f | ) |
| int kitty_draw | ( | const struct tinfo * | ti, |
| const struct ncpile * | p, | ||
| sprixel * | s, | ||
| fbuf * | f, | ||
| int | yoff, | ||
| int | xoff | ||
| ) |
| int kitty_rebuild | ( | sprixel * | s, |
| int | ycell, | ||
| int | xcell, | ||
| uint8_t * | auxvec | ||
| ) |
Definition at line 219 of file kitty.c.
| int kitty_rebuild_animation | ( | sprixel * | s, |
| int | ycell, | ||
| int | xcell, | ||
| uint8_t * | auxvec | ||
| ) |
Definition at line 972 of file kitty.c.
| int kitty_rebuild_selfref | ( | sprixel * | s, |
| int | ycell, | ||
| int | xcell, | ||
| uint8_t * | auxvec | ||
| ) |
Definition at line 950 of file kitty.c.
| int kitty_remove | ( | int | id, |
| fbuf * | f | ||
| ) |
| uint8_t * kitty_trans_auxvec | ( | const struct ncpile * | p | ) |
| int kitty_wipe | ( | sprixel * | s, |
| int | ycell, | ||
| int | xcell | ||
| ) |
Definition at line 448 of file kitty.c.
| int kitty_wipe_animation | ( | sprixel * | s, |
| int | ycell, | ||
| int | xcell | ||
| ) |
| int kitty_wipe_selfref | ( | sprixel * | s, |
| int | ycell, | ||
| int | xcell | ||
| ) |
| int sixel_blit | ( | struct ncplane * | nc, |
| int | linesize, | ||
| const void * | data, | ||
| int | leny, | ||
| int | lenx, | ||
| const struct blitterargs * | bargs | ||
| ) |
| void sixel_cleanup | ( | struct tinfo * | ti | ) |
Definition at line 1764 of file sixel.c.
| int sixel_draw | ( | const struct tinfo * | ti, |
| const struct ncpile * | p, | ||
| sprixel * | s, | ||
| fbuf * | f, | ||
| int | yoff, | ||
| int | xoff | ||
| ) |
| int sixel_init | ( | struct tinfo * | ti, |
| int | fd | ||
| ) |
| int sixel_init_forcesdm | ( | struct tinfo * | ti, |
| int | fd | ||
| ) |
| int sixel_init_inverted | ( | struct tinfo * | ti, |
| int | fd | ||
| ) |
Definition at line 1592 of file sixel.c.
| int sixel_rebuild | ( | sprixel * | s, |
| int | ycell, | ||
| int | xcell, | ||
| uint8_t * | auxvec | ||
| ) |
Definition at line 1724 of file sixel.c.
| uint8_t * sixel_trans_auxvec | ( | const struct ncpile * | p | ) |
| int sixel_wipe | ( | sprixel * | s, |
| int | ycell, | ||
| int | xcell | ||
| ) |
Definition at line 655 of file sixel.c.
| int sprite_init | ( | struct tinfo * | t, |
| int | fd | ||
| ) |
| int sprixel_load | ( | sprixel * | spx, |
| fbuf * | f, | ||
| unsigned | pixy, | ||
| unsigned | pixx, | ||
| int | parse_start, | ||
| sprixel_e | state | ||
| ) |
Definition at line 154 of file sprite.c.
| int sprixel_rescale | ( | sprixel * | spx, |
| unsigned | ncellpixy, | ||
| unsigned | ncellpixx | ||
| ) |
Definition at line 225 of file sprite.c.