ZenLib
Public Member Functions | Friends | List of all members
ZenLib::BitStream_Fast_Template< Kind > Class Template Reference

#include <BitStream_Fast.h>

Inheritance diagram for ZenLib::BitStream_Fast_Template< Kind >:
ZenLib::BitStream_Fast_EmulationPrevention_State< Kind >

Public Member Functions

 BitStream_Fast_Template ()
 
 BitStream_Fast_Template (const int8u *Buffer_, size_t Size_, size_t ExtraBytesAvailable_=0)
 
 ~BitStream_Fast_Template ()
 
ZENLIB_BSF_INLINE void Attach (const int8u *Buffer_, size_t Size_, size_t ExtraBytesAvailable_=0)
 
ZENLIB_BSF_INLINE void Attach_EmulationPrevention (const int8u *Buffer_, size_t Size_, size_t ExtraBytesAvailable_=0, int8u ZerosBefore_=0)
 
bool EmulationPrevention_Get () const
 
ZENLIB_BSF_INLINE bool GetB ()
 
ZENLIB_BSF_INLINE int8u Get1 (int8u HowMany)
 
ZENLIB_BSF_INLINE int16u Get2 (int8u HowMany)
 
ZENLIB_BSF_INLINE int32u Get4 (int8u HowMany)
 
ZENLIB_BSF_INLINE int64u Get8 (int8u HowMany)
 
ZENLIB_BSF_INLINE int32u Get4_Unchecked (int8u HowMany)
 
ZENLIB_BSF_INLINE int64u Get8_Unchecked (int8u HowMany)
 
ZENLIB_BSF_INLINE int32u GetUE ()
 
ZENLIB_BSF_INLINE int32s GetSE ()
 
bool BufferUnderRun () const
 
ZENLIB_BSF_INLINE void Skip (size_t HowMany)
 
ZENLIB_BSF_INLINE bool PeekB ()
 
ZENLIB_BSF_INLINE int8u Peek1 (int8u HowMany)
 
ZENLIB_BSF_INLINE int16u Peek2 (int8u HowMany)
 
ZENLIB_BSF_INLINE int32u Peek4 (int8u HowMany)
 
int64u Peek8 (int8u HowMany)
 
size_t Remain () const
 
void Sync ()
 
size_t Remain_Exact ()
 
void Byte_Align ()
 
size_t Offset_Get () const
 
size_t BitOffset_Get () const
 
size_t OffsetBeforeLastCall_Get () const
 
void Resize (size_t Size_)
 
void Refresh ()
 

Friends

struct BitStream_Fast_EmulationPrevention_Calls< Kind >
 

Constructor & Destructor Documentation

◆ BitStream_Fast_Template() [1/2]

template<bitstream_fast_emulationprevention Kind>
ZenLib::BitStream_Fast_Template< Kind >::BitStream_Fast_Template ( )
inline

◆ BitStream_Fast_Template() [2/2]

template<bitstream_fast_emulationprevention Kind>
ZenLib::BitStream_Fast_Template< Kind >::BitStream_Fast_Template ( const int8u *  Buffer_,
size_t  Size_,
size_t  ExtraBytesAvailable_ = 0 
)
inline

◆ ~BitStream_Fast_Template()

template<bitstream_fast_emulationprevention Kind>
ZenLib::BitStream_Fast_Template< Kind >::~BitStream_Fast_Template ( )
inline

Member Function Documentation

◆ Attach()

template<bitstream_fast_emulationprevention Kind>
ZENLIB_BSF_INLINE void ZenLib::BitStream_Fast_Template< Kind >::Attach ( const int8u *  Buffer_,
size_t  Size_,
size_t  ExtraBytesAvailable_ = 0 
)
inline

◆ Attach_EmulationPrevention()

template<bitstream_fast_emulationprevention Kind>
ZENLIB_BSF_INLINE void ZenLib::BitStream_Fast_Template< Kind >::Attach_EmulationPrevention ( const int8u *  Buffer_,
size_t  Size_,
size_t  ExtraBytesAvailable_ = 0,
int8u  ZerosBefore_ = 0 
)
inline

◆ BitOffset_Get()

template<bitstream_fast_emulationprevention Kind>
size_t ZenLib::BitStream_Fast_Template< Kind >::BitOffset_Get ( ) const
inline

◆ BufferUnderRun()

template<bitstream_fast_emulationprevention Kind>
bool ZenLib::BitStream_Fast_Template< Kind >::BufferUnderRun ( ) const
inline

◆ Byte_Align()

template<bitstream_fast_emulationprevention Kind>
void ZenLib::BitStream_Fast_Template< Kind >::Byte_Align ( )
inline

◆ EmulationPrevention_Get()

template<bitstream_fast_emulationprevention Kind>
bool ZenLib::BitStream_Fast_Template< Kind >::EmulationPrevention_Get ( ) const
inline

