Lines Matching refs:coder
66 static SRes SzDecodePpmd(CSzCoderInfo *coder, UInt64 inSize, ILookInStream *inStream, in SzDecodePpmd() argument
80 if (coder->Props.size != 5) in SzDecodePpmd()
84 unsigned order = coder->Props.data[0]; in SzDecodePpmd()
85 UInt32 memSize = GetUi32(coder->Props.data + 1); in SzDecodePpmd()
127 static SRes SzDecodeLzma(CSzCoderInfo *coder, UInt64 inSize, ILookInStream *inStream, in SzDecodeLzma() argument
134 RINOK(LzmaDec_AllocateProbs(&state, coder->Props.data, (unsigned)coder->Props.size, allocMain)); in SzDecodeLzma()
175 static SRes SzDecodeLzma2(CSzCoderInfo *coder, UInt64 inSize, ILookInStream *inStream, in SzDecodeLzma2() argument
182 if (coder->Props.size != 1) in SzDecodeLzma2()
184 RINOK(Lzma2Dec_AllocateProbs(&state, coder->Props.data[0], allocMain)); in SzDecodeLzma2()
349 CSzCoderInfo *coder = &folder->Coders[ci]; in SzFolder_Decode2() local
351 if (IS_MAIN_METHOD((UInt32)coder->MethodID)) in SzFolder_Decode2()
389 if (coder->MethodID == k_Copy) in SzFolder_Decode2()
395 else if (coder->MethodID == k_LZMA) in SzFolder_Decode2()
397 RINOK(SzDecodeLzma(coder, inSize, inStream, outBufCur, outSizeCur, allocMain)); in SzFolder_Decode2()
399 else if (coder->MethodID == k_LZMA2) in SzFolder_Decode2()
401 RINOK(SzDecodeLzma2(coder, inSize, inStream, outBufCur, outSizeCur, allocMain)); in SzFolder_Decode2()
406 RINOK(SzDecodePpmd(coder, inSize, inStream, outBufCur, outSizeCur, allocMain)); in SzFolder_Decode2()