Ver código fonte

encperf: add compression level to encoding list

Explicitly add the compression level to the list of encodings so it's obvious
how to override it.
tags/v1.4.90
DRC 9 anos atrás
pai
commit
562eb71741
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2
    1
      tests/encperf.cxx

+ 2
- 1
tests/encperf.cxx Ver arquivo

@@ -60,7 +60,8 @@ static const rfb::PixelFormat fbPF(32, 24, false, true, 255, 255, 255, 0, 8, 16)
static const rdr::S32 encodings[] = {
rfb::encodingTight, rfb::encodingCopyRect, rfb::encodingRRE,
rfb::encodingHextile, rfb::encodingZRLE, rfb::pseudoEncodingLastRect,
rfb::pseudoEncodingQualityLevel0 + 8 };
rfb::pseudoEncodingQualityLevel0 + 8,
rfb::pseudoEncodingCompressLevel0 + 2};

class DummyOutStream : public rdr::OutStream {
public:

Carregando…
Cancelar
Salvar