Home
last modified time | relevance | path

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

12345

/third_party/lame/libmp3lame/
Dpresets.c216 apply_abr_preset(lame_global_flags * gfp, int preset, int enforce) in apply_abr_preset() argument
265 int actual_bitrate = preset; in apply_abr_preset()
267 r = nearestBitrateFullIndex(preset); in apply_abr_preset()
314 return preset; in apply_abr_preset()
320 apply_preset(lame_global_flags * gfp, int preset, int enforce) in apply_preset() argument
323 switch (preset) { in apply_preset()
326 preset = V3; in apply_preset()
333 preset = V4; in apply_preset()
340 preset = V2; in apply_preset()
347 preset = V0; in apply_preset()
[all …]
/third_party/astc-encoder/Test/testlib/
Dencoder.py63 def build_cli(self, image, blockSize="6x6", preset="-thorough", argument
190 def run_test(self, image, blockSize, preset, testRuns, keepOutput=True, argument
211 command = self.build_cli(image, blockSize, preset, keepOutput, threads)
263 def build_cli(self, image, blockSize="6x6", preset="-thorough", argument
272 dstPath = os.path.join(dstDir, self.name, preset[1:], blockSize, dstFile)
283 blockSize, preset, "-silent"
365 def build_cli(self, image, blockSize="6x6", preset="-thorough", argument
368 if preset == "-fastest":
369 preset = "-fast"
377 dstPath = os.path.join(dstDir, self.name, preset[1:], blockSize, dstFile)
[all …]
/third_party/python/Lib/
Dlzma.py50 format=None, check=-1, preset=None, filters=None): argument
101 if preset is not None:
112 preset=preset, filters=filters)
272 format=None, check=-1, preset=None, filters=None, argument
310 preset=preset, filters=filters)
319 def compress(data, format=FORMAT_XZ, check=-1, preset=None, filters=None): argument
327 comp = LZMACompressor(format, check, preset, filters)
/third_party/node/test/fixtures/postject-copy/node_modules/commander/lib/
Doption.js66 preset(arg) {
282 const preset = this.negativeOptions.get(optionKey).presetArg;
283 const negativeValue = (preset !== undefined) ? preset : false;
/third_party/python/Doc/library/
Dlzma.rst36 .. function:: open(filename, mode="rb", *, format=None, check=-1, preset=None, filters=None, encodi…
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 …]
/third_party/python/Modules/
D_lzmamodule.c239 uint32_t preset = LZMA_PRESET_DEFAULT; in INT_TYPE_CONVERTER_FUNC() local
254 int ok = uint32_converter(preset_obj, &preset); in INT_TYPE_CONVERTER_FUNC()
266 if (lzma_lzma_preset(options, preset)) { in INT_TYPE_CONVERTER_FUNC()
268 PyErr_Format(state->error, "Invalid compression preset: %u", preset); in INT_TYPE_CONVERTER_FUNC()
652 int check, uint32_t preset, PyObject *filterspecs) in Compressor_init_xz() argument
657 lzret = lzma_easy_encoder(lzs, preset, check); in Compressor_init_xz()
675 Compressor_init_alone(_lzma_state *state, lzma_stream *lzs, uint32_t preset, PyObject *filterspecs) in Compressor_init_alone() argument
682 if (lzma_lzma_preset(&options, preset)) { in Compressor_init_alone()
683 PyErr_Format(state->error, "Invalid compression preset: %u", preset); in Compressor_init_alone()
773 uint32_t preset = LZMA_PRESET_DEFAULT; in Compressor_init() local
[all …]
/third_party/ffmpeg/libavfilter/
Dvf_pseudocolor.c199 int preset; member
232 …{ "preset", "set preset", OFFSET(preset), AV_OPT_TYPE_INT, {.i64=-1},-1,…
233 …{ "p", "set preset", OFFSET(preset), AV_OPT_TYPE_INT, {.i64=-1},-1,…
615 for (color = 0; color < s->nb_planes && s->preset < 0; color++) { in config_input()
646 if (s->preset >= 0) { in config_input()
647 int nb_segments = presets[s->preset].nb_segments; in config_input()
650 AVRational rstart = presets[s->preset].ranges[seg].start; in config_input()
651 AVRational rend = presets[s->preset].ranges[seg].end; in config_input()
656 if (!presets[s->preset].curves) { in config_input()
657 const Fill fill = presets[s->preset].fills[seg]; in config_input()
[all …]
Dvf_libplacebo.c199 const struct pl_filter_preset *preset; in find_scaler() local
202 for (preset = pl_scale_filters; preset->name; preset++) in find_scaler()
203 av_log(avctx, AV_LOG_INFO, " %s\n", preset->name); in find_scaler()
207 for (preset = pl_scale_filters; preset->name; preset++) { in find_scaler()
208 if (!strcmp(name, preset->name)) { in find_scaler()
209 *opt = preset->filter; in find_scaler()
Dvf_curves.c46 enum preset { enum
63 int preset; member
87 …{ "preset", "select a color curves preset", OFFSET(preset), AV_OPT_TYPE_INT, {.i64=PRESET_NONE}, P…
498 if (curves->preset != PRESET_NONE) { in curves_init()
500 if (!pts[n] && curves_presets[curves->preset].name) { \ in curves_init()
501 pts[n] = av_strdup(curves_presets[curves->preset].name); \ in curves_init()
510 curves->preset = PRESET_NONE; in curves_init()
/third_party/python/PC/layout/support/
Doptions.py124 for preset, info in PRESETS.items():
125 if ns_get(ns, "preset-{}".format(preset)):
/third_party/lame/
DUSAGE40 % lame --preset 128 sample.wav sample.mp3
149 --preset type Enables some preconfigured settings. Check below for each
679 --preset x Enable one of the presets
682 --preset medium -V 5
683 --preset standard -V 2
684 --preset extreme -V 0
685 --preset insane -b 320
686 --preset fast xxx In versions older than LAME 3.98, "fast" was needed to
688 --preset number --abr number
689 --preset cbr number -b number
[all …]
/third_party/skia/third_party/externals/libwebp/src/enc/
Dconfig_enc.c25 WebPPreset preset, float quality, int version) { in WebPConfigInitInternal() argument
62 switch (preset) { in WebPConfigInitInternal()
/third_party/ffmpeg/libavcodec/
Dlibwebpenc_common.c40 …{ "preset", "Configuration preset", OFFSET(preset), AV_OPT_TYPE_INT, { .i64 = -1 }, -1,…
96 if (s->preset >= WEBP_PRESET_DEFAULT) { in ff_libwebp_encode_init_common()
97 ret = WebPConfigPreset(&s->config, s->preset, s->quality); in ff_libwebp_encode_init_common()
Dqsvenc.h54 { "preset", NULL, OFFSET(qsv.preset), AV_OPT_TYPE_INT, { .i64 = MFX_TARGETUSAGE_BALANCED }, MFX_TAR…
163 int preset; member
Dlibwebpenc_common.h43 int preset; // configuration preset member
/third_party/mbedtls/tests/scripts/
Dtest_config_script.py153 for preset in presets:
154 run_one(options, [preset])
/third_party/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
/third_party/skia/third_party/externals/libwebp/examples/
Dcwebp.c842 WebPPreset preset; in main() local
845 preset = WEBP_PRESET_DEFAULT; in main()
847 preset = WEBP_PRESET_PHOTO; in main()
849 preset = WEBP_PRESET_PICTURE; in main()
851 preset = WEBP_PRESET_DRAWING; in main()
853 preset = WEBP_PRESET_ICON; in main()
855 preset = WEBP_PRESET_TEXT; in main()
860 if (!WebPConfigPreset(&config, preset, config.quality)) { in main()
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
DStreamConfiguration.java261 private static boolean matchInputPreset(String text, int preset) { in matchInputPreset() argument
262 return convertInputPresetToText(preset).toLowerCase().equals(text); in matchInputPreset()
/third_party/python/Lib/test/
Dtest_lzma.py30 self.assertRaises(TypeError, LZMACompressor, preset="asdf")
36 LZMACompressor(preset=7, filters=[{"id": lzma.FILTER_LZMA2}])
393 self.assertRaises(TypeError, lzma.compress, b"", preset="blah")
397 lzma.compress(b"", preset=3, filters=[{"id": lzma.FILTER_LZMA2}])
636 LZMAFile(BytesIO(), "w", preset=4.39)
638 LZMAFile(BytesIO(), "w", preset=10)
640 LZMAFile(BytesIO(), "w", preset=23)
642 LZMAFile(BytesIO(), "w", preset=-1)
644 LZMAFile(BytesIO(), "w", preset=-7)
646 LZMAFile(BytesIO(), "w", preset="foo")
[all …]
/third_party/weex-loader/deps/weex-scripter/
D.jscsrc2 "preset": "node-style-guide",
/third_party/pulseaudio/po/
Dmeson.build3 preset: 'glib',
/third_party/weex-loader/deps/weex-styler/
D.jscsrc2 "preset": "node-style-guide",
/third_party/node/doc/
DREADME.md63 [`remark-preset-lint-node`][].
113 [`remark-preset-lint-node`]: https://github.com/nodejs/remark-preset-lint-node
/third_party/skia/third_party/externals/libwebp/src/webp/
Dencode.h183 WebPPreset preset, float quality) { in WebPConfigPreset() argument
184 return WebPConfigInitInternal(config, preset, quality, in WebPConfigPreset()

12345