/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...] |
/kernel/linux/linux-6.6/drivers/counter/ |
H A D | i8254.c | 46 * @preset: array of Counter Register states 52 u16 preset[I8254_NUM_COUNTERS]; member 135 *ceiling = (priv->preset[count->id] == 0) ? U16_MAX : priv->preset[count->id]; in i8254_count_ceiling_read() 138 if (priv->preset[count->id] % 2) in i8254_count_ceiling_read() 139 *ceiling = priv->preset[count->id] - 1; in i8254_count_ceiling_read() 140 else if (priv->preset[count->id] == 0) in i8254_count_ceiling_read() 144 *ceiling = priv->preset[count->id]; in i8254_count_ceiling_read() 222 priv->preset[count->id] = 0; in i8254_count_mode_write() 242 *floor = (priv->preset[coun in i8254_count_floor_read() 258 i8254_count_preset_read(struct counter_device *const counter, struct counter_count *const count, u64 *const preset) i8254_count_preset_read() argument 268 i8254_count_preset_write(struct counter_device *const counter, struct counter_count *const count, const u64 preset) i8254_count_preset_write() argument [all...] |
H A D | 104-quad-8.c | 56 * @preset: array of preset values 66 unsigned int preset[QUAD8_NUM_COUNTERS]; member 260 const unsigned long preset) in quad8_preset_register_set() 265 put_unaligned_le24(preset, value); in quad8_preset_register_set() 308 ret = quad8_preset_register_set(priv, count->id, priv->preset[count->id]); in quad8_count_write() 816 struct counter_count *count, u64 *preset) in quad8_count_preset_read() 820 *preset = priv->preset[count->id]; in quad8_count_preset_read() 826 struct counter_count *count, u64 preset) in quad8_count_preset_write() 259 quad8_preset_register_set(struct quad8 *const priv, const size_t id, const unsigned long preset) quad8_preset_register_set() argument 815 quad8_count_preset_read(struct counter_device *counter, struct counter_count *count, u64 *preset) quad8_count_preset_read() argument 825 quad8_count_preset_write(struct counter_device *counter, struct counter_count *count, u64 preset) quad8_count_preset_write() argument [all...] |
/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...] |
/kernel/linux/linux-5.10/sound/pci/hda/ |
H A D | hda_bind.c | 34 codec->preset = list; in hda_codec_match() 99 if (WARN_ON(!codec->preset)) in hda_codec_driver_probe() 102 err = snd_hda_codec_set_name(codec, codec->preset->name); in hda_codec_driver_probe() 114 patch = (hda_codec_patch_t)codec->preset->driver_data; in hda_codec_driver_probe() 146 codec->preset = NULL; in hda_codec_driver_probe() 163 codec->preset = NULL; in hda_codec_driver_remove() 201 return device_attach(hda_codec_dev(codec)) > 0 && codec->preset; in codec_probed() 320 if (!codec->preset) in snd_hda_codec_configure() 322 if (!codec->preset) { in snd_hda_codec_configure()
|
/kernel/linux/linux-6.6/sound/pci/hda/ |
H A D | hda_bind.c | 34 codec->preset = list; in hda_codec_match() 99 if (WARN_ON(!codec->preset)) in hda_codec_driver_probe() 102 err = snd_hda_codec_set_name(codec, codec->preset->name); in hda_codec_driver_probe() 114 patch = (hda_codec_patch_t)codec->preset->driver_data; in hda_codec_driver_probe() 146 codec->preset = NULL; in hda_codec_driver_probe() 169 codec->preset = NULL; in hda_codec_driver_remove() 204 return device_attach(hda_codec_dev(codec)) > 0 && codec->preset; in codec_probed() 330 if (!codec->preset) in snd_hda_codec_configure() 332 if (!codec->preset) { in snd_hda_codec_configure()
|
/kernel/linux/linux-6.6/drivers/hwtracing/coresight/ |
H A D | coresight-config.c | 136 * the value of the preset index associated with the parameter. 138 static int cscfg_update_presets(struct cscfg_config_csdev *config_csdev, int preset) in cscfg_update_presets() argument 148 /* preset in range 1 to nr_presets */ in cscfg_update_presets() 149 if (preset < 1 || preset > config_desc->nr_presets) in cscfg_update_presets() 152 * Go through the array of features, assigning preset values to in cscfg_update_presets() 154 * There should be precisely the same number of preset values as the in cscfg_update_presets() 159 preset_base = &config_desc->presets[(preset - 1) * nr_cfg_params]; in cscfg_update_presets() 188 * if we are not using a preset, then need to update the feature params 254 * @preset 256 cscfg_csdev_enable_config(struct cscfg_config_csdev *config_csdev, int preset) cscfg_csdev_enable_config() argument [all...] |
H A D | coresight-syscfg-configfs.c | 51 /* list preset values in order of features and params */ 113 cscfg_config_sysfs_set_preset(fs_config->preset); in cscfg_cfg_enable_store() 124 return scnprintf(page, PAGE_SIZE, "%d\n", fs_config->preset); in cscfg_cfg_preset_show() 132 int preset, err; in cscfg_cfg_preset_store() local 134 err = kstrtoint(page, 0, &preset); in cscfg_cfg_preset_store() 140 if ((preset < 1) || (preset > fs_config->config_desc->nr_presets)) in cscfg_cfg_preset_store() 146 fs_config->preset = preset; in cscfg_cfg_preset_store() 149 cscfg_config_sysfs_set_preset(fs_config->preset); in cscfg_cfg_preset_store() [all...] |
H A D | coresight-syscfg.h | 43 * @sysfs_active_preset:Active preset index used if CoreSight controlled from sysfs. 109 void cscfg_config_sysfs_set_preset(int preset); 123 unsigned long cfg_hash, int preset); 125 void cscfg_config_sysfs_get_active_cfg(unsigned long *cfg_hash, int *preset);
|
/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;
|
/kernel/linux/linux-5.10/drivers/counter/ |
H A D | 104-quad-8.c | 35 * @preset: array of preset values 50 unsigned int preset[QUAD8_NUM_COUNTERS]; member 172 val = priv->preset[chan->channel]; in quad8_write_raw() 248 return snprintf(buf, PAGE_SIZE, "%u\n", priv->preset[chan->channel]); in quad8_read_preset() 256 unsigned int preset; in quad8_write_preset() local 260 ret = kstrtouint(buf, 0, &preset); in quad8_write_preset() 265 if (preset > 0xFFFFFF) in quad8_write_preset() 270 priv->preset[chan->channel] = preset; in quad8_write_preset() 1124 quad8_preset_register_set(struct quad8_iio *quad8iio, int id, unsigned int preset) quad8_preset_register_set() argument 1144 unsigned int preset; quad8_count_preset_write() local [all...] |
/kernel/linux/linux-5.10/drivers/media/i2c/ |
H A D | s5k6aa.c | 256 struct s5k6aa_preset *preset; member 313 struct s5k6aa_preset *preset = &s5k6aa->presets[0]; in s5k6aa_presets_data_init() local 317 preset->mbus_fmt.width = S5K6AA_OUT_WIDTH_DEF; in s5k6aa_presets_data_init() 318 preset->mbus_fmt.height = S5K6AA_OUT_HEIGHT_DEF; in s5k6aa_presets_data_init() 319 preset->mbus_fmt.code = s5k6aa_formats[0].code; in s5k6aa_presets_data_init() 320 preset->index = i; in s5k6aa_presets_data_init() 321 preset->clk_id = 0; in s5k6aa_presets_data_init() 322 preset++; in s5k6aa_presets_data_init() 326 s5k6aa->preset = &s5k6aa->presets[0]; in s5k6aa_presets_data_init() 467 int index = s5k6aa->preset in s5k6aa_set_mirror() 628 s5k6aa_set_output_framefmt(struct s5k6aa *s5k6aa, struct s5k6aa_preset *preset) s5k6aa_set_output_framefmt() argument 731 s5k6aa_set_prev_config(struct s5k6aa *s5k6aa, struct s5k6aa_preset *preset) s5k6aa_set_prev_config() argument 1116 struct s5k6aa_preset *preset = s5k6aa->preset; s5k6aa_set_fmt() local [all...] |
/kernel/linux/linux-5.10/sound/usb/ |
H A D | card.c | 336 * Profile name preset table 475 const struct usb_audio_device_name *preset; in usb_audio_make_shortname() local 478 preset = lookup_device_name(chip->usb_id); in usb_audio_make_shortname() 479 if (preset && preset->product_name) in usb_audio_make_shortname() 480 s = preset->product_name; in usb_audio_make_shortname() 506 const struct usb_audio_device_name *preset; in usb_audio_make_longname() local 510 preset = lookup_device_name(chip->usb_id); in usb_audio_make_longname() 513 if (preset && preset in usb_audio_make_longname() [all...] |
/kernel/linux/linux-6.6/sound/usb/ |
H A D | card.c | 341 * Profile name preset table 500 const struct usb_audio_device_name *preset; in usb_audio_make_shortname() local 503 preset = lookup_device_name(chip->usb_id); in usb_audio_make_shortname() 504 if (preset && preset->product_name) in usb_audio_make_shortname() 505 s = preset->product_name; in usb_audio_make_shortname() 531 const struct usb_audio_device_name *preset; in usb_audio_make_longname() local 535 preset = lookup_device_name(chip->usb_id); in usb_audio_make_longname() 538 if (preset && preset in usb_audio_make_longname() [all...] |
/kernel/linux/linux-5.10/drivers/iio/magnetometer/ |
H A D | bmc150_magn.c | 693 struct bmc150_magn_preset preset; in bmc150_magn_init() local 715 preset = bmc150_magn_presets_table[BMC150_MAGN_DEFAULT_PRESET]; in bmc150_magn_init() 716 ret = bmc150_magn_set_odr(data, preset.odr); in bmc150_magn_init() 719 preset.odr); in bmc150_magn_init() 724 BMC150_MAGN_REPXY_TO_REGVAL(preset.rep_xy)); in bmc150_magn_init() 727 preset.rep_xy); in bmc150_magn_init() 732 BMC150_MAGN_REPZ_TO_REGVAL(preset.rep_z)); in bmc150_magn_init() 735 preset.rep_z); in bmc150_magn_init() 739 ret = bmc150_magn_set_max_odr(data, preset.rep_xy, preset in bmc150_magn_init() [all...] |
/kernel/linux/linux-6.6/drivers/iio/magnetometer/ |
H A D | bmc150_magn.c | 695 struct bmc150_magn_preset preset; in bmc150_magn_init() local 729 preset = bmc150_magn_presets_table[BMC150_MAGN_DEFAULT_PRESET]; in bmc150_magn_init() 730 ret = bmc150_magn_set_odr(data, preset.odr); in bmc150_magn_init() 733 preset.odr); in bmc150_magn_init() 738 BMC150_MAGN_REPXY_TO_REGVAL(preset.rep_xy)); in bmc150_magn_init() 741 preset.rep_xy); in bmc150_magn_init() 746 BMC150_MAGN_REPZ_TO_REGVAL(preset.rep_z)); in bmc150_magn_init() 749 preset.rep_z); in bmc150_magn_init() 753 ret = bmc150_magn_set_max_odr(data, preset.rep_xy, preset in bmc150_magn_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/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...] |
/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...] |
/kernel/linux/linux-5.10/sound/synth/emux/ |
H A D | soundfont.c | 54 int bank, int preset, int key); 56 int preset, int bank, struct snd_sf_zone **table, 207 /* check if specified type is special font (GUS or preset-alias) */ 1108 /* rebuild preset now */ in load_guspatch() 1128 * Rebuild the preset table. This is like a hash table in that it allows 1129 * quick access to the zone information. For each preset there are zone 1131 * link for this preset, and latter is the link for zone (i.e. instrument/ 1140 /* clear preset table */ in rebuild_presets() 1160 * add the given zone to preset table 1187 cur->next_instr = sflist->presets[index]; /* preset tabl in add_preset() 1221 snd_soundfont_search_zone(struct snd_sf_list *sflist, int *notep, int vel, int preset, int bank, int def_preset, int def_bank, struct snd_sf_zone **table, int max_layers) snd_soundfont_search_zone() argument 1255 search_first_zone(struct snd_sf_list *sflist, int bank, int preset, int key) search_first_zone() argument 1274 search_zones(struct snd_sf_list *sflist, int *notep, int vel, int preset, int bank, struct snd_sf_zone **table, int max_layers, int level) search_zones() argument [all...] |
/kernel/linux/linux-6.6/sound/synth/emux/ |
H A D | soundfont.c | 54 int bank, int preset, int key); 56 int preset, int bank, struct snd_sf_zone **table, 207 /* check if specified type is special font (GUS or preset-alias) */ 1116 /* rebuild preset now */ in load_guspatch() 1136 * Rebuild the preset table. This is like a hash table in that it allows 1137 * quick access to the zone information. For each preset there are zone 1139 * link for this preset, and latter is the link for zone (i.e. instrument/ 1148 /* clear preset table */ in rebuild_presets() 1168 * add the given zone to preset table 1196 cur->next_instr = sflist->presets[index]; /* preset tabl in add_preset() 1231 snd_soundfont_search_zone(struct snd_sf_list *sflist, int *notep, int vel, int preset, int bank, int def_preset, int def_bank, struct snd_sf_zone **table, int max_layers) snd_soundfont_search_zone() argument 1265 search_first_zone(struct snd_sf_list *sflist, int bank, int preset, int key) search_first_zone() argument 1285 search_zones(struct snd_sf_list *sflist, int *notep, int vel, int preset, int bank, struct snd_sf_zone **table, int max_layers, int level) search_zones() argument [all...] |
/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
|