Home
last modified time | relevance | path

Searched refs:p01 (Results 1 – 25 of 34) sorted by relevance

12

/third_party/skia/experimental/lowp-basic/
Dbilerp-study.cpp38 static float golden_bilerp(float tx, float ty, int16_t p00, int16_t p10, int16_t p01, int16_t p11) { in golden_bilerp() argument
40 + (1.0f-tx) * ty * p01 in golden_bilerp()
46 float tx, float ty, int16_t p00, int16_t p10, int16_t p01, int16_t p11) { in golden_bilerp2() argument
51 double bottom = (1.0 - dtx) * p01 + dtx * p11; in golden_bilerp2()
57 float tx, float ty, int16_t p00, int16_t p10, int16_t p01, int16_t p11) { in full_res_bilerp() argument
60 int64_t bottom = ftx * (p11 - p01) + 65536 * p01; in full_res_bilerp()
69 static int16_t bilerp_1(float tx, float ty, int16_t p00, int16_t p10, int16_t p01, int16_t p11) { in bilerp_1() argument
77 qw = (p11 - p01) << logPixelScale; in bilerp_1()
78 qm = (p11 + p01) << logPixelScale; in bilerp_1()
101 for (int p01 : interesting) in check_bilerp() local
[all …]
/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
79 const deUint32 sum = fx0*fy0*p00 + fx1*fy0*p10 + fx0*fy1*p01 + fx1*fy1*p11; in interpolateChannel()
101 deUint32 p01 = readRGBA8Raw(access, x0, y1); 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()
DtcuTexLookupVerifier.cpp96 Vec4 p01; //!< (1, 0) member
105 dst.p01 = lookup<float>(level, sampler, x0, y1, z); in lookupQuad()
160 const Vec4 d1 = abs(quad.p01 - quad.p00); in computeBilinearSearchStepFromFloatQuad()
162 const Vec4 d3 = abs(quad.p11 - quad.p01); in computeBilinearSearchStepFromFloatQuad()
205 return min(quad.p00, min(quad.p10, min(quad.p01, quad.p11))); in min()
210 return max(quad.p00, max(quad.p10, max(quad.p01, quad.p11))); in max()
306 const Vec4 c1 = quad.p01*(1.0f - a) + quad.p11*a; in isBilinearRangeValid()
341 …const Vec4 c0 = quad0.p00*(1.0f-a)*(1.0f-b) + quad0.p10*a*(1.0f-b) + quad0.p01*(1.0f-a)*b + quad0… in isTrilinearRangeValid()
342 …const Vec4 c1 = quad1.p00*(1.0f-a)*(1.0f-b) + quad1.p10*a*(1.0f-b) + quad1.p01*(1.0f-a)*b + quad1… in isTrilinearRangeValid()
372 …(reductionMode == tcu::Sampler::MIN ? tcu::min(quad.p00, quad.p01) : tcu::max(quad.p00, quad.p01)); in isReductionValid()
[all …]
DtcuFuzzyImageCompare.cpp144 deUint32 p01 = readUnorm8<NumChannels>(src, i0, j1); in bilinearSample() local
153 (getChannel(p01, c)*(1.0f-a)*( b)) + in bilinearSample()
/third_party/vk-gl-cts/modules/gles2/performance/
Des2pTextureCases.cpp114 Vec2 p01 = (m_coordTransform * Vec3(0.0f, 1.0f, 1.0f)).swizzle(0,1); in init() local
119 Vec4(p01.x(), p01.y(), 0.0f, 0.0f), in init()
124 …log << TestLog::Message << "Coords: " << p00 << ", " << p10 << ", " << p01 << ", " << p11 << TestL… in init()
Des2pShaderOperatorTests.cpp219 , p01 (p01_) in AttribSpec()
229 tcu::Vec4 p01; //!< Bottom right. member
368 …dst[dstNdx++] = triQuadInterpolate((XF), (YF), tcu::Vec4(spec.p00[compNdx], spec.p01[compNdx], spe… in generateVertices()
/third_party/vk-gl-cts/modules/gles3/performance/
Des3pTextureCases.cpp122 Vec2 p01 = (m_coordTransform * Vec3(0.0f, 1.0f, 1.0f)).swizzle(0,1); in init() local
127 Vec4(p01.x(), p01.y(), 0.0f, 0.0f), in init()
132 …log << TestLog::Message << "Coords: " << p00 << ", " << p10 << ", " << p01 << ", " << p11 << TestL… in init()
Des3pShaderOperatorTests.cpp219 , p01 (p01_) in AttribSpec()
229 tcu::Vec4 p01; //!< Bottom right. member
368 …dst[dstNdx++] = triQuadInterpolate((XF), (YF), tcu::Vec4(spec.p00[compNdx], spec.p01[compNdx], spe… in generateVertices()
/third_party/vk-gl-cts/modules/glshared/
DglsShaderPerformanceMeasurer.hpp51 , p01 (p01_) in AttribSpec()
61 tcu::Vec4 p01; //!< Bottom right. member
DglsShaderPerformanceMeasurer.cpp93 … + compNdx] = triQuadInterpolate(xf, yf, tcu::Vec4(spec.p00[compNdx], spec.p01[compNdx], spec.p10[… in generateVertices()
/third_party/flutter/skia/src/gpu/ccpr/
DGrCCFillGeometry.cpp183 Sk2f p01 = SkNx_fma(t, tan0, p0); in appendQuadratics() local
185 Sk2f p012 = lerp(p01, p12, t); in appendQuadratics()
187 this->appendMonotonicQuadratic(p0, p01, p012); in appendQuadratics()
564 Sk2f p01, p02, pT, p11, p12; in appendCubics() local
565 chop_cubic(p0, p1, p2, p3, localT, &p01, &p02, &pT, &p11, &p12); in appendCubics()
566 this->appendCubics(mode, p0, p01, p02, pT, chops, midChopIdx, localT0, T); in appendCubics()
687 Sk2f p01, p02, pT, p11, p12; in chopAndAppendCubicAtMidTangent() local
688 chop_cubic(p0, p1, p2, p3, midT, &p01, &p02, &pT, &p11, &p12); in chopAndAppendCubicAtMidTangent()
689 this->appendCubics(mode, p0, p01, p02, pT, maxFutureSubdivisions); in chopAndAppendCubicAtMidTangent()
/third_party/boost/libs/compute/example/
Dopencv_sobel_filter.cpp72 float4 p01 = read_imagef(src, sampler, (int2)(x - 1, y));
85 2.0f * (p21.xyz - p01.xyz)
/third_party/vk-gl-cts/framework/delibs/deimage/
DdeImage.c149 deARGB p01 = deImage_getPixel(srcImage, x0, y1); in deImage_scale() local
152 deARGB_add(deARGB_multiply(p01, f01), deARGB_multiply(p11, f11))); in deImage_scale()
/third_party/skia/src/gpu/tessellate/
DWangsFormula.h150 float4 p01 = float4::Load(pts);
153 float4 v = -2*p12 + p01 + p23;
/third_party/mesa3d/src/mesa/main/
Dtexcompress_astc.cpp1297 int p00, p01, p10, p11, i0, i1; in compute_infill_weights() local
1300 p01 = weights[(v0 + 1) * 2]; in compute_infill_weights()
1303 i0 = (p00*w00 + p01*w01 + p10*w10 + p11*w11 + 8) >> 4; in compute_infill_weights()
1305 p01 = weights[(v0 + 1) * 2 + 1]; in compute_infill_weights()
1309 i1 = (p00*w00 + p01*w01 + p10*w10 + p11*w11 + 8) >> 4; in compute_infill_weights()
1314 int p00, p01, p10, p11, i; in compute_infill_weights() local
1317 p01 = weights[v0 + 1]; in compute_infill_weights()
1321 i = (p00*w00 + p01*w01 + p10*w10 + p11*w11 + 8) >> 4; in compute_infill_weights()
/third_party/ffmpeg/libavcodec/
Dexr.c540 uint16_t *p01 = px + ox1; in wav_decode() local
546 wdec14(*p01, *p11, &i01, &i11); in wav_decode()
547 wdec14(i00, i01, px, p01); in wav_decode()
551 wdec16(*p01, *p11, &i01, &i11); in wav_decode()
552 wdec16(i00, i01, px, p01); in wav_decode()
574 uint16_t *p01 = px + ox1; in wav_decode() local
577 wdec14(*px, *p01, &i00, p01); in wav_decode()
579 wdec16(*px, *p01, &i00, p01); in wav_decode()
/third_party/boost/libs/geometry/test/algorithms/
Dline_interpolate.cpp40 double p01 = bg::get<1>(p0); in apply() local
43 BOOST_CHECK_CLOSE(p01, p11, 0.001); in apply()
/third_party/typescript/tests/baselines/reference/
DpromiseType.js87 const p01 = p.then(); constant
322 const p01 = p.then(); constant
DpromiseTypeStrictNull.js87 const p01 = p.then(); constant
322 const p01 = p.then(); constant
DpromiseType.symbols168 const p01 = p.then();
169 >p01 : Symbol(p01, Decl(promiseType.ts, 85, 5))
/third_party/typescript/tests/cases/compiler/
DpromiseType.ts87 const p01 = p.then(); constant
DpromiseTypeStrictNull.ts88 const p01 = p.then(); constant
/third_party/flutter/skia/src/core/
DSkGeometry.cpp160 Sk2s p01 = interp(p0, p1, tt); in SkChopQuadAt() local
164 dst[1] = to_point(p01); in SkChopQuadAt()
165 dst[2] = to_point(interp(p01, p12, tt)); in SkChopQuadAt()
/third_party/skia/src/core/
DSkGeometry.cpp164 Sk2s p01 = interp(p0, p1, tt); in SkChopQuadAt() local
168 dst[1] = to_point(p01); in SkChopQuadAt()
169 dst[2] = to_point(interp(p01, p12, tt)); in SkChopQuadAt()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrUtil.cpp1481 const tcu::Interval& p01, in linearInterpolate() argument
1488 p01, in linearInterpolate()

12