Lines Matching +full:multi +full:- +full:threaded

1 /* SPDX-License-Identifier: 0BSD */
56 * a little but only at the lowest preset levels (0-3).
72 * Decoder: Bitwise-or of zero or more of the decoder flags:
73 * - LZMA_TELL_NO_CHECK
74 * - LZMA_TELL_UNSUPPORTED_CHECK
75 * - LZMA_TELL_ANY_CHECK
76 * - LZMA_IGNORE_CHECK
77 * - LZMA_CONCATENATED
78 * - LZMA_FAIL_FAST
94 * With LZMA2, a recommended block size is 2-4 times the LZMA2
120 * In single-threaded mode, lzma_code() won't return until it has
146 * The preset is ignored if filters below is non-NULL.
206 * be met even in single-threaded mode, then decoding will continue
207 * in single-threaded mode and memlimit_threading may be exceeded
233 * memory even in the single-threaded mode, then lzma_code() will
308 * the options -0 ... -9 of the xz command line tool.
309 * Additional flags can be set using bitwise-or with
318 * - LZMA_OK: Initialization succeeded. Use lzma_code() to
320 * - LZMA_MEM_ERROR: Memory allocation failed.
321 * - LZMA_OPTIONS_ERROR: The given compression preset is not
323 * - LZMA_UNSUPPORTED_CHECK: The given check type is not
325 * - LZMA_PROG_ERROR: One or more of the parameters have values
334 * \brief Single-call .xz Stream encoding using a preset number
354 * - LZMA_OK: Encoding was successful.
355 * - LZMA_BUF_ERROR: Not enough output buffer space.
356 * - LZMA_UNSUPPORTED_CHECK
357 * - LZMA_OPTIONS_ERROR
358 * - LZMA_MEM_ERROR
359 * - LZMA_DATA_ERROR
360 * - LZMA_PROG_ERROR
381 * - LZMA_OK: Initialization was successful.
382 * - LZMA_MEM_ERROR
383 * - LZMA_UNSUPPORTED_CHECK
384 * - LZMA_OPTIONS_ERROR
385 * - LZMA_PROG_ERROR
395 * Since doing the encoding in threaded mode doesn't affect the memory
396 * requirements of single-threaded decompressor, you can use
397 * lzma_easy_decoder_memusage(options->preset) or
398 * lzma_raw_decoder_memusage(options->filters) to calculate
426 * - LZMA_OK
427 * - LZMA_MEM_ERROR
428 * - LZMA_UNSUPPORTED_CHECK
429 * - LZMA_OPTIONS_ERROR
430 * - LZMA_PROG_ERROR
485 * - LZMA_OK
486 * - LZMA_MEM_ERROR
487 * - LZMA_OPTIONS_ERROR
488 * - LZMA_PROG_ERROR
496 * \brief Calculate output buffer size for single-call Stream encoder
512 * single-call encoding. Multi-call encoding may (and probably
515 * calculate the maximum expansion of multi-call encoding.
527 * \brief Single-call .xz Stream encoder
545 * - LZMA_OK: Encoding was successful.
546 * - LZMA_BUF_ERROR: Not enough output buffer space.
547 * - LZMA_UNSUPPORTED_CHECK
548 * - LZMA_OPTIONS_ERROR
549 * - LZMA_MEM_ERROR
550 * - LZMA_DATA_ERROR
551 * - LZMA_PROG_ERROR
565 * has been replaced with bitwise-negation of the LZMA properties (lc/lp/pb).
591 * re-initialization. A good value is bigger than the resulting
606 * - LZMA_STREAM_END: All good. Check the amounts of input used
610 * - LZMA_OPTIONS_ERROR
611 * - LZMA_MEM_ERROR
612 * - LZMA_PROG_ERROR: In addition to the generic reasons for this
663 * - Trying to recover data from a corrupt .xz file.
665 * - Speeding up decompression, which matters mostly with SHA-256
693 * This flag makes the threaded decoder report errors (like LZMA_DATA_ERROR)
706 * Without this flag the threaded decoder will provide as much output as
708 * matches the single-threaded decoder and provides repeatable behavior
712 * Single-threaded decoders currently ignore this flag.
731 * \param flags Bitwise-or of zero or more of the decoder flags:
737 * - LZMA_OK: Initialization was successful.
738 * - LZMA_MEM_ERROR: Cannot allocate memory.
739 * - LZMA_OPTIONS_ERROR: Unsupported flags
740 * - LZMA_PROG_ERROR
752 * which are added by the multi-threaded encoder, see lzma_stream_encoder_mt().
756 * single-threaded mode in the same way as done by lzma_stream_decoder().
757 * Concatenated Streams are processed one Stream at a time; no inter-Stream
760 * This function behaves like lzma_stream_decoder() when options->threads == 1
761 * and options->memlimit_threading <= 1.
768 * - LZMA_OK: Initialization was successful.
769 * - LZMA_MEM_ERROR: Cannot allocate memory.
770 * - LZMA_MEMLIMIT_ERROR: Memory usage limit was reached.
771 * - LZMA_OPTIONS_ERROR: Unsupported flags.
772 * - LZMA_PROG_ERROR
802 * \param flags Bitwise-or of zero or more of the decoder flags:
808 * - LZMA_OK: Initialization was successful.
809 * - LZMA_MEM_ERROR: Cannot allocate memory.
810 * - LZMA_OPTIONS_ERROR: Unsupported flags
811 * - LZMA_PROG_ERROR
834 * - LZMA_OK
835 * - LZMA_MEM_ERROR
836 * - LZMA_PROG_ERROR
849 * - Files in the format version 0 were produced by lzip 1.3 and older.
855 * - lzip 1.3 added decompression support for .lz format version 1 files.
866 * The .lz format allows putting non-.lz data at the end of a file after at
871 * the first byte of the non-.lz data. An exception to this is if the first
872 * 1-3 bytes of the non-.lz data are identical to the .lz magic bytes
873 * (0x4C, 0x5A, 0x49, 0x50; "LZIP" in US-ASCII). In such a case the 1-3 bytes
874 * will have been ignored by lzma_code(). If one wishes to locate the non-.lz
883 * \param flags Bitwise-or of flags, or zero for no flags.
893 * - LZMA_OK: Initialization was successful.
894 * - LZMA_MEM_ERROR: Cannot allocate memory.
895 * - LZMA_OPTIONS_ERROR: Unsupported flags
896 * - LZMA_PROG_ERROR
904 * \brief Single-call .xz Stream decoder
910 * \param flags Bitwise-or of zero or more of the decoder flags:
929 * - LZMA_OK: Decoding was successful.
930 * - LZMA_FORMAT_ERROR
931 * - LZMA_OPTIONS_ERROR
932 * - LZMA_DATA_ERROR
933 * - LZMA_NO_CHECK: This can be returned only if using
935 * - LZMA_UNSUPPORTED_CHECK: This can be returned only if using
937 * - LZMA_MEM_ERROR
938 * - LZMA_MEMLIMIT_ERROR: Memory usage limit was reached.
940 * - LZMA_BUF_ERROR: Output buffer was too small.
941 * - LZMA_PROG_ERROR
987 * - LZMA_OK
988 * - LZMA_MEM_ERROR
989 * - LZMA_OPTIONS_ERROR
990 * - LZMA_PROG_ERROR