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

/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.h316 int bits; member in struct:android::GGLAssembler::texture_unit_t
385 void extract(integer_t& d, int s, int h, int l, int bits=32);
515 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 +
/system/core/include/pixelflinger/
H A Dformat.h101 inline uint32_t bits(int i) const { function in struct:__anon43
/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...]
/system/keymaster/
H A Docb.c250 /* KtopStr is reg correct by 64 bits, return mem correct */
300 /* KtopStr is reg correct by 64 bits, return mem correct */
520 static int AES_set_encrypt_key(const unsigned char* userKey, const int bits, AES_KEY* key) { argument
521 if (bits == 128) {
523 } else if (bits == 192) {
525 } else if (bits == 256) {
529 key->rounds = 6 + bits / 32;
546 static int AES_set_decrypt_key(const unsigned char* userKey, const int bits, AES_KEY* key) { argument
548 AES_set_encrypt_key(userKey, bits, &temp_key);
775 idx = (unsigned)(tmp.u8[15] & 0x3f); /* Get low 6 bits o
[all...]
/system/core/include/system/
H A Daudio.h194 AUDIO_FORMAT_PCM_SUB_16_BIT = 0x1, /* DO NOT CHANGE - PCM signed 16 bits */
195 AUDIO_FORMAT_PCM_SUB_8_BIT = 0x2, /* DO NOT CHANGE - PCM unsigned 8 bits */
237 /* Audio format consists of a main format field (upper 8 bits) and a sub format
238 * field (lower 24 bits).
308 /* These can be the bits portion of an audio_channel_mask_t
310 * Using these bits as a complete audio_channel_mask_t is deprecated.
333 /* TODO: should these be considered complete channel masks, or only bits? */
390 /* These are bits only, not complete values */
408 /* TODO: should these be considered complete channel masks, or only bits, or deprecated? */
443 * The constants AUDIO_CHANNEL_OUT_* or AUDIO_CHANNEL_IN_* apply to the bits portio
500 uint32_t bits = audio_channel_mask_get_bits(channel); local
514 audio_channel_mask_from_representation_and_bits( audio_channel_representation_t representation, uint32_t bits) argument
1120 uint32_t bits = audio_channel_mask_get_bits(channel); local
1142 uint32_t bits = audio_channel_mask_get_bits(channel); local
1164 uint32_t bits = audio_channel_mask_get_bits(channel); local
1185 uint32_t bits = audio_channel_mask_get_bits(channel); local
1210 uint32_t bits; local
1254 uint32_t bits; local
1285 uint32_t bits = (1 << channel_count) - 1; local
[all...]

Completed in 459 milliseconds