From bee51e139fff45c788b9eb1e161b297d5ee7895b Mon Sep 17 00:00:00 2001 From: Stefan Saraev Date: Mon, 27 Mar 2017 22:12:40 +0300 Subject: [cleanup] remove UnrarXLib --- lib/UnrarXLib/coder.hpp | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 lib/UnrarXLib/coder.hpp (limited to 'lib/UnrarXLib/coder.hpp') diff --git a/lib/UnrarXLib/coder.hpp b/lib/UnrarXLib/coder.hpp deleted file mode 100644 index f09f911c09..0000000000 --- a/lib/UnrarXLib/coder.hpp +++ /dev/null @@ -1,24 +0,0 @@ -/**************************************************************************** - * Contents: 'Carryless rangecoder' by Dmitry Subbotin * - ****************************************************************************/ - -const uint TOP=1 << 24, BOT=1 << 15; - -class RangeCoder -{ - public: - void InitDecoder(Unpack *UnpackRead); - inline int GetCurrentCount(); - inline uint GetCurrentShiftCount(uint SHIFT); - inline void Decode(); - inline void PutChar(unsigned int c); - inline unsigned int GetChar(); - - uint low, code, range; - struct SUBRANGE - { - uint LowCount, HighCount, scale; - } SubRange; - - Unpack *UnpackRead; -}; -- cgit v1.2.3