Home
last modified time | relevance | path

Searched refs:fx1 (Results 1 – 22 of 22) sorted by relevance

/third_party/vk-gl-cts/framework/common/
DtcuBilinearImageCompare.cpp74 inline deUint8 interpolateChannel (deUint32 fx1, deUint32 fy1, deUint8 p00, deUint8 p01, deUint8 p1… 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() local
106 …res |= interpolateChannel(fx1, fy1, getChannel<0>(p00), getChannel<0>(p01), getChannel<0>(p10), ge… in bilinearSampleRGBA8()
107 …res |= interpolateChannel(fx1, fy1, getChannel<1>(p00), getChannel<1>(p01), getChannel<1>(p10), ge… in bilinearSampleRGBA8()
108 …res |= interpolateChannel(fx1, fy1, getChannel<2>(p00), getChannel<2>(p01), getChannel<2>(p10), ge… in bilinearSampleRGBA8()
109 …res |= interpolateChannel(fx1, fy1, getChannel<3>(p00), getChannel<3>(p01), getChannel<3>(p10), ge… in bilinearSampleRGBA8()
/third_party/flutter/skia/third_party/externals/freetype/src/smooth/
Dftgrays.c611 TCoord ex1, ex2, fx1, fx2, first, dy, delta, mod; in gray_render_scanline() local
626 fx1 = FRACT( x1 ); in gray_render_scanline()
642 p = ( ONE_PIXEL - fx1 ) * dy; in gray_render_scanline()
648 p = fx1 * dy; in gray_render_scanline()
659 ras.area += (TArea)( ( fx1 + first ) * delta ); in gray_render_scanline()
691 fx1 = ONE_PIXEL - first; in gray_render_scanline()
696 ras.area += (TArea)( ( fx1 + fx2 ) * dy ); in gray_render_scanline()
853 TCoord fx1, fy1, fx2, fy2; in gray_render_line() local
868 fx1 = FRACT( ras.x ); in gray_render_line()
888 ras.area += ( fy2 - fy1 ) * fx1 * 2; in gray_render_line()
[all …]
/third_party/skia/third_party/externals/freetype/src/smooth/
Dftgrays.c642 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 * 2 ); in gray_render_line()
[all …]
/third_party/freetype/src/smooth/
Dftgrays.c644 TCoord ex1, ex2, fx1, fx2, first, dy, delta, mod; in gray_render_scanline() local
659 fx1 = FRACT( x1 ); in gray_render_scanline()
675 p = ( ONE_PIXEL - fx1 ) * dy; in gray_render_scanline()
681 p = fx1 * dy; in gray_render_scanline()
692 FT_INTEGRATE( ras, delta, fx1 + first ); in gray_render_scanline()
722 fx1 = ONE_PIXEL - first; in gray_render_scanline()
725 FT_INTEGRATE( ras, y2 - y1, fx1 + fx2 ); in gray_render_scanline()
876 TCoord fx1, fy1, fx2, fy2; in gray_render_line() local
891 fx1 = FRACT( ras.x ); in gray_render_line()
910 FT_INTEGRATE( ras, fy2 - fy1, fx1 * 2 ); in gray_render_line()
[all …]
/third_party/typescript/tests/cases/conformance/types/tuple/
DvariadicTuples1.ts127 declare function fx1<T extends unknown[]>(a: string, ...args: T): T;
130 fx1('abc'); // []
131 fx1('abc', ...u); // U
132 fx1('abc', ...v); // [...V]
133 fx1<U>('abc', ...u); // U
134 fx1<V>('abc', ...v); // Error
/third_party/gstreamer/gstplugins_bad/gst/smooth/
Dgstsmooth.c134 gint x, y, fx, fy, fy1, fy2, fx1, fx2; in smooth_filter() local
154 fx1 = MAX (x - filtersize, 0) + fy1; in smooth_filter()
158 for (fx = fx1; fx < fx2; fx++) { in smooth_filter()
165 fx1 += stride; in smooth_filter()
/third_party/ffmpeg/libavfilter/
Dvsrc_gradients.c47 float fx0, fy0, fx1, fy1; member
189 float factor = project(s->fx0, s->fy0, s->fx1, s->fy1, x, y); in draw_gradients_slice()
212 float factor = project(s->fx0, s->fy0, s->fx1, s->fy1, x, y); in draw_gradients_slice16()
271 s->fx1 = (s->x1 - w2) * cosf(angle) - (s->y1 - h2) * sinf(angle) + w2; in activate()
/third_party/typescript/tests/baselines/reference/
DvariadicTuples1.js125 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
473 fx1('abc'); // []
474 fx1.apply(void 0, __spreadArray(['abc'], u)); // U
475 fx1.apply(void 0, __spreadArray(['abc'], v)); // [...V]
476 fx1.apply(void 0, __spreadArray(['abc'], u)); // U
[all …]
DvariadicTuples1.types442 declare function fx1<T extends unknown[]>(a: string, ...args: T): T;
443 >fx1 : <T extends unknown[]>(a: string, ...args: T) => T
452 fx1('abc'); // []
453 >fx1('abc') : []
454 >fx1 : <T extends unknown[]>(a: string, ...args: T) => T
457 fx1('abc', ...u); // U
458 >fx1('abc', ...u) : U
459 >fx1 : <T extends unknown[]>(a: string, ...args: T) => T
464 fx1('abc', ...v); // [...V]
465 >fx1('abc', ...v) : [...V]
[all …]
DvariadicTuples1.symbols387 declare function fx1<T extends unknown[]>(a: string, ...args: T): T;
388 >fx1 : Symbol(fx1, Decl(variadicTuples1.ts, 119, 48))
404 fx1('abc'); // []
405 >fx1 : Symbol(fx1, Decl(variadicTuples1.ts, 119, 48))
407 fx1('abc', ...u); // U
408 >fx1 : Symbol(fx1, Decl(variadicTuples1.ts, 119, 48))
411 fx1('abc', ...v); // [...V]
412 >fx1 : Symbol(fx1, Decl(variadicTuples1.ts, 119, 48))
415 fx1<U>('abc', ...u); // U
416 >fx1 : Symbol(fx1, Decl(variadicTuples1.ts, 119, 48))
[all …]
DvariadicTuples1.errors.txt181 declare function fx1<T extends unknown[]>(a: string, ...args: T): T;
184 fx1('abc'); // []
185 fx1('abc', ...u); // U
186 fx1('abc', ...v); // [...V]
187 fx1<U>('abc', ...u); // U
188 fx1<V>('abc', ...v); // Error
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fInstancedRenderingTests.cpp359 float fx1 = -1.0f + (float)(x+1) / (float)QUAD_GRID_SIZE * 2.0f / (float)m_numInstances; in init() local
366 m_gridVertexPositions.push_back(fx1); in init()
372 m_gridVertexPositions.push_back(fx1); in init()
376 m_gridVertexPositions.push_back(fx1); in init()
Des3fVertexTextureTests.cpp292 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/flutter/skia/src/core/
DSkBitmapProcState_matrixProcs.cpp440 SkFractionalInt fx1, fx2, fx3; in nofilter_scale_neon() local
444 fx1 = fx+dx; in nofilter_scale_neon()
445 fx2 = fx1+dx; in nofilter_scale_neon()
449 lbase = vsetq_lane_s32(SkFractionalIntToFixed(fx1), lbase, 1); in nofilter_scale_neon()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fBufferTestUtil.cpp328 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()
Des2fVertexTextureTests.cpp243 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/external/openglcts/modules/common/
DglcShaderRenderCase.cpp777 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/modules/glshared/
DglsShaderRenderCase.cpp705 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()
DglsBufferTestUtil.cpp489 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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawInstancedTests.cpp793 const float fx1 = -1.0f + (float)(x+1) / (float)QUAD_GRID_SIZE * 2.0f / (float)instanceCount; in prepareVertexData() local
799 …m_data.push_back(VertexPositionAndColor(tcu::Vec4(fx1, fy0, 1.0f, 1.0f), tcu::RGBA::blue().toVec()… in prepareVertexData()
803 …m_data.push_back(VertexPositionAndColor(tcu::Vec4(fx1, fy1, 1.0f, 1.0f), tcu::RGBA::green().toVec(… in prepareVertexData()
805 …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/vulkan/shaderrender/
DvktShaderRender.cpp2423 const float fx1 = deFloatClamp((sfx - sx0) * oosx, 0.0f, 1.0f); in computeVertexReference() local
2427 const bool tri = fx1 + fy1 <= 1.0f; in computeVertexReference()
2428 const float tx = tri ? fx1 : (1.0f-fx1); in computeVertexReference()
/third_party/vk-gl-cts/modules/egl/
DteglGLES2SharingTests.cpp434 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()