Home
last modified time | relevance | path

Searched refs:y (Results 1 – 25 of 37) sorted by relevance

12

/system/media/audio_utils/
Dfixedfft.cpp127 int32_t y = half(v[i + p]); in fixed_fft() local
128 v[i] = x + y; in fixed_fft()
129 v[i + p] = x - y; in fixed_fft()
138 int32_t y = mult(w, v[i + p]); in fixed_fft() local
139 v[i] = x - y; in fixed_fft()
140 v[i + p] = x + y; in fixed_fft()
158 int32_t y = z - (x ^ 0xFFFF); in fixed_fft_real() local
160 y = mult(y, twiddle[i << scale]); in fixed_fft_real()
161 v[i] = x - y; in fixed_fft_real()
162 v[n - i] = (x + y) ^ 0xFFFF; in fixed_fft_real()
/system/core/libpixelflinger/
Draster.cpp27 static void ggl_rasterPos2x(void* con, GGLfixed x, GGLfixed y);
28 static void ggl_rasterPos2i(void* con, GGLint x, GGLint y);
40 void ggl_rasterPos2x(void* con, GGLfixed x, GGLfixed y) in ggl_rasterPos2x() argument
45 c->state.raster.y = y; in ggl_rasterPos2x()
48 void ggl_rasterPos2i(void* con, GGLint x, GGLint y) in ggl_rasterPos2i() argument
50 ggl_rasterPos2x(con, gglIntToFixed(x), gglIntToFixed(y)); in ggl_rasterPos2i()
73 GGLint yd = gglFixedToIntRound(c->state.raster.y); in ggl_copyPixels()
151 GGLint y = where[1]; in gglBitBlit() local
176 const GGLint t0 = Vcr - y; in gglBitBlit()
178 c->procs.recti(c, x, y, x+w, y+h); in gglBitBlit()
[all …]
Draster.h28 void gglCopyPixels(void* c, GGLint x, GGLint y, GGLsizei width, GGLsizei height, GGLenum type);
29 void gglRasterPos2d(void* c, GGLint x, GGLint y);
Dbuffer.cpp27 uint32_t x, uint32_t y, pixel_t* pixel);
29 uint32_t x, uint32_t y, const pixel_t* pixel);
31 uint32_t x, uint32_t y, pixel_t* pixel);
33 uint32_t x, uint32_t y, pixel_t* pixel);
112 uint32_t x, uint32_t y, pixel_t* pixel) in read_pixel() argument
114 assert((x < s->width) && (y < s->height)); in read_pixel()
117 int32_t index = x + (s->stride * y); in read_pixel()
134 uint32_t x, uint32_t y, pixel_t* pixel) in readRGB565() argument
136 uint16_t v = *(reinterpret_cast<uint16_t*>(s->data) + (x + (s->stride * y))); in readRGB565()
148 uint32_t x, uint32_t y, pixel_t* pixel) in readABGR8888() argument
[all …]
Dscanline.cpp661 uint32_t y = c->iterators.y; in scanline() local
699 v = (((tx.shade.it0>>16) + y)<<16) + FIXED_HALF; in scanline()
838 uint16_t* p = (uint16_t*)(cb->data)+(x+(cb->stride*y)); in scanline()
882 &(c->state.buffers.color), c, x, y, &fb); in scanline()
888 &(c->state.buffers.color), c, x, y, &fragment); in scanline()
926 const int y = c->iterators.y; in horz_iterator32() local
929 const int32_t v = (tx.shade.it0>>16) + y; in horz_iterator32()
943 const int y = c->iterators.y; in horz_iterator16() local
946 const int32_t v = (tx.shade.it0>>16) + y; in horz_iterator16()
1087 const int y = c->iterators.y; in ditherer() local
[all …]
Dtrap.cpp177 static int32_t coverageNice(GGLcoord x, GGLcoord y, in coverageNice() argument
180 const GGLcoord d2 = x*x + y*y; in coverageNice()
193 int y_sample = y + kCoordOffset; in coverageNice()
239 GGLcoord y = ystart; in aa_nice_pointx() local
247 covPtr[i] = coverageNice(x, y, rmin, rmax, rr); in aa_nice_pointx()
250 y += TRI_ONE; in aa_nice_pointx()
259 static inline int32_t coverageFast(GGLcoord x, GGLcoord y, in coverageFast() argument
262 const GGLcoord d2 = x*x + y*y; in coverageFast()
311 GGLcoord y = ystart; in aa_pointx() local
320 covPtr[i] = coverageFast(x, y, rmin, rmax, scale); in aa_pointx()
[all …]
/system/core/include/private/pixelflinger/
Dggl_fixed.h86 GGLfixed gglPowx(GGLfixed x, GGLfixed y) CONST;
110 inline GGLfixed gglMulx(GGLfixed x, GGLfixed y, int shift) CONST;
111 inline GGLfixed gglMulx(GGLfixed x, GGLfixed y, int shift) { in gglMulx() argument
118 : "%[x]"(x), [y]"r"(y), [lshift] "I"(32-shift), [rshift] "I"(shift) in gglMulx()
126 : "%[x]"(x), [y]"r"(y), [lshift] "r"(32-shift), [rshift] "r"(shift) in gglMulx()
133 inline GGLfixed gglMulAddx(GGLfixed x, GGLfixed y, GGLfixed a, int shift) CONST;
134 inline GGLfixed gglMulAddx(GGLfixed x, GGLfixed y, GGLfixed a, int shift) { in gglMulAddx() argument
141 : "%[x]"(x), [y]"r"(y), [a]"r"(a), [lshift] "I"(32-shift), [rshift] "I"(shift) in gglMulAddx()
148 : "%[x]"(x), [y]"r"(y), [a]"r"(a), [lshift] "r"(32-shift), [rshift] "r"(shift) in gglMulAddx()
154 inline GGLfixed gglMulSubx(GGLfixed x, GGLfixed y, GGLfixed a, int shift) CONST;
[all …]
Dggl_context.h336 uint32_t x, uint32_t y, pixel_t* pixel);
338 uint32_t x, uint32_t y, const pixel_t* pixel);
405 GGLfixed y;
422 int32_t y;
520 void (*init_y)(context_t* c, int32_t y);
/system/extras/tests/bionic/libc/bionic/
Dtest_dlclose_destruction.c44 int y = 0; in check_library() local
70 y = 0; in check_library()
71 (*set_y)(&y); in check_library()
79 if (y != 2) { in check_library()
Dlibdlclosetest2.c69 void set_y(int *y) in set_y() argument
71 to_y = y; in set_y()
72 fprintf(stderr, "%s: setting to_y=%p\n", __FUNCTION__, y); in set_y()
Dlibdlclosetest1.cpp78 void set_y(int *y) in set_y() argument
80 to_y = y; in set_y()
81 fprintf(stderr, "%s: setting to_y=%p\n", __FUNCTION__, y); in set_y()
/system/core/libcutils/
Dtzfile.h164 #define isleap(y) (((y) % 4) == 0 && (((y) % 100) != 0 || ((y) % 400) == 0)) argument
Dtztime.c188 static int leaps_thru_end_of P((int y));
1392 leaps_thru_end_of(y) in leaps_thru_end_of() argument
1393 register const int y; in leaps_thru_end_of()
1395 return (y >= 0) ? (y / 4 - y / 100 + y / 400) :
1396 -(leaps_thru_end_of(-(y + 1)) + 1);
1410 int y; local
1444 y = EPOCH_YEAR;
1447 while (tdays < 0 || tdays >= year_lengths[isleap(y)]) {
1459 newy = y;
1463 leaps_thru_end_of(y - 1);
[all …]
/system/extras/ext4_utils/
Dext4_utils.h71 #define DIV_ROUND_UP(x, y) (((x) + (y) - 1)/(y)) argument
72 #define ALIGN(x, y) ((y) * DIV_ROUND_UP((x), (y))) argument
Dsha1.c53 #define R0(v,w,x,y,z,i) z+=((w&(x^y))^y)+blk0(i)+0x5A827999+rol(v,5);w=rol(w,30); argument
54 #define R1(v,w,x,y,z,i) z+=((w&(x^y))^y)+blk(i)+0x5A827999+rol(v,5);w=rol(w,30); argument
55 #define R2(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0x6ED9EBA1+rol(v,5);w=rol(w,30); argument
56 #define R3(v,w,x,y,z,i) z+=(((w|x)&y)|(w&x))+blk(i)+0x8F1BBCDC+rol(v,5);w=rol(w,30); argument
57 #define R4(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0xCA62C1D6+rol(v,5);w=rol(w,30); argument
76 #define nR0(v,w,x,y,z,i) R0(*v,*w,*x,*y,*z,i) argument
77 #define nR1(v,w,x,y,z,i) R1(*v,*w,*x,*y,*z,i) argument
78 #define nR2(v,w,x,y,z,i) R2(*v,*w,*x,*y,*z,i) argument
79 #define nR3(v,w,x,y,z,i) R3(*v,*w,*x,*y,*z,i) argument
80 #define nR4(v,w,x,y,z,i) R4(*v,*w,*x,*y,*z,i) argument
/system/extras/tests/framebuffer/
Dminui.h28 void gr_fill(int x, int y, int w, int h);
29 int gr_text(int x, int y, const char *s);
Dmdp_test.c140 int parse_geometry(char *geom, int *w, int *h, int *x, int *y) in parse_geometry() argument
161 if (!x || !y || !(ptr = strchr(geom, '+'))) in parse_geometry()
167 *y = atoi(geom); in parse_geometry()
301 req->src_rect.y = srcy; in main()
311 req->dst_rect.y = dsty; in main()
/system/core/toolbox/
Dinsmod.c48 #define min(x,y) ((x) < (y) ? (x) : (y)) argument
/system/extras/tests/bionic/libc/common/
Dbench_pthread.c50 #define C(x,y) C_(x,y) argument
51 #define C_(x,y) x ## y argument
/system/core/charger/
Dcharger.c585 static int draw_text(const char *str, int x, int y) in draw_text() argument
591 if (y < 0) in draw_text()
592 y = (gr_fb_height() - char_height) / 2; in draw_text()
593 gr_text(x, y, str); in draw_text()
595 return y + char_height; in draw_text()
609 int y; in draw_surface_centered() local
614 y = (gr_fb_height() - h) / 2 ; in draw_surface_centered()
616 LOGV("drawing surface %dx%d+%d+%d\n", w, h, x, y); in draw_surface_centered()
617 gr_blit(surface, 0, 0, w, h, x, y); in draw_surface_centered()
618 return y + h; in draw_surface_centered()
[all …]
/system/core/gpttool/
Dgpttool.c220 char *y = strchr(x, ':'); in parse_ptn() local
223 if (!y) { in parse_ptn()
227 *y++ = 0; in parse_ptn()
229 if (*y == 0) { in parse_ptn()
232 sz = parse_size(y); in parse_ptn()
/system/bluetooth/bluedroid/
Dbluetooth.c42 #define MIN(x,y) (((x)<(y))?(x):(y)) argument
/system/core/include/pixelflinger/
Dpixelflinger.h214 void (*scissor)(void* c, GGLint x, GGLint y, GGLsizei width, GGLsizei height);
302 void (*copyPixels)(void* c, GGLint x, GGLint y,
304 void (*rasterPos2x)(void* c, GGLfixed x, GGLfixed y);
305 void (*rasterPos2i)(void* c, GGLint x, GGLint y);
/system/extras/tests/bionic/libc/other/
Dtest_jpeg.c193 unsigned y; in decompress() local
194 for (y = 0; y < cinfo.output_height; y++) { in decompress()
/system/core/libpixelflinger/codeflinger/
DARMAssemblerProxy.cpp184 void ARMAssemblerProxy::SMULW(int cc, int y, int Rd, int Rm, int Rs) { in SMULW() argument
185 mTarget->SMULW(cc, y, Rd, Rm, Rs); in SMULW()
194 void ARMAssemblerProxy::SMLAW(int cc, int y, int Rd, int Rm, int Rs, int Rn) { in SMLAW() argument
195 mTarget->SMLAW(cc, y, Rd, Rm, Rs, Rn); in SMLAW()

12