summaryrefslogtreecommitdiffstats
path: root/src/libs/7zip/win/CPP/7zip/Compress/BranchMisc.cpp
blob: 239f251385d8b800c9b57e918872f55b0c39a810 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// BranchMisc.cpp

#include "StdAfx.h"

#include "../../../C/Bra.h"

#include "BranchMisc.h"

#define SUB_FILTER_IMP2(name, coderStr, coderNum) \
  UInt32 CBC_ ## name ## coderStr::SubFilter(Byte *data, UInt32 size) \
  { return (UInt32)::name ## Convert(data, size, _bufferPos, coderNum); }

#define SUB_FILTER_IMP(name) \
  SUB_FILTER_IMP2(name, Encoder, 1) \
  SUB_FILTER_IMP2(name, Decoder, 0) \

SUB_FILTER_IMP(ARM_)
SUB_FILTER_IMP(ARMT_)
SUB_FILTER_IMP(PPC_)
SUB_FILTER_IMP(SPARC_)
SUB_FILTER_IMP(IA64_)