From e277df390ba47f67237a39ef4571259e86697be3 Mon Sep 17 00:00:00 2001 From: nick black Date: Thu, 4 Mar 2021 15:19:01 -0500 Subject: [PATCH] sixel: remove obsolete comments --- src/lib/sixel.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/lib/sixel.c b/src/lib/sixel.c index 214b7d016..e0079f933 100644 --- a/src/lib/sixel.c +++ b/src/lib/sixel.c @@ -39,7 +39,6 @@ dtable_to_ctable(int dtable, unsigned char* ctable){ // returns the index at which the provided color can be found *in the // dtable*, possibly inserting it into the ctable. returns -1 if the // color is not in the table and the table is full. -// FIXME switch to binary search, duh // FIXME replace all these 3s and 5s static int find_color(colortable* ctab, unsigned char comps[static 3]){ @@ -86,12 +85,7 @@ find_color(colortable* ctab, unsigned char comps[static 3]){ } // rather inelegant preprocess of the entire image. colors are converted to the -// 100x100x100 sixel colorspace, and built into a table. if there are more than -// MAXCOLORS converted colors, we (currently) reject it FIXME. ideally we'd do -// the image piecemeal, allowing us to get complete color fidelity; barring -// that, we'd have something sensibly quantize us down first FIXME. we ought do -// everything in a single pass FIXME. -// what do we do if every pixel is transparent (0 colors)? FIXME +// 100x100x100 sixel colorspace, and built into a table. static int extract_ctable_inner(const uint32_t* data, int linesize, int begy, int begx, int leny, int lenx, sixeltable* stab, unsigned char mask){