/third_party/skia/experimental/lowp-basic/ |
H A D | bilerp-study.cpp | 38 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() 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() 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) << logPixelScal in bilerp_1() 45 golden_bilerp2( float tx, float ty, int16_t p00, int16_t p10, int16_t p01, int16_t p11) golden_bilerp2() argument 56 full_res_bilerp( float tx, float ty, int16_t p00, int16_t p10, int16_t p01, int16_t p11) full_res_bilerp() argument [all...] |
/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 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() 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()
|
H A D | tcuTexLookupVerifier.cpp | 95 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.p11*a*b; 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.p11*a*b; in isTrilinearRangeValid() 372 const Vec4 c0 = (reductionMode == tcu::Sampler::MIN ? tcu::min(quad.p00, qua in isReductionValid() [all...] |
H A D | tcuFuzzyImageCompare.cpp | 142 deUint32 p00 = readUnorm8<NumChannels>(src, i0, j0); in bilinearSample() local 151 float f = (getChannel(p00, c)*(1.0f-a)*(1.0f-b)) + in bilinearSample()
|
H A D | tcuAstcUtil.cpp | 1308 const deUint32 p00 = unquantizedWeights[(i00 * numWeightsPerTexel + texelWeightNdx) & 0x3f]; 1313 dst[texelY*blockWidth + texelX].w[texelWeightNdx] = (p00*w00 + p01*w01 + p10*w10 + p11*w11 + 8) >> 4;
|
H A D | tcuTexture.cpp | 2167 Vec4 p00 = (i0UseBorder || j0UseBorder) ? lookupBorder(access.getFormat(), sampler) : lookup(access, i0, j0, offset.z()); in sampleLinear2D() local 2173 return (p00*(1.0f-a)*(1.0f-b)) + in sampleLinear2D() 2287 float p00 = execCompare(p00Clr, sampler.compare, sampler.compareChannel, ref, isFixedPointDepthFormat); in sampleLinear2DCompare() local 2293 return (p00*(1.0f-a)*(1.0f-b)) + in sampleLinear2DCompare()
|
/third_party/vk-gl-cts/modules/gles2/performance/ |
H A D | es2pTextureCases.cpp | 112 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 << TestLog::EndMessage; in init()
|
H A D | es2pShaderOperatorTests.cpp | 218 , 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], spec.p10[compNdx], spec.p11[compNdx])) in generateVertices()
|
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsShaderPerformanceMeasurer.hpp | 50 , p00 (p00_) in AttribSpec() 60 tcu::Vec4 p00; //!< Bottom left. member
|
H A D | glsShaderPerformanceMeasurer.cpp | 93 dst[getVtxIndex(x, y, gridSizeX)*numComponents + compNdx] = triQuadInterpolate(xf, yf, tcu::Vec4(spec.p00[compNdx], spec.p01[compNdx], spec.p10[compNdx], spec.p11[compNdx])); in generateVertices()
|
/third_party/vk-gl-cts/modules/gles3/performance/ |
H A D | es3pTextureCases.cpp | 120 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 << TestLog::EndMessage; in init()
|
H A D | es3pShaderOperatorTests.cpp | 218 , 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], spec.p10[compNdx], spec.p11[compNdx])) in generateVertices()
|
/third_party/vk-gl-cts/framework/delibs/deimage/ |
H A D | deImage.c | 147 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/astc-encoder/Source/ |
H A D | astcenc_find_best_partitioning.cpp | 291 int p00 = popcount(a[0] ^ b[0]); in partition_mismatch3() local 305 int v0 = astc::min(s0, s1) + p00; in partition_mismatch3() 332 int p00 = popcount(a[0] ^ b[0]); in partition_mismatch4() local 359 int v0 = p00 + astc::min(p11 + mx23, p12 + mx13, p13 + mx12); in partition_mismatch4()
|
/third_party/mesa3d/src/mesa/main/ |
H A D | texcompress_astc.cpp | 1291 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/typescript/tests/baselines/reference/ |
H A D | promiseType.js | 86 const p00 = p.catch(); 326 const p00 = p.catch();
|
H A D | promiseTypeStrictNull.js | 86 const p00 = p.catch(); 321 const p00 = p.catch();
|
/third_party/skia/src/core/ |
H A D | SkGeometry.cpp | 498 float4 p00, p11, p22, p33, T; 499 p00.lo = p00.hi = skvx::bit_pun<float2>(src[0]); 506 float4 ab = unchecked_mix(p00, p11, T); 514 dst[0] = skvx::bit_pun<SkPoint>(p00.lo);
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/ |
H A D | vktYCbCrUtil.cpp | 1510 const tcu::Interval& p00, 1517 p00,
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ycbcr/ |
H A D | vktYCbCrUtil.cpp | 1509 const tcu::Interval& p00, 1516 p00,
|