Changeset 56 in 3DVCSoftware for trunk/source/Lib/TLibDecoder/TDecBinCoder.h
- Timestamp:
- 11 May 2012, 21:20:17 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibDecoder/TDecBinCoder.h
r5 r56 2 2 * License, included below. This software may be subject to other third party 3 3 * and contributor rights, including patent rights, and no such rights are 4 * granted under this license. 4 * granted under this license. 5 5 * 6 * Copyright (c) 2010-201 1,ISO/IEC6 * Copyright (c) 2010-2012, ITU/ISO/IEC 7 7 * All rights reserved. 8 8 * … … 15 15 * this list of conditions and the following disclaimer in the documentation 16 16 * and/or other materials provided with the distribution. 17 * * Neither the name of the I SO/IEC nor the names of its contributors may17 * * Neither the name of the ITU/ISO/IEC nor the names of its contributors may 18 18 * be used to endorse or promote products derived from this software without 19 19 * specific prior written permission. … … 32 32 */ 33 33 34 35 36 34 /** \file TDecBinCoder.h 37 35 \brief binary entropy decoder interface … … 41 39 #define __TDEC_BIN_CODER__ 42 40 43 #include " ../TLibCommon/ContextModel.h"44 #include " ../TLibCommon/TComBitStream.h"41 #include "TLibCommon/ContextModel.h" 42 #include "TLibCommon/TComBitStream.h" 45 43 44 //! \ingroup TLibDecoder 45 //! \{ 46 class TDecBinCABAC; 46 47 47 48 class TDecBinIf 48 49 { 49 50 public: 50 virtual Void init ( TCom Bitstream* pcTComBitstream )= 0;51 virtual Void init ( TComInputBitstream* pcTComBitstream ) = 0; 51 52 virtual Void uninit () = 0; 52 53 53 54 virtual Void start () = 0; 54 55 virtual Void finish () = 0; 56 #if OL_FLUSH 57 virtual Void flush () = 0; 58 #endif 55 59 56 60 virtual Void decodeBin ( UInt& ruiBin, ContextModel& rcCtxModel ) = 0; 57 61 virtual Void decodeBinEP ( UInt& ruiBin ) = 0; 62 virtual Void decodeBinsEP ( UInt& ruiBins, Int numBins ) = 0; 58 63 virtual Void decodeBinTrm ( UInt& ruiBin ) = 0; 59 64 65 virtual Void resetBac () = 0; 66 #if BURST_IPCM 67 virtual Void decodeNumSubseqIPCM( Int& numSubseqIPCM ) = 0; 68 #endif 69 virtual Void decodePCMAlignBits() = 0; 70 virtual Void xReadPCMCode ( UInt uiLength, UInt& ruiCode) = 0; 71 60 72 virtual ~TDecBinIf() {} 73 74 virtual Void copyState ( TDecBinIf* pcTDecBinIf ) = 0; 75 virtual TDecBinCABAC* getTDecBinCABAC () { return 0; } 76 #if !OL_FLUSH_ALIGN 77 virtual Int getBitsReadAhead() { return 0; } 78 #endif 61 79 }; 62 80 81 //! \} 82 63 83 #endif 64
Note: See TracChangeset for help on using the changeset viewer.