Searched defs:xmax (Results 1 - 25 of 33) sorted by relevance

12

/external/ltp/tools/pounder21/src/randacoords/
H A Dcoords.c52 unsigned long xmax, ymax; local
56 fprintf(stderr, "Usage: %s xmax ymax\n", argv[0]);
60 xmax = atoi(argv[1]);
67 x = 1 + (unsigned long)((float)xmax * (rand() / (RAND_MAX + 1.0f)));
/external/e2fsprogs/intl/
H A Dxsize.h88 xmax (size_t size1, size_t size2) function
/external/mesa3d/src/mesa/state_tracker/
H A Dst_atom_scissor.c63 /* need to be careful here with xmax or ymax < 0 */
64 GLint xmax = MAX2(0, ctx->Scissor.ScissorArray[i].X + ctx->Scissor.ScissorArray[i].Width); local
72 if (xmax < (GLint) scissor[i].maxx)
73 scissor[i].maxx = xmax;
H A Dst_cb_bitmap.c91 GLint xmin, ymin, xmax, ymax; member in struct:bitmap_cache
363 cache->xmax = -1000000;
435 assert(cache->xmin <= cache->xmax);
439 cache->xmax - cache->xmin,
527 if (x + width > cache->xmax)
528 cache->xmax = x + width;
/external/pdfium/third_party/agg23/
H A Dagg_renderer_scanline.h48 int xmax = m_ren->xmax(); local
69 if(x + len > xmax) {
70 len = xmax - x + 1;
H A Dagg_renderer_base.h76 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 Dbo.c26 uint32_t i, j, xmax = x + width, ymax = y + height; local
28 if (xmax > bo->width)
29 xmax = bo->width;
36 for (j = x; j < xmax; j++)
43 for (j = x; j < xmax / 2; j++) {
61 uint32_t i, j, xmax = x + width, ymax = y + height; local
63 if (xmax > bo->width)
64 xmax = bo->width;
71 for (j = x; j < xmax; j++) {
/external/libgsm/src/
H A Drpe.c267 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/mesa3d/src/mesa/drivers/dri/i965/
H A Dgen6_viewport_state.c40 float *xmin, float *xmax,
105 *xmax = ndc_gb_xmax;
111 *xmax = 0.0f;
167 &clv[i].xmin, &clv[i].xmax,
37 brw_calculate_guardband_size(const struct gen_device_info *devinfo, uint32_t fb_width, uint32_t fb_height, float m00, float m11, float m30, float m31, float *xmin, float *xmax, float *ymin, float *ymax) argument
/external/pdfium/core/fpdfapi/page/
H A Dcpdf_function.cpp130 float xmax,
133 float divisor = xmax - xmin;
128 Interpolate(float x, float xmin, float xmax, float ymin, float ymax) const argument
/external/libvncserver/examples/android/jni/
H A Dfbvncserver.c58 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/gallium/drivers/swr/rasterizer/core/
H A Dapi.h49 int32_t xmax; ///< exclusive member in struct:SWR_RECT
57 this->xmax == rhs.xmax);
69 this->xmax = std::min(this->xmax, other.xmax);
72 if (xmax - xmin < 0 ||
76 ymin = ymax = xmin = xmax = 0;
90 this->xmax = std::max(this->xmax, othe
[all...]
/external/mesa3d/src/mesa/swrast/
H A Ds_points.c194 GLint xmin, xmax, ymin, ymax, iy; local
204 xmax = (GLint) (x + iRadius);
212 xmax = xmin + iSize - 1;
228 span.end = xmax - xmin + 1;
312 const GLint xmax = (GLint) (x + radius); local
322 span.end = xmax - xmin + 1;
325 for (ix = xmin; ix <= xmax; ix++) {
410 GLint xmin, xmax, ymin, ymax, ix, iy; local
419 xmax = (GLint) (x + iRadius);
427 xmax
[all...]
H A Ds_span.c705 const GLint xmax = ctx->DrawBuffer->_Xmax; local
722 mask[i] &= (x[i] >= xmin) & (x[i] < xmax)
730 mask[i] = (x[i] >= xmin) & (x[i] < xmax)
744 if (y < ymin || y >= ymax || x + n <= xmin || x >= xmax) {
750 if (x + n > xmax) {
751 assert(x < xmax);
752 n = span->end = xmax - x;
817 assert(span->x + span->end <= xmax);
/external/sfntly/cpp/src/sfntly/table/core/
H A Dfont_header_table.cc205 void FontHeaderTable::Builder::SetXMax(int32_t xmax) { argument
206 InternalWriteData()->WriteShort(Offset::kXMax, xmax);
/external/webp/src/dsp/
H A Dssim.c71 const int xmax = (xo + VP8_SSIM_KERNEL > W - 1) ? W - 1 local
77 for (x = xmin; x <= xmax; ++x) {
/external/skia/src/pdf/
H A DSkPDFBitmap.cpp100 int xmax = SkTMin(xOrig + 1, bm.width() - 1); local
103 for (int x = xmin; x <= xmax; ++x) {
/external/skqp/src/pdf/
H A DSkPDFBitmap.cpp100 int xmax = SkTMin(xOrig + 1, bm.width() - 1); local
103 for (int x = xmin; x <= xmax; ++x) {
/external/tensorflow/tensorflow/core/kernels/
H A Dsample_distorted_bounding_box_op.cc34 Rectangle(int xmin, int ymin, int xmax, int ymax) { argument
35 Set(xmin, ymin, xmax, ymax);
38 void Set(int xmin, int ymin, int xmax, int ymax) { argument
41 max_x_ = xmax;
/external/libopus/celt/
H A Dpitch.c302 opus_val32 xmax, ymax; local
324 xmax = celt_maxabs16(x_lp4, len>>2);
326 shift = celt_ilog2(MAX32(1, MAX32(xmax, ymax)))-11;
/external/mesa3d/src/gallium/drivers/ilo/core/
H A Dilo_builder_3d_bottom.h560 unsigned xmax = x + width - 1; local
584 if (xmax > rect_limit) xmax = rect_limit;
591 dw[2] = ymax << 16 | xmax;
/external/mesa3d/src/mesa/main/
H A Dimage.c762 * specified by [xmin, xmax) and [ymin, ymax).
767 GLint xmax, GLint ymax,
778 if (*x + *width > xmax)
779 *width -= (*x + *width - xmax);
766 _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 Drfbregion.c588 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/opencv/cv/src/
H A Dcvshapedescr.cpp1141 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...]
/external/autotest/client/site_tests/graphics_SanAngeles/src/
H A Ddemo.c719 GLfloat xmin, xmax, ymin, ymax; local
724 xmax = ymax * aspect;
726 glFrustum(xmin, xmax, ymin, ymax, zNear, zFar);

Completed in 2994 milliseconds

12