/third_party/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_state_framebuffer.c | 420 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/ |
H A D | SkScan_Antihair.cpp | 108 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 { 118 fy += SK_Fixed1/2; 120 int y = fy >> 16; 121 uint8_t a = (uint8_t)((fy >> 8) & 0xFF); 135 return fy - SK_Fixed1/2; 138 SkFixed drawLine(int x, int stopx, SkFixed fy, SkFixed slope) override { 141 fy += SK_Fixed1/2; 143 int y = fy >> 1 [all...] |
H A D | SkBitmapProcState_matrixProcs.cpp | 128 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/skia/tests/ |
H A D | PathOpsSimplifyDegenerateThreadedTest.cpp | 28 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()
|
H A D | PathOpsSimplifyTrianglesThreadedTest.cpp | 32 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()
|
H A D | SkGlyphBufferTest.cpp | 47 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()
|
H A D | PathOpsSimplifyQuadThreadedTest.cpp | 31 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()
|
H A D | PathOpsSimplifyQuadralateralsThreadedTest.cpp | 31 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/skia/third_party/externals/freetype/src/autofit/ |
H A D | afhints.c | 473 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 FT_LOCAL_DEF() 993 end->fy = (FT_Short)outline->points[endpoint].y; in FT_LOCAL_DEF() 1008 out_y = point->fy - prev->fy; in FT_LOCAL_DEF() 1089 out_y = point->fy - prev->fy; in FT_LOCAL_DEF() 1138 out_y += next->fy - point->fy; in FT_LOCAL_DEF() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | motion_est.c | 126 int fy = c->direct_basis_mv[i][1] + hy; in cmp_direct_inline() local 128 int by = hy ? fy - c->co_located_mv[i][1] : c->co_located_mv[i][1]*(time_pb - time_pp)/time_pp + ((i>>1)<<(qpel+4)); in cmp_direct_inline() 129 int fxy= (fx&mask) + ((fy&mask)<<(qpel+1)); in cmp_direct_inline() 134 c->qpel_put[1][fxy](dst, ref[0] + (fx>>2) + (fy>>2)*stride, stride); in cmp_direct_inline() 137 c->hpel_put[1][fxy](dst, ref[0] + (fx>>1) + (fy>>1)*stride, stride, 8); in cmp_direct_inline() 143 int fy = c->direct_basis_mv[0][1] + hy; in cmp_direct_inline() local 145 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() 146 int fxy= (fx&mask) + ((fy&mask)<<(qpel+1)); in cmp_direct_inline() 150 c->qpel_put[1][fxy](c->temp , ref[0] + (fx>>2) + (fy>>2)*stride , stride); in cmp_direct_inline() 151 c->qpel_put[1][fxy](c->temp + 8 , ref[0] + (fx>>2) + (fy>> in cmp_direct_inline() 1349 int fy= motion_fy+vect[i][1]; bidir_refine() local [all...] |
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fPrimitiveRestartTests.cpp | 293 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)numRows; 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() [all...] |
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_quad_depth_test_tmp.h | 57 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/mesa3d/src/gallium/auxiliary/draw/ |
H A D | draw_pipe_cull.c | 72 const float fy = v1[1] - v2[1]; in cull_tri() local 76 header->det = ex * fy - ey * fx; in cull_tri()
|
H A D | draw_pipe_offset.c | 83 float fy = v1[1] - v2[1]; in do_offset_tri() local 87 float a = ey*fz - ez*fy; in do_offset_tri()
|
/third_party/skia/tools/ |
H A D | blob_cache_sim.cpp | 45 SkFixed fy = (SkScalarToFixed(offset.y()) >> 13) & 7; in main() local 46 uint32_t posBits = (fx << 3 | fy) << 12; in main()
|
/third_party/skia/third_party/externals/swiftshader/third_party/marl/examples/ |
H A D | fractal.cpp | 181 auto fy = float(y) + (sy / float(samplesPerPixelH)); in main() 182 auto dy = float(fy) / float(imageHeight); in main()
|
/third_party/skia/experimental/docs/ |
H A D | interpolatorFunctions.js | 35 var fy = interp_cubic_coords(y1, y2, y3, y4, (t1+t2*2)/3); 41 var ny = fy * 27 - ay - dy * 8;
|
/third_party/skia/src/shaders/ |
H A D | SkImageShader.cpp | 831 // All bicubic samples have the same fractional offset (fx,fy) from the center. in makeProgram() 834 fy = fract(local.y + 0.5f); in makeProgram() 844 const skvm::F32 tmpy[] = { p->splat(1.0f), fy, fy*fy, fy*fy*fy }; in makeProgram() 885 fy = fract(bottom); in makeProgram() 888 lerp(sample_texel(u, left,bottom), sample_texel(u, right,bottom), fx), fy); in makeProgram() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/rasterization/ |
H A D | vktShaderTileImageTests.cpp | 279 deUint32 getResultValue(deUint32 fx, deUint32 fy, deUint32 fs, deUint32 renderTargetID) const; 280 deUint32 simulate(deUint32 fx, deUint32 fy, deUint32 fs, deUint32 renderTargetID) const; 1583 deUint32 ShaderTileImageTestInstance::getResultValue(deUint32 fx, deUint32 fy, deUint32 fs, in getResultValue() argument 1589 const deUint32 index = (((fy * m_testParam->frameBufferSize) + fx) * sampleCount + fs) * 2; // 2 is for xy in getResultValue() 1598 deUint32 ShaderTileImageTestInstance::simulate(deUint32 fx, deUint32 fy, deUint32 fs, deUint32 renderTargetID) const in simulate() argument 1629 if ((fx) == (fy)) in simulate() 1665 for (deUint32 fy = 0; (res == QP_TEST_RESULT_PASS) && fy < m_testParam->frameBufferSize; ++fy) in checkResult() 1671 const deUint32 expectedValue = simulate(fx, fy, f in checkResult() [all...] |
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fBufferTestUtil.cpp | 392 float fy = ((float)y+0.5f) / (float)VERIFY_QUAD_SIZE; 394 bool tri = fx + fy <= 1.0f; 396 float ty = tri ? fy : (1.0f-fy);
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcShaderRenderCase.cpp | 261 float fy = 2.0f * sy - 1.0f; in QuadGrid() local 264 m_positions[vtxNdx] = Vec4(fx, fy, 0.0f, 1.0f); in QuadGrid() 303 float fy = 2.0f * sy - 1.0f; in getCoords() local 304 return Vec4(fx, fy, -fx + 0.33f * fy, -0.275f * fx - fy); in getCoords()
|
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsShaderRenderCase.cpp | 204 float fy = 2.0f * sy - 1.0f; in QuadGrid() local 207 m_positions[vtxNdx] = Vec4(fx, fy, 0.0f, 1.0f); in QuadGrid() 246 float fy = 2.0f * sy - 1.0f; in getCoords() local 247 return Vec4(fx, fy, -fx + 0.33f*fy, -0.275f*fx - fy); in getCoords()
|
H A D | glsBufferTestUtil.cpp | 553 float fy = ((float)y+0.5f) / (float)VERIFY_QUAD_SIZE; 555 bool tri = fx + fy <= 1.0f; 557 float ty = tri ? fy : (1.0f-fy);
|
/third_party/skia/src/opts/ |
H A D | SkRasterPipeline_opts.h | 2580 // Whether bilinear or bicubic, all sample points are at the same fractional offset (fx,fy). 2584 fy = fract(g + 0.5f); 2586 // Samplers will need to load x and fx, or y and fy. 2590 sk_unaligned_store(c->fy, fy); 2622 F fy = sk_unaligned_load<F>(ctx->fy); 2625 if (kScale == -1) { scaley = 1.0f - fy; } 2626 if (kScale == +1) { scaley = fy; } 2666 F fy [all...] |
/third_party/mesa3d/src/mesa/main/ |
H A D | rastpos.c | 933 GLfloat fx, fy; 951 fy = y - (int) y; 952 glRasterPos4f( fx, fy, 0.0, w );
|