Home
last modified time | relevance | path

Searched full:compression (Results 1 – 25 of 2479) sorted by relevance

12345678910>>...100

/third_party/grpc/examples/python/compression/
DREADME.md1 ## Compression with gRPC Python
3 gRPC offers lossless compression options in order to decrease the number of bits
4 transferred over the wire. Three levels of compression are available:
6 - `grpc.Compression.NoCompression` - No compression is applied to the payload. (default)
7 - `grpc.Compression.Deflate` - The "Deflate" algorithm is applied to the payload.
8 - `grpc.Compression.Gzip` - The Gzip algorithm is applied to the payload.
10 The default option on both clients and servers is `grpc.Compression.NoCompression`.
12 See [the gRPC Compression Spec](https://github.com/grpc/grpc/blob/master/doc/compression.md)
15 ### Client Side Compression
17 Compression may be set at two levels on the client side.
[all …]
/third_party/grpc/doc/
Dcompression.md1 ## gRPC Compression
9 Compression is used to reduce the amount of bandwidth used between peers. The
10 compression supported by gRPC acts _at the individual message level_, taking
14 The implementation supports different compression algorithms. A _default
15 compression level_, to be used in the absence of message-specific settings, MAY
18 The ability to control compression settings per call and to enable/disable
19 compression on a per message basis MAY be used to prevent CRIME/BEAST attacks.
20 It also allows for asymmetric compression communication, whereby a response MAY
25 Compression MAY be configured by the Client Application by calling the
26 appropriate API method. There are two scenarios where compression MAY be
[all …]
Dcompression_cookbook.md1 # gRPC (Core) Compression Cookbook
5 This document describes compression as implemented by the gRPC C core. See [the
6 full compression specification](compression.md) for details.
10 Wrapped languages developers, for the purposes of supporting compression by
15 1. Be able to set compression at [channel](#per-channel-settings),
20 spec](https://github.com/grpc/grpc/blob/master/doc/compression.md#test-cases).
31 still not symmetric between clients and servers (e.g. the [use of compression
32 levels](https://github.com/grpc/grpc/blob/master/doc/compression.md#compression-levels-and-algorith…
47 document](https://github.com/grpc/grpc/blob/master/doc/compression.md#compression-levels-and-algori…
48 compression _levels_ are the primary mechanism for compression selection _at the
[all …]
/third_party/EGL/extensions/EXT/
DEGL_EXT_surface_compression.txt45 Applications may wish to take advantage of framebuffer compression. Some
46 platforms may support framebuffer compression at fixed bitrates. Such
47 compression algorithms generally produce results that are visually lossless,
51 This extension enables applications to opt-in to fixed-rate compression
54 Compression may not be supported for all framebuffer formats. It can still
55 be requested for all formats and applications can query what level of compression
101 EGL_SURFACE_COMPRESSION_EXT specifies the fixed-rate compression that may
104 compression is disabled.
106 then the implementation may enable compression at a default,
109 implementation may enable fixed-rate compression with a bitrate of at
[all …]
/third_party/openssl/doc/man3/
DSSL_COMP_add_compression_method.pod7 - handle SSL/TLS integrated compression methods
26 SSL_COMP_add_compression_method() adds the compression method B<cm> with
27 the identifier B<id> to the list of available compression methods. This
32 compression methods or NULL on error.
34 SSL_COMP_get0_name() returns the name of the compression method B<comp>.
36 SSL_COMP_get_id() returns the id of the compression method B<comp>.
39 maintain the internal table of compression methods.
43 The TLS standard (or SSLv3) allows the integration of compression methods
44 into the communication. The TLS RFC does however not specify compression
46 way to integrate compression with unknown peers. It is therefore currently not
[all …]
/third_party/vk-gl-cts/external/vulkan-docs/src/proposals/
DVK_EXT_image_compression_control.adoc10 This document proposes adding support for fixed-rate, or 'lossy', image compression.
14 Many existing implementations support some form of lossless image or framebuffer compression.
16 (The use of image compression (or not) can result in performance differences that are visible in pr…
18 Fixed-rate compression formats have so far not been supported.
19 As the term implies, these compression techniques are done at defined bitrates, and may therefore l…
22 The fixed-rate compression algorithms are implementation-specific and not standardized.
25 …lementation may not support all possible compression rates and may not be able to use the requeste…
26 We want to expose a query to let applications understand what compression rates are available and w…
30 To enable fixed-rate compression, two options were considered:
32 . Add the option to enable compression on existing formats
[all …]
/third_party/lz4/programs/
Dlz4.120compression algorithm\. It provides a default compression speed of typically > 500 MB/s per core\.…
32 \fBlz4 file\.lz4\fR will default to decompression (use \fB\-z\fR to force compression)
38 \fBlz4\fR shows real\-time notification statistics during compression or decompression of a single …
58 It\'s possible to opt\-in to erase source files on successful compression or decompression, using \…
94 …\fB\-\-decompress\fR by default)\. \fB\-z\fR can also be used to force compression of an already c…
106 Benchmark mode, using \fB#\fR compression level\.
116 Compression level, with # being any value from 1 to 12\. Higher values trade compression speed for
120compression levels\. The higher the value, the faster the compression speed, at the cost of some c…
124 Set highest compression level\. Same as \-12\.
128 Use \fB#\fR threads for compression\. When \fB0\fR, or none provided: automatically determined from…
[all …]
Dlz4.1.md21 `lz4` is a CLI based on `liblz4`, an extremely fast implementation of lossless compression algorith…
22 It provides a default compression speed of typically > 500 MB/s per core.
23 Speed can traded for higher compression ratio, by increasing the compression level parameter.
34 * `lz4 file.lz4` will default to decompression (use `-z` to force compression)
37 during compression or decompression of a single file
59 on successful compression or decompression, using `--rm` command.
98 `-z` can also be used to force compression of an already compressed
112 Benchmark mode, using `#` compression level.
122 Compression level, with # being any value from 1 to 12.
123 Higher values trade compression speed for compression ratio.
[all …]
DREADME.md30 - `LZ4_CLEVEL_DEFAULT`: default compression level when none provided. Default is `1`.
41 …ipt for example) but there is no way to pass `lz4` parameters to influence the compression session.
45 …EL` can be used to specify a default compression level that `lz4` employs for compression when no …
47 …used to specify a default number of threads that `lz4` will employ for compression. Executable def…
55 …4` CLI includes an in-memory compression benchmark module, triggered by command `-b#`, with `#` re…
58 …undled into the same benchmark session (though each file is a separate compression / decompression…
61 The benchmark measures ratio, compressed size, compression and decompression speed.
62 One can select multiple compression levels starting from `-b` and ending with `-e` (ascending).
75 -1 : Fast compression (default)
76 -9 : High compression
[all …]
/third_party/openGLES/extensions/EXT/
DEXT_texture_storage_compression.txt42 Applications may wish to take advantage of framebuffer compression. Some
43 platforms may support framebuffer compression at fixed bitrates. Such
44 compression algorithms generally produce results that are visually lossless,
48 This extension enables applications to opt-in to compression for
101 compression rate that was actually applied to the texture."
135 SURFACE_COMPRESSION_EXT specifies if fixed-rate compression can be
138 compression is disabled.
140 implementation may enable compression at a default, implementation-defined,
143 implementation may enable fixed-rate compression with a bitrate of at
146 implementation may enable fixed-rate compression with a bitrate of at
[all …]
/third_party/grpc/src/python/grpcio/grpc/
D_compression.py35 compression: grpc.Compression, argument
37 return _METADATA_STRING_MAPPING[compression]
40 def compression_algorithm_to_metadata(compression: grpc.Compression): argument
43 _compression_algorithm_to_metadata_value(compression),
47 def create_channel_option(compression: Optional[grpc.Compression]): argument
49 ((cygrpc.GRPC_COMPRESSION_CHANNEL_DEFAULT_ALGORITHM, int(compression)),)
50 if compression
56 metadata: Optional[MetadataType], compression: Optional[grpc.Compression] argument
58 if not metadata and not compression:
62 (compression_algorithm_to_metadata(compression),) if compression else ()
D_interceptor.py70 "compression",
82 str, float, MetadataType, grpc.CallCredentials, bool, grpc.Compression
118 compression = (
119 call_details.compression
122 compression = (
123 default_details.compression
126 return method, timeout, metadata, credentials, wait_for_ready, compression
275 compression: Optional[grpc.Compression] = None, argument
283 compression=compression,
294 compression: Optional[grpc.Compression] = None, argument
[all …]
/third_party/lzma/DOC/
Dlzma-sdk.txt6 use 7z / LZMA / LZMA2 / XZ compression.
8 LZMA is an improved version of famous LZ77 compression algorithm.
9 It was improved in way of maximum increasing of compression ratio,
13 LZMA2 is a LZMA based compression method. LZMA2 provides better
14 multithreading support for compression than LZMA and some other improvements.
16 7z is a file format for data compression and file archiving.
17 7z is a main file format for 7-Zip compression program (www.7-zip.org).
18 7z format supports different compression methods: LZMA, LZMA2 and others.
21 XZ is a file format for data compression that uses LZMA2 compression.
23 improved compression ratio, splitting to blocks and streams,
[all …]
/third_party/grpc/examples/cpp/compression/
DREADME.md1 # gRPC C++ Message Compression Tutorial
15 Change your current directory to examples/cpp/compression
18 $ cd examples/cpp/compression/
39 Additionally, we can configure the compression settings.
41 In the client, set the default compression algorithm of the channel via the channel arg.
45 // Set the default compression algorithm for the channel.
51 Each call's compression configuration can be overwritten by client context.
54 // Overwrite the call's compression algorithm to DEFLATE.
58 In the server, set the default compression algorithm via the server builder.
62 // Set the default compression algorithm for the server.
[all …]
/third_party/grpc/src/python/grpcio/grpc/aio/
D_channel.py65 base_options: ChannelArgumentType, compression: Optional[grpc.Compression] argument
68 compression
120 compression: Optional[grpc.Compression] = None, argument
122 """Based on the provided values for <metadata> or <compression> initialise the final
128 if compression:
130 *_compression.augment_metadata(metadata, compression)
146 compression: Optional[grpc.Compression] = None, argument
148 metadata = self._init_metadata(metadata, compression)
191 compression: Optional[grpc.Compression] = None, argument
193 metadata = self._init_metadata(metadata, compression)
[all …]
/third_party/skia/third_party/externals/freetype/src/gzip/
Dzlib.h1 /* zlib.h -- interface of the 'zlib' general purpose compression library
43 The 'zlib' compression library provides in-memory compression and
45 data. This version of the library supports only one compression method
49 Compression can be done in a single step if the buffers are large
51 repeated calls of the compression function. In the latter case, the
96 compression library and must not be updated by the application.
100 memory management. The compression library attaches no meaning to the
114 compression ratio, compile the library with -DMAX_WBITS=14 (see zconf.h).
117 progress reports. After compression, total_in holds the total size of
141 /* Return codes for the compression/decompression functions. Negative
[all …]
/third_party/grpc/include/grpc/impl/
Dcompression_types.h22 // IWYU pragma: private, include <grpc/compression.h>
31 /** To be used as initial metadata key for the request of a concrete compression
40 /** Default compression algorithm for the channel.
44 /** Default compression level for the channel.
47 /** Compression algorithms supported by the channel.
58 /** The various compression algorithms supported by gRPC (not sorted by
59 * compression level) */
68 /** Compression levels allow a party with knowledge of its peer's accepted
69 * encodings to request compression in an abstract way. The level-algorithm
71 * compression algorithms. */
[all …]
/third_party/vk-gl-cts/external/vulkan-docs/src/appendices/
DVK_EXT_image_compression_control.adoc22 This extension enables fixed-rate image compression and adds the ability to
23 control when this kind of compression can be applied.
24 Many implementations support some form of framebuffer compression.
25 This is typically transparent to applications as lossless compression
27 With fixed-rate compression, the compression is done at a defined bitrate.
28 Such compression algorithms generally produce results that are visually
31 The implementation may not be able to use the requested compression rate in
33 This extension adds a query that can be used to determine the compression
/third_party/lzma/
DREADME.md8 use 7z / LZMA / LZMA2 / XZ compression.
10 LZMA is an improved version of famous LZ77 compression algorithm.
11 It was improved in way of maximum increasing of compression ratio,
15 LZMA2 is a LZMA based compression method. LZMA2 provides better
16 multithreading support for compression than LZMA and some other improvements.
18 7z is a file format for data compression and file archiving.
19 7z is a main file format for 7-Zip compression program (www.7-zip.org).
20 7z format supports different compression methods: LZMA, LZMA2 and others.
23 XZ is a file format for data compression that uses LZMA2 compression.
25 improved compression ratio, splitting to blocks and streams
[all …]
/third_party/bzip2/
Dbzip2.137 text compression algorithm, and Huffman coding. Compression is
105 As with compression, supplying no
120 stdout. Compression of multiple files
146 Compression is always performed, even if the compressed
149 tend to get larger, since the compression mechanism has a constant
199 The complement to \-d: forces compression, regardless of the
220 Keep (don't delete) input files during compression
224 Reduce memory usage, for compression, decompression and testing. Files
229 During compression, \-s selects a block size of 200k, which limits
230 memory use to around the same figure, at the expense of your compression
[all …]
/third_party/grpc/src/python/grpcio_tests/tests_aio/unit/
Dcompression_test.py14 """Tests behavior around the compression mechanism."""
53 context.set_compression(grpc.Compression.Deflate)
56 context.set_compression(grpc.Compression.Deflate)
61 # which compression algorithm it should use.
71 context.set_compression(grpc.Compression.Deflate)
78 context.set_compression(grpc.Compression.Deflate)
125 self._address, compression=grpc.Compression.Gzip
137 self._address, compression=grpc.Compression.Deflate
147 call = multicallable(_REQUEST, compression=grpc.Compression.Gzip)
157 call = multicallable(_REQUEST, compression=grpc.Compression.Deflate)
[all …]
/third_party/f2fs-tools/man/
Dsload.f2fs.831 .I compression-algorithm
35 .I file-extension-to-exclude-from-compression
38 .I file-extension-to-include-for-compression
77 Enable a cluster-based file compression.
88 .BI \-a " compression-algorithm"
89 Choose the algorithm for compression. Available options are:
93 .BI \-i " file-extension-to-include-for-compression"
94 Specify a file extension to include for the compression.
99 .BI \-x " file-extension-to-exclude-from-compression"
100 Specify a file extension to exclude from compression.
[all …]
/third_party/cups/examples/
Dipp-everywhere.test50 …EXPECT compression-supported OF-TYPE keyword IN-GROUP printer-attributes-tag WITH-VALUE "deflate" …
51 …EXPECT compression-supported OF-TYPE keyword IN-GROUP printer-attributes-tag WITH-VALUE "gzip" DEF…
212 ATTR keyword compression deflate
214 COMPRESSION deflate
235 ATTR keyword compression gzip
237 COMPRESSION gzip
278 ATTR keyword compression deflate
280 COMPRESSION deflate
301 ATTR keyword compression gzip
303 COMPRESSION gzip
[all …]
/third_party/skia/third_party/externals/libwebp/man/
Dgif2webp.136 Encode the image using lossy compression.
39 Mixed compression mode: optimize compression of the image by picking either
40 lossy or lossless compression for each frame heuristically.
43 Specify the compression factor for RGB channels between 0 and 100. The default
46 In case of lossless compression (default), a small factor enables faster
47 compression speed, but produces a larger file. Maximum compression is achieved
50 In case of lossy compression (specified by the \-lossy option), a small factor
55 Specify the compression method to use. This parameter controls the
61 larger file size and lower compression quality.
66 uses lossless compression by default, but can be combined with \-q, \-m,
[all …]
/third_party/skia/m133/third_party/externals/libwebp/man/
Dgif2webp.136 Encode the image using lossy compression.
39 Mixed compression mode: optimize compression of the image by picking either
40 lossy or lossless compression for each frame heuristically.
43 Specify the compression factor for RGB channels between 0 and 100. The default
46 In case of lossless compression (default), a small factor enables faster
47 compression speed, but produces a larger file. Maximum compression is achieved
50 In case of lossy compression (specified by the \-lossy option), a small factor
55 Specify the compression method to use. This parameter controls the
61 larger file size and lower compression quality.
66 uses lossless compression by default, but can be combined with \-q, \-m,
[all …]

12345678910>>...100