/external/mesa3d/src/mesa/state_tracker/ |
H A D | st_atom_scissor.c | 57 /* need to be careful here with xmax or ymax < 0 */ 58 GLint xmax = MAX2(0, ctx->Scissor.X + ctx->Scissor.Width); local 66 if (xmax < (GLint) scissor.maxx) 67 scissor.maxx = xmax;
|
H A D | st_cb_bitmap.c | 92 GLint xmin, ymin, xmax, ymax; member in struct:bitmap_cache 566 cache->xmax = -1000000; 644 assert(cache->xmin <= cache->xmax); 647 cache->xmax - cache->xmin, 737 if (x + width > cache->xmax) 738 cache->xmax = x + width;
|
/external/bison/lib/ |
H A D | xsize.h | 91 xmax (size_t size1, size_t size2) function
|
/external/e2fsprogs/intl/ |
H A D | xsize.h | 88 xmax (size_t size1, size_t size2) function
|
/external/pdfium/core/src/fxge/agg/agg23/ |
H A D | agg_renderer_scanline.h | 48 int xmax = m_ren->xmax(); local 69 if(x + len > xmax) { 70 len = xmax - x + 1;
|
H A D | agg_renderer_base.h | 76 int xmax() const function in class:agg::renderer_base 118 if(x1 > xmax()) { 127 if(x2 > xmax()) { 128 x2 = xmax(); 150 if(x + len > xmax()) { 151 len = xmax() - x + 1;
|
/external/libdrm/tests/planetest/ |
H A D | bo.c | 24 uint32_t i, j, xmax = x + width, ymax = y + height; local 26 if (xmax > bo->width) 27 xmax = bo->width; 34 for (j = x; j < xmax; j++) {
|
/external/libgsm/src/ |
H A D | rpe.c | 267 word xmax, xmaxc, temp, temp1, temp2; local 271 /* Find the maximum absolute value xmax of xM[0..12]. 274 xmax = 0; 278 if (temp > xmax) xmax = temp; 281 /* Qantizing and coding of xmax to get xmaxc. 285 temp = SASR( xmax, 9 ); 301 xmaxc = gsm_add( SASR(xmax, temp), exp << 3 );
|
/external/libvncserver/examples/android/jni/ |
H A D | fbvncserver.c | 58 static int xmin, xmax; variable 157 xmax = info.maximum; 313 if (xmin != 0 && xmax != 0 && ymin != 0 && ymax != 0) 315 x = xmin + (x * (xmax - xmin)) / (scrinfo.xres);
|
/external/mesa3d/src/mesa/swrast/ |
H A D | s_points.c | 195 GLint xmin, xmax, ymin, ymax, iy; local 205 xmax = (GLint) (x + iRadius); 213 xmax = xmin + iSize - 1; 229 span.end = xmax - xmin + 1; 313 const GLint xmax = (GLint) (x + radius); local 323 span.end = xmax - xmin + 1; 326 for (ix = xmin; ix <= xmax; ix++) { 411 GLint xmin, xmax, ymin, ymax, ix, iy; local 420 xmax = (GLint) (x + iRadius); 428 xmax [all...] |
H A D | s_span.c | 704 const GLint xmax = ctx->DrawBuffer->_Xmax; local 721 mask[i] &= (x[i] >= xmin) & (x[i] < xmax) 729 mask[i] = (x[i] >= xmin) & (x[i] < xmax) 743 if (y < ymin || y >= ymax || x + n <= xmin || x >= xmax) { 749 if (x + n > xmax) { 750 ASSERT(x < xmax); 751 n = span->end = xmax - x; 816 ASSERT(span->x + span->end <= xmax);
|
/external/sfntly/cpp/src/sfntly/table/core/ |
H A D | font_header_table.cc | 205 void FontHeaderTable::Builder::SetXMax(int32_t xmax) { argument 206 InternalWriteData()->WriteShort(Offset::kXMax, xmax);
|
/external/libopus/celt/ |
H A D | pitch.c | 307 opus_val32 xmax, ymax; local 329 xmax = celt_maxabs16(x_lp4, len>>2); 331 shift = celt_ilog2(MAX32(1, MAX32(xmax, ymax)))-11;
|
/external/skia/src/pdf/ |
H A D | SkPDFBitmap.cpp | 70 int xmax = SkTMin(xOrig + 1, bm.width() - 1); local 73 for (int x = xmin; x <= xmax; ++x) {
|
/external/webp/src/enc/ |
H A D | filter.c | 129 const int xmax = (xo + KERNEL > W - 1) ? W - 1 : xo + KERNEL; local 134 for (x = xmin; x <= xmax; ++x) {
|
/external/mesa3d/src/mesa/main/ |
H A D | image.c | 736 * specified by [xmin, xmax) and [ymin, ymax). 741 GLint xmax, GLint ymax, 752 if (*x + *width > xmax) 753 *width -= (*x + *width - xmax); 740 _mesa_clip_to_region(GLint xmin, GLint ymin, GLint xmax, GLint ymax, GLint *x, GLint *y, GLsizei *width, GLsizei *height ) argument
|
/external/libvncserver/libvncserver/ |
H A D | rfbregion.c | 588 int xmin=((unsigned int)(int)-1)>>1,ymin=xmin,xmax=1-xmin,ymax=xmax; local 605 if(hcurr->end>xmax) 606 xmax=hcurr->end; 613 if(xmax<xmin || ymax<ymin) 616 return sraRgnCreateRect(xmin,ymin,xmax,ymax);
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
H A D | bezier.c | 584 float xmax = bez->x1; local 590 else if (bez->x2 > xmax) 591 xmax = bez->x2; 594 else if (bez->x3 > xmax) 595 xmax = bez->x3; 598 else if (bez->x4 > xmax) 599 xmax = bez->x4; 616 bounds[2] = xmax - xmin; /* width */
|
/external/opencv/cv/src/ |
H A D | cvshapedescr.cpp | 1141 int xmin = 0, ymin = 0, xmax = -1, ymax = -1, i, j, k; local 1206 if( j > xmax ) 1207 xmax = j; 1212 xmax -= offset; 1222 if( j > xmax ) 1223 xmax = j; 1227 k_min = MAX(j-1, xmax); 1241 xmax = k; 1259 xmax += offset; 1283 xmin = xmax [all...] |
H A D | cvimgwarp.cpp | 210 int cn, int xmax, \ 221 xmax *= cn; \ 250 for( dx = 0; dx < xmax; dx++ ) \ 420 int cn, int xmin, int xmax, \ 427 xmin *= cn; xmax *= cn; \ 486 for( ; dx < xmax; dx++ ) \ 583 int cn, int xmax, const CvResizeAlpha* xofs, 589 int cn, int xmin, int xmax, 806 int xmax = dsize.width, width = dsize.width*cn, buf_size; local 846 if( xmax > 890 int xmin = dsize.width, xmax = -1; local [all...] |
/external/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_setup.c | 1352 const int xmax = xmin + (int) size; local 1354 /* XXX could apply scissor to xmin,ymin,xmax,ymax now */ 1356 const int ixmax = block(xmax - 1); 1362 debug_printf("(%f, %f) -> X:%d..%d Y:%d..%d\n", x, y, xmin, xmax,ymin,ymax); 1382 if (ix + 1 >= xmax) {
|
/external/pdfium/core/src/fpdfapi/fpdf_page/ |
H A D | fpdf_page_func.cpp | 423 static FX_FLOAT PDF_Interpolate(FX_FLOAT x, FX_FLOAT xmin, FX_FLOAT xmax, FX_FLOAT ymin, FX_FLOAT ymax) argument 425 return ((x - xmin) * (ymax - ymin) / (xmax - xmin)) + ymin;
|
/external/pdfium/core/src/fpdfapi/fpdf_render/ |
H A D | fpdf_render_pattern.cpp | 231 FX_FLOAT xmin = 0, ymin = 0, xmax = 1.0f, ymax = 1.0f; local 234 xmax = pDomain->GetNumber(1); 263 if (x < xmin || x > xmax || y < ymin || y > ymax) {
|
/external/skia/src/ports/ |
H A D | SkFontHost_FreeType.cpp | 1314 SkScalar ascent, descent, leading, xmin, xmax, ymin, ymax; local 1332 xmax = SkIntToScalar(face->bbox.xMax) / upem; 1363 xmax = SkIntToScalar(face->available_sizes[fStrikeIndex].width) / xppem; 1380 avgCharWidth = xmax - xmin; 1402 metrics->fXMax = xmax * scale;
|
/external/deqp/modules/gles3/performance/ |
H A D | es3pBufferDataUploadTests.cpp | 956 static float getAreaBetweenLines (float xmin, float xmax, float lineAOffset, float lineACoefficient, float lineBOffset, float lineBCoefficient) argument 959 const float lineAMax = lineAOffset + lineACoefficient * xmax; 961 const float lineBMax = lineBOffset + lineBCoefficient * xmax; 969 const float midpoint = (xmin + xmax) / 2.0f; 970 const float width = (xmax - xmin);
|