/third_party/ninja/src/ |
H A D | graph_test.cc | 699 Edge* edge1 = GetNode("out1")->in_edge(); in TEST_F() local 700 ASSERT_EQ(2u, edge1->outputs_.size()); in TEST_F() 701 EXPECT_EQ("out1", edge1->outputs_[0]->path()); in TEST_F() 702 EXPECT_EQ("out1imp", edge1->outputs_[1]->path()); in TEST_F() 703 EXPECT_EQ(1u, edge1->implicit_outs_); in TEST_F() 704 ASSERT_EQ(3u, edge1->inputs_.size()); in TEST_F() 705 EXPECT_EQ("in1", edge1->inputs_[0]->path()); in TEST_F() 706 EXPECT_EQ("in1imp", edge1->inputs_[1]->path()); in TEST_F() 707 EXPECT_EQ("dd", edge1->inputs_[2]->path()); in TEST_F() 708 EXPECT_EQ(1u, edge1 in TEST_F() [all...] |
/third_party/skia/third_party/externals/freetype/src/autofit/ |
H A D | afcjk.c | 1826 AF_Edge edge1, edge2; in af_cjk_hint_edges() local 1833 edge1 = NULL; in af_cjk_hint_edges() 1838 edge1 = edge; in af_cjk_hint_edges() 1843 edge1 = edge2; in af_cjk_hint_edges() 1847 if ( !edge1 ) in af_cjk_hint_edges() 1853 edge1 - edges, edge1->fpos, edge1->opos / 64.0, in af_cjk_hint_edges() 1854 blue->fit / 64.0, edge1->pos / 64.0 )); in af_cjk_hint_edges() 1859 edge1 in af_cjk_hint_edges() 2056 AF_Edge edge1, edge2, edge3; af_cjk_hint_edges() local [all...] |
H A D | aflatin.c | 3027 AF_Edge edge1, edge2; /* these edges form the stem to check */ in af_latin_hint_edges() local 3033 edge1 = NULL; in af_latin_hint_edges() 3065 edge1 = edge; in af_latin_hint_edges() 3071 edge1 = edge2; in af_latin_hint_edges() 3075 if ( !edge1 ) in af_latin_hint_edges() 3082 edge1 - edges, edge1->opos / 64.0, blue->fit / 64.0, in af_latin_hint_edges() 3083 edge1->pos / 64.0, edge - edges )); in af_latin_hint_edges() 3087 edge1 - edges, edge1 in af_latin_hint_edges() 3358 AF_Edge edge1, edge2, edge3; af_latin_hint_edges() local [all...] |
H A D | afloader.c | 434 AF_Edge edge1 = axis->edges; /* leftmost edge */ in FT_LOCAL_DEF() local 435 AF_Edge edge2 = edge1 + in FT_LOCAL_DEF() 440 FT_Pos old_lsb = edge1->opos; /* - loader->pp1.x */ in FT_LOCAL_DEF() 441 FT_Pos new_lsb = edge1->pos; in FT_LOCAL_DEF()
|
/third_party/ffmpeg/libavcodec/ |
H A D | sanm.c | 343 static enum GlyphDir which_direction(enum GlyphEdge edge0, enum GlyphEdge edge1) in which_direction() argument 345 if ((edge0 == LEFT_EDGE && edge1 == RIGHT_EDGE) || in which_direction() 346 (edge1 == LEFT_EDGE && edge0 == RIGHT_EDGE) || in which_direction() 347 (edge0 == BOTTOM_EDGE && edge1 != TOP_EDGE) || in which_direction() 348 (edge1 == BOTTOM_EDGE && edge0 != TOP_EDGE)) in which_direction() 350 else if ((edge0 == TOP_EDGE && edge1 != BOTTOM_EDGE) || in which_direction() 351 (edge1 == TOP_EDGE && edge0 != BOTTOM_EDGE)) in which_direction() 353 else if ((edge0 == LEFT_EDGE && edge1 != RIGHT_EDGE) || in which_direction() 354 (edge1 == LEFT_EDGE && edge0 != RIGHT_EDGE)) in which_direction() 356 else if ((edge0 == TOP_EDGE && edge1 in which_direction() 401 enum GlyphEdge edge1 = which_edge(x1, y1, side_length); make_glyphs() local [all...] |
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/detail/ |
H A D | func_common.hpp | 256 /// Returns 0.0 if x <= edge0 and 1.0 if x >= edge1 and 258 /// when edge0 < x < edge1. This is useful in cases where 262 /// t = clamp ((x - edge0) / (edge1 - edge0), 0, 1); 264 /// Results are undefined if edge0 >= edge1. 271 GLM_FUNC_DECL genType smoothstep(genType edge0, genType edge1, genType x); 274 GLM_FUNC_DECL vecType<T, P> smoothstep(T edge0, T edge1, vecType<T, P> const & x); 277 GLM_FUNC_DECL vecType<T, P> smoothstep(vecType<T, P> const & edge0, vecType<T, P> const & edge1, vecType<T, P> const & x);
|
/third_party/skia/samplecode/ |
H A D | SamplePatch.cpp | 116 SkPoint* edge1 = edge0 + nu; in draw() local 117 SkPoint* edge2 = edge1 + nv; in draw() 122 eval_patch_edge(fPts + 3, edge1, nv); in draw() 145 r[nu] = edge1[row]; in draw()
|
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtx/ |
H A D | simd_vec4.hpp | 306 //! Returns 0.0 if x <= edge0 and 1.0 if x >= edge1 and 308 //! when edge0 < x < edge1. This is useful in cases where 312 //! t = clamp ((x - edge0) / (edge1 - edge0), 0, 1); 314 //! Results are undefined if edge0 >= edge1. 319 detail::fvec4SIMD const & edge1, 324 float const & edge1,
|
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/simd/ |
H A D | common.h | 205 GLM_FUNC_QUALIFIER glm_vec4 glm_vec4_smoothstep(glm_vec4 edge0, glm_vec4 edge1, glm_vec4 x) in glm_vec4_smoothstep() argument 208 glm_vec4 const sub1 = glm_vec4_sub(edge1, edge0); in glm_vec4_smoothstep()
|
/third_party/skia/src/core/ |
H A D | SkScan_Antihair.cpp | 917 static inline void align_thin_stroke(FDot8& edge1, FDot8& edge2) { 918 SkASSERT(edge1 <= edge2); 920 if (FDot8Floor(edge1) == FDot8Floor(edge2)) { 921 edge2 -= (edge1 & 0xFF); 922 edge1 &= ~0xFF;
|
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_builtin_builder.c | 132 nir_smoothstep(nir_builder *b, nir_ssa_def *edge0, nir_ssa_def *edge1, nir_ssa_def *x) in nir_smoothstep() argument 137 /* t = clamp((x - edge0) / (edge1 - edge0), 0, 1) */ in nir_smoothstep() 140 nir_fsub(b, edge1, edge0))); in nir_smoothstep()
|
H A D | nir_builtin_builder.h | 45 nir_ssa_def *edge1, nir_ssa_def *x);
|
/third_party/vk-gl-cts/framework/common/ |
H A D | tcuVectorUtil.hpp | 72 inline float smoothStep (float edge0, float edge1, float x) in smoothStep() argument 75 if (x >= edge1) return 1.0f; in smoothStep() 76 float t = de::clamp((x - edge0) / (edge1 - edge0), 0.0f, 1.0f); in smoothStep()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/ |
H A D | vktShaderBuiltinPrecisionTests.cpp | 4386 double applyExact (double edge0, double edge1) const in applyExact() 4388 return (edge0 >= edge1) ? TCU_NAN : 0.0; in applyExact() 4391 double precision (const EvalContext&, double, double edge0, double edge1) const in precision() 4393 return (edge0 >= edge1) ? TCU_NAN : 0.0; in precision() 4397 ExprP<deFloat16> nanIfGreaterOrEqual(const ExprP<deFloat16>& edge0, const ExprP<deFloat16>& edge1) in nanIfGreaterOrEqual() argument 4399 return app<NanIfGreaterOrEqual< Signature<deFloat16, deFloat16, deFloat16> > >(edge0, edge1); in nanIfGreaterOrEqual() 4402 ExprP<float> nanIfGreaterOrEqual(const ExprP<float>& edge0, const ExprP<float>& edge1) in nanIfGreaterOrEqual() argument 4404 return app<NanIfGreaterOrEqual< Signature<float, float, float> > >(edge0, edge1); in nanIfGreaterOrEqual() 4407 ExprP<double> nanIfGreaterOrEqual(const ExprP<double>& edge0, const ExprP<double>& edge1) in nanIfGreaterOrEqual() argument 4409 return app<NanIfGreaterOrEqual< Signature<double, double, double> > >(edge0, edge1); in nanIfGreaterOrEqual() 4449 const ExprP<float>& edge1 = args.b; doExpand() local 4462 const ExprP<deFloat16>& edge1 = args.b; doExpand() local 4476 const ExprP<double>& edge1 = args.b; doExpand() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/ |
H A D | vktShaderBuiltinPrecisionTests.cpp | 4375 double applyExact (double edge0, double edge1) const in applyExact() 4377 return (edge0 >= edge1) ? TCU_NAN : 0.0; in applyExact() 4380 double precision (const EvalContext&, double, double edge0, double edge1) const in precision() 4382 return (edge0 >= edge1) ? TCU_NAN : 0.0; in precision() 4386 ExprP<deFloat16> nanIfGreaterOrEqual(const ExprP<deFloat16>& edge0, const ExprP<deFloat16>& edge1) in nanIfGreaterOrEqual() argument 4388 return app<NanIfGreaterOrEqual< Signature<deFloat16, deFloat16, deFloat16> > >(edge0, edge1); in nanIfGreaterOrEqual() 4391 ExprP<float> nanIfGreaterOrEqual(const ExprP<float>& edge0, const ExprP<float>& edge1) in nanIfGreaterOrEqual() argument 4393 return app<NanIfGreaterOrEqual< Signature<float, float, float> > >(edge0, edge1); in nanIfGreaterOrEqual() 4396 ExprP<double> nanIfGreaterOrEqual(const ExprP<double>& edge0, const ExprP<double>& edge1) in nanIfGreaterOrEqual() argument 4398 return app<NanIfGreaterOrEqual< Signature<double, double, double> > >(edge0, edge1); in nanIfGreaterOrEqual() 4438 const ExprP<float>& edge1 = args.b; doExpand() local 4451 const ExprP<deFloat16>& edge1 = args.b; doExpand() local 4465 const ExprP<double>& edge1 = args.b; doExpand() local [all...] |
/third_party/ffmpeg/tests/fate/ |
H A D | vcodec.mak | 54 dnxhd-edge1-hr \ 88 fate-vsynth%-dnxhd-edge1-hr: ENCOPTS = -s 264x128 -profile:v dnxhr_hq \ 90 fate-vsynth%-dnxhd-edge1-hr: DECOPTS = -sws_flags area+accurate_rnd+bitexact
|
/third_party/skia/src/gpu/geometry/ |
H A D | GrTriangulator.h | 164 void computeBisector(Edge* edge1, Edge* edge2, Vertex*) const;
|
H A D | GrTriangulator.cpp | 1036 void GrTriangulator::computeBisector(Edge* edge1, Edge* edge2, Vertex* v) const { in computeBisector() argument 1038 Line line1 = edge1->fLine; in computeBisector() 1046 line1.fC += edge1->fWinding > 0 ? -1 : 1; in computeBisector() 1050 uint8_t alpha = edge1->fType == EdgeType::kOuter ? 255 : 0; in computeBisector()
|
/third_party/skia/include/sksl/ |
H A D | DSLCore.h | 456 * Returns a smooth interpolation between 0 (at x=edge1) and 1 (at x=edge2). If x is a vector, 457 * operates componentwise. edge1 and edge2 may either be both vectors of the same dimensions as x or 460 DSLExpression Smoothstep(DSLExpression edge1, DSLExpression edge2, DSLExpression x,
|
/third_party/skia/src/sksl/ir/ |
H A D | SkSLFunctionCall.cpp | 400 double evaluate_smoothstep(double edge0, double edge1, double x) { in evaluate_smoothstep() argument 401 double t = sk_ieee_double_divide(x - edge0, edge1 - edge0); in evaluate_smoothstep()
|
/third_party/skia/src/sksl/dsl/ |
H A D | DSLCore.cpp | 663 DSLExpression Smoothstep(DSLExpression edge1, DSLExpression edge2, DSLExpression x, in Smoothstep() argument 665 return DSLExpression(DSLCore::Call("smoothstep", std::move(edge1), std::move(edge2), in Smoothstep()
|
/third_party/skia/third_party/externals/swiftshader/src/Shader/ |
H A D | ShaderCore.cpp | 1222 void ShaderCore::smooth(Vector4f &dst, const Vector4f &edge0, const Vector4f &edge1, const Vector4f &x) in smooth() argument 1224 Float4 tx = Min(Max((x.x - edge0.x) / (edge1.x - edge0.x), Float4(0.0f)), Float4(1.0f)); dst.x = tx * tx * (Float4(3.0f) - Float4(2.0f) * tx); in smooth() 1225 Float4 ty = Min(Max((x.y - edge0.y) / (edge1.y - edge0.y), Float4(0.0f)), Float4(1.0f)); dst.y = ty * ty * (Float4(3.0f) - Float4(2.0f) * ty); in smooth() 1226 Float4 tz = Min(Max((x.z - edge0.z) / (edge1.z - edge0.z), Float4(0.0f)), Float4(1.0f)); dst.z = tz * tz * (Float4(3.0f) - Float4(2.0f) * tz); in smooth() 1227 Float4 tw = Min(Max((x.w - edge0.w) / (edge1.w - edge0.w), Float4(0.0f)), Float4(1.0f)); dst.w = tw * tw * (Float4(3.0f) - Float4(2.0f) * tw); in smooth()
|
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
H A D | SpirvShaderGLSLstd450.cpp | 215 auto edge1 = Operand(this, state, insn.word(6)); in EmitExtGLSLstd450() local 220 (edge1.Float(i) - edge0.Float(i)), in EmitExtGLSLstd450()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
H A D | IntermNode.cpp | 3950 float edge1 = unionArrays[1][i].getFConst(); 3952 // Results are undefined if edge0 >= edge1. 3953 if (edge0 >= edge1) 3960 // Returns 0.0 if x <= edge0 and 1.0 if x >= edge1 and performs smooth 3961 // Hermite interpolation between 0 and 1 when edge0 < x < edge1. 3962 float t = gl::clamp((x - edge0) / (edge1 - edge0), 0.0f, 1.0f);
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_xfade.c | 258 static inline float smoothstep(float edge0, float edge1, float x) in smoothstep() argument 262 t = av_clipf((x - edge0) / (edge1 - edge0), 0.f, 1.f); in smoothstep()
|