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.cpp31 HRESULT SetLzma2Prop(PROPID propID, const PROPVARIANT &prop, CLzma2EncProps &lzma2Props);
851 CLzma2EncProps lzma2Props; in UpdateItems() local
852 Lzma2EncProps_Init(&lzma2Props); in UpdateItems()
854 lzma2Props.lzmaProps.level = GetLevel(); in UpdateItems()
863 RINOK(NCompress::NLzma2::SetLzma2Prop(NCoderPropID::kReduceSize, prop, lzma2Props)); in UpdateItems()
878 RINOK(NCompress::NLzma2::SetLzma2Prop(prop.Id, prop.Value, lzma2Props)); in UpdateItems()
884 lzma2Props.numTotalThreads = _numThreads; in UpdateItems()
896 xzProps.lzma2Props = &lzma2Props; in UpdateItems()
/external/lzma/C/
DXzEnc.h25 const CLzma2EncProps *lzma2Props; member
DXzEnc.c385 p->lzma2Props = 0; in XzProps_Init()
404 RINOK(Lzma2Enc_SetProps(lzmaf->lzma2, props->lzma2Props)); in Xz_Compress()