• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // BranchMisc.cpp
2 
3 #include "StdAfx.h"
4 
5 #include "../../../C/Bra.h"
6 
7 #include "BranchMisc.h"
8 
9 #define SUB_FILTER_IMP2(name, coderStr, coderNum) \
10   UInt32 CBC_ ## name ## coderStr::SubFilter(Byte *data, UInt32 size) \
11   { return (UInt32)::name ## Convert(data, size, _bufferPos, coderNum); }
12 
13 #define SUB_FILTER_IMP(name) \
14   SUB_FILTER_IMP2(name, Encoder, 1) \
15   SUB_FILTER_IMP2(name, Decoder, 0) \
16 
17 SUB_FILTER_IMP(ARM_)
18 SUB_FILTER_IMP(ARMT_)
19 SUB_FILTER_IMP(PPC_)
20 SUB_FILTER_IMP(SPARC_)
21 SUB_FILTER_IMP(IA64_)
22