Home
last modified time | relevance | path

Searched refs:xmax (Results 1 – 25 of 55) sorted by relevance

123

/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dbinner.h120 bbox.xmax = vMaxX; in calcBoundingBoxIntVertical()
157 pScissorsInFixedPoint[pViewportIndex[7]].xmax, in GatherScissors()
158 pScissorsInFixedPoint[pViewportIndex[6]].xmax, in GatherScissors()
159 pScissorsInFixedPoint[pViewportIndex[5]].xmax, in GatherScissors()
160 pScissorsInFixedPoint[pViewportIndex[4]].xmax, in GatherScissors()
161 pScissorsInFixedPoint[pViewportIndex[3]].xmax, in GatherScissors()
162 pScissorsInFixedPoint[pViewportIndex[2]].xmax, in GatherScissors()
163 pScissorsInFixedPoint[pViewportIndex[1]].xmax, in GatherScissors()
164 pScissorsInFixedPoint[pViewportIndex[0]].xmax); in GatherScissors()
216 pScissorsInFixedPoint[pViewportIndex[15]].xmax, in GatherScissors()
[all …]
Dapi.h49 int32_t xmax; ///< exclusive member
57 this->xmax == rhs.xmax);
69 this->xmax = std::min(this->xmax, other.xmax); in Intersect()
72 if (xmax - xmin < 0 || in Intersect()
76 ymin = ymax = xmin = xmax = 0; in Intersect()
90 this->xmax = std::max(this->xmax, other.xmax); in Union()
105 xmax += x; in Translate()
Dbinner.cpp857 typename SIMD_T::Integer xmax = SIMD_T::add_epi32(bbox.xmax, SIMD_T::set1_epi32(128)); in BinTrianglesImpl() local
858 xmax = SIMD_T::and_si(xmax, SIMD_T::set1_epi32(~255)); in BinTrianglesImpl()
860 typename SIMD_T::Integer vMaskH = SIMD_T::cmpeq_epi32(xmin, xmax); in BinTrianglesImpl()
895 scisXmax = SIMD_T::set1_epi32(state.scissorsInFixedPoint[0].xmax); in BinTrianglesImpl()
900 bbox.xmax = SIMD_T::sub_epi32(bbox.xmax, SIMD_T::set1_epi32(1)); in BinTrianglesImpl()
905 bbox.xmax = SIMD_T::min_epi32(bbox.xmax, scisXmax); in BinTrianglesImpl()
917 typename SIMD_T::Integer leftEqualsRight = SIMD_T::cmpeq_epi32(bbox.xmin, bbox.xmax); in BinTrianglesImpl()
918 …bbox.xmax = SIMD_T::blendv_epi32(bbox.xmax, SIMD_T::add_epi32(bbox.xmax, SIMD_T::set1_epi32(1)), l… in BinTrianglesImpl()
923 typename SIMD_T::Integer maskOutsideScissorX = SIMD_T::cmpgt_epi32(bbox.xmin, bbox.xmax); in BinTrianglesImpl()
939 … er_bbox.xmax = SIMD_T::template srai_epi32<ER_SIMD_TILE_X_SHIFT + FIXED_POINT_SHIFT>(bbox.xmax); in BinTrianglesImpl()
[all …]
Drasterizer_impl.h615 scissor.xmax = std::min(triBBox.xmax, scissorBBox.xmax);
621 POS topRight{scissor.xmax, scissor.ymin};
622 POS bottomRight{scissor.xmax, scissor.ymax};
632 …vEdgeFix16[5] = _mm256_set1_pd((rastEdges[5].a * (x - scissor.xmax)) + (rastEdges[5].b * (y - scis…
633 …vEdgeFix16[6] = _mm256_set1_pd((rastEdges[6].a * (x - scissor.xmax)) + (rastEdges[6].b * (y - scis…
662 POS topRight{scissor.xmax, scissor.ymin};
663 POS bottomRight{scissor.xmax, scissor.ymax};
673 …vEdgeFix16[5] = _mm256_set1_pd((rastEdges[5].a * (x - scissor.xmax)) + (rastEdges[5].b * (y - scis…
674 …vEdgeFix16[6] = _mm256_set1_pd((rastEdges[6].a * (x - scissor.xmax)) + (rastEdges[6].b * (y - scis…
988 bbox.xmin--; bbox.xmax++; bbox.ymin--; bbox.ymax++;
[all …]
Drasterizer.cpp165 bboxA.xmin > scissorInFixedPoint.xmax || in RasterizeLine()
166 bboxA.xmax - 1 < macroBoxLeft || in RasterizeLine()
167 bboxA.xmax - 1 < scissorInFixedPoint.xmin || in RasterizeLine()
238 bboxA.xmin > scissorInFixedPoint.xmax || in RasterizeLine()
239 bboxA.xmax - 1 < macroBoxLeft || in RasterizeLine()
240 bboxA.xmax - 1 < scissorInFixedPoint.xmin || in RasterizeLine()
Dbackend_clear.cpp133 clearTile.xmax -= 1; in ClearMacroTile()
140 clearTile.xmax >>= (KNOB_TILE_X_DIM_SHIFT); in ClearMacroTile()
157 for (int32_t x = clearTile.xmin; x <= clearTile.xmax; ++x) in ClearMacroTile()
Dutils.h43 simdscalari xmax; member
52 simd16scalari xmax; member
62 typename SIMD_T::Integer xmax; member
/external/pdfium/third_party/agg23/
Dagg_renderer_base.h76 int xmax() const in xmax() function
118 if(x1 > xmax()) { in blend_hline()
127 if(x2 > xmax()) { in blend_hline()
128 x2 = xmax(); in blend_hline()
150 if(x + len > xmax()) { in blend_solid_hspan()
151 len = xmax() - x + 1; in blend_solid_hspan()
Dagg_renderer_scanline.h48 int xmax = m_ren->xmax(); in render() local
69 if(x + len > xmax) { in render()
70 len = xmax - x + 1; in render()
/external/libdrm/tests/planetest/
Dbo.c26 uint32_t i, j, xmax = x + width, ymax = y + height; in draw_rect_yuv() local
28 if (xmax > bo->width) in draw_rect_yuv()
29 xmax = bo->width; in draw_rect_yuv()
36 for (j = x; j < xmax; j++) in draw_rect_yuv()
43 for (j = x; j < xmax / 2; j++) { in draw_rect_yuv()
61 uint32_t i, j, xmax = x + width, ymax = y + height; in draw_rect() local
63 if (xmax > bo->width) in draw_rect()
64 xmax = bo->width; in draw_rect()
71 for (j = x; j < xmax; j++) { in draw_rect()
/external/mesa3d/src/mesa/swrast/
Ds_points.c194 GLint xmin, xmax, ymin, ymax, iy; in sprite_point() local
204 xmax = (GLint) (x + iRadius); in sprite_point()
212 xmax = xmin + iSize - 1; in sprite_point()
228 span.end = xmax - xmin + 1; in sprite_point()
312 const GLint xmax = (GLint) (x + radius); in smooth_point() local
322 span.end = xmax - xmin + 1; in smooth_point()
325 for (ix = xmin; ix <= xmax; ix++) { in smooth_point()
410 GLint xmin, xmax, ymin, ymax, ix, iy; in large_point() local
419 xmax = (GLint) (x + iRadius); in large_point()
427 xmax = xmin + iSize - 1; in large_point()
[all …]
Ds_span.c707 const GLint xmax = ctx->DrawBuffer->_Xmax; in clip_span() local
724 mask[i] &= (x[i] >= xmin) & (x[i] < xmax) in clip_span()
732 mask[i] = (x[i] >= xmin) & (x[i] < xmax) in clip_span()
746 if (y < ymin || y >= ymax || x + n <= xmin || x >= xmax) { in clip_span()
752 if (x + n > xmax) { in clip_span()
753 assert(x < xmax); in clip_span()
754 n = span->end = xmax - x; in clip_span()
819 assert(span->x + span->end <= xmax); in clip_span()
/external/libgsm/src/
Drpe.c267 word xmax, xmaxc, temp, temp1, temp2; variable
274 xmax = 0;
278 if (temp > xmax) xmax = temp;
285 temp = SASR( xmax, 9 );
301 xmaxc = gsm_add( SASR(xmax, temp), exp << 3 );
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_scissor.c64 GLint xmax = MAX2(0, ctx->Scissor.ScissorArray[i].X + ctx->Scissor.ScissorArray[i].Width); in st_update_scissor() local
72 if (xmax < (GLint) scissor[i].maxx) in st_update_scissor()
73 scissor[i].maxx = xmax; in st_update_scissor()
Dst_cb_bitmap.c343 cache->xmax = -1000000; in reset_cache()
415 assert(cache->xmin <= cache->xmax); in st_flush_bitmap_cache()
419 cache->xmax - cache->xmin, in st_flush_bitmap_cache()
507 if (x + width > cache->xmax) in accum_bitmap()
508 cache->xmax = x + width; in accum_bitmap()
/external/tensorflow/tensorflow/core/kernels/
Dsample_distorted_bounding_box_op.cc34 Rectangle(int xmin, int ymin, int xmax, int ymax) { in Rectangle() argument
35 Set(xmin, ymin, xmax, ymax); in Rectangle()
38 void Set(int xmin, int ymin, int xmax, int ymax) { in Set() argument
41 max_x_ = xmax; in Set()
/external/python/cpython2/Modules/
Dimageop.c22 #define CHARP(cp, xmax, x, y) ((char *)(cp+y*xmax+x)) argument
23 #define SHORTP(cp, xmax, x, y) ((short *)(cp+2*(y*xmax+x))) argument
24 #define LONGP(cp, xmax, x, y) ((Py_Int32 *)(cp+4*(y*xmax+x))) argument
/external/tensorflow/tensorflow/lite/kernels/
Ddetection_postprocess.cc65 float xmax; member
313 box.xmax = xcenter + half_w; in DecodeCenterSizeBoxes()
342 if (box.ymin >= box.ymax || box.xmin >= box.xmax) { in ValidateBoxes()
353 const float area_i = (box_i.ymax - box_i.ymin) * (box_i.xmax - box_i.xmin); in ComputeIntersectionOverUnion()
354 const float area_j = (box_j.ymax - box_j.ymin) * (box_j.xmax - box_j.xmin); in ComputeIntersectionOverUnion()
359 const float intersection_xmax = std::min<float>(box_i.xmax, box_j.xmax); in ComputeIntersectionOverUnion()
/external/pdfium/core/fpdfapi/page/
Dcpdf_function.cpp130 float xmax, in Interpolate() argument
133 float divisor = xmax - xmin; in Interpolate()
Dcpdf_function.h42 float xmax,
/external/webp/src/dsp/
Dssim.c71 const int xmax = (xo + VP8_SSIM_KERNEL > W - 1) ? W - 1 in SSIMGetClipped_C() local
77 for (x = xmin; x <= xmax; ++x) { in SSIMGetClipped_C()
/external/e2fsprogs/intl/
Dxsize.h88 xmax (size_t size1, size_t size2) in xmax() function
/external/sfntly/cpp/src/sfntly/table/core/
Dfont_header_table.cc205 void FontHeaderTable::Builder::SetXMax(int32_t xmax) { in SetXMax() argument
206 InternalWriteData()->WriteShort(Offset::kXMax, xmax); in SetXMax()
/external/libopus/celt/
Dpitch.c295 opus_val32 xmax, ymax; in pitch_search() local
317 xmax = celt_maxabs16(x_lp4, len>>2); in pitch_search()
319 shift = celt_ilog2(MAX32(1, MAX32(xmax, ymax)))-11; in pitch_search()
/external/libjpeg-turbo/
Drdrle.c118 width = source->header.xmax - source->header.xmin + 1; in start_input_rle()
121 source->header.xmax = width - 1; in start_input_rle()

123