/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 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() 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() 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) << 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() 101 deUint32 p01 = readRGBA8Raw(access, x0, y1); 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 | 96 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.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, quad.p01) in isReductionValid() [all...] |
H A D | tcuFuzzyImageCompare.cpp | 144 deUint32 p01 = readUnorm8<NumChannels>(src, i0, j1); in bilinearSample() local 153 (getChannel(p01, c)*(1.0f-a)*( b)) + in bilinearSample()
|
H A D | tcuAstcUtil.cpp | 1309 const deUint32 p01 = unquantizedWeights[(i01 * 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 | 2169 Vec4 p01 = (i0UseBorder || j1UseBorder) ? lookupBorder(access.getFormat(), sampler) : lookup(access, i0, j1, offset.z()); in sampleLinear2D() local 2175 (p01*(1.0f-a)*( b)) + in sampleLinear2D() 2289 float p01 = execCompare(p01Clr, sampler.compare, sampler.compareChannel, ref, isFixedPointDepthFormat); in sampleLinear2DCompare() local 2295 (p01*(1.0f-a)*( b)) + in sampleLinear2DCompare()
|
/third_party/vk-gl-cts/modules/gles2/performance/ |
H A D | es2pTextureCases.cpp | 114 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 << TestLog::EndMessage; in init()
|
H A D | es2pShaderOperatorTests.cpp | 219 , 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], spec.p10[compNdx], spec.p11[compNdx])) in generateVertices()
|
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsShaderPerformanceMeasurer.hpp | 51 , p01 (p01_) in AttribSpec() 61 tcu::Vec4 p01; //!< Bottom right. 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 | 122 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 << TestLog::EndMessage; in init()
|
H A D | es3pShaderOperatorTests.cpp | 219 , 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], spec.p10[compNdx], spec.p11[compNdx])) in generateVertices()
|
/third_party/vk-gl-cts/framework/delibs/deimage/ |
H A D | deImage.c | 149 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/astc-encoder/Source/ |
H A D | astcenc_find_best_partitioning.cpp | 292 int p01 = popcount(a[0] ^ b[1]); in partition_mismatch3() local 309 int v1 = astc::min(s2, s3) + p01; in partition_mismatch3() 333 int p01 = popcount(a[0] ^ b[1]); in partition_mismatch4() local 360 int v1 = p01 + astc::min(p10 + mx23, p12 + mx03, p13 + mx02); in partition_mismatch4()
|
H A D | tinyexr.h | 8080 unsigned short *p01 = px + ox1; in wav2Encode() local 8089 wenc14(*px, *p01, i00, i01); in wav2Encode() 8092 wenc14(i01, i11, *p01, *p11); in wav2Encode() 8094 wenc16(*px, *p01, i00, i01); in wav2Encode() 8097 wenc16(i01, i11, *p01, *p11); in wav2Encode() 8126 unsigned short *p01 = px + ox1; in wav2Encode() local 8129 wenc14(*px, *p01, i00, *p01); in wav2Encode() 8131 wenc16(*px, *p01, i00, *p01); in wav2Encode() 8199 unsigned short *p01 = px + ox1; wav2Decode() local 8245 unsigned short *p01 = px + ox1; wav2Decode() local [all...] |
/third_party/skia/src/gpu/tessellate/ |
H A D | WangsFormula.h | 150 float4 p01 = float4::Load(pts); in cubic_pow4() local 153 float4 v = -2*p12 + p01 + p23; in cubic_pow4()
|
/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 1294 p01 = weights[(v0 + 1) * 2]; in compute_infill_weights() 1297 i0 = (p00*w00 + p01*w01 + p10*w10 + p11*w11 + 8) >> 4; in compute_infill_weights() 1299 p01 = weights[(v0 + 1) * 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 1311 p01 = weights[v0 + 1]; in compute_infill_weights() 1315 i = (p00*w00 + p01*w01 + p10*w10 + p11*w11 + 8) >> 4; in compute_infill_weights()
|
/third_party/ffmpeg/libavcodec/ |
H A D | exr.c | 541 uint16_t *p01 = px + ox1; in wav_decode() local 547 wdec14(*p01, *p11, &i01, &i11); in wav_decode() 548 wdec14(i00, i01, px, p01); in wav_decode() 552 wdec16(*p01, *p11, &i01, &i11); in wav_decode() 553 wdec16(i00, i01, px, p01); in wav_decode() 575 uint16_t *p01 = px + ox1; in wav_decode() local 578 wdec14(*px, *p01, &i00, p01); in wav_decode() 580 wdec16(*px, *p01, &i00, p01); in wav_decode() [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | promiseType.js | 87 const p01 = p.then(); 327 const p01 = p.then();
|
H A D | promiseTypeStrictNull.js | 87 const p01 = p.then(); 322 const p01 = p.then();
|
/third_party/skia/src/core/ |
H A D | SkGeometry.cpp | 164 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/ |
H A D | vktYCbCrUtil.cpp | 1512 const tcu::Interval& p01, 1519 p01,
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ycbcr/ |
H A D | vktYCbCrUtil.cpp | 1511 const tcu::Interval& p01, 1518 p01,
|