Home
last modified time | relevance | path

Searched refs:vinfo (Results 1 – 25 of 60) sorted by relevance

123

/external/libnl/lib/idiag/
Didiag_vegasinfo_obj.c28 void idiagnl_vegasinfo_get(struct idiagnl_vegasinfo *vinfo) in idiagnl_vegasinfo_get() argument
30 nl_object_get((struct nl_object *) vinfo); in idiagnl_vegasinfo_get()
33 void idiagnl_vegasinfo_put(struct idiagnl_vegasinfo *vinfo) in idiagnl_vegasinfo_put() argument
35 nl_object_put((struct nl_object *) vinfo); in idiagnl_vegasinfo_put()
42 uint32_t idiagnl_vegasinfo_get_enabled(const struct idiagnl_vegasinfo *vinfo) in idiagnl_vegasinfo_get_enabled() argument
44 return vinfo->tcpv_enabled; in idiagnl_vegasinfo_get_enabled()
47 void idiagnl_vegasinfo_set_enabled(struct idiagnl_vegasinfo *vinfo, uint32_t in idiagnl_vegasinfo_set_enabled() argument
50 vinfo->tcpv_enabled = enabled; in idiagnl_vegasinfo_set_enabled()
53 uint32_t idiagnl_vegasinfo_get_rttcnt(const struct idiagnl_vegasinfo *vinfo) in idiagnl_vegasinfo_get_rttcnt() argument
55 return vinfo->tcpv_rttcnt; in idiagnl_vegasinfo_get_rttcnt()
[all …]
Didiag_msg_obj.c347 *vinfo) in idiagnl_msg_set_vegasinfo()
352 idiagnl_vegasinfo_get(vinfo); in idiagnl_msg_set_vegasinfo()
353 msg->idiag_vegasinfo = vinfo; in idiagnl_msg_set_vegasinfo()
680 struct idiagnl_vegasinfo *vinfo = idiagnl_vegasinfo_alloc(); in idiagnl_msg_parse() local
683 if (!vinfo) in idiagnl_msg_parse()
689 idiagnl_vegasinfo_set_enabled(vinfo, raw_vinfo->tcpv_enabled); in idiagnl_msg_parse()
690 idiagnl_vegasinfo_set_rttcnt(vinfo, raw_vinfo->tcpv_rttcnt); in idiagnl_msg_parse()
691 idiagnl_vegasinfo_set_rtt(vinfo, raw_vinfo->tcpv_rtt); in idiagnl_msg_parse()
692 idiagnl_vegasinfo_set_minrtt(vinfo, raw_vinfo->tcpv_minrtt); in idiagnl_msg_parse()
694 msg->idiag_vegasinfo = vinfo; in idiagnl_msg_parse()
/external/mesa3d/src/gallium/drivers/i915/
Di915_state_derived.c60 struct vertex_info vinfo; in calculate_vertex_layout() local
67 memset(&vinfo, 0, sizeof(vinfo)); in calculate_vertex_layout()
109 draw_emit_vertex_attr(&vinfo, EMIT_4F, src); in calculate_vertex_layout()
110 vinfo.hwfmt[0] |= S4_VFMT_XYZW; in calculate_vertex_layout()
111 vinfo.attrib[0].emit = EMIT_4F; in calculate_vertex_layout()
114 draw_emit_vertex_attr(&vinfo, EMIT_3F, src); in calculate_vertex_layout()
115 vinfo.hwfmt[0] |= S4_VFMT_XYZ; in calculate_vertex_layout()
116 vinfo.attrib[0].emit = EMIT_3F; in calculate_vertex_layout()
125 draw_emit_vertex_attr(&vinfo, EMIT_4UB_BGRA, src); in calculate_vertex_layout()
126 vinfo.hwfmt[0] |= S4_VFMT_COLOR; in calculate_vertex_layout()
[all …]
Di915_prim_emit.c72 const struct vertex_info *vinfo = &i915->current.vertex_info; in emit_hw_vertex() local
78 for (i = 0; i < vinfo->num_attribs; i++) { in emit_hw_vertex()
79 const uint j = vinfo->attrib[i].src_index; in emit_hw_vertex()
81 switch (vinfo->attrib[i].emit) { in emit_hw_vertex()
122 assert(count == vinfo->size); in emit_hw_vertex()
/external/iproute2/bridge/
Dvlan.c37 struct bridge_vlan_info vinfo; in vlan_modify() local
40 memset(&vinfo, 0, sizeof(vinfo)); in vlan_modify()
61 vinfo.flags |= BRIDGE_VLAN_INFO_RANGE_BEGIN; in vlan_modify()
70 vinfo.flags |= BRIDGE_VLAN_INFO_PVID; in vlan_modify()
72 vinfo.flags |= BRIDGE_VLAN_INFO_UNTAGGED; in vlan_modify()
97 if (vinfo.flags & BRIDGE_VLAN_INFO_RANGE_BEGIN) { in vlan_modify()
103 if (vinfo.flags & BRIDGE_VLAN_INFO_PVID) { in vlan_modify()
115 vinfo.vid = vid; in vlan_modify()
118 addattr_l(&req.n, sizeof(req), IFLA_BRIDGE_VLAN_INFO, &vinfo, in vlan_modify()
119 sizeof(vinfo)); in vlan_modify()
[all …]
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_derived.c52 struct vertex_info *vinfo = &llvmpipe->vertex_info; in compute_vertex_info() local
78 vinfo->num_attribs = 0; in compute_vertex_info()
83 draw_emit_vertex_attr(vinfo, EMIT_4F, vs_index); in compute_vertex_info()
96 llvmpipe->color_slot[idx] = (int)vinfo->num_attribs; in compute_vertex_info()
100 llvmpipe->face_slot = (int)vinfo->num_attribs; in compute_vertex_info()
101 draw_emit_vertex_attr(vinfo, EMIT_4F, vs_index); in compute_vertex_info()
110 llvmpipe->viewport_index_slot = (int)vinfo->num_attribs; in compute_vertex_info()
111 draw_emit_vertex_attr(vinfo, EMIT_4F, vs_index); in compute_vertex_info()
113 llvmpipe->layer_slot = (int)vinfo->num_attribs; in compute_vertex_info()
114 draw_emit_vertex_attr(vinfo, EMIT_4F, vs_index); in compute_vertex_info()
[all …]
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_vertex.c46 draw_compute_vertex_size(struct vertex_info *vinfo) in draw_compute_vertex_size() argument
50 vinfo->size = 0; in draw_compute_vertex_size()
51 for (i = 0; i < vinfo->num_attribs; i++) in draw_compute_vertex_size()
52 vinfo->size += draw_translate_vinfo_size(vinfo->attrib[i].emit); in draw_compute_vertex_size()
54 assert(vinfo->size % 4 == 0); in draw_compute_vertex_size()
56 vinfo->size /= 4; in draw_compute_vertex_size()
61 draw_dump_emitted_vertex(const struct vertex_info *vinfo, const uint8_t *data) in draw_dump_emitted_vertex() argument
65 for (i = 0; i < vinfo->num_attribs; i++) { in draw_dump_emitted_vertex()
66 switch (vinfo->attrib[i].emit) { in draw_dump_emitted_vertex()
Ddraw_pt_emit.c46 const struct vertex_info *vinfo; member
59 const struct vertex_info *vinfo; in draw_pt_emit_prepare() local
77 emit->vinfo = vinfo = draw->render->get_vertex_info(draw->render); in draw_pt_emit_prepare()
82 for (i = 0; i < vinfo->num_attribs; i++) { in draw_pt_emit_prepare()
86 unsigned src_offset = vinfo->attrib[i].src_index * 4 * sizeof(float); in draw_pt_emit_prepare()
88 output_format = draw_translate_vinfo_format(vinfo->attrib[i].emit); in draw_pt_emit_prepare()
89 emit_sz = draw_translate_vinfo_size(vinfo->attrib[i].emit); in draw_pt_emit_prepare()
94 if (vinfo->attrib[i].emit == EMIT_1F_PSIZE) { in draw_pt_emit_prepare()
98 else if (vinfo->attrib[i].src_index == DRAW_ATTR_NONEXIST) { in draw_pt_emit_prepare()
115 hw_key.nr_elements = vinfo->num_attribs; in draw_pt_emit_prepare()
[all …]
Ddraw_pt_fetch_emit.c80 const struct vertex_info *vinfo; member
97 const struct vertex_info *vinfo; in fetch_emit_prepare() local
108 vinfo = feme->vinfo = draw->render->get_vertex_info(draw->render); in fetch_emit_prepare()
116 for (i = 0; i < vinfo->num_attribs; i++) { in fetch_emit_prepare()
117 const struct pipe_vertex_element *src = &draw->pt.vertex_element[vinfo->attrib[i].src_index]; in fetch_emit_prepare()
125 output_format = draw_translate_vinfo_format(vinfo->attrib[i].emit); in fetch_emit_prepare()
126 emit_sz = draw_translate_vinfo_size(vinfo->attrib[i].emit); in fetch_emit_prepare()
128 if (vinfo->attrib[i].emit == EMIT_OMIT) in fetch_emit_prepare()
131 if (vinfo->attrib[i].emit == EMIT_1F_PSIZE) { in fetch_emit_prepare()
148 key.nr_elements = vinfo->num_attribs; in fetch_emit_prepare()
[all …]
Ddraw_vertex.h113 draw_emit_vertex_attr(struct vertex_info *vinfo, in draw_emit_vertex_attr() argument
117 const uint n = vinfo->num_attribs; in draw_emit_vertex_attr()
125 assert(n < ARRAY_SIZE(vinfo->attrib)); in draw_emit_vertex_attr()
126 vinfo->attrib[n].emit = emit; in draw_emit_vertex_attr()
127 vinfo->attrib[n].src_index = src_index; in draw_emit_vertex_attr()
128 vinfo->num_attribs++; in draw_emit_vertex_attr()
133 extern void draw_compute_vertex_size(struct vertex_info *vinfo);
135 void draw_dump_emitted_vertex(const struct vertex_info *vinfo,
Ddraw_pt_fetch_shade_emit.c63 const struct vertex_info *vinfo; member
77 const struct vertex_info *vinfo; in fse_prepare() local
89 fse->vinfo = vinfo = draw->render->get_vertex_info(draw->render); in fse_prepare()
91 fse->key.output_stride = vinfo->size * 4; in fse_prepare()
92 fse->key.nr_outputs = vinfo->num_attribs; in fse_prepare()
127 for (i = 0; i < vinfo->num_attribs; i++) { in fse_prepare()
128 unsigned emit_sz = draw_translate_vinfo_size(vinfo->attrib[i].emit); in fse_prepare()
137 fse->key.element[i].out.format = vinfo->attrib[i].emit; in fse_prepare()
138 fse->key.element[i].out.vs_output = vinfo->attrib[i].src_index; in fse_prepare()
169 (vinfo->size * 4)); in fse_prepare()
[all …]
Ddraw_pipe_vbuf.c57 const struct vertex_info *vinfo; member
144 if (0) draw_dump_emitted_vertex(vbuf->vinfo, (uint8_t *)vbuf->vertex_ptr); in emit_vertex()
209 const struct vertex_info *vinfo; in vbuf_start_prim() local
219 vbuf->vinfo = vbuf->render->get_vertex_info(vbuf->render); in vbuf_start_prim()
220 vinfo = vbuf->vinfo; in vbuf_start_prim()
221 vbuf->vertex_size = vinfo->size * sizeof(float); in vbuf_start_prim()
227 for (i = 0; i < vinfo->num_attribs; i++) { in vbuf_start_prim()
231 unsigned src_offset = (vinfo->attrib[i].src_index * 4 * sizeof(float) ); in vbuf_start_prim()
233 output_format = draw_translate_vinfo_format(vinfo->attrib[i].emit); in vbuf_start_prim()
234 emit_sz = draw_translate_vinfo_size(vinfo->attrib[i].emit); in vbuf_start_prim()
[all …]
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_derived.c69 struct vertex_info *vinfo = &softpipe->vertex_info; in softpipe_compute_vertex_info() local
92 vinfo->num_attribs = 0; in softpipe_compute_vertex_info()
100 draw_emit_vertex_attr(vinfo, EMIT_4F, vs_index); in softpipe_compute_vertex_info()
171 softpipe->viewport_index_slot = (int)vinfo->num_attribs; in softpipe_compute_vertex_info()
172 draw_emit_vertex_attr(vinfo, EMIT_4F, vs_index); in softpipe_compute_vertex_info()
174 softpipe->layer_slot = (int)vinfo->num_attribs; in softpipe_compute_vertex_info()
175 draw_emit_vertex_attr(vinfo, EMIT_4F, vs_index); in softpipe_compute_vertex_info()
189 draw_emit_vertex_attr(vinfo, EMIT_4F, vs_index); in softpipe_compute_vertex_info()
199 softpipe->psize_slot = (int)vinfo->num_attribs; in softpipe_compute_vertex_info()
200 draw_emit_vertex_attr(vinfo, EMIT_4F, vs_index); in softpipe_compute_vertex_info()
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_draw_feedback.c59 struct vertex_info vinfo; in set_feedback_vertex_format()
62 memset(&vinfo, 0, sizeof(vinfo)); in set_feedback_vertex_format()
66 vinfo.num_attribs = 1; in set_feedback_vertex_format()
67 vinfo.format[0] = FORMAT_4F; in set_feedback_vertex_format()
68 vinfo.interp_mode[0] = INTERP_LINEAR; in set_feedback_vertex_format()
73 vinfo.num_attribs = st->state.vs->cso->state.num_outputs; in set_feedback_vertex_format()
74 for (i = 0; i < vinfo.num_attribs; i++) { in set_feedback_vertex_format()
75 vinfo.format[i] = FORMAT_4F; in set_feedback_vertex_format()
76 vinfo.interp_mode[i] = INTERP_LINEAR; in set_feedback_vertex_format()
80 draw_set_vertex_info(st->draw, &vinfo); in set_feedback_vertex_format()
/external/cblas/src/
Dxerbla.c10 void F77_xerbla(F77_CHAR F77_srname, void *vinfo) in F77_xerbla() argument
12 void F77_xerbla(char *srname, void *vinfo) in F77_xerbla()
23 F77_INT *info=vinfo; in F77_xerbla()
26 int *info=vinfo; in F77_xerbla()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_swtnl_state.c224 struct vertex_info *vinfo = &svga_render->vertex_info; in svga_swtnl_update_vdecl() local
235 memset(vinfo, 0, sizeof(*vinfo)); in svga_swtnl_update_vdecl()
242 draw_emit_vertex_attr(vinfo, EMIT_4F, src); in svga_swtnl_update_vdecl()
243 vinfo->attrib[0].emit = EMIT_4F; in svga_swtnl_update_vdecl()
263 draw_emit_vertex_attr(vinfo, EMIT_4F, src); in svga_swtnl_update_vdecl()
270 draw_emit_vertex_attr(vinfo, EMIT_4F, src); in svga_swtnl_update_vdecl()
279 draw_emit_vertex_attr(vinfo, EMIT_1F, src); in svga_swtnl_update_vdecl()
294 draw_compute_vertex_size(vinfo); in svga_swtnl_update_vdecl()
/external/cblas/testing/
Dc_xerbla.c88 void F77_xerbla(F77_Char F77_srname, void *vinfo) in F77_xerbla() argument
90 void F77_xerbla(char *srname, void *vinfo) in F77_xerbla()
100 F77_Integer *info=vinfo; in F77_xerbla()
104 int *info=vinfo; in F77_xerbla()
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_draw.c228 struct vertex_info *vinfo = &r->vertex_info; in vroute_add() local
249 draw_emit_vertex_attr(vinfo, emit, attrib); in vroute_add()
253 r->vtxptr[attrib] = vinfo->size; in vroute_add()
254 vinfo->size += draw_translate_vinfo_size(emit); in vroute_add()
286 struct vertex_info *vinfo = &r->vertex_info; in nv30_render_validate() local
306 vinfo->num_attribs = 0; in nv30_render_validate()
307 vinfo->size = 0; in nv30_render_validate()
340 r->vtxfmt[i] |= vinfo->size << 8; in nv30_render_validate()
374 vinfo->size /= 4; in nv30_render_validate()
/external/webrtc/webrtc/modules/video_render/test/testAPI/
DtestAPI.cc169 XVisualInfo vinfo; // screen visual info struct in WebRtcCreateWindow() local
179 if( XMatchVisualInfo(_display, screen, 24, TrueColor, &vinfo) != 0 ) in WebRtcCreateWindow()
185 xswa.colormap = XCreateColormap(_display, DefaultRootWindow(_display), vinfo.visual, AllocNone); in WebRtcCreateWindow()
212 0, vinfo.depth, in WebRtcCreateWindow()
214 vinfo.visual, in WebRtcCreateWindow()
/external/skia/gm/
Dimagefromyuvtextures.cpp56 SkImageInfo vinfo = SkImageInfo::MakeA8(kBmpSize / 2, kBmpSize / 2); in onOnceBeforeDraw() local
57 fYUVBmps[2].allocPixels(vinfo); in onOnceBeforeDraw()
Dyuvtorgbeffect.cpp52 SkImageInfo vinfo = SkImageInfo::MakeA8(VSIZE, VSIZE); in onOnceBeforeDraw() local
53 fBmp[2].allocPixels(vinfo); in onOnceBeforeDraw()
/external/mesa3d/src/mesa/drivers/x11/
Dfakeglx.c129 is_usable_visual( XVisualInfo *vinfo ) in is_usable_visual() argument
131 switch (vinfo->CLASS) { in is_usable_visual()
208 level_of_visual( Display *dpy, XVisualInfo *vinfo ) in level_of_visual() argument
213 overlay_info = GetOverlayInfo(dpy, vinfo->screen, &numOverlaysPerScreen); in level_of_visual()
221 if (ov->overlay_visual == vinfo->visualid) { in level_of_visual()
248 save_glx_visual( Display *dpy, XVisualInfo *vinfo, in save_glx_visual() argument
303 if (v->visinfo->visualid == vinfo->visualid) { in save_glx_visual()
311 xmvis = XMesaCreateVisual( dpy, vinfo, GL_TRUE, alphaFlag, dbFlag, in save_glx_visual()
421 find_glx_visual( Display *dpy, XVisualInfo *vinfo ) in find_glx_visual() argument
428 && VisualTable[i]->visinfo->visualid == vinfo->visualid) { in find_glx_visual()
[all …]
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211_capa.c707 struct nl80211_vendor_cmd_info *vinfo; in wiphy_info_handler() local
708 if (nla_len(nl) != sizeof(*vinfo)) { in wiphy_info_handler()
712 vinfo = nla_data(nl); in wiphy_info_handler()
713 if (vinfo->vendor_id == OUI_QCA) { in wiphy_info_handler()
714 switch (vinfo->subcmd) { in wiphy_info_handler()
755 vinfo->vendor_id, vinfo->subcmd); in wiphy_info_handler()
764 struct nl80211_vendor_cmd_info *vinfo; in wiphy_info_handler() local
765 if (nla_len(nl) != sizeof(*vinfo)) { in wiphy_info_handler()
769 vinfo = nla_data(nl); in wiphy_info_handler()
771 vinfo->vendor_id, vinfo->subcmd); in wiphy_info_handler()
/external/mesa3d/src/gallium/state_trackers/glx/xlib/
Dglx_api.c146 is_usable_visual( XVisualInfo *vinfo ) in is_usable_visual() argument
148 switch (vinfo->CLASS) { in is_usable_visual()
156 if (vinfo->depth>=4) { in is_usable_visual()
178 save_glx_visual( Display *dpy, XVisualInfo *vinfo, in save_glx_visual() argument
244 if ((!comparePointers && v->visinfo->visualid == vinfo->visualid) in save_glx_visual()
245 || (comparePointers && v->vishandle == vinfo)) { in save_glx_visual()
253 xmvis = XMesaCreateVisual( dpy, vinfo, rgbFlag, alphaFlag, dbFlag, in save_glx_visual()
263 xmvis->vishandle = vinfo; in save_glx_visual()
362 find_glx_visual( Display *dpy, XVisualInfo *vinfo ) in find_glx_visual() argument
369 && VisualTable[i]->visinfo->visualid == vinfo->visualid) { in find_glx_visual()
[all …]
/external/cmockery/cmockery_0_1_2/
Dlibtool1484 vinfo=
2082 prev=vinfo
2086 prev=vinfo
3507 if test -n "$vinfo"; then
3518 set dummy $vinfo 0 0 0
3578 $echo "$modename: \`$vinfo' is not valid version information" 1>&2
3587 $echo "$modename: \`$vinfo' is not valid version information" 1>&2
3596 $echo "$modename: \`$vinfo' is not valid version information" 1>&2
3603 $echo "$modename: \`$vinfo' is not valid version information" 1>&2
3698 if test -z "$vinfo" && test -n "$release"; then
[all …]

123