Home | History | Annotate | Download | only in Compress
      1 // Bcj2Register.cpp
      2 
      3 #include "StdAfx.h"
      4 
      5 #include "../Common/RegisterCodec.h"
      6 
      7 #include "Bcj2Coder.h"
      8 
      9 static void *CreateCodec() { return (void *)(ICompressCoder2 *)(new NCompress::NBcj2::CDecoder()); }
     10 #ifndef EXTRACT_ONLY
     11 static void *CreateCodecOut() { return (void *)(ICompressCoder2 *)(new NCompress::NBcj2::CEncoder());  }
     12 #else
     13 #define CreateCodecOut 0
     14 #endif
     15 
     16 static CCodecInfo g_CodecInfo =
     17   { CreateCodec, CreateCodecOut, 0x0303011B, L"BCJ2", 4, false };
     18 
     19 REGISTER_CODEC(BCJ2)
     20