HomeSort by relevance Sort by last modified time
    Searched refs:paletteNumColors (Results 1 - 2 of 2) sorted by null

  /external/libvncserver/libvncserver/
tight.c 138 static TLS int paletteNumColors = 0;
718 if(paletteNumColors != 0 || qualityLevel == -1) {
742 switch (paletteNumColors) {
924 paletteNumColors * cl->format.bitsPerPixel / 8 >
938 cl->updateBuf[cl->ublen++] = (char)(paletteNumColors - 1);
946 for (i = 0; i < paletteNumColors; i++) {
951 Pack24(cl, tightAfterBuf, &cl->format, paletteNumColors);
957 paletteNumColors * entryLen);
958 cl->ublen += paletteNumColors * entryLen;
960 3 + paletteNumColors * entryLen)
    [all...]
  /external/libvncserver/x11vnc/misc/turbovnc/
tight.c 100 static int paletteNumColors, paletteMaxColors;
595 if(paletteNumColors != 0 || qualityLevel == -1) {
618 switch (paletteNumColors) {
777 paletteNumColors * cl->format.bitsPerPixel / 8) > UPDATE_BUF_SIZE ) {
788 updateBuf[ublen++] = (char)(paletteNumColors - 1);
796 for (i = 0; i < paletteNumColors; i++) {
801 Pack24(tightAfterBuf, &cl->format, paletteNumColors);
806 memcpy(&updateBuf[ublen], tightAfterBuf, paletteNumColors * entryLen);
807 ublen += paletteNumColors * entryLen;
808 cl->rfbBytesSent[rfbEncodingTight] += 3 + paletteNumColors * entryLen
    [all...]

Completed in 34 milliseconds