/external/libvpx/libvpx/examples/ |
D | vpx_temporal_svc_encoder.c | 72 vpx_codec_enc_cfg_t *cfg) { in set_rate_control_metrics() argument 76 const double framerate = cfg->g_timebase.den / cfg->g_timebase.num; in set_rate_control_metrics() 77 rc->layer_framerate[0] = framerate / cfg->ts_rate_decimator[0]; in set_rate_control_metrics() 78 rc->layer_pfb[0] = 1000.0 * cfg->ts_target_bitrate[0] / in set_rate_control_metrics() 80 for (i = 0; i < cfg->ts_number_layers; ++i) { in set_rate_control_metrics() 82 rc->layer_framerate[i] = framerate / cfg->ts_rate_decimator[i]; in set_rate_control_metrics() 84 (cfg->ts_target_bitrate[i] - cfg->ts_target_bitrate[i - 1]) / in set_rate_control_metrics() 97 vpx_codec_enc_cfg_t *cfg, in printout_rate_control_summary() argument 103 cfg->ts_number_layers); in printout_rate_control_summary() 104 for (i = 0; i < cfg->ts_number_layers; ++i) { in printout_rate_control_summary() [all …]
|
D | vp8_multi_resolution_encoder.c | 115 const vpx_codec_enc_cfg_t *cfg, in write_ivf_file_header() argument 119 if(cfg->g_pass != VPX_RC_ONE_PASS && cfg->g_pass != VPX_RC_LAST_PASS) in write_ivf_file_header() 128 mem_put_le16(header+12, cfg->g_w); /* width */ in write_ivf_file_header() 129 mem_put_le16(header+14, cfg->g_h); /* height */ in write_ivf_file_header() 130 mem_put_le32(header+16, cfg->g_timebase.den); /* rate */ in write_ivf_file_header() 131 mem_put_le32(header+20, cfg->g_timebase.num); /* scale */ in write_ivf_file_header() 159 vpx_codec_enc_cfg_t cfg[NUM_ENCODERS]; in main() local 230 res[i] = vpx_codec_enc_config_default(interface, &cfg[i], 0); in main() 241 cfg[0].g_w = width; in main() 242 cfg[0].g_h = height; in main() [all …]
|
D | set_maps.c | 64 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() 158 vpx_codec_enc_cfg_t cfg; in main() local [all …]
|
D | twopass_encoder.c | 126 vpx_codec_enc_cfg_t cfg; in main() local 173 res = vpx_codec_enc_config_default(encoder->codec_interface(), &cfg, 0); in main() 177 cfg.g_w = info.frame_width; in main() 178 cfg.g_h = info.frame_height; in main() 179 cfg.g_timebase.num = info.time_base.numerator; in main() 180 cfg.g_timebase.den = info.time_base.denominator; in main() 181 cfg.rc_target_bitrate = bitrate; in main() 187 cfg.g_pass = VPX_RC_FIRST_PASS; in main() 189 cfg.g_pass = VPX_RC_LAST_PASS; in main() 190 cfg.rc_twopass_stats_in = stats; in main() [all …]
|
/external/iptables/extensions/ |
D | libxt_hashlimit.c | 102 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/ |
D | vp8_cx_iface.c | 45 struct vp8_extracfg cfg; member 81 vpx_codec_enc_cfg_t cfg; member 137 const vpx_codec_enc_cfg_t *cfg, in validate_config() argument 141 RANGE_CHECK(cfg, g_w, 1, 16383); /* 14 bits available */ in validate_config() 142 RANGE_CHECK(cfg, g_h, 1, 16383); /* 14 bits available */ in validate_config() 143 RANGE_CHECK(cfg, g_timebase.den, 1, 1000000000); in validate_config() 144 RANGE_CHECK(cfg, g_timebase.num, 1, cfg->g_timebase.den); in validate_config() 145 RANGE_CHECK_HI(cfg, g_profile, 3); in validate_config() 146 RANGE_CHECK_HI(cfg, rc_max_quantizer, 63); in validate_config() 147 RANGE_CHECK_HI(cfg, rc_min_quantizer, cfg->rc_max_quantizer); in validate_config() [all …]
|
/external/libvpx/libvpx/vp9/ |
D | vp9_cx_iface.c | 48 struct vp9_extracfg cfg; member 81 vpx_codec_enc_cfg_t cfg; member 148 const vpx_codec_enc_cfg_t *cfg, in validate_config() argument 150 RANGE_CHECK(cfg, g_w, 1, 65535); // 16 bits available in validate_config() 151 RANGE_CHECK(cfg, g_h, 1, 65535); // 16 bits available in validate_config() 152 RANGE_CHECK(cfg, g_timebase.den, 1, 1000000000); in validate_config() 153 RANGE_CHECK(cfg, g_timebase.num, 1, cfg->g_timebase.den); in validate_config() 154 RANGE_CHECK_HI(cfg, g_profile, 3); in validate_config() 156 RANGE_CHECK_HI(cfg, rc_max_quantizer, 63); in validate_config() 157 RANGE_CHECK_HI(cfg, rc_min_quantizer, cfg->rc_max_quantizer); in validate_config() [all …]
|
/external/libvpx/libvpx/test/ |
D | codec_factory.h | 35 virtual Decoder* CreateDecoder(vpx_codec_dec_cfg_t cfg, 38 virtual Encoder* CreateEncoder(vpx_codec_enc_cfg_t cfg, 43 virtual vpx_codec_err_t DefaultEncoderConfig(vpx_codec_enc_cfg_t *cfg, 72 VP8Decoder(vpx_codec_dec_cfg_t cfg, unsigned long deadline) in VP8Decoder() argument 73 : Decoder(cfg, deadline) {} in VP8Decoder() 87 VP8Encoder(vpx_codec_enc_cfg_t cfg, unsigned long deadline, in VP8Encoder() argument 89 : Encoder(cfg, deadline, init_flags, stats) {} in VP8Encoder() 105 virtual Decoder* CreateDecoder(vpx_codec_dec_cfg_t cfg, in CreateDecoder() argument 108 return new VP8Decoder(cfg, deadline); in CreateDecoder() 114 virtual Encoder* CreateEncoder(vpx_codec_enc_cfg_t cfg, in CreateEncoder() argument [all …]
|
/external/libnfc-nci/src/nfa/hci/ |
D | nfa_hci_main.c | 227 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/wpa_supplicant_8/src/p2p/ |
D | p2p_pd.c | 51 if (!p2p->cfg->get_go_info) in p2ps_add_new_group_info() 54 found = p2p->cfg->get_go_info( in p2ps_add_new_group_info() 55 p2p->cfg->cb_ctx, intended_addr, ssid, in p2ps_add_new_group_info() 58 p2p_buf_add_group_id(buf, p2p->cfg->dev_addr, in p2ps_add_new_group_info() 68 p2p_buf_add_group_id(buf, p2p->cfg->dev_addr, in p2ps_add_new_group_info() 76 buf, p2p->cfg->dev_addr); in p2ps_add_new_group_info() 101 if (p2p->cfg->get_persistent_group) { in p2ps_add_pd_req_attrs() 102 shared_group = p2p->cfg->get_persistent_group( in p2ps_add_pd_req_attrs() 103 p2p->cfg->cb_ctx, dev->info.p2p_device_addr, NULL, 0, in p2ps_add_pd_req_attrs() 116 p2p_buf_add_operating_channel(buf, p2p->cfg->country, in p2ps_add_pd_req_attrs() [all …]
|
D | p2p.c | 73 if (p2p->cfg->go_connected && in p2p_expire_peers() 74 p2p->cfg->go_connected(p2p->cfg->cb_ctx, in p2p_expire_peers() 205 p2p->cfg->reg_class = p2p->pending_reg_class; in p2p_set_state() 206 p2p->cfg->channel = p2p->pending_channel; in p2p_set_state() 258 p2p->cfg->go_neg_completed(p2p->cfg->cb_ctx, &res); in p2p_go_neg_failed() 277 freq = p2p_channel_to_freq(p2p->cfg->reg_class, p2p->cfg->channel); in p2p_listen_in_find() 291 if (p2p->cfg->max_listen && 1024 * tu / 1000 > p2p->cfg->max_listen) in p2p_listen_in_find() 292 tu = p2p->cfg->max_listen * 1000 / 1024; in p2p_listen_in_find() 308 if (p2p->cfg->start_listen(p2p->cfg->cb_ctx, freq, 1024 * tu / 1000, in p2p_listen_in_find() 330 freq = p2p_channel_to_freq(p2p->cfg->reg_class, p2p->cfg->channel); in p2p_listen() [all …]
|
D | p2p_invitation.c | 72 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() 151 p2p_buf_add_operating_channel(buf, p2p->cfg->country, in p2p_build_invitation_resp() 156 p2p_buf_add_channel_list(buf, p2p->cfg->country, channels); in p2p_build_invitation_resp() 235 p2p_channels_union(&p2p->cfg->channels, &p2p->cfg->cli_channels, in p2p_process_invitation_req() 246 p2p_channels_dump(p2p, "own channels", &p2p->cfg->channels); in p2p_process_invitation_req() 253 if (p2p->cfg->invitation_process) { in p2p_process_invitation_req() 254 status = p2p->cfg->invitation_process( in p2p_process_invitation_req() 255 p2p->cfg->cb_ctx, sa, msg.group_bssid, msg.group_id, in p2p_process_invitation_req() [all …]
|
D | p2p_group.c | 36 struct p2p_group_config *cfg; member 65 group->cfg = config; in p2p_group_init() 69 group->cfg->idle_update(group->cfg->cb_ctx, 1); in p2p_group_init() 120 os_free(group->cfg); in p2p_group_deinit() 145 if (group->cfg->persistent_group) { in p2p_group_add_common_ies() 147 if (group->cfg->persistent_group == 2) in p2p_group_add_common_ies() 150 if (group->p2p->cfg->p2p_intra_bss) in p2p_group_add_common_ies() 156 if (group->num_members >= group->cfg->max_clients) in p2p_group_add_common_ies() 238 p2p_buf_add_device_id(ie, group->p2p->cfg->dev_addr); in p2p_group_build_beacon_ie() 435 p2p_buf_add_group_id(buf, group->p2p->cfg->dev_addr, group->cfg->ssid, in p2p_group_buf_add_id() [all …]
|
D | p2p_go_neg.c | 53 if (pos[2] != 0x04 && os_memcmp(pos, p2p->cfg->country, 2) != 0) { in p2p_peer_channels_check() 55 p2p->cfg->country[0], p2p->cfg->country[1], in p2p_peer_channels_check() 169 if (p2p->cfg->p2p_intra_bss) in p2p_build_go_neg_req() 176 p2p_buf_add_listen_channel(buf, p2p->cfg->country, p2p->cfg->reg_class, in p2p_build_go_neg_req() 177 p2p->cfg->channel); in p2p_build_go_neg_req() 182 p2p_buf_add_channel_list(buf, p2p->cfg->country, &p2p->channels); in p2p_build_go_neg_req() 184 p2p_buf_add_operating_channel(buf, p2p->cfg->country, in p2p_build_go_neg_req() 254 p2p->cfg->dev_addr, dev->info.p2p_device_addr, in p2p_connect_send() 307 if (p2p->cfg->p2p_intra_bss) in p2p_build_go_neg_resp() 318 p2p_buf_add_operating_channel(buf, p2p->cfg->country, in p2p_build_go_neg_resp() [all …]
|
D | p2p_dev_disc.c | 93 if (p2p->cfg->max_listen && wait_time > p2p->cfg->max_listen) in p2p_send_dev_disc_req() 94 wait_time = p2p->cfg->max_listen; in p2p_send_dev_disc_req() 96 p2p->cfg->dev_addr, go->info.p2p_device_addr, in p2p_send_dev_disc_req() 133 p2p->cfg->send_action_done(p2p->cfg->cb_ctx); in p2p_dev_disc_resp_cb() 151 if (p2p_send_action(p2p, freq, addr, p2p->cfg->dev_addr, in p2p_send_dev_disc_resp() 152 p2p->cfg->dev_addr, in p2p_send_dev_disc_resp() 273 p2p->cfg->send_action_done(p2p->cfg->cb_ctx); in p2p_process_dev_disc_resp() 292 p2p->cfg->send_action_done(p2p->cfg->cb_ctx); in p2p_go_disc_req_cb() 324 if (p2p->cfg->start_listen(p2p->cfg->cb_ctx, rx_freq, 1024 * tu / 1000, in p2p_process_go_disc_req()
|
/external/wpa_supplicant_8/src/wps/ |
D | wps.c | 35 struct wps_data * wps_init(const struct wps_config *cfg) in wps_init() argument 40 data->wps = cfg->wps; in wps_init() 41 data->registrar = cfg->registrar; in wps_init() 42 if (cfg->registrar) { in wps_init() 43 os_memcpy(data->uuid_r, cfg->wps->uuid, WPS_UUID_LEN); in wps_init() 45 os_memcpy(data->mac_addr_e, cfg->wps->dev.mac_addr, ETH_ALEN); in wps_init() 46 os_memcpy(data->uuid_e, cfg->wps->uuid, WPS_UUID_LEN); in wps_init() 48 if (cfg->pin) { in wps_init() 49 data->dev_pw_id = cfg->dev_pw_id; in wps_init() 50 data->dev_password = os_malloc(cfg->pin_len); in wps_init() [all …]
|
/external/llvm/test/ |
D | Makefile | 50 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/ |
D | brw_fs_live_variables.cpp | 54 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/clang/lib/Analysis/ |
D | PostOrderCFGView.cpp | 20 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()
|
/external/mesa3d/src/glx/ |
D | create_context.c | 42 struct glx_config *const cfg = (struct glx_config *) config; in glXCreateContextAttribsARB() local 52 if (dpy == NULL || cfg == NULL) in glXCreateContextAttribsARB() 59 psc = GetGLXScreenConfigs(dpy, cfg->screen); in glXCreateContextAttribsARB() 63 assert(cfg->screen == psc->scr); in glXCreateContextAttribsARB() 78 gc = psc->vtable->create_context_attribs(psc, cfg, share, num_attribs, in glXCreateContextAttribsARB() 85 gc = applegl_create_context(psc, cfg, share, 0); in glXCreateContextAttribsARB() 87 gc = indirect_create_context(psc, cfg, share, 0); in glXCreateContextAttribsARB() 105 cfg->fbconfigID, in glXCreateContextAttribsARB() 106 cfg->screen, in glXCreateContextAttribsARB()
|
/external/libvpx/libvpx/ |
D | vpxenc.c | 590 struct vpx_codec_enc_cfg cfg; member 820 &stream->config.cfg, in new_stream() 828 stream->config.cfg.g_timebase.den = 1000; in new_stream() 833 stream->config.cfg.g_w = 0; in new_stream() 834 stream->config.cfg.g_h = 0; in new_stream() 850 stream->config.cfg.g_lag_in_frames = 0; in new_stream() 911 config->cfg.g_threads = arg_parse_uint(&arg); in parse_stream_params() 913 config->cfg.g_profile = arg_parse_uint(&arg); in parse_stream_params() 915 config->cfg.g_w = arg_parse_uint(&arg); in parse_stream_params() 917 config->cfg.g_h = arg_parse_uint(&arg); in parse_stream_params() [all …]
|
/external/mesa3d/src/gallium/drivers/nv50/codegen/ |
D | nv50_ir_bb.cpp | 70 BasicBlock::BasicBlock(Function *fn) : cfg(this), dom(this), func(fn) in BasicBlock() 100 pol.context()->cfg.insert(&bb->cfg); in clone() 102 for (Graph::EdgeIterator it = cfg.outgoing(); !it.end(); it.next()) { in clone() 104 bb->cfg.attach(&pol.get(obb)->cfg, it.getType()); in clone() 309 while (!cfg.outgoing(true).end()) { in splitCommon() 310 Graph::Edge *e = cfg.outgoing(true).getEdge(); in splitCommon() 311 bb->cfg.attach(e->getTarget(), e->getType()); in splitCommon() 312 this->cfg.detach(e->getTarget()); in splitCommon() 322 this->cfg.attach(&bb->cfg, Graph::Edge::TREE); in splitCommon() 367 if (cfg.outgoingCount() != 2) // -> if and -> else/endif in initiatesSimpleConditional() [all …]
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/ |
D | FindMachineTask.java | 40 private String cfg; field in FindMachineTask 48 test.cfg="D:\\workspaces\\current\\eclipseInternalBuildTools\\testConfig.properties"; in main() 58 new BuildMachineManager(cfg,markerContainer,waitInterval,markerName,markerKey,cfgKey); in execute() 64 return cfg; in getCfg() 70 public void setCfg(String cfg) { in setCfg() argument 71 this.cfg = cfg; in setCfg()
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_wsc.c | 148 struct wps_config cfg; in eap_wsc_init() local 184 os_memset(&cfg, 0, sizeof(cfg)); in eap_wsc_init() 185 cfg.wps = wps; in eap_wsc_init() 186 cfg.registrar = registrar; in eap_wsc_init() 199 cfg.pin = (const u8 *) pos; in eap_wsc_init() 202 cfg.pin_len = pos - (const char *) cfg.pin; in eap_wsc_init() 203 if (cfg.pin_len == 6 && in eap_wsc_init() 204 os_strncmp((const char *) cfg.pin, "nfc-pw", 6) == 0) { in eap_wsc_init() 205 cfg.pin = NULL; in eap_wsc_init() 206 cfg.pin_len = 0; in eap_wsc_init() [all …]
|
/external/wpa_supplicant_8/src/drivers/ |
D | rfkill.c | 47 struct rfkill_config *cfg; member 93 rfkill->cfg->blocked_cb(rfkill->cfg->ctx); in rfkill_receive() 95 rfkill->cfg->unblocked_cb(rfkill->cfg->ctx); in rfkill_receive() 100 struct rfkill_data * rfkill_init(struct rfkill_config *cfg) in rfkill_init() argument 110 rfkill->cfg = cfg; in rfkill_init() 177 os_free(rfkill->cfg); in rfkill_deinit()
|