summaryrefslogtreecommitdiff
path: root/release/src/linux/linux/scripts/squashfs/lzma/C/7zip/Compress/Branch/SPARC.cpp
blob: 552551db603f7b0111821f68e3df90e67adfe6f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// SPARC.cpp

#include "StdAfx.h"
#include "SPARC.h"

#include "Windows/Defs.h"
#include "BranchSPARC.c"

UInt32 CBC_SPARC_Encoder::SubFilter(Byte *data, UInt32 size)
{
  return ::SPARC_Convert(data, size, _bufferPos, 1);
}

UInt32 CBC_SPARC_Decoder::SubFilter(Byte *data, UInt32 size)
{
  return ::SPARC_Convert(data, size, _bufferPos, 0);
}