misc/libphysfs/lzma/CPP/7zip/Compress/Branch/BCJRegister.cpp
changeset 13904 99b265e0d1d0
parent 13903 5f819b90d479
child 13905 b172a5d40eee
equal deleted inserted replaced
13903:5f819b90d479 13904:99b265e0d1d0
     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)