/third_party/lame/libmp3lame/ |
H A D | presets.c | 216 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 in apply_preset() [all...] |
H A D | set_get.h | 67 int apply_preset(lame_global_flags *, int preset, int enforce);
|
H A D | lame_global_flags.h | 100 int preset; member
|
/third_party/python/Lib/ |
H A D | lzma.py | 50 format=None, check=-1, preset=None, filters=None): 72 When opening a file for reading, the *preset* argument is not 78 compressor can be specified either as a preset compression 79 level (with the *preset* argument), or in detail as a custom 81 FORMAT_ALONE, the default is to use the PRESET_DEFAULT preset 83 chain; the raw compressor does not support preset compression 86 preset (if provided) should be an integer in the range 0-9, 101 if preset is not None: 102 raise ValueError("Cannot specify a preset compression " 112 preset [all...] |
/third_party/astc-encoder/Test/testlib/ |
H A D | encoder.py | 63 def build_cli(self, image, blockSize="6x6", preset="-thorough", 71 preset (str): The quality-performance preset to use. 190 def run_test(self, image, blockSize, preset, testRuns, keepOutput=True, 198 preset (str): The quality-performance preset to use. 211 command = self.build_cli(image, blockSize, preset, keepOutput, threads) 266 def build_cli(self, image, blockSize="6x6", preset="-thorough", 275 dstPath = os.path.join(dstDir, self.name, preset[1:], blockSize, dstFile) 286 blockSize, preset, " [all...] |
/third_party/node/test/fixtures/postject-copy/node_modules/commander/lib/ |
H A D | option.js | 59 * new Option('--color').default('GREYSCALE').preset('RGB'); 60 * new Option('--donate [amount]').preset('20').argParser(parseFloat); 66 preset(arg) { 282 const preset = this.negativeOptions.get(optionKey).presetArg; 283 const negativeValue = (preset !== undefined) ? preset : false;
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_libplacebo.c | 199 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 in find_scaler() [all...] |
H A D | vf_pseudocolor.c | 199 int preset; member 232 { "preset", "set preset", OFFSET(preset), AV_OPT_TYPE_INT, {.i64=-1},-1, NB_PRESETS-1, .flags = FLAGS, "preset" }, 233 { "p", "set preset", OFFSET(preset), AV_OPT_TYPE_INT, {.i64=-1},-1, NB_PRESETS-1, .flags = FLAGS, "preset" }, 234 { "none", NULL, 0, AV_OPT_TYPE_CONST, {.i64=-1}, .flags = FLAGS, "preset" }, 235 { "magma", NULL, 0, AV_OPT_TYPE_CONST, {.i64=PRESET_MAGMA}, .flags = FLAGS, "preset" }, [all...] |
H A D | vf_curves.c | 46 enum preset { enum 63 int preset; member 87 { "preset", "select a color curves preset", OFFSET(preset), AV_OPT_TYPE_INT, {.i64=PRESET_NONE}, PRESET_NONE, NB_PRESETS-1, FLAGS, "preset_name" }, 479 //if (!allp && curves->preset != PRESET_NONE && curves_presets[curves->preset].all) in curves_init() 480 // allp = curves_presets[curves->preset].all; in curves_init() 498 if (curves->preset != PRESET_NONE) { in curves_init() 500 if (!pts[n] && curves_presets[curves->preset] in curves_init() [all...] |
/third_party/python/PC/layout/support/ |
H A D | options.py | 104 yield "--preset-{}".format(opt), help 124 for preset, info in PRESETS.items(): 125 if ns_get(ns, "preset-{}".format(preset)):
|
/third_party/python/Modules/ |
H A D | _lzmamodule.c | 235 static char *optnames[] = {"id", "preset", "dict_size", "lc", "lp", in parse_filter_spec_lzma() 239 uint32_t preset = LZMA_PRESET_DEFAULT; in parse_filter_spec_lzma() local 242 /* First, fill in default values for all the options using a preset. in parse_filter_spec_lzma() 245 preset_obj = PyMapping_GetItemString(spec, "preset"); in parse_filter_spec_lzma() 254 int ok = uint32_converter(preset_obj, &preset); in parse_filter_spec_lzma() 266 if (lzma_lzma_preset(options, preset)) { in parse_filter_spec_lzma() 268 PyErr_Format(state->error, "Invalid compression preset: %u", preset); in parse_filter_spec_lzma() 653 int check, uint32_t preset, PyObject *filterspecs) in Compressor_init_xz() 658 lzret = lzma_easy_encoder(lzs, preset, chec in Compressor_init_xz() 652 Compressor_init_xz(_lzma_state *state, lzma_stream *lzs, int check, uint32_t preset, PyObject *filterspecs) Compressor_init_xz() argument 676 Compressor_init_alone(_lzma_state *state, lzma_stream *lzs, uint32_t preset, PyObject *filterspecs) Compressor_init_alone() argument 774 uint32_t preset = LZMA_PRESET_DEFAULT; Compressor_init() local [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | libwebpenc_common.c | 40 { "preset", "Configuration preset", OFFSET(preset), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, WEBP_PRESET_TEXT, VE, "preset" }, 41 { "none", "do not use a preset", 0, AV_OPT_TYPE_CONST, { .i64 = -1 }, 0, 0, VE, "preset" }, 42 { "default", "default preset", 0, AV_OPT_TYPE_CONST, { .i64 = WEBP_PRESET_DEFAULT }, 0, 0, VE, "preset" }, 43 { "picture", "digital picture, like portrait, inner shot", 0, AV_OPT_TYPE_CONST, { .i64 = WEBP_PRESET_PICTURE }, 0, 0, VE, "preset" }, 44 { "photo", "outdoor photograph, with natural lighting", 0, AV_OPT_TYPE_CONST, { .i64 = WEBP_PRESET_PHOTO }, 0, 0, VE, "preset" }, [all...] |
H A D | libwebpenc_common.h | 43 int preset; // configuration preset member
|
H A D | qsvenc.h | 54 { "preset", NULL, OFFSET(qsv.preset), AV_OPT_TYPE_INT, { .i64 = MFX_TARGETUSAGE_BALANCED }, MFX_TARGETUSAGE_BEST_QUALITY, MFX_TARGETUSAGE_BEST_SPEED, VE, "preset" }, \ 55 { "veryfast", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = MFX_TARGETUSAGE_BEST_SPEED }, INT_MIN, INT_MAX, VE, "preset" }, \ 56 { "faster", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = MFX_TARGETUSAGE_6 }, INT_MIN, INT_MAX, VE, "preset" }, \ 57 { "fast", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = MFX_TARGETUSAGE_5 }, INT_MIN, INT_MAX, VE, "preset" }, \ 58 { "medium", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = MFX_TARGETUSAGE_BALANCED }, INT_MIN, INT_MAX, VE, "preset" }, \ 59 { "slow", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = MFX_TARGETUSAGE_3 }, INT_MIN, INT_MAX, VE, "preset" }, \ 60 { "slower", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = MFX_TARGETUSAGE_2 }, INT_MIN, INT_MAX, VE, "preset" }, \ 61 { "veryslow", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = MFX_TARGETUSAGE_BEST_QUALITY }, INT_MIN, INT_MAX, VE, "preset" }, \ 163 int preset; global() member [all...] |
H A D | nvenc_hevc.c | 30 { "preset", "Set the encoding preset", OFFSET(preset), AV_OPT_TYPE_INT, { .i64 = PRESET_P4 }, PRESET_DEFAULT, PRESET_P7, VE, "preset" }, 32 { "preset", "Set the encoding preset", OFFSET(preset), AV_OPT_TYPE_INT, { .i64 = PRESET_MEDIUM }, PRESET_DEFAULT, PRESET_LOSSLESS_HP, VE, "preset" }, 34 { "default", "", 0, AV_OPT_TYPE_CONST, { .i64 = PRESET_DEFAULT }, 0, 0, VE, "preset" }, 35 { "slow", "hq 2 passes", 0, AV_OPT_TYPE_CONST, { .i64 = PRESET_SLOW }, 0, 0, VE, "preset" }, [all...] |
H A D | libx265.c | 51 char *preset; member 142 if (ctx->api->param_default_preset(ctx->params, ctx->preset, ctx->tune) < 0) { in libx265_encode_init() 145 av_log(avctx, AV_LOG_ERROR, "Error setting preset/tune %s/%s.\n", ctx->preset, ctx->tune); in libx265_encode_init() 713 { "preset", "set the x265 preset", OFFSET(preset), AV_OPT_TYPE_STRING, { 0 }, 0, 0, VE },
|
/third_party/mbedtls/tests/scripts/ |
H A D | test_config_script.py | 153 for preset in presets: 154 run_one(options, [preset])
|
/third_party/skia/third_party/externals/libwebp/src/enc/ |
H A D | config_enc.c | 25 WebPPreset preset, float quality, int version) { in WebPConfigInitInternal() 62 switch (preset) { in WebPConfigInitInternal() 24 WebPConfigInitInternal(WebPConfig* config, WebPPreset preset, float quality, int version) WebPConfigInitInternal() argument
|
/third_party/skia/third_party/externals/libwebp/examples/ |
H A D | cwebp.c | 527 printf(" cwebp [-preset <...>] [options] in_file [-o out_file]\n\n"); in HelpLong() 541 printf(" -preset <string> ....... preset setting, one of:\n"); in HelpLong() 544 printf(" -preset must come first, as it overwrites other parameters\n"); in HelpLong() 545 printf(" -z <int> ............... activates lossless preset with given\n" in HelpLong() 841 } else if (!strcmp(argv[c], "-preset") && c + 1 < argc) { in main() 842 WebPPreset preset; in main() local 845 preset = WEBP_PRESET_DEFAULT; in main() 847 preset = WEBP_PRESET_PHOTO; in main() 849 preset in main() [all...] |
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/ |
H A D | StreamConfiguration.java | 220 message.append(String.format("%s.preset = %s\n", prefix, in dump() 261 private static boolean matchInputPreset(String text, int preset) { in matchInputPreset() argument 262 return convertInputPresetToText(preset).toLowerCase().equals(text); in matchInputPreset()
|
/third_party/cups-filters/filter/pdftopdf/ |
H A D | nup.h | 31 static void preset(int nup,NupParameters &ret);
|
/third_party/python/Lib/test/ |
H A D | test_lzma.py | 30 self.assertRaises(TypeError, LZMACompressor, preset="asdf") 34 # Can't specify a preset and a custom filter chain at the same time. 36 LZMACompressor(preset=7, filters=[{"id": lzma.FILTER_LZMA2}]) 393 self.assertRaises(TypeError, lzma.compress, b"", preset="blah") 395 # Can't specify a preset and a custom filter chain at the same time. 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 [all...] |
/third_party/zlib/contrib/pascal/ |
H A D | example.pas | 447 * Test deflate with preset dictionary 481 * Test inflate with a preset dictionary 592 WriteLn('** Testing deflate and inflate with preset dictionary');
|
/third_party/lame/ |
H A D | lame.bat | 21 set OPTS=--preset cd
|
/third_party/skia/third_party/externals/libwebp/src/webp/ |
H A D | encode.h | 87 WEBP_HINT_DEFAULT = 0, // default preset. 158 WEBP_PRESET_DEFAULT = 0, // default preset. 179 // set of parameters (referred to by 'preset') and a given quality factor. 183 WebPPreset preset, float quality) { in WebPConfigPreset() 184 return WebPConfigInitInternal(config, preset, quality, in WebPConfigPreset() 182 WebPConfigPreset(WebPConfig* config, WebPPreset preset, float quality) WebPConfigPreset() argument
|