1 // BcjRegister.cpp 2 3 #include "StdAfx.h" 4 5 #include "../Common/RegisterCodec.h" 6 7 #include "BcjCoder.h" 8 CreateCodec()9static void *CreateCodec() { return (void *)(ICompressFilter *)(new CBCJ_x86_Decoder()); } 10 #ifndef EXTRACT_ONLY CreateCodecOut()11static void *CreateCodecOut() { return (void *)(ICompressFilter *)(new CBCJ_x86_Encoder()); } 12 #else 13 #define CreateCodecOut 0 14 #endif 15 16 static CCodecInfo g_CodecInfo = 17 { CreateCodec, CreateCodecOut, 0x03030103, L"BCJ", 1, true }; 18 19 REGISTER_CODEC(BCJ) 20