diff options
author | Frediano Ziglio <fziglio@redhat.com> | 2018-05-13 06:45:56 +0100 |
---|---|---|
committer | Frediano Ziglio <freddy77@gmail.com> | 2023-12-16 18:48:26 +0000 |
commit | 8e838e6b387c046faa8fc791826aec366e1ad2cd (patch) | |
tree | 748f4a7e99ea9190d6ba3f0ef54c36cdf21060e0 | |
parent | 8763d6688475ccc6937780f09a6519c7989129df (diff) |
WIP try to revert some structure change, seems quite some differencequic
-rw-r--r-- | common/quic.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/common/quic.c b/common/quic.c index c4bec2f..1489261 100644 --- a/common/quic.c +++ b/common/quic.c @@ -60,17 +60,17 @@ typedef uint8_t BYTE; #define SPICE_MAX_IMAGE_SIZE (512 * 1024 * 1024 - 1) typedef struct QuicFamily { - BYTE nGRcodewords[MAXNUMCODES]; /* indexed by code number, contains number of + unsigned int nGRcodewords[MAXNUMCODES]; /* indexed by code number, contains number of unmodified GR codewords in the code */ - BYTE notGRcwlen[MAXNUMCODES]; /* indexed by code number, contains codeword + unsigned int notGRcwlen[MAXNUMCODES]; /* indexed by code number, contains codeword length of the not-GR codeword */ unsigned int notGRprefixmask[MAXNUMCODES]; /* indexed by code number, contains mask to determine if the codeword is GR or not-GR */ unsigned int notGRsuffixlen[MAXNUMCODES]; /* indexed by code number, contains suffix length of the not-GR codeword */ - BYTE golomb_code_len[256][MAXNUMCODES]; - BYTE golomb_code[256][MAXNUMCODES]; + unsigned int golomb_code_len[256][MAXNUMCODES]; + unsigned int golomb_code[256][MAXNUMCODES]; /* array for translating distribution U to L for depths up to 8 bpp, initialized by decorrelate_init() */ @@ -78,7 +78,7 @@ typedef struct QuicFamily { /* array for translating distribution L to U for depths up to 8 bpp, initialized by correlate_init() */ - BYTE xlatL2U[256]; + unsigned int xlatL2U[256]; } QuicFamily; #include "quic_family.h" |