Home
last modified time | relevance | path

Searched refs:p00 (Results 1 – 25 of 31) 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
39 return (1.0f-tx) * (1.0f-ty) * p00 in golden_bilerp()
46 float tx, float ty, int16_t p00, int16_t p10, int16_t p01, int16_t p11) { in golden_bilerp2() argument
50 double top = (1.0 - dtx) * p00 + dtx * p10; 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
59 int64_t top = ftx * (p10 - p00) + 65536 * p00; 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
73 I16 qw = (p10 - p00) << logPixelScale; in bilerp_1()
74 U16 qm = (p10 + p00) << logPixelScale; in bilerp_1()
100 for (int p00 : 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()
99 deUint32 p00 = readRGBA8Raw(access, x0, y0); 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.cpp95 Vec4 p00; //!< (0, 0) member
103 dst.p00 = lookup<float>(level, sampler, x0, y0, z); in lookupQuad()
159 const Vec4 d0 = abs(quad.p10 - quad.p00); in computeBilinearSearchStepFromFloatQuad()
160 const Vec4 d1 = abs(quad.p01 - quad.p00); 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()
305 const Vec4 c0 = quad.p00*(1.0f - a) + quad.p10*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 …4 c0 = (reductionMode == tcu::Sampler::MIN ? tcu::min(quad.p00, quad.p01) : tcu::max(quad.p00, qua… in isReductionValid()
[all …]
DtcuFuzzyImageCompare.cpp142 deUint32 p00 = readUnorm8<NumChannels>(src, i0, j0); in bilinearSample() local
151 float f = (getChannel(p00, c)*(1.0f-a)*(1.0f-b)) + in bilinearSample()
DtcuTexture.cpp2047 …Vec4 p00 = (i0UseBorder || j0UseBorder) ? lookupBorder(access.getFormat(), sampler) : lookup(acces… in sampleLinear2D() local
2053 return (p00*(1.0f-a)*(1.0f-b)) + in sampleLinear2D()
2167 …float p00 = execCompare(p00Clr, sampler.compare, sampler.compareChannel, ref, isFixedPointDepthFor… in sampleLinear2DCompare() local
2173 return (p00*(1.0f-a)*(1.0f-b)) + in sampleLinear2DCompare()
DtcuAstcUtil.cpp1308 const deUint32 p00 = unquantizedWeights[(i00 * numWeightsPerTexel + texelWeightNdx) & 0x3f]; in interpolateWeights() local
1313 …dst[texelY*blockWidth + texelX].w[texelWeightNdx] = (p00*w00 + p01*w01 + p10*w10 + p11*w11 + 8) >>… in interpolateWeights()
/third_party/vk-gl-cts/modules/gles2/performance/
Des2pTextureCases.cpp112 Vec2 p00 = (m_coordTransform * Vec3(0.0f, 0.0f, 1.0f)).swizzle(0,1); in init() local
117 m_attributes.push_back(AttribSpec("a_coords", Vec4(p00.x(), p00.y(), 0.0f, 0.0f), in init()
124 …log << TestLog::Message << "Coords: " << p00 << ", " << p10 << ", " << p01 << ", " << p11 << TestL… in init()
Des2pShaderOperatorTests.cpp218 , p00 (p00_) in AttribSpec()
228 tcu::Vec4 p00; //!< Bottom left. 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.cpp120 Vec2 p00 = (m_coordTransform * Vec3(0.0f, 0.0f, 1.0f)).swizzle(0,1); in init() local
125 m_attributes.push_back(AttribSpec("a_coords", Vec4(p00.x(), p00.y(), 0.0f, 0.0f), in init()
132 …log << TestLog::Message << "Coords: " << p00 << ", " << p10 << ", " << p01 << ", " << p11 << TestL… in init()
Des3pShaderOperatorTests.cpp218 , p00 (p00_) in AttribSpec()
228 tcu::Vec4 p00; //!< Bottom left. 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.hpp50 , p00 (p00_) in AttribSpec()
60 tcu::Vec4 p00; //!< Bottom left. member
DglsShaderPerformanceMeasurer.cpp93 …izeX)*numComponents + compNdx] = triQuadInterpolate(xf, yf, tcu::Vec4(spec.p00[compNdx], spec.p01[… in generateVertices()
/third_party/vk-gl-cts/framework/delibs/deimage/
DdeImage.c147 deARGB p00 = deImage_getPixel(srcImage, x0, y0); in deImage_scale() local
151 deARGB pix = deARGB_add(deARGB_add(deARGB_multiply(p00, f00), deARGB_multiply(p10, f10)), in deImage_scale()
/third_party/mesa3d/src/mesa/main/
Dtexcompress_astc.cpp1291 int p00, p01, p10, p11, i0, i1; in compute_infill_weights() local
1293 p00 = weights[(v0) * 2]; in compute_infill_weights()
1297 i0 = (p00*w00 + p01*w01 + p10*w10 + p11*w11 + 8) >> 4; in compute_infill_weights()
1298 p00 = weights[(v0) * 2 + 1]; in compute_infill_weights()
1303 i1 = (p00*w00 + p01*w01 + p10*w10 + p11*w11 + 8) >> 4; in compute_infill_weights()
1308 int p00, p01, p10, p11, i; in compute_infill_weights() local
1310 p00 = weights[v0]; in compute_infill_weights()
1315 i = (p00*w00 + p01*w01 + p10*w10 + p11*w11 + 8) >> 4; in compute_infill_weights()
/third_party/skia/src/core/
DSkGeometry.cpp498 float4 p00, p11, p22, p33, T; in SkChopCubicAt() local
499 p00.lo = p00.hi = skvx::bit_pun<float2>(src[0]); in SkChopCubicAt()
506 float4 ab = unchecked_mix(p00, p11, T); in SkChopCubicAt()
514 dst[0] = skvx::bit_pun<SkPoint>(p00.lo); in SkChopCubicAt()
/third_party/typescript/tests/baselines/reference/
DpromiseType.js86 const p00 = p.catch(); constant
321 const p00 = p.catch(); constant
DpromiseTypeStrictNull.js86 const p00 = p.catch(); constant
321 const p00 = p.catch(); constant
DpromiseTypeStrictNull.symbols162 const p00 = p.catch();
163 >p00 : Symbol(p00, Decl(promiseTypeStrictNull.ts, 84, 5))
DpromiseType.symbols162 const p00 = p.catch();
163 >p00 : Symbol(p00, Decl(promiseType.ts, 84, 5))
/third_party/typescript/tests/cases/compiler/
DpromiseTypeStrictNull.ts87 const p00 = p.catch(); constant
DpromiseType.ts86 const p00 = p.catch(); constant
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ycbcr/
DvktYCbCrUtil.cpp1509 const tcu::Interval& p00, in linearInterpolate() argument
1516 p00, in linearInterpolate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrUtil.cpp1509 const tcu::Interval& p00, in linearInterpolate() argument
1516 p00, in linearInterpolate()
/third_party/skia/third_party/externals/opengl-registry/extensions/OES/
DOES_texture_compression_astc.txt1778 p00 = decode_weight(v0);
1784 stream. The values p00 to p11 are the weights at the corner of the square
1792 i = (p00*w00 + p01*w01 + p10*w10 + p11*w11 + 8) >> 4;
/third_party/openGLES/extensions/KHR/
DKHR_texture_compression_astc_hdr.txt1673 p00 = decode_weight(v0);
1679 stream. The values p00 to p11 are the weights at the corner of the square
1687 i = (p00*w00 + p01*w01 + p10*w10 + p11*w11 + 8) >> 4;

12