diff options
author | Pierre Ossman <ossman@cendio.se> | 2022-09-10 13:19:41 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2023-02-01 21:17:12 +0100 |
commit | 6881c895ab317bd302addac5f228b7367136017f (patch) | |
tree | 18d1119f59209147d97e873c3dbc9be36e429aaf /common/rfb/TightDecoder.h | |
parent | baca73d03217a1c219d9c4f024ffcd39f85fd322 (diff) | |
download | tigervnc-6881c895ab317bd302addac5f228b7367136017f.tar.gz tigervnc-6881c895ab317bd302addac5f228b7367136017f.zip |
Use stdint types
Avoid having our own custom stuff and instead use the modern, standard
types, for familiarity.
Diffstat (limited to 'common/rfb/TightDecoder.h')
-rw-r--r-- | common/rfb/TightDecoder.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/common/rfb/TightDecoder.h b/common/rfb/TightDecoder.h index 47d65d6f..03b61daf 100644 --- a/common/rfb/TightDecoder.h +++ b/common/rfb/TightDecoder.h @@ -45,18 +45,18 @@ namespace rfb { ModifiablePixelBuffer* pb); private: - rdr::U32 readCompact(rdr::InStream* is); + uint32_t readCompact(rdr::InStream* is); - void FilterGradient24(const rdr::U8* inbuf, const PixelFormat& pf, - rdr::U32* outbuf, int stride, const Rect& r); + void FilterGradient24(const uint8_t* inbuf, const PixelFormat& pf, + uint32_t* outbuf, int stride, const Rect& r); template<class T> - void FilterGradient(const rdr::U8* inbuf, const PixelFormat& pf, + void FilterGradient(const uint8_t* inbuf, const PixelFormat& pf, T* outbuf, int stride, const Rect& r); template<class T> void FilterPalette(const T* palette, int palSize, - const rdr::U8* inbuf, T* outbuf, + const uint8_t* inbuf, T* outbuf, int stride, const Rect& r); private: |