Lines Matching refs:lzmaf
398 static SRes Xz_Compress(CXzStream *xz, CLzma2WithFilters *lzmaf, in Xz_Compress() argument
404 RINOK(Lzma2Enc_SetProps(lzmaf->lzma2, props->lzma2Props)); in Xz_Compress()
439 f->props[0] = Lzma2Enc_WriteProperties(lzmaf->lzma2); in Xz_Compress()
457 lzmaf->sb.inStream = &checkInStream.p; in Xz_Compress()
458 RINOK(SbEncInStream_Init(&lzmaf->sb)); in Xz_Compress()
463 lzmaf->filter.realStream = &checkInStream.p; in Xz_Compress()
464 RINOK(SeqInFilter_Init(&lzmaf->filter, filter)); in Xz_Compress()
470 SRes res = Lzma2Enc_Encode(lzmaf->lzma2, &seqSizeOutStream.p, in Xz_Compress()
473 (fp->id == XZ_ID_Subblock) ? &lzmaf->sb.p: in Xz_Compress()
475 &lzmaf->filter.p: in Xz_Compress()
501 CLzma2WithFilters lzmaf; in Xz_Encode() local
503 Lzma2WithFilters_Construct(&lzmaf, &g_Alloc, &g_BigAlloc); in Xz_Encode()
504 res = Lzma2WithFilters_Create(&lzmaf); in Xz_Encode()
506 res = Xz_Compress(&xz, &lzmaf, outStream, inStream, props, progress); in Xz_Encode()
507 Lzma2WithFilters_Free(&lzmaf); in Xz_Encode()