/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
BigDecimalCompareTest.java | 267 int cScale = 41; 270 BigDecimal cNumber = new BigDecimal(new BigInteger(c), cScale); 283 int cScale = 24; 286 BigDecimal cNumber = new BigDecimal(new BigInteger(c), cScale); 299 int cScale = 41; 302 BigDecimal cNumber = new BigDecimal(new BigInteger(c), cScale); 315 int cScale = 41; 318 BigDecimal cNumber = new BigDecimal(new BigInteger(c), cScale); 331 int cScale = 41; 334 BigDecimal cNumber = new BigDecimal(new BigInteger(c), cScale); [all...] |
BigDecimalArithmeticTest.java | 41 int cScale = 10; 46 assertEquals("incorrect scale", cScale, result.scale()); 58 int cScale = -37; 64 assertEquals("incorrect scale", cScale, result.scale()); 76 int cScale = -10; 81 assertEquals("incorrect scale", cScale, result.scale()); 93 int cScale = -57; 99 assertEquals("incorrect scale", cScale, result.scale()); 111 int cScale = 15; 116 assertEquals("incorrect scale", cScale, result.scale()) [all...] |
BigDecimalScaleOperationsTest.java | 36 int cScale = 0; 38 assertTrue("incorrect scale", aNumber.scale() == cScale); 47 int cScale = -10; 49 assertTrue("incorrect scale", aNumber.scale() == cScale); 58 int cScale = 10; 60 assertTrue("incorrect scale", aNumber.scale() == cScale); 69 int cScale = 0; 71 assertTrue("incorrect scale", aNumber.scale() == cScale);
|
/external/opencv3/modules/stitching/src/cuda/ |
build_warp_maps.cu | 63 __constant__ float cscale; 74 float x_ = u / cscale - ct[0]; 75 float y_ = v / cscale - ct[1]; 95 u /= cscale; 97 float y_ = v / cscale; 118 v /= cscale; 119 u /= cscale; 162 cudaSafeCall(cudaMemcpyToSymbol(build_warp_maps::cscale, &scale, sizeof(float))); 183 cudaSafeCall(cudaMemcpyToSymbol(build_warp_maps::cscale, &scale, sizeof(float))); 204 cudaSafeCall(cudaMemcpyToSymbol(build_warp_maps::cscale, &scale, sizeof(float))) [all...] |
/external/opencv3/modules/imgproc/src/ |
gabor.cpp | 79 double cscale = CV_PI*2/lambd; local 87 double v = scale*std::exp(ex*xr*xr + ey*yr*yr)*cos(cscale*xr + psi);
|
/device/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/test/ |
mm_jpegdec_test.c | 200 void chromaScale(mm_jpeg_color_format format, double *cScale) 227 *cScale = scale; 234 double cScale; 247 chromaScale(p_input->format, &cScale); 248 p_obj->output.size = (size_t)((double)size * cScale); 273 (uint32_t)((double)size * (cScale - 1.0));
|
/device/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/test/ |
mm_jpegdec_test.c | 200 void chromaScale(mm_jpeg_color_format format, double *cScale) 227 *cScale = scale; 234 double cScale; 247 chromaScale(p_input->format, &cScale); 248 p_obj->output.size = (size_t)((double)size * cScale); 273 (uint32_t)((double)size * (cScale - 1.0));
|
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/test/ |
mm_jpegdec_test.c | 199 void chromaScale(mm_jpeg_color_format format, float *cScale) 226 *cScale = scale; 233 float cScale; 246 chromaScale(p_input->format, &cScale); 247 p_obj->output.size = size * cScale; 271 p_params->dest_buf[0].offset.mp[1].len = size * (cScale-1.0);
|
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/test/ |
mm_jpegdec_test.c | 208 void chromaScale(mm_jpeg_color_format format, double *cScale) 235 *cScale = scale; 242 double cScale; 255 chromaScale(p_input->format, &cScale); 256 p_obj->output.size = (size_t)((double)size * cScale); 281 (uint32_t)((double)size * (cScale - 1.0));
|
/external/deqp/modules/gles3/functional/ |
es3fTextureFilteringTests.cpp | 177 const tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; 182 tcu::Vec4 gMin = tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; 183 tcu::Vec4 gMax = tcu::Vec4(1.0f, 1.0f, 1.0f, 0.0f)*cScale + cBias; 198 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); 455 tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; 472 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), gradients[face][0]*cScale + cBias, gradients[face][1]*cScale + cBias); 487 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias) [all...] |
es3fVertexTextureTests.cpp | 592 const Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; 597 const Vec4 gMin = Vec4(-0.5f, -0.5f, -0.5f, 2.0f)*cScale + cBias; 598 const Vec4 gMax = Vec4( 1.0f, 1.0f, 1.0f, 0.0f)*cScale + cBias; 613 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); 901 const Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; [all...] |
es3fTextureShadowTests.cpp | 488 tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; 509 tcu::fillWithComponentGradients(m_gradientTex->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), gradients[face][0]*cScale + cBias, gradients[face][1]*cScale + cBias); 524 tcu::fillWithGrid(m_gridTex->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); 779 tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; 790 tcu::Vec4 gMin = tcu::Vec4(-0.5f, -0.5f, -0.5f, 2.0f)*cScale + cBias; 791 tcu::Vec4 gMax = tcu::Vec4( 1.0f, 1.0f, 1.0f, 0.0f)*cScale + cBias; 806 tcu::fillWithGrid(m_gridTex->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias) [all...] |
es3fFboInvalidateTests.cpp | 468 tcu::Vec4 cScale = colorFmtInfo.valueMax-colorFmtInfo.valueMin; 508 flatShader.setColor(*getCurrentContext(), flatShaderID, Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias); 519 flatShader.setColor(*getCurrentContext(), flatShaderID, Vec4(0.0f, 1.0f, 0.0f, 1.0f)*cScale + cBias); 542 flatShader.setColor(*getCurrentContext(), flatShaderID, Vec4(0.0f, 0.0f, 1.0f, 1.0f)*cScale + cBias); 835 tcu::Vec4 cScale = colorFmtInfo.valueMax-colorFmtInfo.valueMin; 871 glClearBufferfv (GL_COLOR, 0, (Vec4(0.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias).getPtr()); [all...] |
es3fTextureSpecificationTests.cpp | [all...] |
/external/deqp/modules/gles2/accuracy/ |
es2aTextureFilteringTests.cpp | 146 tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; 151 tcu::Vec4 gMin = tcu::Vec4(-0.5f, -0.5f, -0.5f, 2.0f)*cScale + cBias; 152 tcu::Vec4 gMax = tcu::Vec4( 1.0f, 1.0f, 1.0f, 0.0f)*cScale + cBias; 167 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); 407 tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; 424 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), gradients[face][0]*cScale + cBias, gradients[face][1]*cScale + cBias); 439 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias) [all...] |
/external/deqp/modules/gles2/functional/ |
es2fTextureFilteringTests.cpp | 177 tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; 182 tcu::Vec4 gMin = tcu::Vec4(-0.5f, -0.5f, -0.5f, 2.0f)*cScale + cBias; 183 tcu::Vec4 gMax = tcu::Vec4( 1.0f, 1.0f, 1.0f, 0.0f)*cScale + cBias; 198 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); 440 tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; 457 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), gradients[face][0]*cScale + cBias, gradients[face][1]*cScale + cBias); 472 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias) [all...] |
es2fShaderTextureFunctionTests.cpp | 334 Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; 343 Vec4 colorA = cBias + cScale*Vec4(fA, fB, fA, fB); 344 Vec4 colorB = cBias + cScale*Vec4(fB, fA, fB, fA); 364 Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; 380 Vec4 colorA = cBias + cScale*f.swizzle(swzA[0], swzA[1], swzA[2], swzA[3]); 381 Vec4 colorB = cBias + cScale*f.swizzle(swzB[0], swzB[1], swzB[2], swzB[3]);
|
es2fVertexTextureTests.cpp | 491 const Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; 496 const Vec4 gMin = Vec4(-0.5f, -0.5f, -0.5f, 2.0f)*cScale + cBias; 497 const Vec4 gMax = Vec4( 1.0f, 1.0f, 1.0f, 0.0f)*cScale + cBias; 512 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); 797 const Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; 814 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), gradients[face][0]*cScale + cBias, gradients[face][1]*cScale + cBias); 829 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias) [all...] |
es2fTextureUnitTests.cpp | 685 Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; 716 tcu::fillWithGrid(access, curCellSize, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); [all...] |
/external/deqp/modules/gles3/accuracy/ |
es3aTextureFilteringTests.cpp | 137 tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; 142 tcu::Vec4 gMin = tcu::Vec4(-0.5f, -0.5f, -0.5f, 2.0f)*cScale + cBias; 143 tcu::Vec4 gMax = tcu::Vec4( 1.0f, 1.0f, 1.0f, 0.0f)*cScale + cBias; 158 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); 394 tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; 411 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), gradients[face][0]*cScale + cBias, gradients[face][1]*cScale + cBias); 426 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias) [all...] |
/external/deqp/modules/gles31/functional/ |
es31fTextureFilteringTests.cpp | 206 const tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; 233 const tcu::Vec4 gMin = tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f).swizzle(swz[0],swz[1],swz[2],swz[3])*cScale + cBias; 234 const tcu::Vec4 gMax = tcu::Vec4(1.0f, 1.0f, 1.0f, 0.0f).swizzle(swz[0],swz[1],swz[2],swz[3])*cScale + cBias; 255 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias);
|
es31fTextureSpecificationTests.cpp | 442 Vec4 cScale = m_texFormatInfo.valueMax-m_texFormatInfo.valueMin; 444 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; 445 Vec4 colorB = Vec4(0.0f, 1.0f, 0.0f, 1.0f)*cScale + cBias; 548 Vec4 cScale = m_texFormatInfo.valueMax-m_texFormatInfo.valueMin; 550 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; 551 Vec4 colorB = Vec4(0.0f, 1.0f, 0.0f, 1.0f)*cScale + cBias; [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
GeometryMathUtils.java | 351 float cScale = originalBounds.width() / rCrop.width(); 353 cScale = originalBounds.height() / rCrop.height(); 359 scale = scale * cScale;
|
/external/mesa3d/src/mesa/swrast/ |
s_points.c | 311 const GLfloat cscale = 1.0F / (rmax2 - rmin2); local 335 coverage = 1.0F - (dist2 - rmin2) * cscale;
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_setup.c | 1295 const float cscale = 1.0F \/ (rmax2 - rmin2); local [all...] |