/external/deqp/modules/glshared/ |
glsShaderPerformanceMeasurer.cpp | 90 float yf = (float)y / (float)gridSizeY; local 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]));
|
glsRandomShaderCase.cpp | 164 float yf = (float)y / (float)m_gridHeight; local 172 dst[1] = 1.0f + yf * -2.0f; 184 rsg::getVertexInterpolationCoords(xd, yd, xf, yf, compNdx);
|
/external/chromium_org/gpu/command_buffer/tests/ |
gl_pointcoord_unittest.cc | 135 GLint yf = s2p(point_y + v * point_width); local 137 GLfloat t = 0.5 + (yf + 0.5 - yw) / max_point_size; 144 GLTestHelper::CheckPixels(xf, yf, 1, 1, 4, color);
|
/external/chromium_org/third_party/libyuv/source/ |
scale_argb.cc | 259 int yf = (y >> 8) & 255; local 260 InterpolateRow(row, src, src_stride, clip_src_width, yf); 399 int yf = (y >> 8) & 255; local 400 InterpolateRow(dst_argb, rowptr, rowstride, dst_width * 4, yf); 610 int yf = (y >> 8) & 255; local 611 InterpolateRow(dst_argb, rowptr, rowstride, dst_width * 4, yf);
|
scale.cc | 951 int yf = (y >> 8) & 255; local 1053 int yf = (y >> 8) & 255; local 1196 int yf = (y >> 8) & 255; local 1335 int yf = (y >> 8) & 255; local [all...] |
scale_common.cc | 939 int yf; local 944 yf = filtering ? ((y >> 8) & 255) : 0; 946 src_stride, dst_width_bytes, yf); 1021 int yf; local 1026 yf = filtering ? ((y >> 8) & 255) : 0; 1028 src_stride, dst_width_words, yf); [all...] |
/external/eigen/bench/ |
bench_norm.cpp | 237 double yf = basef * internal::abs(internal::random<double>()); local 239 VectorXf vf = VectorXf::Ones(s) * yf; 242 std::cout << "reference\t" << internal::sqrt(double(s))*yf << "\t" << internal::sqrt(double(s))*yd << "\n"; 262 //std::cout << "reference\t" << internal::sqrt(double(s))*yf << "\t" << internal::sqrt(double(s))*yd << "\n";
|
/packages/apps/Camera2/jni/ |
tinyplanet.cc | 107 float yf = (y - output_height / 2.0f) / image_scale; local 110 float r = hypotf(xf, yf); 111 float theta = angle+atan2(yf, xf);
|
/packages/apps/Gallery2/jni/filters/ |
tinyplanet.cc | 106 float yf = (y - output_height / 2.0f) / image_scale; local 109 float r = hypotf(xf, yf); 110 float theta = angle+atan2(yf, xf);
|
/external/deqp/modules/gles3/stress/ |
es3sLongRunningShaderTests.cpp | 255 const float yf = 2.0f * ((float(yi) + 0.5f) / float(height)) - 1.0f; local 257 positions[pointNdx] = Vec2(xf, yf);
|
/frameworks/rs/cpu_ref/ |
rsCpuIntrinsicResize.cpp | 85 float xf, float yf, int width) { 114 float4 p = cubicInterpolate(p0, p1, p2, p3, yf); 120 float xf, float yf, int width) { 149 float2 p = cubicInterpolate(p0, p1, p2, p3, yf); 155 float xf, float yf, int width) { 173 float p = cubicInterpolate(p0, p1, p2, p3, yf); 192 float yf = p->y * cp->scaleY; local 193 int starty = (int) floor(yf - 2); 194 yf = yf - floor(yf) 232 float yf = p->y * cp->scaleY; local 272 float yf = p->y * cp->scaleY; local [all...] |
/hardware/ti/omap4-aah/camera/ |
NV12_resize.cpp | 58 mmUint16 xf, yf; local 120 yf = (mmUchar) ((mmUint32)((row*resizeFactorY) >> 6) & 0x7); 145 w = bWeights[xf][yf][0]; 152 w = bWeights[xf][yf][1]; 159 w = bWeights[xf][yf][3]; 166 w = bWeights[xf][yf][2]; 196 yf = (mmUchar) ((mmUint32)((row*resizeFactorY) >> 6) & 0x7); 226 w = bWeights[xf][yf][0]; 237 w = bWeights[xf][yf][1]; 248 w = bWeights[xf][yf][3] [all...] |
/hardware/ti/omap4xxx/camera/ |
NV12_resize.c | 47 mmUint16 xf, yf; local 118 yf = (mmUchar) ((mmUint32)((row*resizeFactorY) >> 6) & 0x7); 147 w = bWeights[xf][yf][0]; 154 w = bWeights[xf][yf][1]; 161 w = bWeights[xf][yf][3]; 168 w = bWeights[xf][yf][2]; 200 yf = (mmUchar) ((mmUint32)((row*resizeFactorY) >> 6) & 0x7); 235 w = bWeights[xf][yf][0]; 246 w = bWeights[xf][yf][1]; 257 w = bWeights[xf][yf][3] [all...] |
/external/deqp/framework/common/ |
tcuTestLog.cpp | 200 float yf = ((float)y + 0.5f) / (float)logImage.getHeight(); local 202 Vec4 s = access.sample2D(sampler, sampler.minFilter, xf, yf, 0)*pixelScale + pixelBias; 240 float yf = ((float)y + 0.5f) / (float)h; local 244 Vec4 s = access.sample3D(sampler, sampler.minFilter, xf, yf, zf);
|
/external/deqp/framework/randomshaders/ |
rsgProgramExecutor.cpp | 248 float yf = (float)y / (float)(gridVtxHeight-1); local 250 interpolateVertexInput(access, vtxNdx-packetStart, input->getValueRange(), xf, yf);
|
/external/deqp/modules/egl/ |
teglNativeCoordMappingTests.cpp | 219 const float yf = (float(2.0f * y) / height) - 1.0f; local 221 return tcu::Vec2(xf, yf);
|
teglGLES2SharingTests.cpp | 490 float yf = ((float)(y-y1) + 0.5f) / (float)(y2 - y1); local 491 bool tri = yf >= xf; 496 float t = tri ? 1.0f-yf : yf; [all...] |
/external/deqp/modules/gles2/functional/ |
es2fDepthRangeTests.cpp | 231 float yf = ((float)y + 0.5f) / referenceFrame.getHeight(); local 238 float d = depthRangeTransform(triQuadInterpolate(xf, yf, m_depthCoord), m_zNear, m_zFar); 249 float rd = 1.0f - (xh + yf) * 0.5f; 250 float d = depthRangeTransform(triQuadInterpolate(xf, yf, m_depthCoord), m_zNear, m_zFar); 381 float yf = ((float)y + 0.5f) / (float)referenceFrame.getHeight(); local 382 float d = depthRangeTransform(triQuadInterpolate(xf, yf, m_depthCoord), m_zNear, m_zFar);
|
es2fShaderBuiltinVarTests.cpp | 330 const float yf = (float(refImg.getHeight()-y-1)+.5f) / float(refImg.getHeight()); local 331 const float z = (xf + yf) / 2.0f; 422 const float yf = (float(refImg.getHeight()-y-1)+.5f) / float(refImg.getHeight()); local 423 const float oow = ((xf + yf) < 1.0f) 424 ? projectedTriInterpolate(tcu::Vec3(w[0], w[1], w[2]), tcu::Vec3(w[0], w[1], w[2]), xf, yf) 425 : projectedTriInterpolate(tcu::Vec3(w[3], w[2], w[1]), tcu::Vec3(w[3], w[2], w[1]), 1.0f-xf, 1.0f-yf); 538 const float yf = float((h-yo-1)+0.5f) / float(h); local 539 const tcu::Vec4 color (xf, yf, 0.0f, 1.0f);
|
/external/deqp/modules/gles3/functional/ |
es3fFragDepthTests.cpp | 238 float yf = ((float)y + 0.5f) / referenceFrame.getHeight(); local 245 float d = m_evalFunc(Vec2(xf, yf)); 256 float rd = 1.0f - (xh + yf) * 0.5f; 257 float d = m_evalFunc(Vec2(xf, yf)); 407 float yf = ((float)y + 0.5f) / (float)referenceFrame.getHeight(); local 408 float d = m_evalFunc(Vec2(xf, yf));
|
es3fShaderBuiltinVarTests.cpp | 356 const float yf = (float(refImg.getHeight()-y-1)+.5f) / float(refImg.getHeight()); local 357 const float z = (xf + yf) / 2.0f; 451 const float yf = (float(refImg.getHeight()-y-1)+.5f) / float(refImg.getHeight()); local 452 const float oow = ((xf + yf) < 1.0f) 453 ? projectedTriInterpolate(tcu::Vec3(w[0], w[1], w[2]), tcu::Vec3(w[0], w[1], w[2]), xf, yf) 454 : projectedTriInterpolate(tcu::Vec3(w[3], w[2], w[1]), tcu::Vec3(w[3], w[2], w[1]), 1.0f-xf, 1.0f-yf); 570 const float yf = float((h-yo-1)+0.5f) / float(h); local 571 const tcu::Vec4 color (xf, yf, 0.0f, 1.0f); [all...] |
es3fFragmentOutputTests.cpp | 409 const float yf = ((float)y - (float)cellY*cellH + 0.5f) / cellH; local 414 const bool tri = xf + yf >= 1.0f; 419 const float t = tri ? 1.0f-yf : yf; 548 float yf = (float)y / (float)(gridHeight-1); local 551 positions[(y*gridWidth + x)*4 + 1] = 2.0f*yf - 1.0f; 601 float yf = (float)y / (float)(gridHeight-1); local 603 float f0 = (xf + yf) * 0.5f; 604 float f1 = 0.5f + (xf - yf) * 0.5f; [all...] |
es3fShaderDerivateTests.cpp | 966 const float yf = (float(y)+0.5f) / float(level0.getHeight()); local 967 const tcu::Vec4 s = tcu::Vec4(xf, yf, (xf+yf)/2.0f, 1.0f - (xf+yf)/2.0f); [all...] |
/external/libyuv/files/source/ |
scale_argb.cc | 892 int yf = (y >> 8) & 255; local 894 ScaleARGBFilterRows(row, src, src_stride, src_width, yf); [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_processing/aec/ |
aec_core.c | 271 static void FilterFar(AecCore* aec, float yf[2][PART_LEN1]) { 283 yf[0][j] += MulRe(aec->xfBuf[0][xPos + j], 287 yf[1][j] += MulIm(aec->xfBuf[0][xPos + j], 825 float xf[2][PART_LEN1], yf[2][PART_LEN1], ef[2][PART_LEN1]; local 947 memset(yf, 0, sizeof(yf)); 950 WebRtcAec_FilterFar(aec, yf); 953 fft[0] = yf[0][0]; 954 fft[1] = yf[0][PART_LEN]; 956 fft[2 * i] = yf[0][i] [all...] |