Home
last modified time | relevance | path

Searched refs:dudx (Results 1 – 14 of 14) sorted by relevance

/external/deqp/framework/common/
DtcuTexLookupVerifier.hpp101 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dudy, const LodPrecision& prec);
102 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dvdx, const float dudy, const f…
103 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dvdx, const float dwdx, const f…
DtcuTexLookupVerifier.cpp2120 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dvdx, const float dwdx, const flo… in computeLodBoundsFromDerivates() argument
2122 const float mu = de::max(deFloatAbs(dudx), deFloatAbs(dudy)); in computeLodBoundsFromDerivates()
2137 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dvdx, const float dudy, const flo… in computeLodBoundsFromDerivates() argument
2139 return computeLodBoundsFromDerivates(dudx, dvdx, 0.0f, dudy, dvdy, 0.0f, prec); in computeLodBoundsFromDerivates()
2142 Vec2 computeLodBoundsFromDerivates (const float dudx, const float dudy, const LodPrecision& prec) in computeLodBoundsFromDerivates() argument
2144 return computeLodBoundsFromDerivates(dudx, 0.0f, 0.0f, dudy, 0.0f, 0.0f, prec); in computeLodBoundsFromDerivates()
2178 const float dudx = float(faceSize) * 0.5f * (scdx*ma - sc*madx) / (ma*ma); in computeCubeLodBoundsFromDerivates() local
2182 const Vec2 bounds = computeLodBoundsFromDerivates(dudx, dvdx, dudy, dvdy, prec); in computeCubeLodBoundsFromDerivates()
/external/opencv3/modules/videostab/src/
Dinpainting.cpp254 float dudx = 0.f, dvdx = 0.f, dudy = 0.f, dvdy = 0.f; in operator ()() local
260 dudx = (flowX(qy0,qx0+1) - flowX(qy0,qx0-1)) * 0.5f; in operator ()()
265 dudx = flowX(qy0,qx0) - flowX(qy0,qx0-1); in operator ()()
271 dudx = flowX(qy0,qx0+1) - flowX(qy0,qx0); in operator ()()
300 uEst += w * (flowX(qy0,qx0) - dudx*dx - dudy*dy); in operator ()()
/external/mesa3d/src/mesa/swrast/
Ds_aaline.c194 GLfloat dudx = sPlane[0] / sPlane[2] * invQ * width; in compute_lambda() local
198 GLfloat r1 = dudx * dudx + dudy * dudy; in compute_lambda()
Ds_texfilter.c1645 const GLfloat dudx, const GLfloat dvdx, in sample_2d_ewa() argument
1659 GLfloat ux = dudx * scaling; in sample_2d_ewa()
1772 const GLfloat dudx, const GLfloat dvdx, in sample_2d_footprint() argument
1780 GLfloat ux = dudx * scaling; in sample_2d_footprint()
1915 GLfloat dudx = texW * ((s + dsdx) / (q + dqdx) - s * invQ); in sample_lambda_2d_aniso() local
1923 GLfloat Px2 = dudx * dudx + dvdx * dvdx; in sample_lambda_2d_aniso()
1991 dudx, dvdx, dudy, dvdy, floor(lod), rgba[i]); in sample_lambda_2d_aniso()
Ds_span.c418 GLfloat dudx = texW * ((s + dsdx) / (q + dqdx) - s * invQ); in _swrast_compute_lambda() local
422 GLfloat x = SQRTF(dudx * dudx + dvdx * dvdx); in _swrast_compute_lambda()
/external/deqp/modules/glshared/
DglsTextureTestUtil.hpp358 float computeLodFromDerivates (LodMode mode, float dudx, float dudy);
359 float computeLodFromDerivates (LodMode mode, float dudx, float dvdx, float dudy, float dvdy);
360 float computeLodFromDerivates (LodMode mode, float dudx, float dvdx, float dwdx, float dudy, flo…
DglsTextureTestUtil.cpp216 float computeLodFromDerivates (LodMode mode, float dudx, float dudy) in computeLodFromDerivates() argument
225 p = de::max(deFloatAbs(dudx), deFloatAbs(dudy)); in computeLodFromDerivates()
247 float computeLodFromDerivates (LodMode mode, float dudx, float dvdx, float dudy, float dvdy) in computeLodFromDerivates() argument
253 p = de::max(deFloatSqrt(dudx*dudx + dvdx*dvdx), deFloatSqrt(dudy*dudy + dvdy*dvdy)); in computeLodFromDerivates()
259 float mu = de::max(deFloatAbs(dudx), deFloatAbs(dudy)); in computeLodFromDerivates()
287 float computeLodFromDerivates (LodMode mode, float dudx, float dvdx, float dwdx, float dudy, float … in computeLodFromDerivates() argument
293 …p = de::max(deFloatSqrt(dudx*dudx + dvdx*dvdx + dwdx*dwdx), deFloatSqrt(dudy*dudy + dvdy*dvdy + dw… in computeLodFromDerivates()
299 float mu = de::max(deFloatAbs(dudx), deFloatAbs(dudy)); in computeLodFromDerivates()
349 float dudx = triDerivateX(u, projection, wx, width, wy/height); in computeProjectedTriLod() local
352 return computeLodFromDerivates(mode, dudx, dudy); in computeProjectedTriLod()
[all …]
/external/deqp/modules/gles2/functional/
Des2fShaderTextureFunctionTests.cpp352 …float dudx = (m_lookupSpec.maxCoord[0]-m_lookupSpec.minCoord[0])*proj*(float)m_textureSpec.width /… in initTexture() local
354 …tureTestUtil::computeLodFromDerivates(gls::TextureTestUtil::LODMODE_EXACT, dudx, 0.0f, 0.0f, dvdy); in initTexture()
397 float dudx = (c10.s - c00.s)*(float)m_textureSpec.width / (float)viewportSize[0]; in initTexture() local
400 …tureTestUtil::computeLodFromDerivates(gls::TextureTestUtil::LODMODE_EXACT, dudx, 0.0f, 0.0f, dvdy); in initTexture()
Des2fTextureUnitTests.cpp221 float dudx = derivateParts.x() * (float)textureSize.x() * screenDerivate.x(); in calculateLodMax() local
226 return deFloatLog2(de::max(de::abs(dudx), de::abs(dudy)) + de::max(de::abs(dvdx), de::abs(dvdy))); in calculateLodMax()
232 float dudx = derivateParts.x() * (float)textureSize.x() * screenDerivate.x(); in calculateLodMin() local
237 …return deFloatLog2(de::max(de::max(de::abs(dudx), de::abs(dudy)), de::max(de::abs(dvdx), de::abs(d… in calculateLodMin()
/external/deqp/modules/gles3/functional/
Des3fTextureUnitTests.cpp301 float dudx = derivateParts[0].x() * (float)textureSize.x() * screenDerivate.x(); in calculateLodMax() local
308 const float mu = de::max(de::abs(dudx), de::abs(dudy)); in calculateLodMax()
317 float dudx = derivateParts[0].x() * (float)textureSize.x() * screenDerivate.x(); in calculateLodMin() local
324 const float mu = de::max(de::abs(dudx), de::abs(dudy)); in calculateLodMin()
Des3fVertexTextureTests.cpp1298 const float dudx = (trans10.x() - trans00.x()) * (float)texWidth / dstSize.x(); in calculateLod() local
1303 return deFloatLog2(deFloatSqrt(de::max(dudx*dudx + dvdx*dvdx, dudy*dudy + dvdy*dvdy))); in calculateLod()
1639 const float dudx = (trans10.x() - trans00.x()) * (float)srcWidth / dstSize.x(); in calculateLod() local
1646 …return deFloatLog2(deFloatSqrt(de::max(dudx*dudx + dvdx*dvdx + dwdx*dwdx, dudy*dudy + dvdy*dvdy + … in calculateLod()
Des3fShaderTextureFunctionTests.cpp598 …float dudx = (m_lookupSpec.maxCoord[0]-m_lookupSpec.minCoord[0])*proj*(float)m_textureSpec.width /… in initTexture() local
600 m_lookupParams.lod = computeLodFromDerivates(DEFAULT_LOD_MODE, dudx, 0.0f, 0.0f, dvdy); in initTexture()
656 float dudx = (c10.s - c00.s)*(float)m_textureSpec.width / (float)viewportSize[0]; in initTexture() local
659 m_lookupParams.lod = computeLodFromDerivates(DEFAULT_LOD_MODE, dudx, 0.0f, 0.0f, dvdy); in initTexture()
692 …float dudx = (m_lookupSpec.maxCoord[0]-m_lookupSpec.minCoord[0])*proj*(float)m_textureSpec.width /… in initTexture() local
694 m_lookupParams.lod = computeLodFromDerivates(DEFAULT_LOD_MODE, dudx, 0.0f, 0.0f, dvdy); in initTexture()
722 …float dudx = (m_lookupSpec.maxCoord[0]-m_lookupSpec.minCoord[0])*proj*(float)m_textureSpec.width … in initTexture() local
726 …m_lookupParams.lod = computeLodFromDerivates(DEFAULT_LOD_MODE, dudx, 0.0f, dwdx, 0.0f, dvdy, dwdy); in initTexture()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_tex_sample.c1635 const float dudx, const float dvdx, in img_filter_2d_ewa() argument
1648 float ux = dudx * scaling; in img_filter_2d_ewa()
1830 float dudx = (s[QUAD_BOTTOM_RIGHT] - s[QUAD_BOTTOM_LEFT]) * s_to_u; in mip_filter_linear_aniso() local
1839 float Px2 = dudx * dudx + dvdx * dvdx; in mip_filter_linear_aniso()
1898 dudx, dvdx, dudy, dvdy, rgba); in mip_filter_linear_aniso()