Home
last modified time | relevance | path

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

1234

/external/mesa3d/src/mesa/tnl/
Dt_rebase.c63 TYPE min_index) \
74 tmp_indices[i] = in[i] - min_index; \
108 GLuint min_index, in REBASE()
122 assert(min_index != 0); in REBASE()
125 printf("%s %d..%d\n", __func__, min_index, max_index); in REBASE()
143 tmp_prims[i].basevertex -= min_index; in REBASE()
169 tmp_indices = rebase_GLuint( ptr, ib->count, min_index ); in REBASE()
172 tmp_indices = rebase_GLushort( ptr, ib->count, min_index ); in REBASE()
175 tmp_indices = rebase_GLubyte( ptr, ib->count, min_index ); in REBASE()
203 assert(prim[i].start >= min_index); in REBASE()
[all …]
Dt_split_inplace.c50 GLuint min_index; member
79 ib.count = split->max_index - split->min_index + 1; in flush_vertex()
81 (split->min_index << ib.index_size_shift)); in flush_vertex()
85 split->dstprim[i].start -= split->min_index; in flush_vertex()
88 assert(split->max_index >= split->min_index); in flush_vertex()
96 split->min_index, in flush_vertex()
102 split->min_index = ~0; in flush_vertex()
126 split->min_index = MIN2(split->min_index, prim->start); in update_index_bounds()
139 if ((prim->start > split->min_index && in get_max_vertices()
140 prim->start - split->min_index >= split->limit) || in get_max_vertices()
[all …]
Dtnl.h108 GLuint min_index,
117 GLboolean index_bounds_valid, GLuint min_index, GLuint max_index,
174 GLuint min_index,
200 GLuint min_index,
Dt_split.c107 GLuint min_index, in _tnl_split_prims() argument
126 else if (max_index - min_index >= limits->max_verts) { in _tnl_split_prims()
148 if (max_index - min_index >= limits->max_verts) { in _tnl_split_prims()
Dt_draw.c429 GLuint min_index, in _tnl_draw_prims() argument
441 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, num_instances, base_instance, in _tnl_draw_prims()
633 GLboolean index_bounds_valid, GLuint min_index, GLuint max_index, in _tnl_draw() argument
643 index_bounds_valid, min_index, max_index, in _tnl_draw()
/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/vbo/
Dvbo_minmax_index.c107 GLuint *min_index, GLuint *max_index) in vbo_get_minmax_cached() argument
149 *min_index = entry->min; in vbo_get_minmax_cached()
235 unsigned *min_index, unsigned *max_index) in vbo_get_minmax_index_mapped() argument
262 *min_index = min_ui; in vbo_get_minmax_index_mapped()
284 *min_index = min_us; in vbo_get_minmax_index_mapped()
306 *min_index = min_ub; in vbo_get_minmax_index_mapped()
326 GLuint *min_index, GLuint *max_index, in vbo_get_minmax_index() argument
340 count, min_index, max_index)) in vbo_get_minmax_index()
350 restart, indices, min_index, max_index); in vbo_get_minmax_index()
354 count, *min_index, *max_index); in vbo_get_minmax_index()
[all …]
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()
256 sub_prim->min_index, sub_prim->max_index, in vbo_sw_primitive_restart()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_vbo_t.c246 GLuint min_index, GLuint max_index,
253 GLuint min_index, GLuint max_index, in vbo_maybe_split() argument
271 if (max_index - min_index > vert_avail || in vbo_maybe_split()
279 _tnl_split_prims(ctx, arrays, prims, nr_prims, ib, min_index, in vbo_maybe_split()
313 int base, unsigned min_index, unsigned max_index, int *pdelta) in vbo_bind_vertices() argument
333 unsigned delta = (base + min_index) * binding->Stride; in vbo_bind_vertices()
343 int n = max_index - min_index + 1; in vbo_bind_vertices()
365 *pdelta -= min_index; in vbo_bind_vertices()
391 const struct _mesa_index_buffer *ib, GLuint min_index, in vbo_draw_vbo() argument
408 vbo_bind_vertices(ctx, arrays, basevertex, min_index, in vbo_draw_vbo()
[all …]
/external/mesa3d/src/mesa/main/
Dglthread_draw.c458 unsigned min_index = ~0; in _mesa_marshal_MultiDrawArrays() local
472 min_index = MIN2(min_index, first[i]); in _mesa_marshal_MultiDrawArrays()
476 unsigned num_vertices = max_index_exclusive - min_index; in _mesa_marshal_MultiDrawArrays()
485 if (!upload_vertices(ctx, user_buffer_mask, min_index, num_vertices, in _mesa_marshal_MultiDrawArrays()
509 GLuint min_index; member
527 const GLuint min_index = cmd->min_index; in _mesa_unmarshal_DrawElementsInstancedBaseVertexBaseInstance() local
546 (mode, min_index, max_index, count, in _mesa_unmarshal_DrawElementsInstancedBaseVertexBaseInstance()
569 bool index_bounds_valid, GLuint min_index, GLuint max_index, in draw_elements_async() argument
587 cmd->min_index = min_index; in draw_elements_async()
600 bool index_bounds_valid, GLuint min_index, GLuint max_index, in draw_elements() argument
[all …]
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/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/panfrost/shared/
Dpan_minmax_cache.c45 unsigned *min_index, unsigned *max_index) in panfrost_minmax_cache_get() argument
57 *min_index = hit & 0xffffffff; in panfrost_minmax_cache_get()
69 unsigned min_index, unsigned max_index) in panfrost_minmax_cache_add() argument
72 uint64_t value = min_index | (((uint64_t)max_index) << 32); in panfrost_minmax_cache_add()
Dpan_minmax_cache.h43 unsigned *min_index, unsigned *max_index);
47 unsigned min_index, unsigned max_index);
/external/apache-commons-bcel/src/main/java/org/apache/bcel/classfile/
DLineNumberTable.java163 int min_index = -1; in getSourceLine() local
183 min_index = i; in getSourceLine()
189 if (min_index < 0) { in getSourceLine()
192 return line_number_table[min_index].getLineNumber(); in getSourceLine()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_swtnl_backend.c168 ushort min_index, in svga_vbuf_render_unmap_vertices() argument
179 offset = svga_render->vbuf_offset + svga_render->vertex_size * min_index; in svga_vbuf_render_unmap_vertices()
180 length = svga_render->vertex_size * (max_index + 1 - min_index); in svga_vbuf_render_unmap_vertices()
197 svga_render->min_index = min_index; in svga_vbuf_render_unmap_vertices()
333 .min_index = svga_render->min_index, in svga_vbuf_render_draw_elements()
Dsvga_draw_private.h156 unsigned min_index[QSZ]; member
227 unsigned min_index,
239 unsigned min_index,
Dsvga_draw_elements.c185 unsigned min_index, unsigned max_index, in svga_hwtnl_simple_draw_range_elements() argument
209 min_index, max_index, index_buffer, in svga_hwtnl_simple_draw_range_elements()
280 info->min_index, in svga_hwtnl_draw_range_elements()
308 info->min_index, in svga_hwtnl_draw_range_elements()
/external/tensorflow/tensorflow/tools/graph_transforms/
Dfreeze_requantization_ranges.cc156 int min_index = std::round(mins.size() * (min_percentile / 100.0f)); in FreezeRequantizationRanges() local
157 if (min_index < 0) { in FreezeRequantizationRanges()
158 min_index = 0; in FreezeRequantizationRanges()
165 const float min = mins[min_index]; in FreezeRequantizationRanges()
/external/mesa3d/src/gallium/auxiliary/util/
Du_vbuf.c414 int min_index, boolean unroll_indices) in u_vbuf_translate_buffers() argument
469 map -= (ptrdiff_t)vb->stride * min_index; in u_vbuf_translate_buffers()
615 int min_index, boolean unroll_indices) in u_vbuf_translate_begin() argument
722 start[type], num[type], min_index, in u_vbuf_translate_begin()
1283 unsigned min_index; in u_vbuf_draw_vbo() local
1377 new_info.min_index = ~0u; in u_vbuf_draw_vbo()
1415 new_info.min_index = MIN2(new_info.min_index, min); in u_vbuf_draw_vbo()
1474 min_index = new_info.min_index; in u_vbuf_draw_vbo()
1478 &min_index, &max_index); in u_vbuf_draw_vbo()
1481 assert(min_index <= max_index); in u_vbuf_draw_vbo()
[all …]
Du_draw.h63 info.min_index = start; in util_draw_arrays()
107 info.min_index = start; in util_draw_arrays_instanced()
/external/mesa3d/src/mesa/state_tracker/
Dst_draw.c164 GLuint min_index, in st_draw_vbo() argument
193 vbo_get_minmax_indices(ctx, prims, ib, &min_index, &max_index, in st_draw_vbo()
198 info.min_index = min_index; in st_draw_vbo()
246 info.min_index = info.start; in st_draw_vbo()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_draw_upload.c451 unsigned int min_index = brw->vb.min_index + brw->basevertex; in brw_prepare_vertices() local
468 fprintf(stderr, "%s %d..%d\n", __func__, min_index, max_index); in brw_prepare_vertices()
549 start = vertex_range_start + stride * min_index; in brw_prepare_vertices()
550 range = (stride * (max_index - min_index) + in brw_prepare_vertices()
568 if (unlikely(max_index == 3 && min_index == 0 && in brw_prepare_vertices()
592 delta = min_index; in brw_prepare_vertices()
649 copy_array_to_vbo_array(brw, ptr, stride, min_index, in brw_prepare_vertices()
/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/tensorflow/tensorflow/python/keras/
Dmetrics.py1523 min_index = math_ops.argmin(
1525 min_index = math_ops.cast(min_index, dtypes.int32)
1529 self.true_positives[min_index],
1530 self.true_positives[min_index] + self.false_negatives[min_index])
1609 min_index = math_ops.argmin(
1611 min_index = math_ops.cast(min_index, dtypes.int32)
1615 self.true_negatives[min_index],
1616 self.true_negatives[min_index] + self.false_positives[min_index])
1690 min_index = math_ops.argmin(
1692 min_index = math_ops.cast(min_index, dtypes.int32)
[all …]

1234