typedef unsigned char U8;
typedef unsigned short U16;
typedef unsigned int U32;
+ typedef unsigned long long U64;
typedef signed char S8;
typedef signed short S16;
typedef signed int S32;
vlog.info(" %s rects %d, bytes %d",
encodingName(i), rectsSent[i], bytesSent[i]);
}
- vlog.info(" raw bytes equivalent %d, compression ratio %f",
+ vlog.info(" raw bytes equivalent %llu, compression ratio %f",
rawBytesEquivalent, (double)rawBytesEquivalent / bytes);
delete [] imageBuf;
}
int getUpdatesSent() { return updatesSent; }
int getRectsSent(int encoding) { return rectsSent[encoding]; }
int getBytesSent(int encoding) { return bytesSent[encoding]; }
- int getRawBytesEquivalent() { return rawBytesEquivalent; }
+ rdr::U64 getRawBytesEquivalent() { return rawBytesEquivalent; }
int imageBufIdealSize;
int updatesSent;
int bytesSent[encodingMax+1];
int rectsSent[encodingMax+1];
- int rawBytesEquivalent;
+ rdr::U64 rawBytesEquivalent;
rdr::U8* imageBuf;
int imageBufSize;