Searched refs:MIN2 (Results 1 - 25 of 932) sorted by relevance

1234567891011>>

/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/
H A Du_range.h63 range->start = MIN2(start, range->start);
73 return MAX2(start, range->start) < MIN2(end, range->end);
H A Du_box.h129 x = MIN2(a->x, b->x);
130 y = MIN2(a->y, b->y);
145 x = MIN2(a->x, b->x);
146 y = MIN2(a->y, b->y);
147 z = MIN2(a->z, b->z);
164 a_l[0] = MIN2(a->x, a->x + a->width);
166 a_l[1] = MIN2(a->y, a->y + a->height);
169 b_l[0] = MIN2(b->x, b->x + b->width);
171 b_l[1] = MIN2(b->y, b->y + b->height);
H A Du_rect.h104 d->x0 = MIN2(a->x0, b->x0);
105 d->y0 = MIN2(a->y0, b->y0);
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/
H A Du_range.h68 range->start = MIN2(start, range->start);
72 range->start = MIN2(start, range->start);
83 return MAX2(start, range->start) < MIN2(end, range->end);
H A Du_box.h137 x = MIN2(a->x, b->x);
154 dst->width = MIN2(a->x + a->width, b->x + b->width) - x;
169 x = MIN2(a->x, b->x);
170 y = MIN2(a->y, b->y);
185 x = MIN2(a->x, b->x);
186 y = MIN2(a->y, b->y);
187 z = MIN2(a->z, b->z);
204 a_l[0] = MIN2(a->x, a->x + a->width);
206 a_l[1] = MIN2(a->y, a->y + a->height);
209 b_l[0] = MIN2(
[all...]
H A Du_rect.h104 d->x0 = MIN2(a->x0, b->x0);
105 d->y0 = MIN2(a->y0, b->y0);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/vc4/
H A Dvc4_emit.c53 maxx = MIN2(vp_maxx, job->draw_width);
54 maxy = MIN2(vp_maxy, job->draw_height);
58 maxx = MIN2(vp_maxx, vc4->scissor.maxx);
59 maxy = MIN2(vp_maxy, vc4->scissor.maxy);
69 job->draw_min_x = MIN2(job->draw_min_x, minx);
70 job->draw_min_y = MIN2(job->draw_min_y, miny);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/vc4/
H A Dvc4_emit.c53 maxx = MAX2(MIN2(vp_maxx, job->draw_width), minx);
54 maxy = MAX2(MIN2(vp_maxy, job->draw_height), miny);
58 maxx = MAX2(MIN2(vp_maxx, vc4->scissor.maxx), minx);
59 maxy = MAX2(MIN2(vp_maxy, vc4->scissor.maxy), miny);
69 job->draw_min_x = MIN2(job->draw_min_x, minx);
70 job->draw_min_y = MIN2(job->draw_min_y, miny);
/xsrc/external/mit/libdrm/dist/
H A Dutil_math.h27 #define MIN2( A, B ) ( (A)<(B) ? (A) : (B) ) macro
/xsrc/external/mit/MesaLib/dist/src/broadcom/common/
H A Dv3d_util.c61 max_batches_per_sg = MIN2(max_batches_per_sg, max_qpu_threads / 2);
/xsrc/external/mit/MesaLib/dist/src/virtio/vulkan/
H A Dvn_icd.c24 vn_icd_version = MIN2(vn_icd_version, *pSupportedVersion);
/xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
H A Dstreaming-load-memcpy.c55 memcpy(d, s, MIN2(bytes_before_alignment_boundary, len));
59 len -= MIN2(bytes_before_alignment_boundary, len);
/xsrc/external/mit/MesaLib/dist/src/mesa/main/
H A Dstreaming-load-memcpy.c55 memcpy(d, s, MIN2(bytes_before_alignment_boundary, len));
59 len -= MIN2(bytes_before_alignment_boundary, len);
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/radeon/
H A Dradeon_tile.c59 for (j = 0; j < MIN2(tile_height, height - row); ++j)
61 unsigned columns = MIN2(tile_width, width - col);
90 for (j = 0; j < MIN2(tile_height, height - row); ++j)
92 unsigned columns = MIN2(tile_width, width - col);
121 for (j = 0; j < MIN2(tile_height, height - row); ++j)
123 unsigned columns = MIN2(tile_width, width - col);
152 for (j = 0; j < MIN2(tile_height, height - row); ++j)
154 unsigned columns = MIN2(tile_width, width - col);
183 for (j = 0; j < MIN2(tile_height, height - row); ++j)
185 unsigned columns = MIN2(tile_widt
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/radeon/
H A Dradeon_tile.c59 for (j = 0; j < MIN2(tile_height, height - row); ++j)
61 unsigned columns = MIN2(tile_width, width - col);
90 for (j = 0; j < MIN2(tile_height, height - row); ++j)
92 unsigned columns = MIN2(tile_width, width - col);
121 for (j = 0; j < MIN2(tile_height, height - row); ++j)
123 unsigned columns = MIN2(tile_width, width - col);
152 for (j = 0; j < MIN2(tile_height, height - row); ++j)
154 unsigned columns = MIN2(tile_width, width - col);
183 for (j = 0; j < MIN2(tile_height, height - row); ++j)
185 unsigned columns = MIN2(tile_widt
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/draw/
H A Ddraw_split_tmp.h90 draw_pt_trim_count(MIN2(max_count_simple, count), first, incr);
118 draw_pt_trim_count(MIN2(max_count_loop, count), first, incr);
141 draw_pt_trim_count(MIN2(max_count_fan, count), first, incr);
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/draw/
H A Ddraw_split_tmp.h95 draw_pt_trim_count(MIN2(max_count_simple, count), first, incr);
123 draw_pt_trim_count(MIN2(max_count_loop, count), first, incr);
146 draw_pt_trim_count(MIN2(max_count_fan, count), first, incr);
/xsrc/external/mit/MesaLib.old/dist/src/mesa/tnl_dd/
H A Dt_dd_dmatmp.h83 nr = MIN2(currentsz, count - j);
115 nr = MIN2(currentsz, count - j);
139 nr = MIN2(currentsz, count - j);
172 nr = MIN2(currentsz, count - j);
222 nr = MIN2(currentsz, count - j);
252 nr = MIN2(currentsz, count - j);
278 nr = MIN2(currentsz, count - j + 1);
310 nr = MIN2(currentsz, count - j + 1);
355 nr = MIN2(currentsz, count - j);
H A Dt_dd_dmatmp2.h184 nr = MIN2( dmasz, count - j );
239 nr = MIN2( dmasz, count - j );
265 nr = MIN2( dmasz, count - j );
338 nr = MIN2( dmasz, count - j );
379 nr = MIN2( dmasz, count - j );
443 nr = MIN2( dmasz, count - j );
496 nr = MIN2( dmasz, count - j );
556 nr = MIN2( dmasz, count - j );
593 nr = MIN2( dmasz, count - j );
625 nr = MIN2( dmas
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/tnl_dd/
H A Dt_dd_dmatmp.h83 nr = MIN2(currentsz, count - j);
115 nr = MIN2(currentsz, count - j);
139 nr = MIN2(currentsz, count - j);
172 nr = MIN2(currentsz, count - j);
222 nr = MIN2(currentsz, count - j);
252 nr = MIN2(currentsz, count - j);
278 nr = MIN2(currentsz, count - j + 1);
310 nr = MIN2(currentsz, count - j + 1);
355 nr = MIN2(currentsz, count - j);
H A Dt_dd_dmatmp2.h184 nr = MIN2( dmasz, count - j );
239 nr = MIN2( dmasz, count - j );
265 nr = MIN2( dmasz, count - j );
338 nr = MIN2( dmasz, count - j );
379 nr = MIN2( dmasz, count - j );
443 nr = MIN2( dmasz, count - j );
496 nr = MIN2( dmasz, count - j );
556 nr = MIN2( dmasz, count - j );
593 nr = MIN2( dmasz, count - j );
625 nr = MIN2( dmas
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/util/
H A Dmacros.h277 #define MIN2( A, B ) ( (A)<(B) ? (A) : (B) ) macro
283 #define MIN3( A, B, C ) ((A) < (B) ? MIN2(A, C) : MIN2(B, C))
/xsrc/external/mit/MesaLib.old/dist/src/mesa/swrast/
H A Ds_blend.c263 rgba[i][RCOMP] = (GLubyte) MIN2( r, 255 );
264 rgba[i][GCOMP] = (GLubyte) MIN2( g, 255 );
265 rgba[i][BCOMP] = (GLubyte) MIN2( b, 255 );
266 rgba[i][ACOMP] = (GLubyte) MIN2( a, 255 );
279 rgba[i][RCOMP] = (GLshort) MIN2( r, 255 );
280 rgba[i][GCOMP] = (GLshort) MIN2( g, 255 );
281 rgba[i][BCOMP] = (GLshort) MIN2( b, 255 );
282 rgba[i][ACOMP] = (GLshort) MIN2( a, 255 );
322 rgba[i][RCOMP] = MIN2( rgba[i][RCOMP], dest[i][RCOMP] );
323 rgba[i][GCOMP] = MIN2( rgb
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/swrast/
H A Ds_blend.c263 rgba[i][RCOMP] = (GLubyte) MIN2( r, 255 );
264 rgba[i][GCOMP] = (GLubyte) MIN2( g, 255 );
265 rgba[i][BCOMP] = (GLubyte) MIN2( b, 255 );
266 rgba[i][ACOMP] = (GLubyte) MIN2( a, 255 );
279 rgba[i][RCOMP] = (GLshort) MIN2( r, 255 );
280 rgba[i][GCOMP] = (GLshort) MIN2( g, 255 );
281 rgba[i][BCOMP] = (GLshort) MIN2( b, 255 );
282 rgba[i][ACOMP] = (GLshort) MIN2( a, 255 );
322 rgba[i][RCOMP] = MIN2( rgba[i][RCOMP], dest[i][RCOMP] );
323 rgba[i][GCOMP] = MIN2( rgb
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/intel/common/
H A Dgen_urb_config.c155 unsigned remaining_space = MIN2(urb_chunks - total_needs, total_wants);
186 entries[i] = MIN2(entries[i], devinfo->urb.max_entries[i]);

Completed in 13 milliseconds

1234567891011>>