| /external/webp/src/utils/ |
| bit_reader_inl.h | 37 #if (BITS > 32) 39 #elif (BITS > 16) 41 #elif (BITS > 8) 56 // makes sure br->value_ has at least BITS bits worth of data 59 // Read 'BITS' bits at a time if possible. 62 bit_t bits; local 83 br->buf_ += BITS >> 3; 85 #if (BITS > 32 [all...] |
| /external/zlib/src/contrib/masmx64/ |
| inffas8664.c | 57 state->bits < 8
67 - The maximum input bits used by a length/distance pair is 15 bits for the
68 length code, 5 bits for the length extra, 15 bits for the distance code,
69 and 13 bits for the distance extra. This totals 48 bits, or six bytes.
95 /* 88 44 */ unsigned bits; /* ebx rbx local strm->bits */
member in struct:inffast_ar 136 ar.bits = state->bits; [all...] |
| /dalvik/dx/src/com/android/dx/dex/code/form/ |
| Form23x.java | 79 BitSet bits = new BitSet(3); local 81 bits.set(0, unsignedFitsInByte(regs.get(0).getReg())); 82 bits.set(1, unsignedFitsInByte(regs.get(1).getReg())); 83 bits.set(2, unsignedFitsInByte(regs.get(2).getReg())); 84 return bits;
|
| /external/chromium_org/third_party/libva/va/ |
| va_enc_h264.h | 193 } bits; member in union:_VAEncSequenceParameterBufferH264::__anon16573 244 } bits; member in union:_VAEncSequenceParameterBufferH264::__anon16575 366 } bits; member in union:_VAEncPictureParameterBufferH264::__anon16577 508 * @name Macroblock neighbour availability bits 511 * Definitions for macroblock neighbour availability bits used in 553 * availability bits from VME stage. 556 * availability bits from the VME stage are overriden 570 } bits; member in struct:_VAEncMacroblockParameterBufferH264::__anon16579::__anon16580 579 } bits; member in struct:_VAEncMacroblockParameterBufferH264::__anon16579::__anon16582
|
| /external/chromium_org/third_party/skia/src/utils/ |
| SkFloatUtils.h | 57 /** Bits is a unsigned integer the same size as the floating point number. */ 58 typedef typename SkTypeWithSize<sizeof(RawType) * CHAR_BIT>::UInt Bits; 60 /** # of bits in a number. */ 63 /** # of fraction bits in a number. */ 66 /** # of exponent bits in a number. */ 70 static const Bits kSignBitMask = static_cast<Bits>(1) << (kBitCount - 1); 72 /** The mask for the fraction bits. */ 73 static const Bits kFractionBitMask = 74 ~static_cast<Bits>(0) >> (kExponentBitCount + 1) 129 Bits bits; member in union:SkFloatingPoint::FloatingPointUnion [all...] |
| /external/dexmaker/src/dx/java/com/android/dx/dex/code/form/ |
| Form23x.java | 80 BitSet bits = new BitSet(3); local 82 bits.set(0, unsignedFitsInByte(regs.get(0).getReg())); 83 bits.set(1, unsignedFitsInByte(regs.get(1).getReg())); 84 bits.set(2, unsignedFitsInByte(regs.get(2).getReg())); 85 return bits;
|
| Form33x.java | 84 BitSet bits = new BitSet(3); local 86 bits.set(0, unsignedFitsInByte(regs.get(0).getReg())); 87 bits.set(1, unsignedFitsInByte(regs.get(1).getReg())); 88 bits.set(2, unsignedFitsInShort(regs.get(2).getReg())); 89 return bits;
|
| /external/skia/src/utils/ |
| SkFloatUtils.h | 57 /** Bits is a unsigned integer the same size as the floating point number. */ 58 typedef typename SkTypeWithSize<sizeof(RawType) * CHAR_BIT>::UInt Bits; 60 /** # of bits in a number. */ 63 /** # of fraction bits in a number. */ 66 /** # of exponent bits in a number. */ 70 static const Bits kSignBitMask = static_cast<Bits>(1) << (kBitCount - 1); 72 /** The mask for the fraction bits. */ 73 static const Bits kFractionBitMask = 74 ~static_cast<Bits>(0) >> (kExponentBitCount + 1) 129 Bits bits; member in union:SkFloatingPoint::FloatingPointUnion [all...] |
| /frameworks/av/cmds/stagefright/ |
| jpeg.cpp | 25 static inline uint8_t from565to8(uint16_t p, int start, int bits) { 26 uint8_t c = (p >> start) & ((1 << bits) - 1); 27 return (c << (8 - bits)) | (c >> (bits - (8 - bits)));
|
| /external/flac/libFLAC/ |
| bitreader.c | 54 /* WATCHOUT: there are a few places where the code will not work unless brword is >= 32 bits wide */ 83 * read. With FLAC this is on the order of maybe a few hundred bits. 137 /* any partially-consumed word at the head will stay right-justified as bits are consumed from the left */ 144 unsigned consumed_bits; /* ... + (#bits of head word) already consumed from the front of buffer */ 146 unsigned crc16_align; /* the number of bits in the current consumed word that should not be CRC'd */ 232 /* before reading, if the existing reader looks like this (say brword is 32 bits wide) 371 fprintf(out, "bitreader: capacity=%u words=%u bytes=%u consumed: words=%u, bits=%u\n", br->capacity, br->words, br->bytes, br->consumed_words, br->consumed_bits); 435 FLaC__INLINE FLAC__bool FLAC__bitreader_read_raw_uint32(FLAC__BitReader *br, FLAC__uint32 *val, unsigned bits) 440 FLAC__ASSERT(bits <= 32); 441 FLAC__ASSERT((br->capacity*FLAC__BITS_PER_WORD) * 2 >= bits); 473 *val <<= bits; local 813 unsigned bits; \/* the # of binary LSBs left to read to finish a rice codeword *\/ local 928 uval <<= bits; local 940 uval <<= bits; local 948 uval <<= bits; local 959 uval <<= bits; local [all...] |
| /hardware/intel/img/psb_video/src/ |
| pnw_VC1.c | 596 if (ctx->pic_params->picture_fields.bits.frame_coding_mode == VC1_FCM_FRMI) { 600 if (PIC_TYPE_IS_INTRA(ctx->pic_params->picture_fields.bits.picture_type)) { 610 if (ctx->pic_params->picture_fields.bits.frame_coding_mode == VC1_FCM_P) { 627 #define P0(x) psb__trace_message("PARAMS: " #x "\t= %d\n", p->sequence_fields.bits.x) 635 #define P2(x) psb__trace_message("PARAMS: " #x "\t= %d\n", p->picture_fields.bits.x) 643 #define P1(x) psb__trace_message("PARAMS: " #x "\t= %d\n", p->entrypoint_fields.bits.x) 651 #define P3(x) psb__trace_message("PARAMS: " #x "\t= %d\n", p->range_mapping_fields.bits.x) 671 #define P4(x) psb__trace_message("PARAMS: " #x "\t= %d\n", p->reference_fields.bits.x) 677 #define P5(x) psb__trace_message("PARAMS: " #x "\t= %d\n", p->mv_fields.bits.x) 690 #define P6(x) psb__trace_message("PARAMS: " #x "\t= %d\n", p->pic_quantizer_fields.bits.x [all...] |
| /external/pixman/pixman/ |
| pixman-access.c | 169 uint32_t *bits = __bits_image->bits; \ 185 ((uint8_t *) ((bits) + (stride) * (line))) 188 ((uint8_t *) ((bits) + offset1 + \ 192 ((uint8_t *) ((bits) + offset0 + \ 304 return image->bits.indexed->rgba[pixel]; 320 return image->bits.indexed->ent[pixel & 0x7fff]; 326 return image->bits.indexed->ent[pixel & 0x7fff]; 336 const uint8_t * bits, 345 pixel = FETCH_1 (image, bits, offset) 593 const uint32_t *bits = image->bits.bits + y * image->bits.rowstride; local 622 const uint32_t *bits = image->bits.bits + y * image->bits.rowstride; local 653 const uint32_t *bits = image->bits.bits + y * image->bits.rowstride; local 683 const uint32_t *bits = image->bits.bits + y * image->bits.rowstride; local 714 const uint32_t *bits = image->bits.bits + y * image->bits.rowstride; local 743 const uint32_t *bits = image->bits.bits + image->bits.rowstride * line; local 813 uint32_t *bits = image->bits + line * image->rowstride; local 833 uint32_t *bits = image->bits + line * image->rowstride; local 854 uint32_t *bits = image->bits + line * image->rowstride; local 875 uint32_t *bits = image->bits + line * image->rowstride; local 895 uint32_t *bits = image->bits + line * image->rowstride; local 913 const uint32_t *bits = image->bits + image->rowstride * line; local 972 uint32_t *bits = image->bits + image->rowstride * y; local 998 uint32_t *bits = image->bits + image->rowstride * y; local 1023 uint32_t *bits = image->bits + image->rowstride * y; local 1049 uint32_t *bits = image->bits + image->rowstride * y; local 1074 uint32_t *bits = image->bits + image->rowstride * y; local 1147 const uint32_t *bits = image->bits.bits + y * image->bits.rowstride; local 1176 uint32_t *bits = image->bits + line * image->rowstride; local 1199 uint32_t *bits = image->bits + image->rowstride * y; local [all...] |
| /external/chromium_org/chrome/test/nacl_test_injection/ |
| buildbot_chrome_nacl_stage.py | 116 if options.bits == 64: 117 bits = 64 118 elif options.bits == 32: 119 bits = 32 122 bits = 64 124 bits = 32 138 if options.bits == 64: 139 bits = 64 140 elif options.bits == 32: 141 bits = 3 [all...] |
| /external/chromium_org/third_party/skia/src/core/ |
| SkFloat.h | 31 void shiftLeft(int bits) { fPacked = Shift(fPacked, bits); } 32 void setShiftLeft(const SkFloat& a, int bits) { fPacked = Shift(a.fPacked, bits); } 34 void shiftRight(int bits) { fPacked = Shift(fPacked, -bits); } 35 void setShiftRight(const SkFloat& a, int bits) { fPacked = Shift(a.fPacked, -bits); } 95 static int32_t Shift(int32_t, int bits);
|
| /external/qemu/audio/ |
| wavcapture.c | 10 int bits; member in struct:__anon32964 75 wav->freq, wav->bits, wav->nchannels, 85 int bits, int nchannels) 100 if (bits != 8 && bits != 16) { 101 monitor_printf(mon, "incorrect bit count %d, must be 8 or 16\n", bits); 112 bits16 = bits == 16; 142 wav->bits = bits;
|
| /external/qemu/distrib/zlib-1.2.8/ |
| inftrees.c | 23 whose indices are 0..2^bits-1. work is a writable array of at least 27 on return points to the next available entry's address. bits is the 28 requested root table index bits, and on return it is the actual root 29 table index bits. It will differ if the request is greater than the 32 int ZLIB_INTERNAL inflate_table(type, lens, codes, table, bits, work) 37 unsigned FAR *bits; 40 unsigned len; /* a code's length in bits */ 43 unsigned root; /* number of index bits for root table */ 44 unsigned curr; /* number of index bits for current table */ 45 unsigned drop; /* code bits to drop for sub-table * [all...] |
| /external/skia/src/core/ |
| SkFloat.h | 31 void shiftLeft(int bits) { fPacked = Shift(fPacked, bits); } 32 void setShiftLeft(const SkFloat& a, int bits) { fPacked = Shift(a.fPacked, bits); } 34 void shiftRight(int bits) { fPacked = Shift(fPacked, -bits); } 35 void setShiftRight(const SkFloat& a, int bits) { fPacked = Shift(a.fPacked, -bits); } 95 static int32_t Shift(int32_t, int bits);
|
| /external/zlib/src/ |
| inftrees.c | 23 whose indices are 0..2^bits-1. work is a writable array of at least 27 on return points to the next available entry's address. bits is the 28 requested root table index bits, and on return it is the actual root 29 table index bits. It will differ if the request is greater than the 32 int ZLIB_INTERNAL inflate_table(type, lens, codes, table, bits, work) 37 unsigned FAR *bits; 40 unsigned len; /* a code's length in bits */ 43 unsigned root; /* number of index bits for root table */ 44 unsigned curr; /* number of index bits for current table */ 45 unsigned drop; /* code bits to drop for sub-table * [all...] |
| /external/chromium_org/third_party/openssl/openssl/crypto/dsa/ |
| dsa_gen.c | 88 int DSA_generate_parameters_ex(DSA *ret, int bits, 101 return ret->meth->dsa_paramgen(ret, bits, seed_in, seed_len, 106 return FIPS_dsa_generate_parameters_ex(ret, bits, 114 size_t qbits = bits >= 2048 ? 256 : 160; 116 if (bits >= 2048) 127 return dsa_builtin_paramgen(ret, bits, qbits, evpmd, 132 int dsa_builtin_paramgen(DSA *ret, size_t bits, size_t qbits, 159 if (bits < 512) 160 bits = 512; 162 bits = (bits+63)/64*64 [all...] |
| /external/openssl/crypto/dsa/ |
| dsa_gen.c | 88 int DSA_generate_parameters_ex(DSA *ret, int bits, 101 return ret->meth->dsa_paramgen(ret, bits, seed_in, seed_len, 106 return FIPS_dsa_generate_parameters_ex(ret, bits, 114 size_t qbits = bits >= 2048 ? 256 : 160; 116 if (bits >= 2048) 127 return dsa_builtin_paramgen(ret, bits, qbits, evpmd, 132 int dsa_builtin_paramgen(DSA *ret, size_t bits, size_t qbits, 159 if (bits < 512) 160 bits = 512; 162 bits = (bits+63)/64*64 [all...] |
| /external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/wgl/ |
| stw_pixelformat.c | 50 } bits; member in struct:stw_pf_color_info 65 } bits; member in struct:stw_pf_depth_info 136 assert(util_format_get_component_bits(color->format, UTIL_FORMAT_COLORSPACE_RGB, 0) == color->bits.red); 137 assert(util_format_get_component_bits(color->format, UTIL_FORMAT_COLORSPACE_RGB, 1) == color->bits.green); 138 assert(util_format_get_component_bits(color->format, UTIL_FORMAT_COLORSPACE_RGB, 2) == color->bits.blue); 139 assert(util_format_get_component_bits(color->format, UTIL_FORMAT_COLORSPACE_RGB, 3) == color->bits.alpha); 140 assert(util_format_get_component_bits(depth->format, UTIL_FORMAT_COLORSPACE_ZS, 0) == depth->bits.depth); 141 assert(util_format_get_component_bits(depth->format, UTIL_FORMAT_COLORSPACE_ZS, 1) == depth->bits.stencil); 165 pfi->pfd.cColorBits = color->bits.red + color->bits.green + color->bits.blue + color->bits.alpha [all...] |
| /external/chromium_org/third_party/zlib/ |
| inflate.c | 30 * - Add comments on state->bits assertion in inffast.c 122 state->bits = 0; 154 /* set number of window bits, free window if different */ 209 int ZEXPORT inflatePrime(strm, bits, value) 211 int bits; 218 if (bits < 0) { 220 state->bits = 0; 223 if (bits > 16 || state->bits + bits > 32) return Z_STREAM_ERROR 250 unsigned sym, bits; local 598 unsigned bits; \/* bits in bit buffer *\/ local [all...] |
| /external/mesa3d/src/gallium/state_trackers/wgl/ |
| stw_pixelformat.c | 50 } bits; member in struct:stw_pf_color_info 65 } bits; member in struct:stw_pf_depth_info 136 assert(util_format_get_component_bits(color->format, UTIL_FORMAT_COLORSPACE_RGB, 0) == color->bits.red); 137 assert(util_format_get_component_bits(color->format, UTIL_FORMAT_COLORSPACE_RGB, 1) == color->bits.green); 138 assert(util_format_get_component_bits(color->format, UTIL_FORMAT_COLORSPACE_RGB, 2) == color->bits.blue); 139 assert(util_format_get_component_bits(color->format, UTIL_FORMAT_COLORSPACE_RGB, 3) == color->bits.alpha); 140 assert(util_format_get_component_bits(depth->format, UTIL_FORMAT_COLORSPACE_ZS, 0) == depth->bits.depth); 141 assert(util_format_get_component_bits(depth->format, UTIL_FORMAT_COLORSPACE_ZS, 1) == depth->bits.stencil); 165 pfi->pfd.cColorBits = color->bits.red + color->bits.green + color->bits.blue + color->bits.alpha [all...] |
| /external/speex/libspeex/ |
| stereo.c | 108 EXPORT void speex_encode_stereo(float *data, int frame_size, SpeexBits *bits) 124 speex_bits_pack(bits, 14, 5); 125 speex_bits_pack(bits, SPEEX_INBAND_STEREO, 4); 131 speex_bits_pack(bits, 0, 1); 133 speex_bits_pack(bits, 1, 1); 138 speex_bits_pack(bits, (int)balance, 5); 142 speex_bits_pack(bits, tmp, 2); 146 EXPORT void speex_encode_stereo_int(spx_int16_t *data, int frame_size, SpeexBits *bits) 158 speex_bits_pack(bits, 14, 5); 160 speex_bits_pack(bits, SPEEX_INBAND_STEREO, 4) [all...] |
| /external/tremolo/Tremolo/ |
| bitwise.c | 38 /* We're 'LSb' endian; if we write a word but read individual bits, 73 extern long oggpack_lookARM(oggpack_buffer *b,int bits); 75 long oggpack_look(oggpack_buffer *b,int bits){ 78 //fprintf(stderr, "PreLook: buffer=(%x,%x,%x) %08x%08x (%d bits)\n", 80 // b->ptr[1], b->ptr[0], bits); 82 l = oggpack_lookARM(b,bits); 83 //fprintf(stderr, "Look: buffer=(%d,%x,%d,%d) %08x%08x (%d bits) (result=%x)\n", 85 // b->ptr[1], b->ptr[0], bits, l); 91 extern void oggpack_advARM(oggpack_buffer *b,int bits); 93 void oggpack_adv(oggpack_buffer *b,int bits){ [all...] |