misc/libphysfs/lzma/CPP/7zip/Compress/Branch/BCJRegister.cpp
changeset 12213 bb5522e88ab2
equal deleted inserted replaced
12212:ea891871f481 12213:bb5522e88ab2
       
     1 // BranchRegister.cpp
       
     2 
       
     3 #include "StdAfx.h"
       
     4 
       
     5 #include "../../Common/RegisterCodec.h"
       
     6 
       
     7 #include "x86.h"
       
     8 static void *CreateCodec() { return (void *)(ICompressFilter *)(new CBCJ_x86_Decoder()); }
       
     9 #ifndef EXTRACT_ONLY
       
    10 static void *CreateCodecOut() { return (void *)(ICompressFilter *)(new CBCJ_x86_Encoder());  }
       
    11 #else
       
    12 #define CreateCodecOut 0
       
    13 #endif
       
    14 
       
    15 static CCodecInfo g_CodecInfo =
       
    16   { CreateCodec, CreateCodecOut, 0x03030103, L"BCJ", 1, true };
       
    17 
       
    18 REGISTER_CODEC(BCJ)