1370b324cSopenharmony_ci// Bcj2Register.cpp 2370b324cSopenharmony_ci 3370b324cSopenharmony_ci#include "StdAfx.h" 4370b324cSopenharmony_ci 5370b324cSopenharmony_ci#include "../Common/RegisterCodec.h" 6370b324cSopenharmony_ci 7370b324cSopenharmony_ci#include "Bcj2Coder.h" 8370b324cSopenharmony_ci 9370b324cSopenharmony_cinamespace NCompress { 10370b324cSopenharmony_cinamespace NBcj2 { 11370b324cSopenharmony_ci 12370b324cSopenharmony_ciREGISTER_CODEC_CREATE_2(CreateCodec, CDecoder(), ICompressCoder2) 13370b324cSopenharmony_ci#ifndef Z7_EXTRACT_ONLY 14370b324cSopenharmony_ciREGISTER_CODEC_CREATE_2(CreateCodecOut, CEncoder(), ICompressCoder2) 15370b324cSopenharmony_ci#else 16370b324cSopenharmony_ci#define CreateCodecOut NULL 17370b324cSopenharmony_ci#endif 18370b324cSopenharmony_ci 19370b324cSopenharmony_ciREGISTER_CODEC_VAR(BCJ2) 20370b324cSopenharmony_ci { CreateCodec, CreateCodecOut, 0x303011B, "BCJ2", 4, false }; 21370b324cSopenharmony_ci 22370b324cSopenharmony_ciREGISTER_CODEC(BCJ2) 23370b324cSopenharmony_ci 24370b324cSopenharmony_ci}} 25