• Home
  • Raw
  • Download

Lines Matching refs:BCJ2_NUM_STREAMS

16   for (int i = 0; i < BCJ2_NUM_STREAMS + 1; i++)  in CBaseCoder()
26 for (int i = 0; i < BCJ2_NUM_STREAMS + 1; i++) in ~CBaseCoder()
32 unsigned num = allocForOrig ? BCJ2_NUM_STREAMS + 1 : BCJ2_NUM_STREAMS; in Alloc()
64 STDMETHODIMP CEncoder::SetInBufSize(UInt32, UInt32 size) { _bufsNewSizes[BCJ2_NUM_STREAMS] = size; … in SetInBufSize()
120 if (numInStreams != 1 || numOutStreams != BCJ2_NUM_STREAMS) in CodeReal()
138 enc.src = _bufs[BCJ2_NUM_STREAMS]; in CodeReal()
142 for (int i = 0; i < BCJ2_NUM_STREAMS; i++) in CodeReal()
197 enc.srcLim = _bufs[BCJ2_NUM_STREAMS] + numBytes_in_ReadBuf; in CodeReal()
237 …currentInPos = totalStreamRead - numBytes_in_ReadBuf + (enc.src - _bufs[BCJ2_NUM_STREAMS]) - enc.t… in CodeReal()
242 if (enc.state < BCJ2_NUM_STREAMS) in CodeReal()
259 if (numBytes_in_ReadBuf != (size_t)(enc.src - _bufs[BCJ2_NUM_STREAMS])) in CodeReal()
261 enc.srcLim = _bufs[BCJ2_NUM_STREAMS] + numBytes_in_ReadBuf; in CodeReal()
269 enc.src = _bufs[BCJ2_NUM_STREAMS]; in CodeReal()
270 enc.srcLim = _bufs[BCJ2_NUM_STREAMS]; in CodeReal()
272 UInt32 curSize = _bufsCurSizes[BCJ2_NUM_STREAMS]; in CodeReal()
273 RINOK(inStreams[0]->Read(_bufs[BCJ2_NUM_STREAMS], curSize, &curSize)); in CodeReal()
284 enc.srcLim = _bufs[BCJ2_NUM_STREAMS] + numBytes_in_ReadBuf; in CodeReal()
296 for (int i = 0; i < BCJ2_NUM_STREAMS; i++) in CodeReal()
325 STDMETHODIMP CDecoder::SetOutBufSize(UInt32 , UInt32 size) { _bufsNewSizes[BCJ2_NUM_STREAMS] = size… in SetOutBufSize()
339 for (int i = 0; i < BCJ2_NUM_STREAMS; i++) in InitCommon()
344 for (int i = 0; i < BCJ2_NUM_STREAMS; i++) in InitCommon()
359 if (numInStreams != BCJ2_NUM_STREAMS || numOutStreams != 1) in Code()
366 dec.destLim = dec.dest = _bufs[BCJ2_NUM_STREAMS]; in Code()
378 if (dec.state < BCJ2_NUM_STREAMS) in Code()
443 size_t curSize = dec.dest - _bufs[BCJ2_NUM_STREAMS]; in Code()
447 RINOK(WriteStream(outStreams[0], _bufs[BCJ2_NUM_STREAMS], curSize)); in Code()
449 dec.dest = _bufs[BCJ2_NUM_STREAMS]; in Code()
451 size_t rem = _bufsCurSizes[BCJ2_NUM_STREAMS]; in Code()
466 const UInt64 outSize2 = outSizeProcessed + (dec.dest - _bufs[BCJ2_NUM_STREAMS]); in Code()
476 size_t curSize = dec.dest - _bufs[BCJ2_NUM_STREAMS]; in Code()
480 RINOK(WriteStream(outStreams[0], _bufs[BCJ2_NUM_STREAMS], curSize)); in Code()
499 for (int i = 0; i < BCJ2_NUM_STREAMS; i++) in Code()
585 if (dec.state >= BCJ2_NUM_STREAMS) in Read()