Home
last modified time | relevance | path

Searched refs:lzma2Props (Results 1 – 4 of 4) sorted by relevance

/external/lzma/CPP/7zip/Compress/
DLzma2Encoder.cpp44 HRESULT SetLzma2Prop(PROPID propID, const PROPVARIANT &prop, CLzma2EncProps &lzma2Props) in SetLzma2Prop() argument
49 if (prop.vt != VT_UI4) return E_INVALIDARG; lzma2Props.blockSize = prop.ulVal; break; in SetLzma2Prop()
51 … if (prop.vt != VT_UI4) return E_INVALIDARG; lzma2Props.numTotalThreads = (int)(prop.ulVal); break; in SetLzma2Prop()
53 RINOK(NLzma::SetLzmaProp(propID, prop, lzma2Props.lzmaProps)); in SetLzma2Prop()
61 CLzma2EncProps lzma2Props; in SetCoderProperties() local
62 Lzma2EncProps_Init(&lzma2Props); in SetCoderProperties()
66 RINOK(SetLzma2Prop(propIDs[i], coderProps[i], lzma2Props)); in SetCoderProperties()
68 return SResToHRESULT(Lzma2Enc_SetProps(_encoder, &lzma2Props)); in SetCoderProperties()
/external/lzma/CPP/7zip/Archive/
DXzHandler.cpp30 HRESULT SetLzma2Prop(PROPID propID, const PROPVARIANT &prop, CLzma2EncProps &lzma2Props);
632 CLzma2EncProps lzma2Props; in UpdateItems() local
633 Lzma2EncProps_Init(&lzma2Props); in UpdateItems()
635 lzma2Props.lzmaProps.level = _level; in UpdateItems()
655 RINOK(NCompress::NLzma2::SetLzma2Prop(prop.Id, prop.Value, lzma2Props)); in UpdateItems()
661 lzma2Props.numTotalThreads = _numThreads; in UpdateItems()
669 SRes res = Xz_Encode(&seqOutStream.p, &seqInStream.p, &lzma2Props, False, &progressWrap.p); in UpdateItems()
/external/lzma/C/
DXzEnc.c393 const CLzma2EncProps *lzma2Props, in Xz_Compress() argument
399 RINOK(Lzma2Enc_SetProps(lzmaf->lzma2, lzma2Props)); in Xz_Compress()
470 const CLzma2EncProps *lzma2Props, Bool useSubblock, in Xz_Encode() argument
481 lzma2Props, useSubblock, progress); in Xz_Encode()
DXzEnc.h16 const CLzma2EncProps *lzma2Props, Bool useSubblock,