Searched defs:bits (Results 1 - 11 of 11) sorted by relevance

/system/core/init/
H A Dlogo.c43 unsigned short *bits; member in struct:FB
65 fb->bits = mmap(0, fb_size(fb), PROT_READ | PROT_WRITE,
67 if (fb->bits == MAP_FAILED)
79 munmap(fb->bits, fb_size(fb));
109 unsigned short *data, *bits, *ptr; local
136 bits = fb.bits;
141 android_memset16(bits, ptr[1], n << 1);
142 bits += n;
/system/core/libpixelflinger/codeflinger/
H A Dload_store.cpp33 const int bits = addr.size; local
35 switch (bits) {
41 // 24 bits formats are a little special and used only for RGB
70 const int bits = addr.size; local
72 switch (bits) {
78 // 24 bits formats are a little special and used only for RGB
109 void GGLAssembler::extract(integer_t& d, int s, int h, int l, int bits) argument
122 if ((h == bits) && !l && (s != d.reg)) {
124 } else if ((h == bits) && l) {
134 if (h != bits) {
[all...]
H A Dtexturing.cpp143 const int bits = parts.iterated.size(); local
144 const uint32_t size = ((bits>=32) ? 0 : (1LU << bits)) - 1;
173 mask, bits);
282 tmu.bits = tmu.format.size*8;
351 txPtr.setTo(obtainReg(), tmu.bits);
488 // for 8-bits textures, we can afford
489 // 7 bits of fractional precision at no
490 // additional cost (we can't do 8 bits
491 // because filter8 uses signed 16 bits mul
[all...]
H A DGGLAssembler.cpp504 // expand the source if the destination has more bits
540 // expand the source if the destination has more bits
568 // We keep only 8 bits for the blending stage
884 void GGLAssembler::build_and_immediate(int d, int s, uint32_t mask, int bits) argument
887 uint32_t size = ((bits>=32) ? 0 : (1LU << bits)) - 1;
H A DGGLAssembler.h310 int bits; member in struct:android::GGLAssembler::texture_unit_t
379 void extract(integer_t& d, int s, int h, int l, int bits=32);
509 void build_and_immediate(int d, int s, uint32_t mask, int bits);
/system/core/libpixelflinger/
H A Dbuffer.cpp36 static uint32_t extract(uint32_t v, int h, int l, int bits);
278 uint32_t extract(uint32_t v, int h, int l, int bits) argument
284 if (h != bits) {
353 // we need to clear the high bits of the source
367 // sbits==dbits and we don't need to clean the lower bits
H A Dfixed.cpp110 // Compute a full precision square-root (24 bits accuracy)
270 if ((result >> 31) != 0) // result must fit in 31 bits
274 int bits = 31; local
284 } while (bits--);
/system/extras/tests/framebuffer/
H A Dfb_test.c55 void *bits; local
88 bits = mmap(0, fi.smem_len, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
89 if(bits == MAP_FAILED) {
99 fb->data = bits;
107 fb->data = (void *)((unsigned long)bits +
H A Dmdp_test.c98 void *bits; local
116 bits = mmap(0, fi.smem_len, PROT_READ | PROT_WRITE, MAP_SHARED, *fd, 0);
117 if(bits == MAP_FAILED) {
124 *fb = bits;
/system/core/include/pixelflinger/
H A Dformat.h101 inline uint32_t bits(int i) const { function in struct:__anon313
/system/core/toolbox/
H A Dgetevent.c45 uint8_t bits[INPUT_PROP_CNT / 8]; local
52 res = ioctl(fd, EVIOCGPROP(sizeof(bits)), bits);
60 if (bits[i] & 1 << j) {
77 uint8_t *bits = NULL; local
89 res = ioctl(fd, EVIOCGBIT(i, bits_size), bits);
93 bits = realloc(bits, bits_size * 2);
94 if(bits == NULL) {
102 res2 = ioctl(fd, EVIOCGKEY(res), bits
[all...]

Completed in 81 milliseconds