michael@0: // BranchCoder.cpp michael@0: michael@0: #include "StdAfx.h" michael@0: #include "BranchCoder.h" michael@0: michael@0: STDMETHODIMP CBranchConverter::Init() michael@0: { michael@0: _bufferPos = 0; michael@0: SubInit(); michael@0: return S_OK; michael@0: } michael@0: michael@0: STDMETHODIMP_(UInt32) CBranchConverter::Filter(Byte *data, UInt32 size) michael@0: { michael@0: UInt32 processedSize = SubFilter(data, size); michael@0: _bufferPos += processedSize; michael@0: return processedSize; michael@0: }