/third_party/vk-gl-cts/framework/common/ |
H A D | tcuBilinearImageCompare.cpp | 74 inline deUint8 interpolateChannel (deUint32 fx1, deUint32 fy1, deUint8 p00, deUint8 p01, deUint8 p10, deUint8 p11) in interpolateChannel() argument 76 const deUint32 fx0 = (1u<<NUM_SUBPIXEL_BITS) - fx1; in interpolateChannel() 79 const deUint32 sum = fx0*fy0*p00 + fx1*fy0*p10 + fx0*fy1*p01 + fx1*fy1*p11; in interpolateChannel() 96 deUint32 fx1 = u-(x0<<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 D | ftgrays.c | 642 TCoord ex1, ex2, fx1, fx2, first, dy, delta, mod; in gray_render_scanline() local 657 fx1 = FRACT( x1 ); in gray_render_scanline() 673 p = ( ONE_PIXEL - fx1 ) * dy; in gray_render_scanline() 679 p = fx1 * dy; in gray_render_scanline() 690 FT_INTEGRATE( ras, delta, fx1 + first ); in gray_render_scanline() 720 fx1 = ONE_PIXEL - first; in gray_render_scanline() 723 FT_INTEGRATE( ras, y2 - y1, fx1 + fx2 ); in gray_render_scanline() 874 TCoord fx1, fy1, fx2, fy2; in gray_render_line() local 889 fx1 = FRACT( ras.x ); in gray_render_line() 908 FT_INTEGRATE( ras, fy2 - fy1, fx1 * in gray_render_line() [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vsrc_gradients.c | 48 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() 394 s->fx1 = (s->x1 - w2) * cosf(angle) - (s->y1 - h2) * sinf(angle) + w2; in activate()
|
/third_party/typescript/tests/baselines/reference/ |
H A D | variadicTuples1.js | 125 declare function fx1<T extends unknown[]>(a: string, ...args: T): T; 128 fx1('abc'); // [] 129 fx1('abc', ...u); // U 130 fx1('abc', ...v); // [...V] 131 fx1<U>('abc', ...u); // U 132 fx1<V>('abc', ...v); // Error 477 fx1('abc'); // []
478 fx1.apply(void 0, __spreadArray(['abc'], u, false)); // U
479 fx1.apply(void 0, __spreadArray(['abc'], v, false)); // [...V]
480 fx1 [all...] |
H A D | narrowingUnionToUnion.js | 6 function fx1(x: string | number | undefined) { function 217 function fx1(x) {
376 declare function fx1(x: string | number | undefined): void;
|
H A D | controlFlowGenericTypes.js | 146 function fx1<T, K extends keyof T>(obj: T, key: K) { 332 function fx1(obj, key) {
function
|
H A D | unknownControlFlow.js | 314 function fx1<T extends unknown>(value: T & ({} | null)) { 714 function fx1(value) {
function 861 declare function fx1<T extends unknown>(value: T & ({} | null)): void;
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fInstancedRenderingTests.cpp | 359 float fx1 = -1.0f + (float)(x+1) / (float)QUAD_GRID_SIZE * 2.0f / (float)m_numInstances; in init() local 363 // Vertices of a quad's lower-left triangle: (fx0, fy0), (fx1, fy0) and (fx0, fy1) in init() 366 m_gridVertexPositions.push_back(fx1); in init() 371 // Vertices of a quad's upper-right triangle: (fx1, fy1), (fx0, fy1) and (fx1, fy0) in init() 372 m_gridVertexPositions.push_back(fx1); in init() 376 m_gridVertexPositions.push_back(fx1); in init()
|
H A D | es3fVertexTextureTests.cpp | 292 float fx1 = (float)(x+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 D | es2fBufferTestUtil.cpp | 328 float fx1 = 2.0f * sx1 - 1.0f; in computePositions() local 334 positions[baseNdx+2] = tcu::Vec2(fx1, fy0); in computePositions() 335 positions[baseNdx+3] = tcu::Vec2(fx1, fy1); in computePositions()
|
H A D | es2fVertexTextureTests.cpp | 243 float fx1 = (float)(x+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 D | glsBufferTestUtil.cpp | 489 float fx1 = 2.0f * sx1 - 1.0f; in computePositions() local 495 positions[baseNdx+2] = tcu::Vec2(fx1, fy0); in computePositions() 496 positions[baseNdx+3] = tcu::Vec2(fx1, fy1); in computePositions()
|
H A D | glsShaderRenderCase.cpp | 705 float fx1 = deFloatClamp((sfx - sx0) * oosx, 0.0f, 1.0f); in computeVertexReference() local 709 bool tri = fx1 + fy1 <= 1.0f; in computeVertexReference() 710 float tx = tri ? fx1 : (1.0f-fx1); in computeVertexReference()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
H A D | vktDrawInstancedTests.cpp | 836 const float fx1 = -1.0f + (float)(x+1) / (float)QUAD_GRID_SIZE * 2.0f / (float)instanceCount; in prepareVertexData() local 840 // Vertices of a quad's lower-left triangle: (fx0, fy0), (fx1, fy0) and (fx0, fy1) in prepareVertexData() 842 m_data.push_back(VertexPositionAndColor(tcu::Vec4(fx1, fy0, 1.0f, 1.0f), tcu::RGBA::blue().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() 848 m_data.push_back(VertexPositionAndColor(tcu::Vec4(fx1, fy0, 1.0f, 1.0f), tcu::RGBA::blue().toVec())); in prepareVertexData()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/ |
H A D | vktDrawInstancedTests.cpp | 818 const float fx1 = -1.0f + (float)(x+1) / (float)QUAD_GRID_SIZE * 2.0f / (float)instanceCount; in prepareVertexData() local 822 // Vertices of a quad's lower-left triangle: (fx0, fy0), (fx1, fy0) and (fx0, fy1) in prepareVertexData() 824 m_data.push_back(VertexPositionAndColor(tcu::Vec4(fx1, fy0, 1.0f, 1.0f), tcu::RGBA::blue().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() 830 m_data.push_back(VertexPositionAndColor(tcu::Vec4(fx1, fy0, 1.0f, 1.0f), tcu::RGBA::blue().toVec())); in prepareVertexData()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcShaderRenderCase.cpp | 777 float fx1 = deFloatClamp((sfx - sx0) * oosx, 0.0f, 1.0f); in computeVertexReference() local 781 bool tri = fx1 + fy1 <= 1.0f; in computeVertexReference() 782 float tx = tri ? fx1 : (1.0f - fx1); in computeVertexReference()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
H A D | vktShaderRender.cpp | 2457 const float fx1 = deFloatClamp((sfx - sx0) * oosx, 0.0f, 1.0f); 2461 const bool tri = fx1 + fy1 <= 1.0f; 2462 const float tx = tri ? fx1 : (1.0f-fx1);
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/ |
H A D | vktShaderRender.cpp | 2459 const float fx1 = deFloatClamp((sfx - sx0) * oosx, 0.0f, 1.0f); 2463 const bool tri = fx1 + fy1 <= 1.0f; 2464 const float tx = tri ? fx1 : (1.0f-fx1);
|
/third_party/vk-gl-cts/modules/egl/ |
H A D | teglGLES2SharingTests.cpp | 434 float fx1 = 0.125f * (float)(i % 16) - 1.0f; in renderResource() local 441 int x1 = deRoundFloatToInt32(((float)width * fx1 / 2.0f) + (float)ox); in renderResource()
|