Home
last modified time | relevance | path

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

/external/libvncserver/libvncserver/
Dtight.c138 static TLS int paletteNumColors = 0; variable
718 if(paletteNumColors != 0 || qualityLevel == -1) { in SendSubrect()
742 switch (paletteNumColors) { in SendSubrect()
924 paletteNumColors * cl->format.bitsPerPixel / 8 > in SendIndexedRect()
938 cl->updateBuf[cl->ublen++] = (char)(paletteNumColors - 1); in SendIndexedRect()
946 for (i = 0; i < paletteNumColors; i++) { in SendIndexedRect()
951 Pack24(cl, tightAfterBuf, &cl->format, paletteNumColors); in SendIndexedRect()
957 paletteNumColors * entryLen); in SendIndexedRect()
958 cl->ublen += paletteNumColors * entryLen; in SendIndexedRect()
960 3 + paletteNumColors * entryLen); in SendIndexedRect()
[all …]