Home
last modified time | relevance | path

Searched refs:fy1 (Results 1 - 15 of 15) sorted by relevance

/third_party/vk-gl-cts/framework/common/
H A DtcuBilinearImageCompare.cpp74 inline deUint8 interpolateChannel (deUint32 fx1, deUint32 fy1, deUint8 p00, deUint8 p01, deUint8 p10, deUint8 p11) in interpolateChannel() argument
77 const deUint32 fy0 = (1u<<NUM_SUBPIXEL_BITS) - fy1; in interpolateChannel()
79 const deUint32 sum = fx0*fy0*p00 + fx1*fy0*p10 + fx0*fy1*p01 + fx1*fy1*p11; in interpolateChannel()
97 deUint32 fy1 = v-(y0<<NUM_SUBPIXEL_BITS); in bilinearSampleRGBA8()
106 res |= interpolateChannel(fx1, fy1, getChannel<0>(p00), getChannel<0>(p01), getChannel<0>(p10), getChannel<0>(p11)) << RGBA::RED_SHIFT; in bilinearSampleRGBA8()
107 res |= interpolateChannel(fx1, fy1, getChannel<1>(p00), getChannel<1>(p01), getChannel<1>(p10), getChannel<1>(p11)) << RGBA::GREEN_SHIFT; in bilinearSampleRGBA8()
108 res |= interpolateChannel(fx1, fy1, getChannel<2>(p00), getChannel<2>(p01), getChannel<2>(p10), getChannel<2>(p11)) << RGBA::BLUE_SHIFT; in bilinearSampleRGBA8()
109 res |= interpolateChannel(fx1, fy1, getChannel<3>(p00), getChannel<3>(p01), getChannel<3>(p10), getChannel<3>(p11)) << RGBA::ALPHA_SHIFT; in bilinearSampleRGBA8()
/third_party/skia/third_party/externals/freetype/src/smooth/
H A Dftgrays.c735 TCoord ey1, ey2, fy1, fy2, first, delta, mod; in gray_render_line() local
748 fy1 = FRACT( ras.y ); in gray_render_line()
754 gray_render_scanline( RAS_VAR_ ey1, ras.x, fy1, to_x, fy2 ); in gray_render_line()
779 delta = first - fy1; in gray_render_line()
803 p = ( ONE_PIXEL - fy1 ) * dx; in gray_render_line()
809 p = fy1 * dx; in gray_render_line()
820 gray_render_scanline( RAS_VAR_ ey1, ras.x, fy1, x, first ); in gray_render_line()
874 TCoord fx1, fy1, fx2, fy2; in gray_render_line() local
890 fy1 = FRACT( ras.y ); in gray_render_line()
908 FT_INTEGRATE( ras, fy2 - fy1, fx in gray_render_line()
[all...]
/third_party/ffmpeg/libavfilter/
H A Dvsrc_gradients.c48 float fx0, fy0, fx1, fy1; member
259 float factor = project(s->fx0, s->fy0, s->fx1, s->fy1, x, y, s->type); in draw_gradients_slice()
282 float factor = project(s->fx0, s->fy0, s->fx1, s->fy1, x, y, s->type); in draw_gradients_slice16()
311 float factor = project(s->fx0, s->fy0, s->fx1, s->fy1, x, y, s->type); in draw_gradients_slice32_planar()
395 s->fy1 = (s->x1 - w2) * sinf(angle) + (s->y1 - h2) * cosf(angle) + h2; in activate()
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fInstancedRenderingTests.cpp361 float fy1 = -1.0f + (float)(y+1) / (float)QUAD_GRID_SIZE * 2.0f; in init() local
363 // Vertices of a quad's lower-left triangle: (fx0, fy0), (fx1, fy0) and (fx0, fy1) in init()
369 m_gridVertexPositions.push_back(fy1); in init()
371 // Vertices of a quad's upper-right triangle: (fx1, fy1), (fx0, fy1) and (fx1, fy0) in init()
373 m_gridVertexPositions.push_back(fy1); in init()
375 m_gridVertexPositions.push_back(fy1); in init()
H A Des3fVertexTextureTests.cpp294 float fy1 = (float)(y+1) / gridSizeFloat; in PosTexCoordQuadGrid() local
296 Vec2 quadVertices[4] = { Vec2(fx0, fy0), Vec2(fx1, fy0), Vec2(fx0, fy1), Vec2(fx1, fy1) }; in PosTexCoordQuadGrid()
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fBufferTestUtil.cpp329 float fy1 = 2.0f * sy1 - 1.0f; in computePositions() local
333 positions[baseNdx+1] = tcu::Vec2(fx0, fy1); in computePositions()
335 positions[baseNdx+3] = tcu::Vec2(fx1, fy1); in computePositions()
H A Des2fVertexTextureTests.cpp245 float fy1 = (float)(y+1) / gridSizeFloat; in PosTexCoordQuadGrid() local
247 Vec2 quadVertices[4] = { Vec2(fx0, fy0), Vec2(fx1, fy0), Vec2(fx0, fy1), Vec2(fx1, fy1) }; in PosTexCoordQuadGrid()
/third_party/vk-gl-cts/modules/glshared/
H A DglsBufferTestUtil.cpp490 float fy1 = 2.0f * sy1 - 1.0f; in computePositions() local
494 positions[baseNdx+1] = tcu::Vec2(fx0, fy1); in computePositions()
496 positions[baseNdx+3] = tcu::Vec2(fx1, fy1); in computePositions()
H A DglsShaderRenderCase.cpp706 float fy1 = deFloatClamp((sfy - sy0) * oosy, 0.0f, 1.0f); in computeVertexReference() local
709 bool tri = fx1 + fy1 <= 1.0f; in computeVertexReference()
711 float ty = tri ? fy1 : (1.0f-fy1); in computeVertexReference()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
H A DvktDrawInstancedTests.cpp838 const float fy1 = -1.0f + (float)(y+1) / (float)QUAD_GRID_SIZE * 2.0f; in prepareVertexData() local
840 // Vertices of a quad's lower-left triangle: (fx0, fy0), (fx1, fy0) and (fx0, fy1) in prepareVertexData()
843 m_data.push_back(VertexPositionAndColor(tcu::Vec4(fx0, fy1, 1.0f, 1.0f), tcu::RGBA::green().toVec())); in prepareVertexData()
845 // Vertices of a quad's upper-right triangle: (fx1, fy1), (fx0, fy1) and (fx1, fy0) in prepareVertexData()
846 m_data.push_back(VertexPositionAndColor(tcu::Vec4(fx1, fy1, 1.0f, 1.0f), tcu::RGBA::green().toVec())); in prepareVertexData()
847 m_data.push_back(VertexPositionAndColor(tcu::Vec4(fx0, fy1, 1.0f, 1.0f), tcu::RGBA::green().toVec())); in prepareVertexData()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/
H A DvktDrawInstancedTests.cpp820 const float fy1 = -1.0f + (float)(y+1) / (float)QUAD_GRID_SIZE * 2.0f; in prepareVertexData() local
822 // Vertices of a quad's lower-left triangle: (fx0, fy0), (fx1, fy0) and (fx0, fy1) in prepareVertexData()
825 m_data.push_back(VertexPositionAndColor(tcu::Vec4(fx0, fy1, 1.0f, 1.0f), tcu::RGBA::green().toVec())); in prepareVertexData()
827 // Vertices of a quad's upper-right triangle: (fx1, fy1), (fx0, fy1) and (fx1, fy0) in prepareVertexData()
828 m_data.push_back(VertexPositionAndColor(tcu::Vec4(fx1, fy1, 1.0f, 1.0f), tcu::RGBA::green().toVec())); in prepareVertexData()
829 m_data.push_back(VertexPositionAndColor(tcu::Vec4(fx0, fy1, 1.0f, 1.0f), tcu::RGBA::green().toVec())); in prepareVertexData()
/third_party/vk-gl-cts/external/openglcts/modules/common/
H A DglcShaderRenderCase.cpp778 float fy1 = deFloatClamp((sfy - sy0) * oosy, 0.0f, 1.0f); in computeVertexReference() local
781 bool tri = fx1 + fy1 <= 1.0f; in computeVertexReference()
783 float ty = tri ? fy1 : (1.0f - fy1); in computeVertexReference()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
H A DvktShaderRender.cpp2458 const float fy1 = deFloatClamp((sfy - sy0) * oosy, 0.0f, 1.0f);
2461 const bool tri = fx1 + fy1 <= 1.0f;
2463 const float ty = tri ? fy1 : (1.0f-fy1);
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/
H A DvktShaderRender.cpp2460 const float fy1 = deFloatClamp((sfy - sy0) * oosy, 0.0f, 1.0f);
2463 const bool tri = fx1 + fy1 <= 1.0f;
2465 const float ty = tri ? fy1 : (1.0f-fy1);
/third_party/vk-gl-cts/modules/egl/
H A DteglGLES2SharingTests.cpp435 float fy1 = 0.125f * (float)((int)((float)i / 16.0f)) - 1.0f; in renderResource() local
442 int y1 = deRoundFloatToInt32(((float)height * fy1 / 2.0f) + (float)oy); in renderResource()

Completed in 26 milliseconds