Home
last modified time | relevance | path

Searched refs:preset (Results 1 – 25 of 73) sorted by relevance

123

/external/xz-java/src/org/tukaani/xz/
DLZMA2Options.java161 public LZMA2Options(int preset) throws UnsupportedOptionsException { in LZMA2Options() argument
162 setPreset(preset); in LZMA2Options()
199 public void setPreset(int preset) throws UnsupportedOptionsException { in setPreset() argument
200 if (preset < 0 || preset > 9) in setPreset()
202 "Unsupported preset: " + preset); in setPreset()
207 dictSize = presetToDictSize[preset]; in setPreset()
209 if (preset <= 3) { in setPreset()
212 niceLen = preset <= 1 ? 128 : NICE_LEN_MAX; in setPreset()
213 depthLimit = presetToDepthLimit[preset]; in setPreset()
217 niceLen = (preset == 4) ? 16 : (preset == 5) ? 32 : 64; in setPreset()
/external/python/cpython3/Lib/
Dlzma.py50 format=None, check=-1, preset=None, filters=None): argument
101 if preset is not None:
112 preset=preset, filters=filters)
264 format=None, check=-1, preset=None, filters=None, argument
302 preset=preset, filters=filters)
310 def compress(data, format=FORMAT_XZ, check=-1, preset=None, filters=None): argument
318 comp = LZMACompressor(format, check, preset, filters)
/external/autotest/client/site_tests/power_VideoCall/
Dpower_VideoCall.py31 def run_once(self, duration=7200, preset=''): argument
43 if not preset:
44 preset = self._get_camera_preset()
70 tab_left.EvaluateJavaScript('setPreset("%s")' % preset)
/external/kotlinx.coroutines/gradle/
Dcompile-native-multiplatform.gradle9 targets.metaClass.addTarget = { preset ->
10 def target = delegate.fromPreset(preset, preset.name)
/external/python/cpython3/Doc/library/
Dlzma.rst36 .. function:: open(filename, mode="rb", \*, format=None, check=-1, preset=None, filters=None, encod…
52 and *preset* arguments should not be used.
54 When opening a file for writing, the *format*, *check*, *preset* and
72 .. class:: LZMAFile(filename=None, mode="r", \*, format=None, check=-1, preset=None, filters=None)
97 and *preset* arguments should not be used.
99 When opening a file for writing, the *format*, *check*, *preset* and
133 .. class:: LZMACompressor(format=FORMAT_XZ, check=-1, preset=None, filters=None)
173 The compression settings can be specified either as a preset compression
174 level (with the *preset* argument), or in detail as a custom filter chain
177 The *preset* argument (if provided) should be an integer between ``0`` and
[all …]
/external/webrtc/tools_webrtc/network_emulator/
Demulate.py105 if options.preset and not _PRESETS_DICT.has_key(options.preset):
106 parser.error('Invalid preset: %s' % options.preset)
143 connection_config = _PRESETS_DICT[options.preset]
/external/kotlinx.atomicfu/atomicfu/
Dbuild.gradle13 addNative = { preset ->
14 nativeMainSets.add(preset.compilations['main'].kotlinSourceSets.first())
15 nativeTestSets.add(preset.compilations['test'].kotlinSourceSets.first())
16 nativeCompilations.add(preset.compilations['main'])
21 targets.metaClass.addTarget = { preset ->
22 addNative(delegate.fromPreset(preset, preset.name))
/external/python/cpython3/Modules/
D_lzmamodule.c195 uint32_t preset = LZMA_PRESET_DEFAULT; in INT_TYPE_CONVERTER_FUNC() local
208 int ok = uint32_converter(preset_obj, &preset); in INT_TYPE_CONVERTER_FUNC()
218 if (lzma_lzma_preset(options, preset)) { in INT_TYPE_CONVERTER_FUNC()
220 PyErr_Format(Error, "Invalid compression preset: %u", preset); in INT_TYPE_CONVERTER_FUNC()
591 Compressor_init_xz(lzma_stream *lzs, int check, uint32_t preset, in Compressor_init_xz() argument
597 lzret = lzma_easy_encoder(lzs, preset, check); in Compressor_init_xz()
613 Compressor_init_alone(lzma_stream *lzs, uint32_t preset, PyObject *filterspecs) in Compressor_init_alone() argument
620 if (lzma_lzma_preset(&options, preset)) { in Compressor_init_alone()
621 PyErr_Format(Error, "Invalid compression preset: %u", preset); in Compressor_init_alone()
706 uint32_t preset = LZMA_PRESET_DEFAULT; in Compressor_init() local
[all …]
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/xz/
DXZCompressorOutputStream.java62 public XZCompressorOutputStream(final OutputStream outputStream, final int preset) in XZCompressorOutputStream() argument
64 out = new XZOutputStream(outputStream, new LZMA2Options(preset)); in XZCompressorOutputStream()
/external/python/cpython3/PC/layout/support/
Doptions.py126 for preset, info in PRESETS.items():
127 if ns_get(ns, "preset-{}".format(preset)):
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/
DAccessibilityUtil.java274 AccessibilityCheckPreset preset = AccessibilityCheckPreset.VERSION_1_0_CHECKS; in convertRoboVersionToA11yTestVersion() local
276 preset = AccessibilityCheckPreset.VERSION_2_0_CHECKS; in convertRoboVersionToA11yTestVersion()
278 return preset; in convertRoboVersionToA11yTestVersion()
/external/xz-java/
DNEWS33 * Fix LZMA2Options.getInputStream to work with a preset dictionary.
58 when using a preset dictionary.
90 * Fix bugs in the preset dictionary support in the LZMA2 encoder.
/external/libcups/cups/
Dppd-mark.c165 cups_option_t *preset;/* Current preset option */ in cupsMarkOptions() local
209 preset = cache->presets[pwg_pcm][pwg_pq]; in cupsMarkOptions()
211 i --, preset ++) in cupsMarkOptions()
213 if (!cupsGetOption(preset->name, num_options, options)) in cupsMarkOptions()
214 ppd_mark_option(ppd, preset->name, preset->value); in cupsMarkOptions()
/external/webp/src/enc/
Dconfig_enc.c25 WebPPreset preset, float quality, int version) { in WebPConfigInitInternal() argument
62 switch (preset) { in WebPConfigInitInternal()
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/src/
Dtiming-utilities.js267 var preset = presets[normalizedEasing];
268 if (preset) {
269 return preset;
/external/rust/crates/libz-sys/src/zlib-ng/doc/
Drfc1950.txt154 support for a preset dictionary was introduced, and the
272 bit 5 FDICT (preset dictionary)
346 and ADLER32, but need not support preset dictionaries. When the
348 the compressor may use only preset dictionaries that are specified
350 preset dictionary feature, the compressor must not set the FDICT
361 identifier of a known preset dictionary. A decompressor may
364 decompressor must support all the preset dictionaries specified by
365 the other format. When the other format does not use the preset
459 A preset dictionary is specially useful to compress short input
/external/rust/crates/libz-sys/src/zlib/doc/
Drfc1950.txt154 support for a preset dictionary was introduced, and the
272 bit 5 FDICT (preset dictionary)
346 and ADLER32, but need not support preset dictionaries. When the
348 the compressor may use only preset dictionaries that are specified
350 preset dictionary feature, the compressor must not set the FDICT
361 identifier of a known preset dictionary. A decompressor may
364 decompressor must support all the preset dictionaries specified by
365 the other format. When the other format does not use the preset
459 A preset dictionary is specially useful to compress short input
/external/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
DStreamConfiguration.java264 private static boolean matchInputPreset(String text, int preset) { in matchInputPreset() argument
265 return convertInputPresetToText(preset).toLowerCase().equals(text); in matchInputPreset()
/external/deqp-deps/glslang/Test/
Dglspv.vert13 gl_VertexIndex; // ERROR, not preset
/external/angle/third_party/vulkan-deps/glslang/src/Test/
Dglspv.vert13 gl_VertexIndex; // ERROR, not preset
/external/llvm-project/llvm/utils/lit/tests/Inputs/shtest-env/
Denv-u.txt1 # Check and make sure preset environment variable were set in lit.cfg
/external/python/cpython3/Lib/test/
Dtest_lzma.py27 self.assertRaises(TypeError, LZMACompressor, preset="asdf")
33 LZMACompressor(preset=7, filters=[{"id": lzma.FILTER_LZMA2}])
390 self.assertRaises(TypeError, lzma.compress, b"", preset="blah")
394 lzma.compress(b"", preset=3, filters=[{"id": lzma.FILTER_LZMA2}])
633 LZMAFile(BytesIO(), "w", preset=4.39)
635 LZMAFile(BytesIO(), "w", preset=10)
637 LZMAFile(BytesIO(), "w", preset=23)
639 LZMAFile(BytesIO(), "w", preset=-1)
641 LZMAFile(BytesIO(), "w", preset=-7)
643 LZMAFile(BytesIO(), "w", preset="foo")
[all …]
/external/webp/src/webp/
Dencode.h183 WebPPreset preset, float quality) { in WebPConfigPreset() argument
184 return WebPConfigInitInternal(config, preset, quality, in WebPConfigPreset()
/external/webp/include/webp/
Dencode.h183 WebPPreset preset, float quality) { in WebPConfigPreset() argument
184 return WebPConfigInitInternal(config, preset, quality, in WebPConfigPreset()
/external/webp/
DREADME224 cwebp [-preset <...>] [options] in_file [-o out_file]
236 -preset <string> ....... preset setting, one of:
239 -preset must come first, as it overwrites other parameters
240 -z <int> ............... activates lossless preset with given
303 -preset
309 * 'preset' will set up a default encoding configuration targeting a
311 so that subsequent options can take effect on top of this preset.
603 // Setup a config, starting form a preset and tuning some additional

123