/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
gain_q.cpp | 392 y1 -- Word16 array -- Adaptive codebook. 394 g_coeff -- Word16 array -- Correlations <xn y1> <y1 y1> 476 Word16 y1[], /* i : Adaptive codebook. */ 478 Word16 g_coeff[], /* i : Correlations <xn y1> <y1 y1> */ 541 y1, 600 y1, [all...] |
cod_amr.cpp | 831 Word16 y1[L_SUBFR]; // Filtered adaptive excitation 833 Word16 gCoeff[6]; // Correlations between xn, y1, & y2: 1234 Word16 y1[L_SUBFR]; \/* Filtered adaptive excitation *\/ local [all...] |
/frameworks/base/core/java/android/util/ |
MathUtils.java | 94 public static float dist(float x1, float y1, float x2, float y2) { 96 final float y = (y2 - y1); 100 public static float dist(float x1, float y1, float z1, float x2, float y2, float z2) { 102 final float y = (y2 - y1);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
ImageFilterGrad.java | 123 int[] y1 = mParameters.getYPos1(); local 133 coord[1] = y1[i]; 136 y1[i] = (int) coord[1]; 146 mScript.set_yPos1(y1);
|
SplineMath.java | 52 double y1 = cur[1]; local 61 double ta = a * y1; 93 double y1 = cur[1]; local 102 double ta = a * y1;
|
/external/tremolo/Tremolo/ |
floor1.c | 205 int render_point(int x0,int x1,int y0,int y1,int x){ 207 y1&=0x7fff; 210 int dy=y1-y0; 225 static void render_line(int n,int x0,int x1,int y0,int y1,ogg_int32_t *d){ 235 if (n <= 0 || y0 < 0 || y0 > 255 || y1 < 0 || y1 > 255) { 238 dy=y1-y0;
|
/external/libvorbis/doc/ |
09-helper.tex | 99 "render_point(x0,y0,x1,y1,X)" is used to find the Y value at point X 100 along the line specified by x0, x1, y0 and y1. This function uses an 105 1) [dy] = [y1] - [y0] 128 "render_line(x0, y0, x1, y1, v)" to construct an integer floor 135 1) [dy] = [y1] - [y0]
|
/external/opencv3/modules/imgproc/test/ |
test_moments.cpp | 263 double s0 = 0, s1 = 0, s2 = 0, s3 = 0, y1 = y - yc; local 286 m.mu02 += s0*y1*y1; 287 m.mu03 += ((s0*y1)*y1)*y1; 289 m.mu11 += s1*y1; 290 m.mu12 += (s1*y1)*y1; 293 m.mu21 += s2*y1; [all...] |
/frameworks/av/media/libstagefright/colorconversion/ |
ColorConverter.cpp | 163 signed y1 = (signed)src_ptr[2 * x + 1] - 16; local 173 signed tmp1 = y1 * 298; 278 signed y1 = (signed)src_y[x] - 16; local 289 signed tmp1 = y1 * 298; 351 signed y1 = (signed)src_y[x] - 16; local 362 signed tmp1 = y1 * 298; 425 signed y1 = (signed)src_y[x] - 16; local 436 signed tmp1 = y1 * 298; 495 signed y1 = (signed)src_y[x] - 16; local 506 signed tmp1 = y1 * 298 [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
Path_Delegate.java | 263 /*package*/ static void native_quadTo(long nPath, float x1, float y1, float x2, float y2) { 269 pathDelegate.quadTo(x1, y1, x2, y2); 283 /*package*/ static void native_cubicTo(long nPath, float x1, float y1, 290 pathDelegate.cubicTo(x1, y1, x2, y2, x3, y3); 294 /*package*/ static void native_rCubicTo(long nPath, float x1, float y1, 301 pathDelegate.rCubicTo(x1, y1, x2, y2, x3, y3); 701 * (x1,y1), and ending at (x2,y2). If no moveTo() call has been made for 705 * @param y1 The y-coordinate of the control point on a quadratic curve 709 public void quadTo(float x1, float y1, float x2, float y2) { 710 mPath.quadTo(x1, y1, mLastX = x2, mLastY = y2) [all...] |
/prebuilts/go/darwin-x86/src/image/internal/imageutil/ |
impl.go | 35 y1 := r.Max.Y - dst.Rect.Min.Y 39 for y, sy := y0, sp.Y; y != y1; y, sy = y+1, sy+1 { 77 for y, sy := y0, sp.Y; y != y1; y, sy = y+1, sy+1 { 116 for y, sy := y0, sp.Y; y != y1; y, sy = y+1, sy+1 { 155 for y, sy := y0, sp.Y; y != y1; y, sy = y+1, sy+1 {
|
/prebuilts/go/linux-x86/src/image/internal/imageutil/ |
impl.go | 35 y1 := r.Max.Y - dst.Rect.Min.Y 39 for y, sy := y0, sp.Y; y != y1; y, sy = y+1, sy+1 { 77 for y, sy := y0, sp.Y; y != y1; y, sy = y+1, sy+1 { 116 for y, sy := y0, sp.Y; y != y1; y, sy = y+1, sy+1 { 155 for y, sy := y0, sp.Y; y != y1; y, sy = y+1, sy+1 {
|
/bionic/libm/upstream-freebsd/lib/msun/src/ |
e_pow.c | 100 double y1,t1,t2,r,s,t,u,v,w; local 256 /* split up y into y1+y2 and compute (y1+y2)*(t1+t2) */ 257 y1 = y; 258 SET_LOW_WORD(y1,0); 259 p_l = (y-y1)*t1+y*t2; 260 p_h = y1*t1;
|
/external/ImageMagick/coders/ |
xps.c | 232 &bounds.x1,&bounds.y1,&bounds.x2,&bounds.y2); 235 &bounds.x1,&bounds.y1,&bounds.x2,&bounds.y2); 243 &bounds.x1,&bounds.y1,&bounds.x2,&bounds.y2); 246 &bounds.x1,&bounds.y1,&bounds.x2,&bounds.y2); 254 height=(size_t) (floor(bounds.y2+0.5)-ceil(bounds.y1-0.5));
|
/external/fdlibm/ |
e_pow.c | 108 double y1,t1,t2,r,s,t,u,v,w; local 258 /* split up y into y1+y2 and compute (y1+y2)*(t1+t2) */ 259 y1 = y; 260 __LO(y1) = 0; 261 p_l = (y-y1)*t1+y*t2; 262 p_h = y1*t1;
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/ |
SpriteBatch.java | 267 float y1;
local 281 y1 = sin * p1x + cos * p1y;
290 y4 = y3 - (y2 - y1);
293 y1 = p1y;
306 y1 += worldOriginY;
334 vertices[idx++] = y1;
679 float y1;
local 693 y1 = sin * p1x + cos * p1y;
702 y4 = y3 - (y2 - y1);
705 y1 = p1y; 799 float y1; local 910 float y1 = transform.m12; local [all...] |
SpriteCache.java | 527 float y1;
local 541 y1 = sin * p1x + cos * p1y;
550 y4 = y3 - (y2 - y1);
553 y1 = p1y;
566 y1 += worldOriginY;
594 tempVertices[1] = y1;
632 tempVertices[26] = y1;
732 float y1;
local 746 y1 = sin * p1x + cos * p1y;
755 y4 = y3 - (y2 - y1);
[all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/utils/shapebuilders/ |
BoxShapeBuilder.java | 115 final float x0 = x - hw, y0 = y - hh, z0 = z - hd, x1 = x + hw, y1 = y + hh, z1 = z + hd; local 117 obtainV3().set(x0, y0, z0), obtainV3().set(x0, y1, z0), obtainV3().set(x1, y0, z0), obtainV3().set(x1, y1, z0), // 118 obtainV3().set(x0, y0, z1), obtainV3().set(x0, y1, z1), obtainV3().set(x1, y0, z1), obtainV3().set(x1, y1, z1));
|
/development/perftests/panorama/feature_mos/src/mosaic/ |
Blend.cpp | 139 double z, x0, y0, x1, y1, x2, y2, x3, y3; local 165 FrameToMosaic(mb->trs, 0.0, mb->height-1.0, x1, y1); 187 if(y1 > yBottomCorners[0] || y2 > yBottomCorners[1]) // If either of the bottom corners is higher 189 yBottomCorners[0] = y1; 195 FindQuadCentroid(x0, y0, x1, y1, x2, y2, x3, y3, csite->getVCenter().x, csite->getVCenter().y); 984 int y1 = (yy >= 0.0) ? (int) yy : (int) floor(yy); local [all...] |
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
Blend.cpp | 144 double z, x0, y0, x1, y1, x2, y2, x3, y3; local 170 FrameToMosaic(mb->trs, 0.0, mb->height-1.0, x1, y1); 192 if(y1 > yBottomCorners[0] || y2 > yBottomCorners[1]) // If either of the bottom corners is higher 194 yBottomCorners[0] = y1; 200 FindQuadCentroid(x0, y0, x1, y1, x2, y2, x3, y3, csite->getVCenter().x, csite->getVCenter().y); 982 int y1 = (yy >= 0.0) ? (int) yy : (int) floor(yy); local [all...] |
/external/deqp/modules/egl/ |
teglPreservingSwapTests.cpp | 111 void render (int width, int height, float x1, float y1, float x2, float y2, PreservingSwapTest::DrawType drawType); 160 void GLES2Program::render (int width, int height, float x1, float y1, float x2, float y2, PreservingSwapTest::DrawType drawType) 166 x1, y1, 0.0f, 1.0f, 171 x2, y1, 0.0f, 1.0f, 172 x1, y1, 0.0f, 1.0f 216 const int y1i = (int)(((float)py/2.0f) * y1 + (float)oy); 237 void render (tcu::Surface* target, float x1, float y1, float x2, float y2, PreservingSwapTest::DrawType drawType); 252 void ReferenceProgram::render (tcu::Surface* target, float x1, float y1, float x2, float y2, PreservingSwapTest::DrawType drawType) 263 const int y1i = (int)((py/2.0) * y1 + oy);
|
/external/opencv/cvaux/src/ |
decomppoly.cpp | 152 int x1, y1, x2, y2, x3, y3; 186 y1 = contour[ index1 ].y; 195 dy1 = y2 - y1; 202 iy1 = y3 - y1; 215 iy0 = contour[ i ].y - y1; 268 y1 = y2; 297 y1 = y2;
|
/external/opencv3/modules/imgproc/src/ |
lsd.cpp | 80 inline double distSq(const double x1, const double y1, 83 return (x2 - x1)*(x2 - x1) + (y2 - y1)*(y2 - y1); 86 inline double dist(const double x1, const double y1, 89 return sqrt(distSq(x1, y1, x2, y2)); 195 * Where Vec4i/Vec4f is (x1, y1, x2, y2), point 1 is the start, point 2 - end. 275 double x1, y1, x2, y2; // first and second point of the line segment member in struct:cv::LineSegmentDetectorImpl::rect 290 * Where Vec4f is (x1, y1, x2, y2), point 1 is the start, point 2 - end. 509 rec.x1 += 0.5; rec.y1 += 0.5; 515 rec.x1 /= SCALE; rec.y1 /= SCALE [all...] |
/external/speex/libspeex/ |
filters.c | 409 spx_word16_t y1, ny1i, ny2i; local 425 y1 = ADD16(y[i], EXTRACT16(PSHR32(mem1[0],LPC_SHIFT))); 426 ny1i = NEG16(y1); 427 y[i] = PSHR32(ADD32(SHL32(EXTEND32(y1),LPC_SHIFT+1),mem2[0]),LPC_SHIFT); 441 void qmf_decomp(const spx_word16_t *xx, const spx_word16_t *aa, spx_word16_t *y1, spx_word16_t *y2, int N, int M, spx_word16_t *mem, char *stack) 471 y1[k] = EXTRACT16(SATURATE(PSHR32(y1k,15),32767)); 502 spx_sig_t y0, y1, y2, y3; local 505 y0 = y1 = y2 = y3 = 0; 521 y1 = MAC16_16(MAC16_16(y1, a1, x11), a1, x21) [all...] |
/bootable/recovery/minui/ |
graphics.cpp | 191 void gr_fill(int x1, int y1, int x2, int y2) 194 y1 += overscan_offset_y; 199 if (outside(x1, y1) || outside(x2-1, y2-1)) return; 201 unsigned char* p = gr_draw->data + y1 * gr_draw->row_bytes + x1 * gr_draw->pixel_bytes; 204 for (y = y1; y < y2; ++y) { 216 for (y = y1; y < y2; ++y) {
|