misc/libphysfs/lzma/CPP/7zip/Compress/Branch/ARMThumb.cpp
author sheepluva
Wed, 16 May 2018 18:22:28 +0200
branchui-scaling
changeset 13390 0135e64c6c66
parent 12213 bb5522e88ab2
permissions -rw-r--r--
adjust label, update ChangeLog

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