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

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

#include "StdAfx.h"

#include "ARMThumb.h"

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

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

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