changeset 12213 | bb5522e88ab2 |
12212:ea891871f481 | 12213:bb5522e88ab2 |
---|---|
1 // SPARC.cpp |
|
2 |
|
3 #include "StdAfx.h" |
|
4 #include "SPARC.h" |
|
5 |
|
6 extern "C" |
|
7 { |
|
8 #include "../../../../C/Compress/Branch/BranchSPARC.h" |
|
9 } |
|
10 |
|
11 UInt32 CBC_SPARC_Encoder::SubFilter(Byte *data, UInt32 size) |
|
12 { |
|
13 return ::SPARC_Convert(data, size, _bufferPos, 1); |
|
14 } |
|
15 |
|
16 UInt32 CBC_SPARC_Decoder::SubFilter(Byte *data, UInt32 size) |
|
17 { |
|
18 return ::SPARC_Convert(data, size, _bufferPos, 0); |
|
19 } |