Home
last modified time | relevance | path

Searched refs:scanline (Results 1 – 2 of 2) sorted by relevance

/lvgl-3.6.0/src/extra/libs/tiny_ttf/
Dstb_truetype_htcw.h3150 static void stbtt__fill_active_edges(unsigned char * scanline, int len, stbtt__active_edge * e, int… argument
3172scanline[i] = scanline[i] + (stbtt_uint8)((x1 - x0) * max_weight >> STBTT_FIXSHIFT);
3176scanline[i] = scanline[i] + (stbtt_uint8)(((STBTT_FIX - (x0 & STBTT_FIXMASK)) * max_weight) >> STB…
3181scanline[j] = scanline[j] + (stbtt_uint8)(((x1 & STBTT_FIXMASK) * max_weight) >> STBTT_FIXSHIFT);
3186 scanline[i] = scanline[i] + (stbtt_uint8)max_weight;
3204 unsigned char scanline_data[512], * scanline; local
3207 scanline = (unsigned char *)STBTT_malloc(result->w, userdata);
3209 scanline = scanline_data;
3215 STBTT_memset(scanline, 0, result->w);
3285 stbtt__fill_active_edges(scanline, result->w, active, max_weight);
[all …]
/lvgl-3.6.0/src/extra/libs/png/
Dlodepng.c4104 static unsigned unfilterScanline(unsigned char* recon, const unsigned char* scanline, const unsigne… in unfilterScanline() argument
4118 for(i = 0; i != length; ++i) recon[i] = scanline[i]; in unfilterScanline()
4121 for(i = 0; i != bytewidth; ++i) recon[i] = scanline[i]; in unfilterScanline()
4122 for(i = bytewidth; i < length; ++i) recon[i] = scanline[i] + recon[i - bytewidth]; in unfilterScanline()
4126 for(i = 0; i != length; ++i) recon[i] = scanline[i] + precon[i]; in unfilterScanline()
4128 for(i = 0; i != length; ++i) recon[i] = scanline[i]; in unfilterScanline()
4133 for(i = 0; i != bytewidth; ++i) recon[i] = scanline[i] + (precon[i] >> 1u); in unfilterScanline()
4134 …for(i = bytewidth; i < length; ++i) recon[i] = scanline[i] + ((recon[i - bytewidth] + precon[i]) >… in unfilterScanline()
4136 for(i = 0; i != bytewidth; ++i) recon[i] = scanline[i]; in unfilterScanline()
4137 for(i = bytewidth; i < length; ++i) recon[i] = scanline[i] + (recon[i - bytewidth] >> 1u); in unfilterScanline()
[all …]