Home
last modified time | relevance | path

Searched refs:preset (Results 1 – 25 of 56) 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/webrtc/webrtc/modules/video_capture/ios/
Ddevice_info_ios_objc.mm54 + (webrtc::VideoCaptureCapability)capabilityForPreset:(NSString*)preset {
59 if ([preset isEqualToString:AVCaptureSessionPreset352x288]) {
68 } else if ([preset isEqualToString:AVCaptureSessionPreset640x480]) {
77 } else if ([preset isEqualToString:AVCaptureSessionPreset1280x720]) {
86 } else if ([preset isEqualToString:AVCaptureSessionPreset1920x1080]) {
Ddevice_info_ios.mm62 for (NSString *preset in camera_presets) {
63 BOOL support = [avDevice supportsAVCaptureSessionPreset:preset];
66 [DeviceInfoIosObjC capabilityForPreset:preset];
Ddevice_info_ios_objc.h25 + (webrtc::VideoCaptureCapability)capabilityForPreset:(NSString*)preset;
/external/u-boot/board/compulab/cm_fx6/
Dcm_fx6.c119 struct display_info_t *preset; in board_video_skip() local
129 preset = &preset_hdmi_1024X768; in board_video_skip()
133 ret = ipuv3_fb_init(&preset->mode, 0, preset->pixfmt); in board_video_skip()
135 printf("Can't init display %s: %d\n", preset->mode.name, ret); in board_video_skip()
139 preset->enable(preset); in board_video_skip()
140 printf("Display: %s (%ux%u)\n", preset->mode.name, preset->mode.xres, in board_video_skip()
141 preset->mode.yres); in board_video_skip()
/external/u-boot/board/compulab/common/
Domap3_display.c147 static void set_preset(const struct panel_config preset, int x_res, int y_res) in set_preset() argument
149 panel_cfg = preset; in set_preset()
153 static enum display_type set_dvi_preset(const struct panel_config preset, in set_dvi_preset() argument
156 set_preset(preset, x_res, y_res); in set_dvi_preset()
160 static enum display_type set_dataimage_preset(const struct panel_config preset, in set_dataimage_preset() argument
163 set_preset(preset, x_res, y_res); in set_dataimage_preset()
/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/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/python/cpython3/Modules/
D_lzmamodule.c196 uint32_t preset = LZMA_PRESET_DEFAULT; in INT_TYPE_CONVERTER_FUNC() local
209 int ok = uint32_converter(preset_obj, &preset); in INT_TYPE_CONVERTER_FUNC()
220 if (lzma_lzma_preset(options, preset)) { in INT_TYPE_CONVERTER_FUNC()
222 PyErr_Format(Error, "Invalid compression preset: %d", preset); in INT_TYPE_CONVERTER_FUNC()
603 Compressor_init_xz(lzma_stream *lzs, int check, uint32_t preset, in Compressor_init_xz() argument
609 lzret = lzma_easy_encoder(lzs, preset, check); in Compressor_init_xz()
625 Compressor_init_alone(lzma_stream *lzs, uint32_t preset, PyObject *filterspecs) in Compressor_init_alone() argument
632 if (lzma_lzma_preset(&options, preset)) { in Compressor_init_alone()
633 PyErr_Format(Error, "Invalid compression preset: %d", preset); in Compressor_init_alone()
718 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.py113 for preset, info in PRESETS.items():
114 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.c169 cups_option_t *preset;/* Current preset option */ in cupsMarkOptions() local
213 preset = cache->presets[pwg_pcm][pwg_pq]; in cupsMarkOptions()
215 i --, preset ++) in cupsMarkOptions()
217 if (!cupsGetOption(preset->name, num_options, options)) in cupsMarkOptions()
218 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
60 switch (preset) { in WebPConfigInitInternal()
/external/zlib/src/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/sonivox/arm-wt-22k/lib_src/
Deas_chorus.c112 pChorusData->preset = EAS_CHORUS_PRESET_DEFAULT; in ChorusInit()
532 int preset = 0; in ChorusReadInPresets() local
536 for (defaultPreset = preset; defaultPreset < CHORUS_MAX_TYPE; defaultPreset++) in ChorusReadInPresets()
Deas_chorusdata.h94 EAS_I8 preset; member
/external/python/cpython3/Lib/test/
Dtest_lzma.py27 self.assertRaises(TypeError, LZMACompressor, preset="asdf")
33 LZMACompressor(preset=7, filters=[{"id": lzma.FILTER_LZMA2}])
388 self.assertRaises(TypeError, lzma.compress, b"", preset="blah")
392 lzma.compress(b"", preset=3, filters=[{"id": lzma.FILTER_LZMA2}])
631 LZMAFile(BytesIO(), "w", preset=4.39)
633 LZMAFile(BytesIO(), "w", preset=10)
635 LZMAFile(BytesIO(), "w", preset=23)
637 LZMAFile(BytesIO(), "w", preset=-1)
639 LZMAFile(BytesIO(), "w", preset=-7)
641 LZMAFile(BytesIO(), "w", preset="foo")
[all …]
/external/webp/include/webp/
Dencode.h181 WebPPreset preset, float quality) { in WebPConfigPreset() argument
182 return WebPConfigInitInternal(config, preset, quality, in WebPConfigPreset()
/external/webp/src/webp/
Dencode.h181 WebPPreset preset, float quality) { in WebPConfigPreset() argument
182 return WebPConfigInitInternal(config, preset, quality, in WebPConfigPreset()
/external/deqp-deps/glslang/Test/
Dglspv.vert13 gl_VertexIndex; // ERROR, not preset
/external/swiftshader/third_party/llvm-7.0/llvm/utils/lit/tests/Inputs/shtest-env/
Denv-u.txt1 # Check and make sure preset environment variable were set in lit.cfg
/external/webp/
DREADME224 cwebp [-preset <...>] [options] in_file [-o out_file]
235 -preset <string> ....... preset setting, one of:
238 -preset must come first, as it overwrites other parameters
239 -z <int> ............... activates lossless preset with given
299 -preset
305 * 'preset' will set up a default encoding configuration targeting a
307 so that subsequent options can take effect on top of this preset.
597 // Setup a config, starting form a preset and tuning some additional

123