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

SPARC.cpp « Branch « Compress « 7zip - github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d054eaaf61f1f602eee07131acb476483e1a4f78 (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);
}