Home
last modified time | relevance | path

Searched refs:min_index (Results 1 – 25 of 61) sorted by relevance

123

/external/mesa3d/src/mesa/vbo/
Dvbo_rebase.c60 TYPE min_index ) \
72 tmp_indices[i] = in[i] - min_index; \
129 GLuint min_index, in vbo_rebase_prims() argument
142 assert(min_index != 0); in vbo_rebase_prims()
145 printf("%s %d..%d\n", __func__, min_index, max_index); in vbo_rebase_prims()
164 tmp_prims[i].basevertex -= min_index; in vbo_rebase_prims()
187 tmp_indices = rebase_GLuint( ptr, ib->count, min_index ); in vbo_rebase_prims()
190 tmp_indices = rebase_GLushort( ptr, ib->count, min_index ); in vbo_rebase_prims()
193 tmp_indices = rebase_GLubyte( ptr, ib->count, min_index ); in vbo_rebase_prims()
224 assert(prim[i].start >= min_index); in vbo_rebase_prims()
[all …]
Dvbo_split_inplace.c49 GLuint min_index; member
76 ib.count = split->max_index - split->min_index + 1; in flush_vertex()
78 split->min_index * _mesa_sizeof_type(ib.type)); in flush_vertex()
82 split->dstprim[i].start -= split->min_index; in flush_vertex()
85 assert(split->max_index >= split->min_index); in flush_vertex()
95 split->min_index, in flush_vertex()
103 split->min_index = ~0; in flush_vertex()
124 split->min_index = MIN2(split->min_index, prim->start); in update_index_bounds()
135 if ((prim->start > split->min_index && in get_max_vertices()
136 prim->start - split->min_index >= split->limit) || in get_max_vertices()
[all …]
Dvbo_minmax_index.c105 GLuint *min_index, GLuint *max_index) in vbo_get_minmax_cached() argument
147 *min_index = entry->min; in vbo_get_minmax_cached()
239 GLuint *min_index, GLuint *max_index, in vbo_get_minmax_index() argument
253 min_index, max_index)) in vbo_get_minmax_index()
286 *min_index = min_ui; in vbo_get_minmax_index()
308 *min_index = min_us; in vbo_get_minmax_index()
330 *min_index = min_ub; in vbo_get_minmax_index()
340 *min_index, *max_index); in vbo_get_minmax_index()
352 GLuint *min_index, in vbo_get_minmax_indices() argument
360 *min_index = ~0; in vbo_get_minmax_indices()
[all …]
Dvbo_split.c106 GLuint min_index, in vbo_split_prims() argument
123 else if (max_index - min_index >= limits->max_verts) { in vbo_split_prims()
138 min_index, max_index, draw, limits ); in vbo_split_prims()
146 if (max_index - min_index >= limits->max_verts) { in vbo_split_prims()
152 min_index, max_index, draw, limits ); in vbo_split_prims()
Dvbo_primitive_restart.c69 GLuint min_index; member
105 sub_prims[scan_num].min_index = (GL##TYPE) 0xffffffff; \ in find_sub_primitives()
115 sub_prims[scan_num].min_index = (GL##TYPE) 0xffffffff; \ in find_sub_primitives()
122 UPDATE_MIN2(sub_prims[scan_num].min_index, scan_index); \ in find_sub_primitives()
253 GL_TRUE, sub_prim->min_index, sub_prim->max_index, in vbo_sw_primitive_restart()
Dvbo.h106 GLuint min_index,
146 GLuint min_index,
162 GLuint min_index,
189 GLuint *min_index, GLuint *max_index, GLuint nr_prims);
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pt_vsplit_tmp.h41 const unsigned min_index = draw->pt.user.min_index; in CONCAT() local
57 if (min_index == 0 && sizeof(ib[0]) == sizeof(draw_elts[0])) { in CONCAT()
63 if (idx < min_index || idx > max_index) { in CONCAT()
76 if (max_index - min_index > icount - 1) in CONCAT()
79 if (elt_bias < 0 && (int) min_index < -elt_bias) in CONCAT()
88 fetch_start = min_index + elt_bias; in CONCAT()
89 fetch_count = max_index - min_index + 1; in CONCAT()
92 if (fetch_start < min_index || fetch_start < elt_bias) in CONCAT()
96 if (min_index == 0) { in CONCAT()
100 if (idx < min_index || idx > max_index) { in CONCAT()
[all …]
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_vbo_t.c224 GLuint min_index, GLuint max_index,
233 GLuint min_index, GLuint max_index) in vbo_maybe_split() argument
250 if (max_index - min_index > vert_avail || in vbo_maybe_split()
258 vbo_split_prims(ctx, arrays, prims, nr_prims, ib, min_index, in vbo_maybe_split()
291 int base, unsigned min_index, unsigned max_index, int *pdelta) in vbo_bind_vertices() argument
307 unsigned delta = (base + min_index) * array->StrideB; in vbo_bind_vertices()
317 int n = max_index - min_index + 1; in vbo_bind_vertices()
334 *pdelta -= min_index; in vbo_bind_vertices()
360 const struct _mesa_index_buffer *ib, GLuint min_index, in vbo_draw_vbo() argument
377 vbo_bind_vertices(ctx, arrays, basevertex, min_index, in vbo_draw_vbo()
[all …]
/external/chromium-trace/catapult/common/py_vulcanize/py_vulcanize/
Dstrip_js_comments.py31 min_index = m.start()
34 if min_index > 0:
35 yield rest[:min_index]
37 yield rest[min_index:end_index]
/external/mesa3d/src/gallium/auxiliary/util/
Du_draw.h63 info.min_index = start; in util_draw_arrays()
103 info.min_index = start; in util_draw_arrays_instanced()
135 uint min_index, in util_draw_range_elements() argument
149 info.min_index = min_index; in util_draw_range_elements()
Du_vbuf.c402 int start_index, unsigned num_indices, int min_index, in u_vbuf_translate_buffers() argument
441 map -= (ptrdiff_t)vb->stride * min_index; in u_vbuf_translate_buffers()
567 int start_index, unsigned num_indices, int min_index, in u_vbuf_translate_begin() argument
676 start_index, num_indices, min_index, in u_vbuf_translate_begin()
1147 int start_vertex, min_index; in u_vbuf_draw_vbo() local
1203 min_index = new_info.min_index; in u_vbuf_draw_vbo()
1209 new_info.count, &min_index, &max_index); in u_vbuf_draw_vbo()
1212 assert(min_index <= max_index); in u_vbuf_draw_vbo()
1214 start_vertex = min_index + new_info.index_bias; in u_vbuf_draw_vbo()
1215 num_vertices = max_index + 1 - min_index; in u_vbuf_draw_vbo()
[all …]
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_draw_elements.c153 unsigned min_index, unsigned max_index, in svga_hwtnl_simple_draw_range_elements() argument
176 min_index, max_index, index_buffer, in svga_hwtnl_simple_draw_range_elements()
185 unsigned min_index, unsigned max_index, in svga_hwtnl_draw_range_elements() argument
223 min_index, in svga_hwtnl_draw_range_elements()
252 min_index, in svga_hwtnl_draw_range_elements()
Dsvga_swtnl_backend.c163 ushort min_index, in svga_vbuf_render_unmap_vertices() argument
174 offset = svga_render->vbuf_offset + svga_render->vertex_size * min_index; in svga_vbuf_render_unmap_vertices()
175 length = svga_render->vertex_size * (max_index + 1 - min_index); in svga_vbuf_render_unmap_vertices()
192 svga_render->min_index = min_index; in svga_vbuf_render_unmap_vertices()
359 svga_render->min_index, in svga_vbuf_render_draw_elements()
370 svga_render->min_index, in svga_vbuf_render_draw_elements()
Dsvga_draw_private.h148 unsigned min_index[QSZ]; member
227 unsigned min_index,
237 unsigned min_index,
Dsvga_pipe_draw.c52 unsigned min_index, in retry_draw_range_elements() argument
81 min_index, max_index, in retry_draw_range_elements()
96 min_index, max_index, in retry_draw_range_elements()
255 info->min_index, in svga_draw_vbo()
Dsvga_draw.c264 vdecl[i].rangeHint.first = hwtnl->cmd.min_index[0]; in draw_vgpu9()
460 unsigned min_index, in draw_vgpu10() argument
766 unsigned min_index, unsigned max_index, in check_draw_params() argument
788 assert(min_index <= max_index); in check_draw_params()
912 unsigned min_index, in svga_hwtnl_prim() argument
922 ret = draw_vgpu10(hwtnl, range, vcount, min_index, max_index, ib, in svga_hwtnl_prim()
926 ret = draw_vgpu10(hwtnl, range, vcount, min_index, max_index, ib, in svga_hwtnl_prim()
934 check_draw_params(hwtnl, range, min_index, max_index, ib); in svga_hwtnl_prim()
948 hwtnl->cmd.min_index[hwtnl->cmd.prim_count] = min_index; in svga_hwtnl_prim()
/external/mesa3d/src/mesa/state_tracker/
Dst_draw.c181 GLuint min_index, in st_draw_vbo() argument
215 vbo_get_minmax_indices(ctx, prims, ib, &min_index, &max_index, in st_draw_vbo()
224 if (min_index != ~0U && max_index != ~0U) { in st_draw_vbo()
225 info.min_index = min_index; in st_draw_vbo()
256 info.min_index = info.start; in st_draw_vbo()
Dst_draw.h58 GLuint min_index,
70 GLuint min_index,
/external/tensorflow/tensorflow/tools/graph_transforms/
Dfreeze_requantization_ranges.cc159 int min_index = std::round(mins.size() * (min_percentile / 100.0f)); in FreezeRequantizationRanges() local
160 if (min_index < 0) { in FreezeRequantizationRanges()
161 min_index = 0; in FreezeRequantizationRanges()
168 const float min = mins[min_index]; in FreezeRequantizationRanges()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_draw.c441 GLuint min_index, in brw_try_draw_prims() argument
495 brw->vb.min_index = min_index; in brw_try_draw_prims()
640 GLuint min_index, in brw_draw_prims() argument
669 index_bounds_valid, min_index, max_index, NULL, 0, NULL); in brw_draw_prims()
680 vbo_get_minmax_indices(ctx, prims, ib, &min_index, &max_index, nr_prims); in brw_draw_prims()
689 min_index, max_index, xfb_obj, stream, indirect); in brw_draw_prims()
Dbrw_draw_upload.c542 unsigned int min_index = brw->vb.min_index + brw->basevertex; in brw_prepare_vertices() local
563 fprintf(stderr, "%s %d..%d\n", __func__, min_index, max_index); in brw_prepare_vertices()
614 start = offset + min_index * glarray->StrideB; in brw_prepare_vertices()
615 range = (glarray->StrideB * (max_index - min_index) + in brw_prepare_vertices()
713 delta = min_index; in brw_prepare_vertices()
726 copy_array_to_vbo_array(brw, upload[0], min_index, max_index, in brw_prepare_vertices()
746 copy_array_to_vbo_array(brw, upload[i], min_index, max_index, in brw_prepare_vertices()
/external/mesa3d/src/mesa/main/
Dsse_minmax.c33 _mesa_uint_array_min_max(const unsigned *ui_indices, unsigned *min_index, in _mesa_uint_array_min_max() argument
92 *min_index = min_ui; in _mesa_uint_array_min_max()
/external/webrtc/webrtc/modules/audio_coding/neteq/
Ddsp_helper.cc105 size_t min_index = 0; in PeakDetection() local
120 min_index = (peak_index[i] > 2) ? (peak_index[i] - 2) : 0; in PeakDetection()
144 memset(&data[min_index], 0, in PeakDetection()
145 sizeof(data[0]) * (max_index - min_index + 1)); in PeakDetection()
/external/mesa3d/src/gallium/tools/trace/
Ddump_state.py471 max_index, min_index = 0, 0xffffffff
482 min_index = min(min_index, index)
487 return min_index + info.index_bias, max_index + info.index_bias
555 min_index, max_index = self._merge_indices(info)
557 min_index = info.start
559 self._merge_vertices(min_index, max_index - min_index + 1)
/external/mesa3d/src/mesa/tnl/
Dt_draw.c426 GLuint min_index, in _tnl_draw_prims() argument
440 vbo_get_minmax_indices(ctx, prim, ib, &min_index, &max_index, nr_prims); in _tnl_draw_prims()
453 printf("%s %d..%d\n", __func__, min_index, max_index); in _tnl_draw_prims()
461 if (min_index) { in _tnl_draw_prims()
465 min_index, max_index, in _tnl_draw_prims()

123