Home
last modified time | relevance | path

Searched refs:fy (Results 1 – 25 of 543) sorted by relevance

12345678910>>...22

/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_state_framebuffer.c420 float fy = flip * viewport->scale[1] * -1.0f + viewport->translate[1]; in get_viewport_prescale() local
434 fy, in get_viewport_prescale()
467 prescale->translate[1] = fh + fy * 2.0f; in get_viewport_prescale()
471 prescale->translate[1] = fh - 1.0f + fy * 2.0f; in get_viewport_prescale()
474 fy -= fh; in get_viewport_prescale()
486 if (fy < 0) { in get_viewport_prescale()
488 prescale->translate[1] -= fy; in get_viewport_prescale()
491 prescale->translate[1] += fy; in get_viewport_prescale()
493 prescale->scale[1] *= fh / (fh + fy); in get_viewport_prescale()
494 fh += fy; in get_viewport_prescale()
[all …]
/third_party/skia/src/core/
DSkScan_Antihair.cpp108 virtual SkFixed drawCap(int x, SkFixed fy, SkFixed slope, int mod64) = 0;
109 virtual SkFixed drawLine(int x, int stopx, SkFixed fy, SkFixed slope) = 0;
117 SkFixed drawCap(int x, SkFixed fy, SkFixed slope, int mod64) override { in drawCap() argument
118 fy += SK_Fixed1/2; in drawCap()
120 int y = fy >> 16; in drawCap()
121 uint8_t a = (uint8_t)((fy >> 8) & 0xFF); in drawCap()
135 return fy - SK_Fixed1/2; in drawCap()
138 SkFixed drawLine(int x, int stopx, SkFixed fy, SkFixed slope) override { in drawLine() argument
141 fy += SK_Fixed1/2; in drawLine()
143 int y = fy >> 16; in drawLine()
[all …]
DSkBitmapProcState_matrixProcs.cpp128 fy = mapper.fractionalIntY(), in nofilter_affine() local
135 *xy++ = (tiley(SkFractionalIntToFixed(fy), maxY) << 16) in nofilter_affine()
138 fy += dy; in nofilter_affine()
213 fy = mapper.fractionalIntY(), in filter_affine() local
219 *xy++ = pack<tiley, extract_low_bits>(SkFractionalIntToFixed(fy), maxY, oneY); in filter_affine()
222 fy += dy; in filter_affine()
/third_party/flutter/skia/src/core/
DSkScan_Antihair.cpp102 virtual SkFixed drawCap(int x, SkFixed fy, SkFixed slope, int mod64) = 0;
103 virtual SkFixed drawLine(int x, int stopx, SkFixed fy, SkFixed slope) = 0;
111 SkFixed drawCap(int x, SkFixed fy, SkFixed slope, int mod64) override { in drawCap() argument
112 fy += SK_Fixed1/2; in drawCap()
114 int y = fy >> 16; in drawCap()
115 uint8_t a = (uint8_t)((fy >> 8) & 0xFF); in drawCap()
129 return fy - SK_Fixed1/2; in drawCap()
132 virtual SkFixed drawLine(int x, int stopx, SkFixed fy, in drawLine() argument
136 fy += SK_Fixed1/2; in drawLine()
138 int y = fy >> 16; in drawLine()
[all …]
/third_party/flutter/skia/third_party/externals/freetype/src/autofit/
Dafhints.c375 point->fy, in af_glyph_hints_dump_points()
550 : seg->first->fy; in af_glyph_hints_get_segment_offset()
893 point->fy = (FT_Short)vec->y; in af_glyph_hints_reload()
898 end->fy = (FT_Short)outline->points[endpoint].y; in af_glyph_hints_reload()
913 out_y = point->fy - prev->fy; in af_glyph_hints_reload()
994 out_y = point->fy - prev->fy; in af_glyph_hints_reload()
1043 out_y += next->fy - point->fy; in af_glyph_hints_reload()
1102 in_y = point->fy - prev_v->fy; in af_glyph_hints_reload()
1105 out_y = next_u->fy - point->fy; in af_glyph_hints_reload()
1152 point->fy - prev_v->fy, in af_glyph_hints_reload()
[all …]
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fPrimitiveRestartTests.cpp293 float fy = -1.0f + 2.0f * ((float)row + 0.5f) / (float)numRows; in init() local
296 m_positions.push_back(fy); in init()
329 … float fy = centerY + 0.9f * deFloatSin((float)i*2.0f*DE_PI / (float)numVertices) / (float)numRows; in init() local
332 m_positions.push_back(fy); in init()
360 float fy = -0.9f + 1.8f * ((float)stripNdx + (i%2 == 0 ? 0.0f : 0.8f)) / numStrips; in init() local
363 m_positions.push_back(fy); in init()
401 …float fy = centerY + 0.9f * deFloatSin((float)i*2.0f*DE_PI / (float)numArcVertices) / (float)numRo… in init() local
404 m_positions.push_back(fy); in init()
432 float fy = -0.9f + 1.8f * ((float)rowNdx + (i%3 == 0 ? 0.0f : 0.8f)) / numRows; in init() local
435 m_positions.push_back(fy); in init()
/third_party/flutter/skia/experimental/svg/model/
DSkSVGRadialGradient.cpp31 void SkSVGRadialGradient::setFy(const SkSVGLength& fy) { in setFy() argument
32 fFy.set(fy); in setFy()
58 if (const auto* fy = v.as<SkSVGLengthValue>()) { in onSetAttribute() local
59 this->setFy(*fy); in onSetAttribute()
/third_party/skia/tests/
DSkGlyphBufferTest.cpp47 float fx = x * step, fy = y * step; in DEF_TEST() local
48 SkPoint roundedPos = SkPoint{fx, fy} + roundingSpec.halfAxisSampleFreq; in DEF_TEST()
64 float fx = x * step, fy = y * step; in DEF_TEST() local
65 SkPoint roundedPos = SkPoint{fx, fy} + roundingSpec.halfAxisSampleFreq; in DEF_TEST()
86 float fx = x * step + kLargeDistance, fy = y * step + kLargeDistance; in DEF_TEST() local
87 SkPoint roundedPos = SkPoint{fx, fy} + roundingSpec.halfAxisSampleFreq; in DEF_TEST()
DPathOpsSimplifyTrianglesThreadedTest.cpp32 int fy = f >> 2; in testSimplifyTrianglesMain() local
33 if ((ex - dx) * (fy - dy) == (ey - dy) * (fx - dx)) { in testSimplifyTrianglesMain()
44 path.lineTo(SkIntToScalar(fx), SkIntToScalar(fy)); in testSimplifyTrianglesMain()
53 pathStr.appendf(" path.lineTo(%d, %d);\n", fx, fy); in testSimplifyTrianglesMain()
DPathOpsSimplifyDegenerateThreadedTest.cpp28 int fy = f >> 2; in testSimplifyDegeneratesMain() local
29 if (state.fD && (ex - dx) * (fy - dy) in testSimplifyDegeneratesMain()
41 path.lineTo(SkIntToScalar(fx), SkIntToScalar(fy)); in testSimplifyDegeneratesMain()
50 pathStr.appendf(" path.lineTo(%d, %d);\n", fx, fy); in testSimplifyDegeneratesMain()
DPathOpsSimplifyQuadThreadedTest.cpp31 int fy = f >> 2; in testSimplifyQuadsMain() local
45 path.lineTo(SkIntToScalar(fx), SkIntToScalar(fy)); in testSimplifyQuadsMain()
58 pathStr.appendf(" path.lineTo(%d, %d);\n", fx, fy); in testSimplifyQuadsMain()
DPathOpsSimplifyQuadralateralsThreadedTest.cpp31 int fy = f >> 2; in testSimplifyQuadralateralsMain() local
45 path.lineTo(SkIntToScalar(fx), SkIntToScalar(fy)); in testSimplifyQuadralateralsMain()
59 pathStr.appendf(" path.lineTo(%d, %d);\n", fx, fy); in testSimplifyQuadralateralsMain()
/third_party/flutter/skia/tests/
DPathOpsSimplifyDegenerateThreadedTest.cpp28 int fy = f >> 2; in testSimplifyDegeneratesMain() local
29 if (state.fD && (ex - dx) * (fy - dy) in testSimplifyDegeneratesMain()
42 path.lineTo(SkIntToScalar(fx), SkIntToScalar(fy)); in testSimplifyDegeneratesMain()
51 pathStr.appendf(" path.lineTo(%d, %d);\n", fx, fy); in testSimplifyDegeneratesMain()
DPathOpsSimplifyTrianglesThreadedTest.cpp32 int fy = f >> 2; in testSimplifyTrianglesMain() local
33 if ((ex - dx) * (fy - dy) == (ey - dy) * (fx - dx)) { in testSimplifyTrianglesMain()
45 path.lineTo(SkIntToScalar(fx), SkIntToScalar(fy)); in testSimplifyTrianglesMain()
54 pathStr.appendf(" path.lineTo(%d, %d);\n", fx, fy); in testSimplifyTrianglesMain()
DPathOpsSimplifyQuadThreadedTest.cpp31 int fy = f >> 2; in testSimplifyQuadsMain() local
46 path.lineTo(SkIntToScalar(fx), SkIntToScalar(fy)); in testSimplifyQuadsMain()
59 pathStr.appendf(" path.lineTo(%d, %d);\n", fx, fy); in testSimplifyQuadsMain()
DPathOpsSimplifyQuadralateralsThreadedTest.cpp31 int fy = f >> 2; in testSimplifyQuadralateralsMain() local
46 path.lineTo(SkIntToScalar(fx), SkIntToScalar(fy)); in testSimplifyQuadralateralsMain()
60 pathStr.appendf(" path.lineTo(%d, %d);\n", fx, fy); in testSimplifyQuadralateralsMain()
/third_party/ffmpeg/libavcodec/
Dmotion_est.c127 int fy = c->direct_basis_mv[i][1] + hy; in cmp_direct_inline() local
129 …int by = hy ? fy - c->co_located_mv[i][1] : c->co_located_mv[i][1]*(time_pb - time_pp)/time_pp + (… in cmp_direct_inline()
130 int fxy= (fx&mask) + ((fy&mask)<<(qpel+1)); in cmp_direct_inline()
135 c->qpel_put[1][fxy](dst, ref[0] + (fx>>2) + (fy>>2)*stride, stride); in cmp_direct_inline()
138 c->hpel_put[1][fxy](dst, ref[0] + (fx>>1) + (fy>>1)*stride, stride, 8); in cmp_direct_inline()
144 int fy = c->direct_basis_mv[0][1] + hy; in cmp_direct_inline() local
146 … int by = hy ? fy - c->co_located_mv[0][1] : (c->co_located_mv[0][1]*(time_pb - time_pp)/time_pp); in cmp_direct_inline()
147 int fxy= (fx&mask) + ((fy&mask)<<(qpel+1)); in cmp_direct_inline()
151 …c->qpel_put[1][fxy](c->temp , ref[0] + (fx>>2) + (fy>>2)*stride , stri… in cmp_direct_inline()
152 …c->qpel_put[1][fxy](c->temp + 8 , ref[0] + (fx>>2) + (fy>>2)*stride + 8 , stri… in cmp_direct_inline()
[all …]
/third_party/skia/third_party/externals/freetype/src/autofit/
Dafhints.c473 point->fy, in af_glyph_hints_dump_points()
648 : seg->first->fy; in af_glyph_hints_get_segment_offset()
988 point->fy = (FT_Short)vec->y; in af_glyph_hints_reload()
993 end->fy = (FT_Short)outline->points[endpoint].y; in af_glyph_hints_reload()
1008 out_y = point->fy - prev->fy; in af_glyph_hints_reload()
1089 out_y = point->fy - prev->fy; in af_glyph_hints_reload()
1138 out_y += next->fy - point->fy; in af_glyph_hints_reload()
1197 in_y = point->fy - prev_v->fy; in af_glyph_hints_reload()
1200 out_y = next_u->fy - point->fy; in af_glyph_hints_reload()
1247 point->fy - prev_v->fy, in af_glyph_hints_reload()
[all …]
/third_party/freetype/src/autofit/
Dafhints.c473 point->fy, in af_glyph_hints_dump_points()
648 : seg->first->fy; in af_glyph_hints_get_segment_offset()
988 point->fy = (FT_Short)vec->y; in af_glyph_hints_reload()
993 end->fy = (FT_Short)outline->points[endpoint].y; in af_glyph_hints_reload()
1008 out_y = point->fy - prev->fy; in af_glyph_hints_reload()
1089 out_y = point->fy - prev->fy; in af_glyph_hints_reload()
1138 out_y += next->fy - point->fy; in af_glyph_hints_reload()
1197 in_y = point->fy - prev_v->fy; in af_glyph_hints_reload()
1200 out_y = next_u->fy - point->fy; in af_glyph_hints_reload()
1247 point->fy - prev_v->fy, in af_glyph_hints_reload()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DPathRenderingTest.cpp767 GLint fy = kFillCoords[i + 1]; in verifyTestPatternFill() local
768 EXPECT_TRUE(CheckPixels(x + fx, y + fy, 1, 1, 0, kBlue)); in verifyTestPatternFill()
771 void verifyTestPatternBg(GLfloat fx, GLfloat fy) in verifyTestPatternBg() argument
777 GLint y = static_cast<GLint>(fy); in verifyTestPatternBg()
787 void verifyTestPatternStroke(GLfloat fx, GLfloat fy) in verifyTestPatternStroke() argument
790 GLint y = static_cast<GLint>(fy); in verifyTestPatternStroke()
1380 const float fy = kFillCoords[k + 1]; in TEST_P() local
1386 color.G = static_cast<GLubyte>(std::roundf((py + fy) / kResolution * 255.0f)); in TEST_P()
1389 CheckPixels(static_cast<GLint>(px + fx), static_cast<GLint>(py + fy), 1, 1, 2, in TEST_P()
1467 const float fy = kFillCoords[k + 1]; in TEST_P() local
[all …]
/third_party/ffmpeg/libavfilter/
Dvf_scale_cuda_bicubic.cu104 float fy = yi - py; in Subsample_Bicubic() local
109 float4 coeffsY = coeffs_function(fy, param); in Subsample_Bicubic()
147 float fy = yi - py; in Subsample_FastBicubic() local
152 float4 coeffsY = coeffs_function(fy, param); in Subsample_FastBicubic()
157 derived_fast_coeffs(coeffsY, fy, &h0y, &h1y, &sy); in Subsample_FastBicubic()
/third_party/gstreamer/gstplugins_bad/gst/smooth/
Dgstsmooth.c134 gint x, y, fx, fy, fy1, fy2, fx1, fx2; in smooth_filter() local
157 for (fy = fy1; fy < fy2; fy += stride) { in smooth_filter()
/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_quad_depth_test_tmp.h57 const float fy = (float) iy; in NAME() local
60 const float z0 = quads[0]->posCoef->a0[2] + dzdx * fx + dzdy * fy; in NAME()
/third_party/skia/tools/
Dblob_cache_sim.cpp45 SkFixed fy = (SkScalarToFixed(offset.y()) >> 13) & 7; in main() local
46 uint32_t posBits = (fx << 3 | fy) << 12; in main()
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_cull.c72 const float fy = v1[1] - v2[1]; in cull_tri() local
76 header->det = ex * fy - ey * fx; in cull_tri()

12345678910>>...22