Home
last modified time | relevance | path

Searched refs:centerPixel (Results 1 – 2 of 2) sorted by relevance

/external/deqp/external/openglcts/modules/gl/
Dgl4cShaderBallotTests.cpp435 glw::GLfloat* centerPixel = new glw::GLfloat[4]; in validateScreenPixelsSameColor() local
436 centerPixel[0] = -1.0f; in validateScreenPixelsSameColor()
437 centerPixel[1] = -1.0f; in validateScreenPixelsSameColor()
438 centerPixel[2] = -1.0f; in validateScreenPixelsSameColor()
439 centerPixel[3] = -1.0f; in validateScreenPixelsSameColor()
442 gl.readPixels(size.x() / 2, size.y() / 2, 1, 1, GL_RGBA, GL_FLOAT, centerPixel); in validateScreenPixelsSameColor()
444 tcu::Vec4 desiredColor(centerPixel[0], centerPixel[1], centerPixel[2], centerPixel[3]); in validateScreenPixelsSameColor()
446 delete[] centerPixel; in validateScreenPixelsSameColor()
/external/dng_sdk/source/
Ddng_lens_correction.cpp2208 const dng_point_real64 centerPixel (Lerp_real64 (bounds.t, in Prepare() local
2218 const real64 maxRadius = hypot (Max_real64 (Abs_real64 (centerPixel.v - bounds.t), in Prepare()
2219 Abs_real64 (centerPixel.v - bounds.b)) * pixelScaleV, in Prepare()
2221 Max_real64 (Abs_real64 (centerPixel.h - bounds.l), in Prepare()
2222 Abs_real64 (centerPixel.h - bounds.r))); in Prepare()
2231 fSrcOriginH = Real64ToFixed64 (-centerPixel.h * pixelScaleH / radius.h); in Prepare()
2232 fSrcOriginV = Real64ToFixed64 (-centerPixel.v * pixelScaleV / radius.v); in Prepare()