Searched defs:coords (Results 1 - 25 of 129) sorted by relevance

123456

/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
H A DGlUtil.java50 public static FloatBuffer createFloatBuffer(float[] coords) { argument
51 // Allocate a direct ByteBuffer, using 4 bytes per float, and copy coords into it.
52 ByteBuffer bb = ByteBuffer.allocateDirect(coords.length * 4);
55 fb.put(coords);
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
H A DvktProtectedMemImageValidator.hpp39 tcu::Vec4 coords[4]; member in struct:vkt::ProtectedMem::ValidationData
/external/harfbuzz_ng/src/
H A Dhb-shape-plan-private.hh50 int *coords; member in struct:hb_shape_plan_t
59 , const int *coords \
H A Dhb-ot-var.cc123 int *coords, /* OUT */
127 coords[i] = 0;
135 coords[axis_index] = fvar.normalize_axis_value (axis_index, variations[i].value);
139 avar.map_coords (coords, coords_length);
120 hb_ot_var_normalize_variations(hb_face_t *face, const hb_variation_t *variations, unsigned int variations_length, int *coords, unsigned int coords_length) argument
H A Dhb-ot-var-avar-table.hh121 inline void map_coords (int *coords, unsigned int coords_length) const argument
128 coords[i] = map->map (coords[i]);
H A Dhb-ot-var-mvar-table.hh75 int *coords, unsigned int coord_count) const
84 return (this+varStore).get_delta (record->varIdx, coords, coord_count);
74 get_var(hb_tag_t tag, int *coords, unsigned int coord_count) const argument
H A Dhb-ot-shape-private.hh81 const int *coords,
86 map.compile (plan.map, coords, num_coords);
80 compile(hb_ot_shape_plan_t &plan, const int *coords, unsigned int num_coords) argument
H A Dhb-ot-var-hvar-table.hh116 int *coords, unsigned int coord_count) const
119 return (this+varStore).get_delta (varidx, coords, coord_count);
115 get_advance_var(hb_codepoint_t glyph, int *coords, unsigned int coord_count) const argument
/external/mesa3d/src/mesa/main/
H A Ddrawtex.c65 _mesa_DrawTexfvOES(const GLfloat *coords) argument
68 draw_texture(ctx, coords[0], coords[1], coords[2], coords[3], coords[4]);
82 _mesa_DrawTexivOES(const GLint *coords) argument
85 draw_texture(ctx, (GLfloat) coords[0], (GLfloat) coords[1],
86 (GLfloat) coords[
100 _mesa_DrawTexsvOES(const GLshort *coords) argument
122 _mesa_DrawTexxv(const GLfixed *coords) argument
[all...]
/external/skia/src/gpu/
H A DGrPrimitiveProcessor.cpp14 * the source of the input coords.
31 GrPrimitiveProcessor::getTransformKey(const SkTArray<const GrCoordTransform*, true>& coords, argument
36 const GrCoordTransform* coordTransform = coords[t];
/external/skqp/src/gpu/
H A DGrPrimitiveProcessor.cpp14 * the source of the input coords.
31 GrPrimitiveProcessor::getTransformKey(const SkTArray<const GrCoordTransform*, true>& coords, argument
36 const GrCoordTransform* coordTransform = coords[t];
/external/eigen/unsupported/test/
H A Dcxx11_tensor_map.cpp208 array<ptrdiff_t, 3> coords; local
209 coords[0] = i;
210 coords[1] = j;
211 coords[2] = k;
212 mat5(coords) = val;
/external/freetype/include/freetype/
H A Dftmm.h175 /* coords :: The design coordinates for this instance. */
186 FT_Fixed* coords; member in struct:FT_Var_Named_Style_
340 /* coords :: An array of design coordinates. */
347 /* function with `num_coords' set to zero and `coords' set to NULL. */
357 FT_Long* coords );
379 /* coords :: An array of design coordinates. */
386 /* function with `num_coords' set to zero and `coords' set to NULL. */
398 FT_Fixed* coords );
420 /* coords :: The design coordinates array. */
431 FT_Fixed* coords );
[all...]
/external/deqp/modules/gles3/functional/
H A Des3fShaderReturnTests.cpp58 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); }
145 const char* coords = isVertex ? "a_coords" : "v_coords"; local
151 params["COORDS"] = coords;
159 case RETURNMODE_DYNAMIC: params["RETURNCOND"] = string(coords) + ".x+" + coords
201 const char* coords = isVertex ? "a_coords" : "v_coords"; local
247 const char* coords = isVertex ? "a_coords" : "v_coords"; local
[all...]
H A Des3fReadPixelsTests.cpp154 const float coords[] = local
171 GLU_CHECK_CALL(glVertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, coords));
/external/python/cpython2/Demo/turtle/
H A Dtdemo_nim.py95 x, y = self.coords(row, col)
104 def coords(self, row, col): member in class:Stick
/external/python/cpython3/Lib/turtledemo/
H A Dnim.py95 x, y = self.coords(row, col)
104 def coords(self, row, col): member in class:Stick
/external/skia/src/gpu/glsl/
H A DGrGLSLFragmentShaderBuilder.cpp82 SkString GrGLSLFragmentShaderBuilder::ensureCoords2D(const GrShaderVar& coords) { argument
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/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/
H A DLayoutManager.java96 PointF coords = widget.getElementCoordinates(elementHeight,
99 //RectF widgetRect = new RectF(coords.x, coords.y, coords.x + elementWidth, coords.y + elementHeight);
131 Widget.getAnchorCoordinates(coords.x, coords.y, elementWidth,
160 protected void drawAnchor(Canvas canvas, PointF coords) { argument
162 canvas.drawRect(coords.x-anchorSize, coords
[all...]
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
H A DvktShaderRenderReturnTests.cpp50 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); }
156 const char* coords = isVertex ? "a_coords" : "v_coords"; local
163 params["COORDS"] = coords;
171 case RETURNMODE_DYNAMIC: params["RETURNCOND"] = std::string(coords) + ".x+" + coords
211 const char* coords = isVertex ? "a_coords" : "v_coords"; local
257 const char* coords = isVertex ? "a_coords" : "v_coords"; local
[all...]
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
H A DvktTessellationFractionalSpacingTests.cpp129 const std::vector<float>& coords,
137 const std::vector<float> sortedCoords = sorted(coords);
140 if (static_cast<int>(coords.size()) != finalLevel + 1)
142 log << tcu::TestLog::Message << "Failure: number of vertices is " << coords.size() << "; expected " << finalLevel + 1
525 // Result buffer: generated tess coords go here.
576 // Repeat the test for all tessellation coords cases
651 //! Check validity of fractional spacing modes. Draws a single isoline, reads tess coords with SSBO.
126 verifyFractionalSpacingSingle(tcu::TestLog& log, const SpacingMode spacingMode, const float tessLevel, const std::vector<float>& coords, float* const pOutAdditionalSegmentLength, int* const pOutAdditionalSegmentLocation) argument
/external/deqp/modules/gles2/functional/
H A Des2fReadPixelsTests.cpp101 const float coords[] = local
118 GLU_CHECK_CALL(glVertexAttribPointer(coordLoc, 2, GL_FLOAT, GL_FALSE, 0, coords));
H A Des2fShaderReturnTests.cpp63 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); }
171 const char* coords = isVertex ? "a_coords" : "v_coords"; local
178 params["COORDS"] = coords;
186 case RETURNMODE_DYNAMIC: params["RETURNCOND"] = string(coords) + ".x+" + coords
226 const char* coords = isVertex ? "a_coords" : "v_coords"; local
271 const char* coords = isVertex ? "a_coords" : "v_coords"; local
[all...]
/external/eigen/bench/
H A Dsparse_setter.cpp47 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, cons
68 Coordinates coords; local
194 setinnerrand_eigen(const Coordinates& coords, const Values& vals) argument
208 setrand_eigen_dynamic(const Coordinates& coords, const Values& vals) argument
222 setrand_eigen_sumeq(const Coordinates& coords, const Values& vals) argument
241 setrand_eigen_compact(const Coordinates& coords, const Values& vals) argument
255 setrand_eigen_gnu_hash(const Coordinates& coords, const Values& vals) argument
271 setrand_eigen_google_dense(const Coordinates& coords, const Values& vals) argument
284 setrand_eigen_google_sparse(const Coordinates& coords, const Values& vals) argument
405 setrand_scipy(const Coordinates& coords, const Values& vals) argument
425 setrand_ublas_mapped(const Coordinates& coords, const Values& vals) argument
464 setrand_ublas_genvec(const Coordinates& coords, const Values& vals) argument
[all...]
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
H A DTensorEvaluator.h88 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE CoeffReturnType coeff(const array<DenseIndex, NumCoords>& coords) const {
91 return m_data[m_dims.IndexOfColMajor(coords)];
93 return m_data[m_dims.IndexOfRowMajor(coords)];
97 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar& coeffRef(const array<DenseIndex, NumCoords>& coords) { argument
100 return m_data[m_dims.IndexOfColMajor(coords)];
102 return m_data[m_dims.IndexOfRowMajor(coords)];
198 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE CoeffReturnType coeff(const array<DenseIndex, NumCoords>& coords) const {
200 const Index index = (static_cast<int>(Layout) == static_cast<int>(ColMajor)) ? m_dims.IndexOfColMajor(coords)
201 : m_dims.IndexOfRowMajor(coords);

Completed in 986 milliseconds

123456