1baa3858d3f5d128a5c8466b700098109edcad5f2repo sync// BranchMisc.cpp 2baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 3baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#include "StdAfx.h" 4baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 5baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#include "../../../C/Bra.h" 6baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 7baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#include "BranchMisc.h" 8baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 9baa3858d3f5d128a5c8466b700098109edcad5f2repo syncUInt32 CBC_ARM_Encoder::SubFilter(Byte *data, UInt32 size) 10baa3858d3f5d128a5c8466b700098109edcad5f2repo sync { return (UInt32)::ARM_Convert(data, size, _bufferPos, 1); } 11baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 12baa3858d3f5d128a5c8466b700098109edcad5f2repo syncUInt32 CBC_ARM_Decoder::SubFilter(Byte *data, UInt32 size) 13baa3858d3f5d128a5c8466b700098109edcad5f2repo sync { return (UInt32)::ARM_Convert(data, size, _bufferPos, 0); } 14baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 15baa3858d3f5d128a5c8466b700098109edcad5f2repo syncUInt32 CBC_ARMT_Encoder::SubFilter(Byte *data, UInt32 size) 16baa3858d3f5d128a5c8466b700098109edcad5f2repo sync { return (UInt32)::ARMT_Convert(data, size, _bufferPos, 1); } 17baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 18baa3858d3f5d128a5c8466b700098109edcad5f2repo syncUInt32 CBC_ARMT_Decoder::SubFilter(Byte *data, UInt32 size) 19baa3858d3f5d128a5c8466b700098109edcad5f2repo sync { return (UInt32)::ARMT_Convert(data, size, _bufferPos, 0); } 20baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 21baa3858d3f5d128a5c8466b700098109edcad5f2repo syncUInt32 CBC_PPC_Encoder::SubFilter(Byte *data, UInt32 size) 22baa3858d3f5d128a5c8466b700098109edcad5f2repo sync { return (UInt32)::PPC_Convert(data, size, _bufferPos, 1); } 23baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 24baa3858d3f5d128a5c8466b700098109edcad5f2repo syncUInt32 CBC_PPC_Decoder::SubFilter(Byte *data, UInt32 size) 25baa3858d3f5d128a5c8466b700098109edcad5f2repo sync { return (UInt32)::PPC_Convert(data, size, _bufferPos, 0); } 26baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 27baa3858d3f5d128a5c8466b700098109edcad5f2repo syncUInt32 CBC_SPARC_Encoder::SubFilter(Byte *data, UInt32 size) 28baa3858d3f5d128a5c8466b700098109edcad5f2repo sync { return (UInt32)::SPARC_Convert(data, size, _bufferPos, 1); } 29baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 30baa3858d3f5d128a5c8466b700098109edcad5f2repo syncUInt32 CBC_SPARC_Decoder::SubFilter(Byte *data, UInt32 size) 31baa3858d3f5d128a5c8466b700098109edcad5f2repo sync { return (UInt32)::SPARC_Convert(data, size, _bufferPos, 0); } 32baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 33baa3858d3f5d128a5c8466b700098109edcad5f2repo syncUInt32 CBC_IA64_Encoder::SubFilter(Byte *data, UInt32 size) 34baa3858d3f5d128a5c8466b700098109edcad5f2repo sync { return (UInt32)::IA64_Convert(data, size, _bufferPos, 1); } 35baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 36baa3858d3f5d128a5c8466b700098109edcad5f2repo syncUInt32 CBC_IA64_Decoder::SubFilter(Byte *data, UInt32 size) 37baa3858d3f5d128a5c8466b700098109edcad5f2repo sync { return (UInt32)::IA64_Convert(data, size, _bufferPos, 0); } 38