Home
last modified time | relevance | path

Searched refs:xmin (Results 1 – 25 of 61) sorted by relevance

123

/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dbinner.h123 bbox.xmin = vMinX; in calcBoundingBoxIntVertical()
146 scisXmin = _simd_set_epi32(pScissorsInFixedPoint[pViewportIndex[7]].xmin, in GatherScissors()
147 pScissorsInFixedPoint[pViewportIndex[6]].xmin, in GatherScissors()
148 pScissorsInFixedPoint[pViewportIndex[5]].xmin, in GatherScissors()
149 pScissorsInFixedPoint[pViewportIndex[4]].xmin, in GatherScissors()
150 pScissorsInFixedPoint[pViewportIndex[3]].xmin, in GatherScissors()
151 pScissorsInFixedPoint[pViewportIndex[2]].xmin, in GatherScissors()
152 pScissorsInFixedPoint[pViewportIndex[1]].xmin, in GatherScissors()
153 pScissorsInFixedPoint[pViewportIndex[0]].xmin); in GatherScissors()
187 scisXmin = _simd16_set_epi32(pScissorsInFixedPoint[pViewportIndex[15]].xmin, in GatherScissors()
[all …]
Dapi.h47 int32_t xmin; ///< inclusive member
54 return (this->ymin == rhs.ymin && this->ymax == rhs.ymax && this->xmin == rhs.xmin &&
62 this->xmin = std::max(this->xmin, other.xmin); in Intersect()
67 if (xmax - xmin < 0 || ymax - ymin < 0) in Intersect()
70 ymin = ymax = xmin = xmax = 0; in Intersect()
79 this->xmin = std::min(this->xmin, other.xmin); in Union()
91 xmin += x; in Translate()
Dbinner.cpp362 SIMD_T::template slli_epi32<ER_SIMD_TILE_X_SHIFT + FIXED_POINT_SHIFT>(er_bbox.xmin); in EarlyRasterizer()
908 Integer<SIMD_T> xmin = SIMD_T::add_epi32(bbox.xmin, SIMD_T::set1_epi32(127)); in BinTrianglesImpl() local
909 xmin = SIMD_T::and_si(xmin, SIMD_T::set1_epi32(~255)); in BinTrianglesImpl()
913 Integer<SIMD_T> vMaskH = SIMD_T::cmpeq_epi32(xmin, xmax); in BinTrianglesImpl()
954 scisXmin = SIMD_T::set1_epi32(state.scissorsInFixedPoint[0].xmin); in BinTrianglesImpl()
964 bbox.xmin = SIMD_T::max_epi32(bbox.xmin, scisXmin); in BinTrianglesImpl()
979 Integer<SIMD_T> leftEqualsRight = SIMD_T::cmpeq_epi32(bbox.xmin, bbox.xmax); in BinTrianglesImpl()
986 Integer<SIMD_T> maskOutsideScissorX = SIMD_T::cmpgt_epi32(bbox.xmin, bbox.xmax); in BinTrianglesImpl()
1002 er_bbox.xmin = in BinTrianglesImpl()
1003 SIMD_T::template srai_epi32<ER_SIMD_TILE_X_SHIFT + FIXED_POINT_SHIFT>(bbox.xmin); in BinTrianglesImpl()
[all …]
Drasterizer_impl.h658 scissor.xmin = std::max(triBBox.xmin, scissorBBox.xmin);
663 POS topLeft{scissor.xmin, scissor.ymin};
664 POS bottomLeft{scissor.xmin, scissor.ymax};
674 vEdgeFix16[3] = _mm256_set1_pd((rastEdges[3].a * (x - scissor.xmin)) +
676 vEdgeFix16[4] = _mm256_set1_pd((rastEdges[4].a * (x - scissor.xmin)) +
713 POS topLeft{scissor.xmin, scissor.ymin};
714 POS bottomLeft{scissor.xmin, scissor.ymax};
724 vEdgeFix16[3] = _mm256_set1_pd((rastEdges[3].a * (x - scissor.xmin)) +
726 vEdgeFix16[4] = _mm256_set1_pd((rastEdges[4].a * (x - scissor.xmin)) +
1071 bbox.xmin--;
[all …]
Drasterizer.cpp169 if (!(bboxA.xmin > macroBoxRight || bboxA.xmin > scissorInFixedPoint.xmax || in RasterizeLine()
170 bboxA.xmax - 1 < macroBoxLeft || bboxA.xmax - 1 < scissorInFixedPoint.xmin || in RasterizeLine()
239 if (!(bboxA.xmin > macroBoxRight || bboxA.xmin > scissorInFixedPoint.xmax || in RasterizeLine()
240 bboxA.xmax - 1 < macroBoxLeft || bboxA.xmax - 1 < scissorInFixedPoint.xmin || in RasterizeLine()
Dbackend_clear.cpp111 clearTile.xmin >>= (KNOB_TILE_X_DIM_SHIFT); in ClearMacroTile()
133 pitch, clearTile.xmin, clearTile.ymin)) * in ClearMacroTile()
144 for (int32_t x = clearTile.xmin; x <= clearTile.xmax; ++x) in ClearMacroTile()
/external/pdfium/third_party/agg23/
Dagg_renderer_base.h68 int xmin() const in xmin() function
121 if(x2 < xmin()) { in blend_hline()
124 if(x1 < xmin()) { in blend_hline()
125 x1 = xmin(); in blend_hline()
142 if(x < xmin()) { in blend_solid_hspan()
143 len -= xmin() - x; in blend_solid_hspan()
147 covers += xmin() - x; in blend_solid_hspan()
148 x = xmin(); in blend_solid_hspan()
Dagg_renderer_scanline.h47 int xmin = m_ren->xmin(); in render() local
61 if(x < xmin) { in render()
62 len -= xmin - x; in render()
64 covers += xmin - x; in render()
66 x = xmin; in render()
/external/mesa3d/src/mesa/swrast/
Ds_points.c194 GLint xmin, xmax, ymin, ymax, iy; in sprite_point() local
203 xmin = (GLint) (x - iRadius); in sprite_point()
211 xmin = (GLint) (x + 0.501F) - iRadius; in sprite_point()
212 xmax = xmin + iSize - 1; in sprite_point()
226 span.x = xmin; in sprite_point()
228 span.end = xmax - xmin + 1; in sprite_point()
311 const GLint xmin = (GLint) (x - radius); in smooth_point() local
320 span.x = xmin; in smooth_point()
322 span.end = xmax - xmin + 1; in smooth_point()
325 for (ix = xmin; ix <= xmax; ix++) { in smooth_point()
[all …]
/external/mesa3d/src/intel/common/
Dgen_guardband.h29 float *xmin, float *xmax, in gen_calculate_guardband_size() argument
74 *xmin = -1.0f; in gen_calculate_guardband_size()
104 *xmin = ndc_gb_xmin; in gen_calculate_guardband_size()
110 *xmin = 0.0f; in gen_calculate_guardband_size()
/external/webrtc/third_party/abseil-cpp/absl/random/
Ddiscrete_distribution.h73 explicit param_type(size_t nw, double xmin, double xmax, in param_type() argument
77 double delta = (xmax - xmin) / static_cast<double>(nw); in param_type()
81 p_.push_back(fw(xmin + i * delta + t)); in param_type()
123 explicit discrete_distribution(size_t nw, double xmin, double xmax, in discrete_distribution() argument
125 : param_(nw, xmin, xmax, std::move(fw)) {} in discrete_distribution()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/
Ddiscrete_distribution.h73 explicit param_type(size_t nw, double xmin, double xmax, in param_type() argument
77 double delta = (xmax - xmin) / static_cast<double>(nw); in param_type()
81 p_.push_back(fw(xmin + i * delta + t)); in param_type()
123 explicit discrete_distribution(size_t nw, double xmin, double xmax, in discrete_distribution() argument
125 : param_(nw, xmin, xmax, std::move(fw)) {} in discrete_distribution()
/external/abseil-cpp/absl/random/
Ddiscrete_distribution.h73 explicit param_type(size_t nw, double xmin, double xmax, in param_type() argument
77 double delta = (xmax - xmin) / static_cast<double>(nw); in param_type()
81 p_.push_back(fw(xmin + i * delta + t)); in param_type()
123 explicit discrete_distribution(size_t nw, double xmin, double xmax, in discrete_distribution() argument
125 : param_(nw, xmin, xmax, std::move(fw)) {} in discrete_distribution()
/external/angle/third_party/abseil-cpp/absl/random/
Ddiscrete_distribution.h73 explicit param_type(size_t nw, double xmin, double xmax, in param_type() argument
77 double delta = (xmax - xmin) / static_cast<double>(nw); in param_type()
81 p_.push_back(fw(xmin + i * delta + t)); in param_type()
123 explicit discrete_distribution(size_t nw, double xmin, double xmax, in discrete_distribution() argument
125 : param_(nw, xmin, xmax, std::move(fw)) {} in discrete_distribution()
/external/libtextclassifier/abseil-cpp/absl/random/
Ddiscrete_distribution.h73 explicit param_type(size_t nw, double xmin, double xmax, in param_type() argument
77 double delta = (xmax - xmin) / static_cast<double>(nw); in param_type()
81 p_.push_back(fw(xmin + i * delta + t)); in param_type()
123 explicit discrete_distribution(size_t nw, double xmin, double xmax, in discrete_distribution() argument
125 : param_(nw, xmin, xmax, std::move(fw)) {} in discrete_distribution()
/external/openscreen/third_party/abseil/src/absl/random/
Ddiscrete_distribution.h73 explicit param_type(size_t nw, double xmin, double xmax, in param_type() argument
77 double delta = (xmax - xmin) / static_cast<double>(nw); in param_type()
81 p_.push_back(fw(xmin + i * delta + t)); in param_type()
123 explicit discrete_distribution(size_t nw, double xmin, double xmax, in discrete_distribution() argument
125 : param_(nw, xmin, xmax, std::move(fw)) {} in discrete_distribution()
/external/llvm/test/Transforms/SLPVectorizer/AArch64/
Dcommute.ll7 define void @test1(%structA* nocapture readonly %J, i32 %xmin, i32 %ymin) {
25 %conv = sitofp i32 %xmin to float
42 define void @test2(%structA* nocapture readonly %J, i32 %xmin, i32 %ymin) {
60 %conv = sitofp i32 %xmin to float
/external/s2-geometry-library-java/src/com/google/common/geometry/
DS2EdgeUtil.java247 private double xmin; field in S2EdgeUtil.XYZPruner
268 xmin = xmax = from.x; in addEdgeToBounds()
272 xmin = Math.min(xmin, Math.min(to.x, from.x)); in addEdgeToBounds()
298 xmin = xmin - maxDeformation; in setFirstIntersectPoint()
316 if ((v1.x < xmin && lastVertex.x < xmin) || (v1.x > xmax && lastVertex.x > xmax)) { in intersects()
/external/tensorflow/tensorflow/lite/tools/evaluation/stages/utils/
Dimage_metrics_test.cc140 auto xmin = GenerateRandomFraction(); in TEST() local
141 auto xmax = xmin + GenerateRandomFraction(); in TEST()
145 {false, id, GenerateRandomFraction(), {{xmin, xmax}, {ymin, ymax}}}); in TEST()
/external/pdfium/core/fpdfapi/page/
Dcpdf_function.cpp153 float xmin, in Interpolate() argument
157 float divisor = xmax - xmin; in Interpolate()
158 return ymin + (divisor ? (x - xmin) * (ymax - ymin) / divisor : 0); in Interpolate()
/external/llvm-project/llvm/test/Transforms/SLPVectorizer/AArch64/
Dcommute.ll8 define void @test1(%structA* nocapture readonly %J, i32 %xmin, i32 %ymin) {
36 %conv = sitofp i32 %xmin to float
53 define void @test2(%structA* nocapture readonly %J, i32 %xmin, i32 %ymin) {
81 %conv = sitofp i32 %xmin to float
/external/tensorflow/tensorflow/lite/micro/kernels/
Ddetection_postprocess.cc73 float xmin; member
340 box.xmin = xcenter - half_w; in DecodeCenterSizeBoxes()
373 if (box.ymin >= box.ymax || box.xmin >= box.xmax) { in ValidateBoxes()
384 const float area_i = (box_i.ymax - box_i.ymin) * (box_i.xmax - box_i.xmin); in ComputeIntersectionOverUnion()
385 const float area_j = (box_j.ymax - box_j.ymin) * (box_j.xmax - box_j.xmin); in ComputeIntersectionOverUnion()
388 const float intersection_xmin = std::max<float>(box_i.xmin, box_j.xmin); in ComputeIntersectionOverUnion()
/external/tensorflow/tensorflow/core/kernels/image/
Dsample_distorted_bounding_box_op.cc39 Rectangle(int xmin, int ymin, int xmax, int ymax) { in Rectangle() argument
40 Set(xmin, ymin, xmax, ymax); in Rectangle()
43 void Set(int xmin, int ymin, int xmax, int ymax) { in Set() argument
44 min_x_ = xmin; in Set()
/external/tensorflow/tensorflow/lite/kernels/
Ddetection_postprocess.cc69 float xmin; member
355 box.xmin = xcenter - half_w; in DecodeCenterSizeBoxes()
388 if (box.ymin > box.ymax || box.xmin > box.xmax) { in ValidateBoxes()
399 const float area_i = (box_i.ymax - box_i.ymin) * (box_i.xmax - box_i.xmin); in ComputeIntersectionOverUnion()
400 const float area_j = (box_j.ymax - box_j.ymin) * (box_j.xmax - box_j.xmin); in ComputeIntersectionOverUnion()
403 const float intersection_xmin = std::max<float>(box_i.xmin, box_j.xmin); in ComputeIntersectionOverUnion()
/external/webp/src/dsp/
Dssim.c70 const int xmin = (xo - VP8_SSIM_KERNEL < 0) ? 0 : xo - VP8_SSIM_KERNEL; in SSIMGetClipped_C() local
77 for (x = xmin; x <= xmax; ++x) { in SSIMGetClipped_C()

123