Welcome to mirror list, hosted at ThFree Co, Russian Federation.

SPARC.cpp « Branch « Compress « 7zip « CPP - github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5678eb317d8ac2c41ee0c63694bc4b2cdace926d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// SPARC.cpp

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

extern "C" 
{ 
#include "../../../../C/Compress/Branch/BranchSPARC.h"
}

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);
}