Home
last modified time | relevance | path

Searched refs:cfg (Results 1 – 25 of 505) sorted by relevance

12345678910>>...21

/external/libvpx/libvpx/examples/
Dvpx_temporal_svc_encoder.c83 vpx_codec_enc_cfg_t *cfg) { in set_rate_control_metrics() argument
87 const double framerate = cfg->g_timebase.den / cfg->g_timebase.num; in set_rate_control_metrics()
88 rc->layer_framerate[0] = framerate / cfg->ts_rate_decimator[0]; in set_rate_control_metrics()
91 for (i = 0; i < cfg->ts_number_layers; ++i) { in set_rate_control_metrics()
93 rc->layer_framerate[i] = framerate / cfg->ts_rate_decimator[i]; in set_rate_control_metrics()
112 vpx_codec_enc_cfg_t *cfg, in printout_rate_control_summary() argument
119 cfg->ts_number_layers); in printout_rate_control_summary()
120 for (i = 0; i < cfg->ts_number_layers; ++i) { in printout_rate_control_summary()
164 vpx_codec_enc_cfg_t *cfg, in set_temporal_layer_pattern() argument
171 cfg->ts_periodicity = 1; in set_temporal_layer_pattern()
[all …]
Dvp8_multi_resolution_encoder.c137 const vpx_codec_enc_cfg_t *cfg, in write_ivf_file_header() argument
141 if(cfg->g_pass != VPX_RC_ONE_PASS && cfg->g_pass != VPX_RC_LAST_PASS) in write_ivf_file_header()
150 mem_put_le16(header+12, cfg->g_w); /* width */ in write_ivf_file_header()
151 mem_put_le16(header+14, cfg->g_h); /* height */ in write_ivf_file_header()
152 mem_put_le32(header+16, cfg->g_timebase.den); /* rate */ in write_ivf_file_header()
153 mem_put_le32(header+20, cfg->g_timebase.num); /* scale */ in write_ivf_file_header()
183 vpx_codec_enc_cfg_t *cfg, in set_temporal_layer_pattern() argument
193 cfg->ts_number_layers = 1; in set_temporal_layer_pattern()
194 cfg->ts_periodicity = 1; in set_temporal_layer_pattern()
195 cfg->ts_rate_decimator[0] = 1; in set_temporal_layer_pattern()
[all …]
Dset_maps.c64 static void set_roi_map(const vpx_codec_enc_cfg_t *cfg, in set_roi_map() argument
70 roi.rows = (cfg->g_h + 15) / 16; in set_roi_map()
71 roi.cols = (cfg->g_w + 15) / 16; in set_roi_map()
98 static void set_active_map(const vpx_codec_enc_cfg_t *cfg, in set_active_map() argument
103 map.rows = (cfg->g_h + 15) / 16; in set_active_map()
104 map.cols = (cfg->g_w + 15) / 16; in set_active_map()
116 static void unset_active_map(const vpx_codec_enc_cfg_t *cfg, in unset_active_map() argument
120 map.rows = (cfg->g_h + 15) / 16; in unset_active_map()
121 map.cols = (cfg->g_w + 15) / 16; in unset_active_map()
163 vpx_codec_enc_cfg_t cfg; in main() local
[all …]
Dtwopass_encoder.c132 const vpx_codec_enc_cfg_t *cfg) { in pass0() argument
137 if (vpx_codec_enc_init(&codec, encoder->codec_interface(), cfg, 0)) in pass0()
162 const vpx_codec_enc_cfg_t *cfg) { in pass1() argument
165 cfg->g_w, in pass1()
166 cfg->g_h, in pass1()
167 {cfg->g_timebase.num, cfg->g_timebase.den} in pass1()
177 if (vpx_codec_enc_init(&codec, encoder->codec_interface(), cfg, 0)) in pass1()
203 vpx_codec_enc_cfg_t cfg; in main() local
237 res = vpx_codec_enc_config_default(encoder->codec_interface(), &cfg, 0); in main()
241 cfg.g_w = w; in main()
[all …]
/external/iptables/extensions/
Dlibxt_hashlimit.c102 XTOPT_POINTER(s, cfg.burst)},
105 XTOPT_POINTER(s, cfg.size)},
108 XTOPT_POINTER(s, cfg.max)},
111 XTOPT_POINTER(s, cfg.gc_interval)},
114 XTOPT_POINTER(s, cfg.expire)},
136 XTOPT_POINTER(s, cfg.size)},
139 XTOPT_POINTER(s, cfg.max)},
142 XTOPT_POINTER(s, cfg.gc_interval)},
145 XTOPT_POINTER(s, cfg.expire)},
270 r->cfg.burst = XT_HASHLIMIT_BURST; in hashlimit_init()
[all …]
/external/libvpx/libvpx/vp8/
Dvp8_cx_iface.c75 vpx_codec_enc_cfg_t cfg; member
132 const vpx_codec_enc_cfg_t *cfg, in validate_config() argument
136 RANGE_CHECK(cfg, g_w, 1, 16383); /* 14 bits available */ in validate_config()
137 RANGE_CHECK(cfg, g_h, 1, 16383); /* 14 bits available */ in validate_config()
138 RANGE_CHECK(cfg, g_timebase.den, 1, 1000000000); in validate_config()
139 RANGE_CHECK(cfg, g_timebase.num, 1, 1000000000); in validate_config()
140 RANGE_CHECK_HI(cfg, g_profile, 3); in validate_config()
141 RANGE_CHECK_HI(cfg, rc_max_quantizer, 63); in validate_config()
142 RANGE_CHECK_HI(cfg, rc_min_quantizer, cfg->rc_max_quantizer); in validate_config()
143 RANGE_CHECK_HI(cfg, g_threads, 64); in validate_config()
[all …]
/external/libvpx/libvpx/test/
Dcodec_factory.h35 virtual Decoder* CreateDecoder(vpx_codec_dec_cfg_t cfg,
38 virtual Decoder* CreateDecoder(vpx_codec_dec_cfg_t cfg,
43 virtual Encoder* CreateEncoder(vpx_codec_enc_cfg_t cfg,
48 virtual vpx_codec_err_t DefaultEncoderConfig(vpx_codec_enc_cfg_t *cfg,
77 VP8Decoder(vpx_codec_dec_cfg_t cfg, unsigned long deadline) in VP8Decoder() argument
78 : Decoder(cfg, deadline) {} in VP8Decoder()
80 VP8Decoder(vpx_codec_dec_cfg_t cfg, const vpx_codec_flags_t flag, in VP8Decoder() argument
82 : Decoder(cfg, flag, deadline) {} in VP8Decoder()
96 VP8Encoder(vpx_codec_enc_cfg_t cfg, unsigned long deadline, in VP8Encoder() argument
98 : Encoder(cfg, deadline, init_flags, stats) {} in VP8Encoder()
[all …]
/external/curl/
DMakefile.dist98 nmake -f Makefile.$(VC) cfg=release
99 nmake -f Makefile.$(VC) cfg=release-ssl
100 nmake -f Makefile.$(VC) cfg=release-zlib
101 nmake -f Makefile.$(VC) cfg=release-ssl-zlib
102 nmake -f Makefile.$(VC) cfg=release-ssl-dll
103 nmake -f Makefile.$(VC) cfg=release-zlib-dll
104 nmake -f Makefile.$(VC) cfg=release-ssl-dll-zlib-dll
105 nmake -f Makefile.$(VC) cfg=release-dll
106 nmake -f Makefile.$(VC) cfg=release-dll-ssl-dll
107 nmake -f Makefile.$(VC) cfg=release-dll-zlib-dll
[all …]
/external/libvpx/libvpx/vp9/
Dvp9_cx_iface.c84 vpx_codec_enc_cfg_t cfg; member
155 const vpx_codec_enc_cfg_t *cfg, in validate_config() argument
157 RANGE_CHECK(cfg, g_w, 1, 65535); // 16 bits available in validate_config()
158 RANGE_CHECK(cfg, g_h, 1, 65535); // 16 bits available in validate_config()
159 RANGE_CHECK(cfg, g_timebase.den, 1, 1000000000); in validate_config()
160 RANGE_CHECK(cfg, g_timebase.num, 1, cfg->g_timebase.den); in validate_config()
161 RANGE_CHECK_HI(cfg, g_profile, 3); in validate_config()
163 RANGE_CHECK_HI(cfg, rc_max_quantizer, 63); in validate_config()
164 RANGE_CHECK_HI(cfg, rc_min_quantizer, cfg->rc_max_quantizer); in validate_config()
168 RANGE_CHECK_HI(cfg, g_threads, 64); in validate_config()
[all …]
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/
Ddefault_temporal_layers.cc49 vpx_codec_enc_cfg_t* cfg) { in ConfigureBitrates() argument
55 cfg->ts_number_layers = number_of_temporal_layers_; in ConfigureBitrates()
56 cfg->ts_periodicity = temporal_ids_length_; in ConfigureBitrates()
57 cfg->ts_target_bitrate[0] = bitrateKbit; in ConfigureBitrates()
58 cfg->ts_rate_decimator[0] = 1; in ConfigureBitrates()
59 memcpy(cfg->ts_layer_id, temporal_ids_, in ConfigureBitrates()
68 cfg->ts_number_layers = number_of_temporal_layers_; in ConfigureBitrates()
69 cfg->ts_periodicity = temporal_ids_length_; in ConfigureBitrates()
72 cfg->ts_target_bitrate[0] = bitrateKbit * kVp8LayerRateAlloction[1][0]; in ConfigureBitrates()
73 cfg->ts_target_bitrate[1] = bitrateKbit; in ConfigureBitrates()
[all …]
Drealtime_temporal_layers.cc107 vpx_codec_enc_cfg_t* cfg) { in ConfigureBitrates() argument
113 cfg->ts_number_layers = temporal_layers_; in ConfigureBitrates()
115 cfg->ts_target_bitrate[tl] = in ConfigureBitrates()
129 cfg->ts_rate_decimator[0] = 1; in ConfigureBitrates()
130 cfg->ts_periodicity = layer_ids_length_; in ConfigureBitrates()
150 cfg->ts_rate_decimator[0] = 2; in ConfigureBitrates()
151 cfg->ts_rate_decimator[1] = 1; in ConfigureBitrates()
152 cfg->ts_periodicity = layer_ids_length_; in ConfigureBitrates()
172 cfg->ts_rate_decimator[0] = 4; in ConfigureBitrates()
173 cfg->ts_rate_decimator[1] = 2; in ConfigureBitrates()
[all …]
/external/autotest/client/bin/
Dtest_config.py19 def __init__(self, cfg, tmpdir='/tmp', raise_errors=False): argument
36 if hasattr(cfg, 'read'):
37 self.cfg = cfg
38 self.parser.readfp(self.cfg)
39 elif isinstance(cfg, types.StringTypes):
41 if cfg.startswith('http') or cfg.startswith('ftp'):
42 self.cfg = path.join(tmpdir, path.basename(cfg))
43 utils.urlretrieve(cfg, self.cfg)
44 self.parser.read(self.cfg)
46 elif path.exists(path.abspath(cfg)):
[all …]
/external/libnfc-nci/src/nfa/hci/
Dnfa_hci_main.c227 if (strlen (&nfa_hci_cb.cfg.reg_app_names[xx][0]) > NFA_MAX_HCI_APP_NAME_LEN) in nfa_hci_is_valid_cfg()
231 if ( (nfa_hci_cb.cfg.b_send_conn_evts[xx] != TRUE) in nfa_hci_is_valid_cfg()
232 &&(nfa_hci_cb.cfg.b_send_conn_evts[xx] != FALSE)) in nfa_hci_is_valid_cfg()
235 if (nfa_hci_cb.cfg.reg_app_names[xx][0] != 0) in nfa_hci_is_valid_cfg()
240 if ( (nfa_hci_cb.cfg.reg_app_names[yy][0] != 0) in nfa_hci_is_valid_cfg()
241 …&&(!strncmp (&nfa_hci_cb.cfg.reg_app_names[xx][0], &nfa_hci_cb.cfg.reg_app_names[yy][0], strlen (n… in nfa_hci_is_valid_cfg()
244 …NFA_TRACE_EVENT2 ("nfa_hci_is_valid_cfg (%s) Reusing: %u", &nfa_hci_cb.cfg.reg_app_names[xx][0], … in nfa_hci_is_valid_cfg()
256 if (nfa_hci_cb.cfg.dyn_gates[xx].gate_id != 0) in nfa_hci_is_valid_cfg()
258 if ( ( (nfa_hci_cb.cfg.dyn_gates[xx].gate_id != NFA_HCI_LOOP_BACK_GATE) in nfa_hci_is_valid_cfg()
259 &&(nfa_hci_cb.cfg.dyn_gates[xx].gate_id != NFA_HCI_IDENTITY_MANAGEMENT_GATE) in nfa_hci_is_valid_cfg()
[all …]
/external/libevent/
Dbufferevent_ratelim.c50 const struct ev_token_bucket_cfg *cfg, in ev_token_bucket_init() argument
60 if (bucket->read_limit > (ev_int64_t) cfg->read_maximum) in ev_token_bucket_init()
61 bucket->read_limit = cfg->read_maximum; in ev_token_bucket_init()
62 if (bucket->write_limit > (ev_int64_t) cfg->write_maximum) in ev_token_bucket_init()
63 bucket->write_limit = cfg->write_maximum; in ev_token_bucket_init()
65 bucket->read_limit = cfg->read_rate; in ev_token_bucket_init()
66 bucket->write_limit = cfg->write_rate; in ev_token_bucket_init()
74 const struct ev_token_bucket_cfg *cfg, in ev_token_bucket_update() argument
95 if ((cfg->read_maximum - bucket->read_limit) / n_ticks < cfg->read_rate) in ev_token_bucket_update()
96 bucket->read_limit = cfg->read_maximum; in ev_token_bucket_update()
[all …]
/external/wpa_supplicant_8/src/wps/
Dwps.c39 struct wps_data * wps_init(const struct wps_config *cfg) in wps_init() argument
44 data->wps = cfg->wps; in wps_init()
45 data->registrar = cfg->registrar; in wps_init()
46 if (cfg->registrar) { in wps_init()
47 os_memcpy(data->uuid_r, cfg->wps->uuid, WPS_UUID_LEN); in wps_init()
49 os_memcpy(data->mac_addr_e, cfg->wps->dev.mac_addr, ETH_ALEN); in wps_init()
50 os_memcpy(data->uuid_e, cfg->wps->uuid, WPS_UUID_LEN); in wps_init()
52 if (cfg->pin) { in wps_init()
53 data->dev_pw_id = cfg->dev_pw_id; in wps_init()
54 data->dev_password = os_malloc(cfg->pin_len); in wps_init()
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/s3/
Dtest_cors_configuration.py51 cfg = CORSConfiguration()
52 cfg.add_rule(['PUT', 'POST', 'DELETE'],
58 self.assertEqual(cfg.to_xml(), CORS_BODY_1)
61 cfg = CORSConfiguration()
62 cfg.add_rule(['PUT', 'POST', 'DELETE'],
67 cfg.add_rule('GET', '*', allowed_header='*', max_age_seconds=3000)
68 self.assertEqual(cfg.to_xml(), CORS_BODY_2)
71 cfg = CORSConfiguration()
72 cfg.add_rule('GET', '*')
73 self.assertEqual(cfg.to_xml(), CORS_BODY_3)
/external/wpa_supplicant_8/src/p2p/
Dp2p.c73 if (p2p->cfg->go_connected && in p2p_expire_peers()
74 p2p->cfg->go_connected(p2p->cfg->cb_ctx, in p2p_expire_peers()
196 p2p->cfg->reg_class = p2p->pending_reg_class; in p2p_set_state()
197 p2p->cfg->channel = p2p->pending_channel; in p2p_set_state()
249 p2p->cfg->go_neg_completed(p2p->cfg->cb_ctx, &res); in p2p_go_neg_failed()
268 freq = p2p_channel_to_freq(p2p->cfg->reg_class, p2p->cfg->channel); in p2p_listen_in_find()
282 if (p2p->cfg->max_listen && 1024 * tu / 1000 > p2p->cfg->max_listen) in p2p_listen_in_find()
283 tu = p2p->cfg->max_listen * 1000 / 1024; in p2p_listen_in_find()
299 if (p2p->cfg->start_listen(p2p->cfg->cb_ctx, freq, 1024 * tu / 1000, in p2p_listen_in_find()
321 freq = p2p_channel_to_freq(p2p->cfg->reg_class, p2p->cfg->channel); in p2p_listen()
[all …]
Dp2p_invitation.c72 p2p_buf_add_operating_channel(buf, p2p->cfg->country, in p2p_build_invitation_req()
77 p2p_buf_add_channel_list(buf, p2p->cfg->country, &p2p->channels); in p2p_build_invitation_req()
83 dev_addr = p2p->cfg->dev_addr; in p2p_build_invitation_req()
154 p2p_buf_add_operating_channel(buf, p2p->cfg->country, in p2p_build_invitation_resp()
159 p2p_buf_add_channel_list(buf, p2p->cfg->country, channels); in p2p_build_invitation_resp()
238 p2p_channels_union(&p2p->cfg->channels, &p2p->cfg->cli_channels, in p2p_process_invitation_req()
249 p2p_channels_dump(p2p, "own channels", &p2p->cfg->channels); in p2p_process_invitation_req()
256 if (p2p->cfg->invitation_process) { in p2p_process_invitation_req()
257 status = p2p->cfg->invitation_process( in p2p_process_invitation_req()
258 p2p->cfg->cb_ctx, sa, msg.group_bssid, msg.group_id, in p2p_process_invitation_req()
[all …]
Dp2p_pd.c54 if (!p2p->cfg->get_go_info) in p2ps_add_new_group_info()
57 found = p2p->cfg->get_go_info( in p2ps_add_new_group_info()
58 p2p->cfg->cb_ctx, intended_addr, ssid, in p2ps_add_new_group_info()
68 p2p_buf_add_group_id(buf, p2p->cfg->dev_addr, in p2ps_add_new_group_info()
82 p2p_buf_add_group_id(buf, p2p->cfg->dev_addr, in p2ps_add_new_group_info()
90 buf, p2p->cfg->dev_addr); in p2ps_add_new_group_info()
119 if (p2p->cfg->get_persistent_group) { in p2ps_add_pd_req_attrs()
120 shared_group = p2p->cfg->get_persistent_group( in p2ps_add_pd_req_attrs()
121 p2p->cfg->cb_ctx, dev->info.p2p_device_addr, in p2ps_add_pd_req_attrs()
128 p2p_buf_add_channel_list(buf, p2p->cfg->country, in p2ps_add_pd_req_attrs()
[all …]
/external/llvm/test/
DMakefile50 clang-site-cfg: FORCE
51 $(MAKE) -C $(PROJ_OBJ_DIR)/../tools/clang/test lit.site.cfg Unit/lit.site.cfg
52 extra-site-cfgs:: clang-site-cfg
59 clang-tools-site-cfg: FORCE
60 $(MAKE) -C $(PROJ_OBJ_DIR)/../tools/clang/tools/extra/test lit.site.cfg Unit/lit.site.cfg
61 extra-site-cfgs:: clang-tools-site-cfg
68 lld-site-cfg: FORCE
69 $(MAKE) -C $(PROJ_OBJ_DIR)/../tools/lld/test lit.site.cfg Unit/lit.site.cfg
70 extra-site-cfgs:: lld-site-cfg
77 polly-tools-site-cfg: FORCE
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_fs_live_variables.cpp54 for (int b = 0; b < cfg->num_blocks; b++) { in setup_def_use()
55 fs_bblock *block = cfg->blocks[b]; in setup_def_use()
59 assert(cfg->blocks[b - 1]->end_ip == ip - 1); in setup_def_use()
108 for (int b = 0; b < cfg->num_blocks; b++) { in compute_live_variables()
120 foreach_list(block_node, &cfg->blocks[b]->children) { in compute_live_variables()
135 fs_live_variables::fs_live_variables(fs_visitor *v, fs_cfg *cfg) in fs_live_variables() argument
136 : v(v), cfg(cfg) in fs_live_variables()
138 mem_ctx = ralloc_context(cfg->mem_ctx); in fs_live_variables()
141 bd = rzalloc_array(mem_ctx, struct block_data, cfg->num_blocks); in fs_live_variables()
143 for (int i = 0; i < cfg->num_blocks; i++) { in fs_live_variables()
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/s3/
Dtest_cors.py48 self.cfg = CORSConfiguration()
49 self.cfg.add_rule(['PUT', 'POST', 'DELETE'],
54 assert self.bucket.set_cors(self.cfg)
56 cfg = self.bucket.get_cors()
57 for i, rule in enumerate(cfg):
58 self.assertEqual(rule.id, self.cfg[i].id)
59 self.assertEqual(rule.max_age_seconds, self.cfg[i].max_age_seconds)
60 methods = zip(rule.allowed_method, self.cfg[i].allowed_method)
63 origins = zip(rule.allowed_origin, self.cfg[i].allowed_origin)
66 headers = zip(rule.allowed_header, self.cfg[i].allowed_header)
[all …]
/external/v8/test/mjsunit/regress/
Dcross-script-vars.js24 var cfg; variable
50 function AddStrict(code, cfg) { argument
51 return cfg.strict ? '"use strict"; ' + code : code;
60 return Realm.eval(test_realm, AddStrict(code, cfg));
65 return Realm.eval(test_realm, AddStrict(code, cfg));
75 return Realm.eval(test_realm, AddStrict(code, cfg));
81 (cfg.optimize ? '%OptimizeFunctionOnNextCall(' + name + ');' : '') +
83 return Realm.eval(test_realm, AddStrict(code, cfg));
94 return Realm.eval(test_realm, AddStrict(code, cfg));
100 (cfg.optimize ? '%OptimizeFunctionOnNextCall(' + name + ');' : '') +
[all …]
/external/autotest/client/tests/dacapo/
Ddacapo.py44 cfg = config_loader(cfg=config, tmpdir=self.tmpdir, raise_errors=True)
50 dacapo_url = cfg.get('dacapo', 'tarball_url')
51 dacapo_md5 = cfg.get('dacapo', 'package_md5')
56 jvm_pkg_url = cfg.get(jvm, 'jvm_pkg_url')
57 jvm_pkg_md5 = cfg.get(jvm, 'package_md5')
62 java_root = cfg.get(jvm, 'java_root')
65 if cfg.get('global', 'use_global') == 'yes':
66 iterations = cfg.get('global', 'iterations')
67 workload = cfg.get('global', 'workload')
69 iterations = cfg.get(test, 'iterations')
[all …]
/external/clang/lib/Analysis/
DPostOrderCFGView.cpp20 PostOrderCFGView::PostOrderCFGView(const CFG *cfg) { in PostOrderCFGView() argument
21 Blocks.reserve(cfg->getNumBlockIDs()); in PostOrderCFGView()
22 CFGBlockSet BSet(cfg); in PostOrderCFGView()
24 for (po_iterator I = po_iterator::begin(cfg, BSet), in PostOrderCFGView()
25 E = po_iterator::end(cfg, BSet); I != E; ++I) { in PostOrderCFGView()
32 const CFG *cfg = ctx.getCFG(); in create() local
33 if (!cfg) in create()
35 return new PostOrderCFGView(cfg); in create()

12345678910>>...21