◆ Get1()

template<bitstream_fast_emulationprevention Kind>
ZENLIB_BSF_INLINE int8u ZenLib::BitStream_Fast_Template< Kind >::Get1 ( int8u  HowMany)
inline

◆ Get2()

template<bitstream_fast_emulationprevention Kind>
ZENLIB_BSF_INLINE int16u ZenLib::BitStream_Fast_Template< Kind >::Get2 ( int8u  HowMany)
inline

◆ Get4()

template<bitstream_fast_emulationprevention Kind>
ZENLIB_BSF_INLINE int32u ZenLib::BitStream_Fast_Template< Kind >::Get4 ( int8u  HowMany)
inline

◆ Get4_Unchecked()

template<bitstream_fast_emulationprevention Kind>
ZENLIB_BSF_INLINE int32u ZenLib::BitStream_Fast_Template< Kind >::Get4_Unchecked ( int8u  HowMany)
inline

◆ Get8()

template<bitstream_fast_emulationprevention Kind>
ZENLIB_BSF_INLINE int64u ZenLib::BitStream_Fast_Template< Kind >::Get8 ( int8u  HowMany)
inline

◆ Get8_Unchecked()

template<bitstream_fast_emulationprevention Kind>
ZENLIB_BSF_INLINE int64u ZenLib::BitStream_Fast_Template< Kind >::Get8_Unchecked ( int8u  HowMany)
inline

◆ GetB()

template<bitstream_fast_emulationprevention Kind>
ZENLIB_BSF_INLINE bool ZenLib::BitStream_Fast_Template< Kind >::GetB ( )
inline

◆ GetSE()

template<bitstream_fast_emulationprevention Kind>
ZENLIB_BSF_INLINE int32s ZenLib::BitStream_Fast_Template< Kind >::GetSE ( )
inline

◆ GetUE()

template<bitstream_fast_emulationprevention Kind>
ZENLIB_BSF_INLINE int32u ZenLib::BitStream_Fast_Template< Kind >::GetUE ( )
inline

◆ Offset_Get()

template<bitstream_fast_emulationprevention Kind>
size_t ZenLib::BitStream_Fast_Template< Kind >::Offset_Get ( ) const
inline

◆ OffsetBeforeLastCall_Get()

template<bitstream_fast_emulationprevention Kind>
size_t ZenLib::BitStream_Fast_Template< Kind >::OffsetBeforeLastCall_Get ( ) const
inline

◆ Peek1()

template<bitstream_fast_emulationprevention Kind>
ZENLIB_BSF_INLINE int8u ZenLib::BitStream_Fast_Template< Kind >::Peek1 ( int8u  HowMany)
inline

◆ Peek2()

template<bitstream_fast_emulationprevention Kind>
ZENLIB_BSF_INLINE int16u ZenLib::BitStream_Fast_Template< Kind >::Peek2 ( int8u  HowMany)
inline

◆ Peek4()

template<bitstream_fast_emulationprevention Kind>
ZENLIB_BSF_INLINE int32u ZenLib::BitStream_Fast_Template< Kind >::Peek4 ( int8u  HowMany)
inline

◆ Peek8()

template<bitstream_fast_emulationprevention Kind>
int64u ZenLib::BitStream_Fast_Template< Kind >::Peek8 ( int8u  HowMany)
inline

◆ PeekB()

template<bitstream_fast_emulationprevention Kind>
ZENLIB_BSF_INLINE bool ZenLib::BitStream_Fast_Template< Kind >::PeekB ( )
inline

◆ Refresh()

template<bitstream_fast_emulationprevention Kind>
void ZenLib::BitStream_Fast_Template< Kind >::Refresh ( )
inline

◆ Remain()

template<bitstream_fast_emulationprevention Kind>
size_t ZenLib::BitStream_Fast_Template< Kind >::Remain ( ) const
inline

◆ Remain_Exact()

template<bitstream_fast_emulationprevention Kind>
size_t ZenLib::BitStream_Fast_Template< Kind >::Remain_Exact ( )
inline

◆ Resize()

template<bitstream_fast_emulationprevention Kind>
void ZenLib::BitStream_Fast_Template< Kind >::Resize ( size_t  Size_)
inline

◆ Skip()

template<bitstream_fast_emulationprevention Kind>
ZENLIB_BSF_INLINE void ZenLib::BitStream_Fast_Template< Kind >::Skip ( size_t  HowMany)
inline

◆ Sync()

template<bitstream_fast_emulationprevention Kind>
void ZenLib::BitStream_Fast_Template< Kind >::Sync ( )
inline

Friends And Related Function Documentation

◆ BitStream_Fast_EmulationPrevention_Calls< Kind >

template<bitstream_fast_emulationprevention Kind>
friend struct BitStream_Fast_EmulationPrevention_Calls< Kind >
friend

The documentation for this class was generated from the following file: