1 // Bcj2Register.cpp
2
3 #include "StdAfx.h"
4
5 #include "../Common/RegisterCodec.h"
6
7 #include "Bcj2Coder.h"
8
9 namespace NCompress {
10 namespace NBcj2 {
11
REGISTER_CODEC_CREATE_2(CreateCodec,CDecoder (),ICompressCoder2)12 REGISTER_CODEC_CREATE_2(CreateCodec, CDecoder(), ICompressCoder2)
13 #ifndef EXTRACT_ONLY
14 REGISTER_CODEC_CREATE_2(CreateCodecOut, CEncoder(), ICompressCoder2)
15 #else
16 #define CreateCodecOut NULL
17 #endif
18
19 REGISTER_CODEC_VAR
20 { CreateCodec, CreateCodecOut, 0x303011B, "BCJ2", 4, false };
21
22 REGISTER_CODEC(BCJ2)
23
24 }}
25