HomeSort by relevance Sort by last modified time
    Searched refs:coord (Results 101 - 125 of 306) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/mesa3d/src/gallium/drivers/nouveau/
nouveau_vp3_video.h 148 static inline uint32_t mb(uint32_t coord)
150 return (coord + 0xf)>>4;
153 static inline uint32_t mb_half(uint32_t coord)
155 return (coord + 0x1f)>>5;
  /external/tensorflow/tensorflow/python/training/
session_run_hook.py 45 def after_create_session(self, session, coord):
117 def after_create_session(self, session, coord): # pylint: disable=unused-argument
130 coord: A Coordinator object which keeps track of all threads.
  /packages/apps/Launcher3/src/com/android/launcher3/
Utilities.java 143 * @param coord The coordinate that we want mapped.
151 View descendant, View ancestor, int[] coord, boolean includeRootScroll) {
152 sPoint[0] = coord[0];
153 sPoint[1] = coord[1];
173 coord[0] = Math.round(sPoint[0]);
174 coord[1] = Math.round(sPoint[1]);
181 public static void mapCoordInSelfToDescendant(View descendant, View root, int[] coord) {
193 sPoint[0] = coord[0];
194 sPoint[1] = coord[1];
196 coord[0] = Math.round(sPoint[0])
    [all...]
  /frameworks/base/opengl/java/com/google/android/gles_jni/
GLImpl.java     [all...]
  /external/deqp/modules/gles3/functional/
es3fFboTestUtil.cpp 215 const tcu::Vec4 coord = rr::readTriangleVarying<float>(packets[packetNdx], context, 0, fragNdx); local
216 const float x = coord.x();
217 const float y = coord.y();
384 const tcu::Vec4 coord = rr::readTriangleVarying<float>(packets[packetNdx], context, 0, fragNdx); local
385 texCoords[fragNdx] = tcu::Vec2(coord.x(), coord.y());
539 const tcu::Vec4 coord = rr::readTriangleVarying<float>(packets[packetNdx], context, 0, fragNdx); local
540 texCoords[fragNdx] = tcu::Vec3(coord.x(), coord.y(), coord.z())
647 const tcu::Vec4 coord = rr::readTriangleVarying<float>(packets[packetNdx], context, 0, fragNdx); local
755 const tcu::Vec4 coord = rr::readTriangleVarying<float>(packets[packetNdx], context, 0, fragNdx); local
851 const tcu::Vec4 coord = rr::readTriangleVarying<float>(packets[packetNdx], context, 0, fragNdx); local
    [all...]
  /external/skia/src/effects/
SkTableColorFilter.cpp 402 fragBuilder->codeAppendf("\t\thalf4 coord = half4(%f, %f, %f, %f);\n",
407 fragBuilder->codeAppendf("\t\thalf4 coord = half4(%s.rgb / nonZeroAlpha, nonZeroAlpha);\n",
409 fragBuilder->codeAppendf("\t\tcoord = coord * %f + half4(%f, %f, %f, %f);\n",
415 SkString coord; local
418 coord.printf("half2(coord.a, %s.a)", yoffsets);
419 fragBuilder->appendTextureLookup(args.fTexSamplers[0], coord.c_str());
423 coord.printf("half2(coord.r, %s.r)", yoffsets);
424 fragBuilder->appendTextureLookup(args.fTexSamplers[0], coord.c_str())
    [all...]
  /external/skqp/src/effects/
SkTableColorFilter.cpp 402 fragBuilder->codeAppendf("\t\thalf4 coord = half4(%f, %f, %f, %f);\n",
407 fragBuilder->codeAppendf("\t\thalf4 coord = half4(%s.rgb / nonZeroAlpha, nonZeroAlpha);\n",
409 fragBuilder->codeAppendf("\t\tcoord = coord * %f + half4(%f, %f, %f, %f);\n",
415 SkString coord; local
418 coord.printf("half2(coord.a, %s.a)", yoffsets);
419 fragBuilder->appendTextureLookup(args.fTexSamplers[0], coord.c_str());
423 coord.printf("half2(coord.r, %s.r)", yoffsets);
424 fragBuilder->appendTextureLookup(args.fTexSamplers[0], coord.c_str())
    [all...]
  /frameworks/rs/driver/runtime/
rs_sample.c 298 static uint32_t wrapI(rs_sampler_value wrap, int32_t coord, int32_t size) {
300 coord = coord % size;
301 if (coord < 0) {
302 coord += size;
306 coord = coord % (size * 2);
307 if (coord < 0) {
308 coord = (size * 2) + coord;
    [all...]
  /external/mesa3d/src/mesa/tnl/
t_vb_program.c 96 GLfloat *coord = (GLfloat *)clip->data; local
101 GLfloat dp = (coord[0] * a +
102 coord[1] * b +
103 coord[2] * c +
104 coord[3] * d);
111 STRIDE_F(coord, stride);
  /frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
find_region.rs 96 int2 coord = rsGetElementAt_int2(mBorderCoords, i) + delta;
98 convert_float3(rsGetElementAt_uchar4(mImage, coord.x, coord.y).xyz);
healing.rs 99 int2 coord = rsGetElementAt_int2(border_coords, i);
101 rsGetElementAt_uchar4(image, coord.x + x, coord.y + y).xyz);
  /external/mesa3d/src/intel/vulkan/
anv_nir_lower_input_attachments.c 66 nir_ssa_def *coord = local
95 tex->src[0].src = nir_src_for_ssa(coord);
  /external/skia/src/pathops/
SkPathOpsConic.cpp 25 static double conic_eval_tan(const double coord[], SkScalar w, double t) {
27 conic_deriv_coeff(coord, w, coeff);
  /external/skqp/src/pathops/
SkPathOpsConic.cpp 25 static double conic_eval_tan(const double coord[], SkScalar w, double t) {
27 conic_deriv_coeff(coord, w, coeff);
  /external/mesa3d/src/mesa/drivers/dri/nouveau/
nv10_state_tex.c 47 struct gl_texgen *coord = get_texgen_coord(unit, j); local
48 float *k = get_texgen_coeff(coord);
56 PUSH_DATA (push, nvgl_texgen_mode(coord->Mode));
nv20_state_tex.c 47 struct gl_texgen *coord = get_texgen_coord(unit, j); local
48 float *k = get_texgen_coeff(coord);
56 PUSH_DATA (push, nvgl_texgen_mode(coord->Mode));
  /external/mesa3d/src/mesa/main/
atifragshader.c 432 _mesa_PassTexCoordATI(GLuint dst, GLuint coord, GLenum swizzle)
457 if (((coord < GL_REG_0_ATI) || (coord > GL_REG_5_ATI)) &&
458 ((coord < GL_TEXTURE0_ARB) || (coord > GL_TEXTURE7_ARB) ||
459 ((coord - GL_TEXTURE0_ARB) >= ctx->Const.MaxTextureUnits))) {
460 _mesa_error(ctx, GL_INVALID_ENUM, "glPassTexCoordATI(coord)");
463 if ((curProg->cur_pass == 0) && (coord >= GL_REG_0_ATI)) {
464 _mesa_error(ctx, GL_INVALID_OPERATION, "glPassTexCoordATI(coord)");
471 if ((swizzle & 1) && (coord >= GL_REG_0_ATI))
    [all...]
es1_conversion.c 410 _check_GetTexGenivOES(GLenum coord, GLenum pname, GLint *params)
412 _mesa_GetTexGeniv(coord, pname, params);
416 _mesa_GetTexGenxvOES(GLenum coord, GLenum pname, GLfixed *params)
418 _mesa_GetTexGeniv(coord, pname, (GLint *) params);
861 _check_TexGeniOES(GLenum coord, GLenum pname, GLint param)
863 _es_TexGenf(coord, pname, (GLfloat) param);
867 _check_TexGenivOES(GLenum coord, GLenum pname, const GLint *params)
869 _es_TexGenf(coord, pname, (GLfloat) params[0]);
873 _mesa_TexGenxOES(GLenum coord, GLenum pname, GLfixed param)
875 _es_TexGenf(coord, pname, (GLfloat) param)
    [all...]
  /external/skia/src/gpu/effects/
GrBicubicEffect.cpp 73 fragBuilder->codeAppendf("float2 coord = %s - %s * float2(0.5);", coords2D.c_str(), imgInc);
74 // We unnormalize the coord in order to determine our fractional offset (f) within the texel
75 // We then snap coord to a texel center and renormalize. The snap prevents cases where the
78 fragBuilder->codeAppendf("coord /= %s;", imgInc);
79 fragBuilder->codeAppend("float2 f = fract(coord);");
80 fragBuilder->codeAppendf("coord = (coord - f + float2(0.5)) * %s;", imgInc);
86 SkString coord; local
87 coord.printf("coord + %s * float2(%d, %d)", imgInc, x - 1, y - 1)
    [all...]
  /external/skqp/src/gpu/effects/
GrBicubicEffect.cpp 73 fragBuilder->codeAppendf("float2 coord = %s - %s * float2(0.5);", coords2D.c_str(), imgInc);
74 // We unnormalize the coord in order to determine our fractional offset (f) within the texel
75 // We then snap coord to a texel center and renormalize. The snap prevents cases where the
78 fragBuilder->codeAppendf("coord /= %s;", imgInc);
79 fragBuilder->codeAppend("float2 f = fract(coord);");
80 fragBuilder->codeAppendf("coord = (coord - f + float2(0.5)) * %s;", imgInc);
86 SkString coord; local
87 coord.printf("coord + %s * float2(%d, %d)", imgInc, x - 1, y - 1)
    [all...]
  /external/dng_sdk/source/
dng_xmp.cpp 240 const dng_urational *coord)
245 if (ref.Length () == 1 && coord [0].IsValid () &&
246 coord [1].IsValid ())
262 if (coord [0].d == 1 &&
263 coord [1].d == 1 &&
264 coord [2].d == 1)
269 (unsigned) coord [0].n,
270 (unsigned) coord [1].n,
271 (unsigned) coord [2].n,
283 real64 x = coord [0].As_real64 () * 60.0
    [all...]
  /frameworks/layoutlib/bridge/src/android/graphics/
RoundRectangle.java 194 private Zone classify(double coord, double side1, double arcSize1, double side2,
196 if (coord < side1) {
198 } else if (coord < side1 + arcSize1) {
200 } else if (coord < side2 - arcSize2) {
202 } else if (coord < side2) {
  /frameworks/base/opengl/java/android/opengl/
GLLogWrapper.java     [all...]
  /external/tensorflow/tensorflow/contrib/training/python/training/
batch_sequences_with_states_test.py 145 coord = coordinator.Coordinator()
146 threads = queue_runner_impl.start_queue_runners(coord=coord)
227 coord.request_stop()
228 coord.join(threads, stop_grace_period_secs=2)
339 coord = coordinator.Coordinator()
342 with coord.stop_on_exception():
356 threads = queue_runner_impl.start_queue_runners(coord=coord)
361 coord.request_stop(
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
DragLayer.java 317 * @param coord The coordinate that we want mapped.
322 public float getDescendantCoordRelativeToSelf(View descendant, int[] coord) {
324 float[] pt = {coord[0], coord[1]};
338 coord[0] = (int) Math.round(pt[0]);
339 coord[1] = (int) Math.round(pt[1]);
484 int coord[] = new int[2]; local
486 coord[0] = lp.x + (int) (child.getMeasuredWidth() * (1 - childScale) / 2);
487 coord[1] = lp.y + (int) (child.getMeasuredHeight() * (1 - childScale) / 2);
491 float scale = getDescendantCoordRelativeToSelf((View) child.getParent(), coord);
    [all...]

Completed in 583 milliseconds

1 2 3 45 6 7 8 91011>>