/external/mesa3d/src/mesa/main/ |
drawtex.c | 65 _mesa_DrawTexfvOES(const GLfloat *coords) 68 draw_texture(ctx, coords[0], coords[1], coords[2], coords[3], coords[4]); 82 _mesa_DrawTexivOES(const GLint *coords) 85 draw_texture(ctx, (GLfloat) coords[0], (GLfloat) coords[1], 86 (GLfloat) coords[2], (GLfloat) coords[3], (GLfloat) coords[4]) [all...] |
drawtex.h | 35 _mesa_DrawTexfvOES(const GLfloat *coords); 41 _mesa_DrawTexivOES(const GLint *coords); 47 _mesa_DrawTexsvOES(const GLshort *coords); 53 _mesa_DrawTexxv(const GLfixed *coords);
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
CachedPathIteratorFactory.java | 19 * Coordinates or coords arrays store segment coordinates. They use the same format as 121 private static void quadCurveSegment(float[] coords, float t0, float t1) { 125 float mx = mu * mu * coords[0] + 2 * mu * mt * coords[2] + mt * mt * coords[4]; 126 float my = mu * mu * coords[1] + 2 * mu * mt * coords[3] + mt * mt * coords[5]; 131 // coords at t0 132 coords[0] = coords[0] * u0 * u0 + coords[2] * 2 * t0 * u0 + coords[4] * t0 * t0 [all...] |
/external/eigen/bench/ |
sparse_setter.cpp | 47 EIGEN_DONT_INLINE Scalar* setinnerrand_eigen(const Coordinates& coords, const Values& vals); 48 EIGEN_DONT_INLINE Scalar* setrand_eigen_dynamic(const Coordinates& coords, const Values& vals); 49 EIGEN_DONT_INLINE Scalar* setrand_eigen_compact(const Coordinates& coords, const Values& vals); 50 EIGEN_DONT_INLINE Scalar* setrand_eigen_sumeq(const Coordinates& coords, const Values& vals); 51 EIGEN_DONT_INLINE Scalar* setrand_eigen_gnu_hash(const Coordinates& coords, const Values& vals); 52 EIGEN_DONT_INLINE Scalar* setrand_eigen_google_dense(const Coordinates& coords, const Values& vals); 53 EIGEN_DONT_INLINE Scalar* setrand_eigen_google_sparse(const Coordinates& coords, const Values& vals); 54 EIGEN_DONT_INLINE Scalar* setrand_scipy(const Coordinates& coords, const Values& vals); 55 EIGEN_DONT_INLINE Scalar* setrand_ublas_mapped(const Coordinates& coords, const Values& vals); 56 EIGEN_DONT_INLINE Scalar* setrand_ublas_coord(const Coordinates& coords, const Values& vals) 68 Coordinates coords; local [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
matrix_diag_op.h | 37 operator()(const Eigen::array<Eigen::DenseIndex, 2>& coords) const { 39 {coords[0], coords[1], coords[1]}); 55 operator()(const Eigen::array<Eigen::DenseIndex, 3>& coords) const { 56 if (coords[2] != coords[1]) return T(); 58 Eigen::array<Eigen::DenseIndex, 2> diag_coords({coords[0], coords[1]});
|
reverse_sequence_op.h | 40 operator()(const Eigen::array<Eigen::DenseIndex, Dims>& coords) const { 41 Eigen::array<Eigen::DenseIndex, Dims> new_coords = coords; 42 if (coords[seq_dim_] < seq_lengths_(coords[batch_dim_])) { 44 seq_lengths_(coords[batch_dim_]) - coords[seq_dim_] - 1;
|
/external/freetype/include/freetype/ |
ftmm.h | 187 * coords :: 201 FT_Fixed* coords; member in struct:FT_Var_Named_Style_ 367 * coords :: 375 * function with `num_coords' set to zero and `coords' set to NULL. 385 FT_Long* coords ); 409 * coords :: 417 * function with `num_coords' set to zero and `coords' set to NULL. 429 FT_Fixed* coords ); 453 * coords :: 465 FT_Fixed* coords ); [all...] |
/frameworks/av/services/camera/libcameraservice/device3/ |
DistortionMapper.cpp | 246 quad->coords[0], quad->coords[1], 247 quad->coords[2], quad->coords[3], 248 quad->coords[4], quad->coords[5], 249 quad->coords[6], quad->coords[7]); 257 corrQuad->coords[0], corrQuad->coords[1] 312 int32_t coords[4] = { local 400 int32_t coords[4] = { local [all...] |
/external/freetype/include/freetype/internal/services/ |
svmm.h | 49 FT_Long* coords ); 56 FT_Fixed* coords ); 63 FT_Long* coords ); 68 FT_Fixed* coords ); 77 FT_Long* coords ); 82 FT_Fixed* *coords,
|
/external/fonttools/Lib/fontTools/varLib/ |
iup.py | 6 def iup_segment(coords, rc1, rd1, rc2, rd2): 16 n = len(coords) 29 for pair in coords: 44 def iup_contour(delta, coords): 45 assert len(delta) == len(coords) 62 out.extend(iup_segment(coords[i1:i2], coords[ri1], delta[ri1], coords[ri2], delta[ri2])) 67 out.extend(iup_segment(coords[i1:i2], coords[ri1], delta[ri1], coords[ri2], delta[ri2]) [all...] |
/external/freetype/src/type1/ |
t1load.h | 80 FT_Fixed* coords ); 85 FT_Fixed* coords ); 90 FT_Long* coords ); 99 FT_Fixed* coords ); 104 FT_Fixed* coords );
|
/external/skia/src/compute/skc/ |
path_builder.h | 36 skc_float * coords[4]; member in struct:skc_coords_rem_count_line 42 skc_float * coords[6]; member in struct:skc_coords_rem_count_quad 48 skc_float * coords[8]; member in struct:skc_coords_rem_count_cubic
|
path_builder.c | 131 *path_builder->line.coords[0]++ = path_builder->curr[0].x; 132 *path_builder->line.coords[1]++ = path_builder->curr[0].y; 133 *path_builder->line.coords[2]++ = x1; 134 *path_builder->line.coords[3]++ = y1; 152 *path_builder->quad.coords[0]++ = path_builder->curr[0].x; 153 *path_builder->quad.coords[1]++ = path_builder->curr[0].y; 154 *path_builder->quad.coords[2]++ = x1; 155 *path_builder->quad.coords[3]++ = y1; 156 *path_builder->quad.coords[4]++ = x2; 157 *path_builder->quad.coords[5]++ = y2 [all...] |
/external/skqp/src/compute/skc/ |
path_builder.h | 36 skc_float * coords[4]; member in struct:skc_coords_rem_count_line 42 skc_float * coords[6]; member in struct:skc_coords_rem_count_quad 48 skc_float * coords[8]; member in struct:skc_coords_rem_count_cubic
|
path_builder.c | 131 *path_builder->line.coords[0]++ = path_builder->curr[0].x; 132 *path_builder->line.coords[1]++ = path_builder->curr[0].y; 133 *path_builder->line.coords[2]++ = x1; 134 *path_builder->line.coords[3]++ = y1; 152 *path_builder->quad.coords[0]++ = path_builder->curr[0].x; 153 *path_builder->quad.coords[1]++ = path_builder->curr[0].y; 154 *path_builder->quad.coords[2]++ = x1; 155 *path_builder->quad.coords[3]++ = y1; 156 *path_builder->quad.coords[4]++ = x2; 157 *path_builder->quad.coords[5]++ = y2 [all...] |
/cts/tests/tests/systemui/src/android/systemui/cts/ |
TouchHelper.java | 73 MotionEvent.PointerCoords coords = new MotionEvent.PointerCoords(); local 74 coords.pressure = 1; 75 coords.size = 1; 76 coords.x = x; 77 coords.y = y; 81 new MotionEvent.PointerCoords[] { coords },
|
/external/deqp/modules/gles2/functional/ |
es2fShaderReturnTests.cpp | 63 inline void evalReturnAlways (ShaderEvalContext& c) { c.color.xyz() = c.coords.swizzle(0,1,2); } 64 inline void evalReturnNever (ShaderEvalContext& c) { c.color.xyz() = c.coords.swizzle(3,2,1); } 65 inline void evalReturnDynamic (ShaderEvalContext& c) { c.color.xyz() = (c.coords.x()+c.coords.y() >= 0.0f) ? c.coords.swizzle(0,1,2) : c.coords.swizzle(3,2,1); } 157 "${COORDSTORAGE} ${COORDPREC} vec4 ${COORDS};\n" 162 " return vec4(${COORDS}.xyz, 1.0);\n" 163 " return vec4(${COORDS}.wzy, 1.0);\n" 171 const char* coords = isVertex ? "a_coords" : "v_coords" local 226 const char* coords = isVertex ? "a_coords" : "v_coords"; local 271 const char* coords = isVertex ? "a_coords" : "v_coords"; local [all...] |
/external/deqp/modules/gles3/functional/ |
es3fShaderReturnTests.cpp | 58 inline void evalReturnAlways (ShaderEvalContext& c) { c.color.xyz() = c.coords.swizzle(0,1,2); } 59 inline void evalReturnNever (ShaderEvalContext& c) { c.color.xyz() = c.coords.swizzle(3,2,1); } 60 inline void evalReturnDynamic (ShaderEvalContext& c) { c.color.xyz() = (c.coords.x()+c.coords.y() >= 0.0f) ? c.coords.swizzle(0,1,2) : c.coords.swizzle(3,2,1); } 131 "in ${COORDPREC} vec4 ${COORDS};\n" 136 " return vec4(${COORDS}.xyz, 1.0);\n" 137 " return vec4(${COORDS}.wzy, 1.0);\n" 145 const char* coords = isVertex ? "a_coords" : "v_coords" local 201 const char* coords = isVertex ? "a_coords" : "v_coords"; local 247 const char* coords = isVertex ? "a_coords" : "v_coords"; local [all...] |
/external/freetype/src/base/ |
ftmm.c | 172 FT_Long* coords ) 180 if ( num_coords && !coords ) 188 error = service->set_mm_design( face, num_coords, coords ); 207 FT_Fixed* coords ) 216 if ( num_coords && !coords ) 224 error = service_mm->set_var_design( face, num_coords, coords ); 255 FT_Fixed* coords ) 263 if ( !coords ) 271 error = service->get_var_design( face, num_coords, coords ); 283 FT_Fixed* coords ) [all...] |
/cts/tests/openglperf2/assets/fragment/ |
blur | 33 vec2 coords = v_TexCoordinate.xy + ((float(i) - 5.0) * u_Scale); 34 color += texture2D(u_Texture, coords) * weights[i];
|
/external/deqp/modules/gles2/accuracy/ |
es2aVaryingInterpolationTests.cpp | 64 static void renderReference (const SurfaceAccess& dst, const float coords[4*3], const Vec4& wCoord, const Vec3& scale, const Vec3& bias) 69 Vec3 triR[2] = { Vec3(coords[0*3+0], coords[1*3+0], coords[2*3+0]), Vec3(coords[3*3+0], coords[2*3+0], coords[1*3+0]) }; 70 Vec3 triG[2] = { Vec3(coords[0*3+1], coords[1*3+1], coords[2*3+1]), Vec3(coords[3*3+1], coords[2*3+1], coords[1*3+1]) } 214 float coords[] = local 264 renderReference(SurfaceAccess(reference, m_context.getRenderTarget().getPixelFormat()), coords, wCoord, scale, bias); local [all...] |
/external/deqp/modules/gles3/accuracy/ |
es3aVaryingInterpolationTests.cpp | 66 static void renderReference (const SurfaceAccess& dst, const float coords[4*3], const Vec4& wCoord, const Vec3& scale, const Vec3& bias) 71 Vec3 triR[2] = { Vec3(coords[0*3+0], coords[1*3+0], coords[2*3+0]), Vec3(coords[3*3+0], coords[2*3+0], coords[1*3+0]) }; 72 Vec3 triG[2] = { Vec3(coords[0*3+1], coords[1*3+1], coords[2*3+1]), Vec3(coords[3*3+1], coords[2*3+1], coords[1*3+1]) } 220 float coords[] = local 270 renderReference(SurfaceAccess(reference, m_context.getRenderTarget().getPixelFormat()), coords, wCoord, scale, bias); local [all...] |
/external/skqp/src/gpu/glsl/ |
GrGLSLFragmentShaderBuilder.cpp | 82 SkString GrGLSLFragmentShaderBuilder::ensureCoords2D(const GrShaderVar& coords) { 83 if (kFloat3_GrSLType != coords.getType() && kHalf3_GrSLType != coords.getType()) { 84 SkASSERT(kFloat2_GrSLType == coords.getType() || kHalf2_GrSLType == coords.getType()); 85 return coords.getName(); 89 coords2D.printf("%s_ensure2D", coords.c_str()); 90 this->codeAppendf("\tfloat2 %s = %s.xy / %s.z;", coords2D.c_str(), coords.c_str(), 91 coords.c_str());
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
vktShaderRenderReturnTests.cpp | 50 inline void evalReturnAlways (ShaderEvalContext& c) { c.color.xyz() = c.coords.swizzle(0,1,2); } 51 inline void evalReturnNever (ShaderEvalContext& c) { c.color.xyz() = c.coords.swizzle(3,2,1); } 52 inline void evalReturnDynamic (ShaderEvalContext& c) { c.color.xyz() = (c.coords.x()+c.coords.y() >= 0.0f) ? c.coords.swizzle(0,1,2) : c.coords.swizzle(3,2,1); } 142 "layout(location = ${COORDLOC}) in ${COORDPREC} vec4 ${COORDS};\n" 147 " return vec4(${COORDS}.xyz, 1.0);\n" 148 " return vec4(${COORDS}.wzy, 1.0);\n" 156 const char* coords = isVertex ? "a_coords" : "v_coords" local 211 const char* coords = isVertex ? "a_coords" : "v_coords"; local 257 const char* coords = isVertex ? "a_coords" : "v_coords"; local [all...] |
/external/harfbuzz_ng/src/ |
hb-ot-var.cc | 164 float *coords /* OUT */) 166 return face->table.fvar->get_instance_coords (instance_index, coords_length, coords); 179 int *coords, /* OUT */ 183 coords[i] = 0; 191 coords[info.axis_index] = fvar.normalize_axis_value (info.axis_index, variations[i].value); 194 face->table.avar->map_coords (coords, coords_length);
|