"Fossies" - the Fresh Open Source Software Archive

Member "UXP-2019.06.08/other-licenses/7zstub/src/CPP/7zip/Compress/BcjCoder.h" (8 Jun 2019, 533 Bytes) of package /linux/www/UXP-2019.06.08.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 // BcjCoder.h
    2 
    3 #ifndef __COMPRESS_BCJ_CODER_H
    4 #define __COMPRESS_BCJ_CODER_H
    5 
    6 #include "../../../C/Bra.h"
    7 
    8 #include "../../Common/MyCom.h"
    9 
   10 #include "../ICoder.h"
   11 
   12 namespace NCompress {
   13 namespace NBcj {
   14 
   15 class CCoder:
   16   public ICompressFilter,
   17   public CMyUnknownImp
   18 {
   19   UInt32 _bufferPos;
   20   UInt32 _prevMask;
   21   int _encode;
   22 public:
   23   MY_UNKNOWN_IMP1(ICompressFilter);
   24   INTERFACE_ICompressFilter(;)
   25 
   26   CCoder(int encode): _bufferPos(0), _encode(encode) { x86_Convert_Init(_prevMask); }
   27 };
   28 
   29 }}
   30 
   31 #endif