| /external/tremolo/Tremolo/ |
| codebook.c | 352 int bits=_ilog(b->entries); local 353 int vals=b->entries>>((bits-1)*(b->dim-1)/b->dim); 643 /* chase the tree with the bits we got */
|
| /external/vixl/test/ |
| test-simulator-a64.cc | 141 static float rawbits_to_fp(uint32_t bits) { 142 return rawbits_to_float(bits); 145 static double rawbits_to_fp(uint64_t bits) { 146 return rawbits_to_double(bits); 341 const unsigned bits = sizeof(T) * 8; local 344 reinterpret_cast<uintptr_t>(results), bits); 348 printf("const uint%u_t kExpected_%s[] = {\n", bits, name); 351 bits / 4, static_cast<uint64_t>(results[d])); 367 bits / 4, static_cast<uint64_t>(inputs[n]), 368 bits / 4, static_cast<uint64_t>(inputs[m]) 468 const unsigned bits = sizeof(T) * 8; local 592 const unsigned bits = sizeof(T) * 8; local 708 const unsigned bits = sizeof(T) * 8; local [all...] |
| /external/webp/src/enc/ |
| cost.c | 337 int bits = VP8LevelCodes[level - 1][1]; local 342 cost += VP8BitCost(bits & 1, probas[i]); 344 bits >>= 1; 671 // record bit count (lower 16 bits) and increment total count (upper 16 bits). 719 const int bits = VP8LevelCodes[v - 1][1]; local 724 if (pattern & 1) Record(!!(bits & mask), s + 3 + i);
|
| syntax.c | 118 uint32_t bits; local 125 bits = 0 // keyframe (1b) 129 vp8_frm_hdr[0] = (bits >> 0) & 0xff; 130 vp8_frm_hdr[1] = (bits >> 8) & 0xff; 131 vp8_frm_hdr[2] = (bits >> 16) & 0xff; 227 // we don't use ref_lf_delta => emit four 0 bits 272 if (!VP8BitWriterInit(bw, mb_size * 7 / 8)) { // ~7 bits per macroblock
|
| /external/webp/src/utils/ |
| bit_writer.c | 57 const int32_t bits = bw->value_ >> s; local 59 bw->value_ -= bits << s; 61 if ((bits & 0xff) != 0xff) { 66 if (bits & 0x100) { // overflow -> propagate carry over pending 0xff's 70 const int value = (bits & 0x100) ? 0x00 : 0xff; 73 bw->buf_[pos++] = bits; 116 if (bw->range_ < 127) { // emit 'shift' bits out and renormalize 252 void VP8LWriteBits(VP8LBitWriter* const bw, int n_bits, uint32_t bits) { 265 lbits |= (vp8l_atype_t)bits << used; 268 bits >>= shift [all...] |
| /external/zlib/src/contrib/blast/ |
| blast.c | 44 int bitcnt; /* number of bits in bit buffer */ 46 /* input limit error return state for bits() and decode() */ 58 * Return need bits from the input stream. This always leaves less than 59 * eight bits in the buffer. bits() works properly for need == 0. 63 * - Bits are stored in bytes from the least significant bit to the most 64 * significant bit. Therefore bits are dropped from the bottom of the bit 68 local int bits(struct state *s, int need) function 72 /* load at least need bits into val */ 79 val |= (int)(*(s->in)++) << s->bitcnt; /* load eight bits */ [all...] |
| /external/zlib/src/contrib/infback9/ |
| infback9.c | 56 unsigned sym, bits, low, size; local 69 bits = 9; 70 inflate_table9(LENS, state.lens, 288, &(next), &(bits), state.work); 76 bits = 5; 77 inflate_table9(DISTS, state.lens, 32, &(next), &(bits), state.work); 94 printf("{%u,%u,%d}", lenfix[low].op, lenfix[low].bits, 105 printf("{%u,%u,%d}", distfix[low].op, distfix[low].bits, 120 bits = 0; \ 143 hold += (unsigned long)(*next++) << bits; \ 144 bits += 8; 234 unsigned bits; \/* bits in bit buffer *\/ local [all...] |
| /external/zlib/src/contrib/puff/ |
| puff.c | 19 * assumes that long's are at least 32 bits. puff.c uses the short data type, 20 * assumed to be 16 bits, for arrays in order to to conserve memory. The code 48 * are 16 bits 91 #define MAXBITS 15 /* maximum bits in a code */ 109 int bitcnt; /* number of bits in bit buffer */ 111 /* input limit error return state for bits() and decode() */ 116 * Return need bits from the input stream. This always leaves less than 117 * eight bits in the buffer. bits() works properly for need == 0. 121 * - Bits are stored in bytes from the least significant bit to the mos 126 local int bits(struct state *s, int need) function [all...] |
| /external/zlib/src/examples/ |
| gun.c | 117 the gzip trailer is stored modulo 2^32, so it's ok if a long is 32 bits and 168 /* throw out what's left in the current bits byte buffer (this is a vestigial 205 int left; /* bits left in rem */ 206 unsigned rem; /* unused bits from input */ 207 int bits; /* current bits per code */ local 209 unsigned mask; /* mask for current bits codes */ 210 int max; /* maximum bits per code for this stream */ 235 strm->msg = (char *)"lzw bits out of range"; 243 bits = 9 [all...] |
| /external/zlib/src/ |
| inflate.c | 30 * - Add comments on state->bits assertion in inffast.c 121 state->bits = 0; 166 /* set number of window bits, free window if different */ 230 int ZEXPORT inflatePrime(strm, bits, value) 232 int bits; 239 if (bits < 0) { 241 state->bits = 0; 244 if (bits > 16 || state->bits + bits > 32) return Z_STREAM_ERROR 271 unsigned sym, bits; local 614 unsigned bits; \/* bits in bit buffer *\/ local [all...] |
| /external/zlib/src/test/ |
| infcover.c | 277 inflate() on each call, or zero to feed it all, win is the window bits 620 unsigned bits; local 626 for (bits = 0; bits < 15; bits++) 627 lens[bits] = (unsigned short)(bits + 1); 630 bits = 15; 631 ret = inflate_table(DISTS, lens, 16, &next, &bits, work); 634 bits = 1 [all...] |
| /frameworks/av/media/libstagefright/omx/ |
| SoftVideoEncoderOMXComponent.cpp | 238 void *bits = NULL; local 250 0, 0, width, height, &bits); 260 ycbcr.y = bits; 261 ycbcr.cr = (uint8_t *)bits + srcStride * srcVStride; 270 ycbcr.y = bits; 271 ycbcr.cr = (uint8_t *)bits + srcStride * srcVStride; 285 (const uint8_t *)bits, width, height, srcStride,
|
| /frameworks/base/core/jni/ |
| android_view_GraphicBuffer.cpp | 179 void* bits = NULL; local 180 status_t status = buffer->lock(LOCK_CANVAS_USAGE, rect, &bits); 183 if (!bits) { 197 bitmap.setPixels(bits);
|
| /frameworks/base/tests/touchlag/ |
| touchlag.cpp | 56 uint32_t* bits = buf->pixels + y * buf->s; local 58 bits[x] = pixel; 62 bits[x+W] = pixel; 78 uint32_t* bits = buf->pixels + y * buf->s + x; local 79 android_memset32(bits, pixel, W*4); 97 uint32_t* bits = buf->pixels + y * buf->s + x; local 99 android_memset32(bits, pixel, W*4); 100 bits += buf->s; 227 void* bits = mmap(0, fi.smem_len, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); local 232 framebuffer.addr = bits; [all...] |
| /frameworks/minikin/include/minikin/ |
| FontFamily.h | 51 explicit FontLanguage(uint32_t bits) : mBits(bits) { } 53 uint32_t bits() const { return mBits; } function in class:android::FontLanguage 68 bits = (weight & kWeightMask) | (italic ? kItalicMask : 0); 71 bits = (weight & kWeightMask) | (italic ? kItalicMask : 0) 72 | (variant << kVariantShift) | (lang.bits() << kLangShift); 74 int getWeight() const { return bits & kWeightMask; } 75 bool getItalic() const { return (bits & kItalicMask) != 0; } 76 int getVariant() const { return (bits >> kVariantShift) & kVariantMask; } 77 FontLanguage getLanguage() const { return FontLanguage(bits >> kLangShift); 88 uint32_t bits; member in class:android::FontStyle [all...] |
| /frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
| IccUtils.java | 158 * 8 bit number which defines bits 15 to 8 of a 16 bit 159 * base pointer, where bit 16 is set to zero and bits 7 to 1 160 * are also set to zero. These sixteen bits constitute a 164 * If bit 8 of the octet is set to zero, the remaining 7 bits 167 * remaining seven bits are an offset value added to the 401 // reassign data and index for every byte (8 bits). 436 int bits = data[valueIndex++] & 0xFF; local 447 if (0 == (8 % bits)) { 449 (width * height), colorIndexArray, bits); 452 (width * height), colorIndexArray, bits); [all...] |
| /frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
| IccUtils.java | 158 * 8 bit number which defines bits 15 to 8 of a 16 bit 159 * base pointer, where bit 16 is set to zero and bits 7 to 1 160 * are also set to zero. These sixteen bits constitute a 164 * If bit 8 of the octet is set to zero, the remaining 7 bits 167 * remaining seven bits are an offset value added to the 401 // reassign data and index for every byte (8 bits). 436 int bits = data[valueIndex++] & 0xFF; local 447 if (0 == (8 % bits)) { 449 (width * height), colorIndexArray, bits); 452 (width * height), colorIndexArray, bits); [all...] |
| /frameworks/rs/ |
| rsElement.cpp | 200 size_t bits = 0; local 203 mFields[ct].offsetBits = bits; 205 bits += mFields[ct].e->getSizeBits() * mFields[ct].arraySize;
|
| /hardware/intel/common/libva/test/decode/ |
| tinyjpeg-internal.h | 69 /*bits and values*/ 70 unsigned char bits[16]; member in struct:huffman_table
|
| /hardware/intel/common/libva/va/ |
| va_dec_vp8.h | 59 * it is the number of remaining bits in 'value' for decoding, range [0, 7]. 116 } bits; member in union:_VAPictureParameterBufferVP8::__anon39562 196 * exclude current byte for the remaining bits in bool_coder_ctx.
|
| va_dec_vp9.h | 151 } bits; member in union:_VADecPictureParameterBufferVP9::__anon39564
|
| va_enc_vp8.h | 134 } bits; member in union:_VAEncPictureParameterBufferVP8::__anon39596 236 } bits; member in union:_VAEncPictureParameterBufferVP8::__anon39598
|
| /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/ |
| vp9_entropymv.h | 64 #define CLASS0_BITS 1 /* bits at integer precision for class 0 */ 86 vp9_prob bits[MV_OFFSET_BITS]; member in struct:__anon39797 114 unsigned int bits[MV_OFFSET_BITS][2]; member in struct:__anon39799
|
| /hardware/qcom/media/mm-video-legacy/vidc/vdec/src/ |
| mp4_utils.cpp | 58 uint8 *bits = &posPtr->bytePtr[0]; local 60 (bits[0] << 24) | (bits[1] << 16) | (bits[2] << 8) | bits[3]; 290 bits_parsed += vop_bits + 1;//Vop bit & Marker bits
|
| /hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/ |
| mp4_utils.cpp | 52 uint8 *bits = &posPtr->bytePtr[0]; local 54 (bits[0] << 24) | (bits[1] << 16) | (bits[2] << 8) | bits[3]; 324 bits_parsed += vop_bits + 1;//Vop bit & Marker bits
|