| /external/libopus/src/ |
| opus_demo.c | 48 "<bits per second> [options] <input> <output>\n", argv[0]); 245 double bits=0.0, bits_max=0.0, bits_act=0.0, bits2=0.0, nrg; local [all...] |
| /external/libvorbis/lib/ |
| res0.c | 124 "%ld frames encoded in %ld phrasebits and %ld residue bits " 186 bitmask of one indicates this partition class has bits to write 394 int i,bits=0; local 406 bits+=vorbis_book_encode(book,entry,opb); 410 return(bits);
|
| /external/llvm/utils/TableGen/ |
| FixedLenDecoderEmitter.cpp | 143 static bit_value_t bitFromBits(const BitsInit &bits, unsigned index) { 144 if (BitInit *bit = dyn_cast<BitInit>(bits.getBit(index))) 151 static void dumpBits(raw_ostream &o, const BitsInit &bits) { 152 for (unsigned index = bits.getNumBits(); index > 0; --index) { 153 switch (bitFromBits(bits, index - 1)) { 170 BitsInit *bits = def.getValueAsBitsInit(str); local 171 return *bits; 188 /// words, what other remaining bits to look at. The FilterChooser eventually 223 unsigned NumBits; // number of bits to filter 224 bool Mixed; // a mixed region contains both set and unset bits [all...] |
| /external/ltrace/ |
| lens_default.c | 35 #include "bits.h" 63 #define HANDLE_WIDTH(BITS) \ 68 int##BITS##_t i = l; \ 69 uint64_t v = (uint64_t)(uint##BITS##_t)i; \ 77 return fprintf(stream, "%"PRIi##BITS, i); \ 717 size_t bits = 0; local 719 bits += bitcount(data[i]); 722 unsigned neg = bits > sz * 4 ? 0xff : 0x00;
|
| /external/mesa3d/src/gallium/auxiliary/util/ |
| u_format.h | 92 /** Block size in bits */ 93 unsigned bits; member in struct:util_format_block 131 unsigned size:9; /**< bits per channel */ 167 * - pixel depth must be 8, 16, or 32 bits; 630 desc->block.bits != 32) 646 * Return total bits needed for the pixel format per block. 658 return desc->block.bits; 667 uint bits = util_format_get_blocksizebits(format); local 669 assert(bits % 8 == 0); 671 return bits / 8 [all...] |
| /external/opencv/otherlibs/highgui/ |
| bitstrm.cpp | 101 m_unGetsize = 4; // 32 bits 396 int RLBitStream::Get( int bits ) 399 int new_bit_idx = bit_idx + bits; 403 assert( (unsigned)bits < 32 ); 412 ((current[1] <<-bit_idx) & mask)) & bs_bit_mask[bits]; 415 int RLBitStream::Show( int bits ) 418 int new_bit_idx = bit_idx + bits; 422 assert( (unsigned)bits < 32 ); 431 ((current[1] <<-bit_idx) & mask)) & bs_bit_mask[bits]; 506 int RMBitStream::Get( int bits ) 595 int bits; member in struct:__anon17287 [all...] |
| /external/pdfium/core/src/fxcodec/fx_zlib/zlib_v128/ |
| fx_zlib_trees.c | 48 /* Bit length codes must not exceed MAX_BL_BITS bits */ 54 /* repeat previous bit length 3-6 times (2 bits of repeat count) */ 57 /* repeat a zero length 3-10 times (3 bits of repeat count) */ 60 /* repeat a zero length 11-138 times (7 bits of repeat count) */ 62 local const int extra_lbits[LENGTH_CODES] /* extra bits for each length code */ 65 local const int extra_dbits[D_CODES] /* extra bits for each distance code */ 68 local const int extra_blbits[BL_CODES]/* extra bits for each bit length code */ 95 * 5 bits.) 100 * 3 .. 258, the last 256 values correspond to the top 8 bits of 119 const intf *extra_bits; /* extra bits for each code or NULL * 239 int bits; \/* bit counter *\/ local 500 int bits; \/* bit length *\/ local 582 int bits; \/* bit index *\/ local [all...] |
| /external/protobuf/gtest/include/gtest/internal/ |
| gtest-internal.h | 322 // For float, there are 8 exponent bits and 23 fraction bits. 324 // For double, there are 11 exponent bits and 52 fraction bits. 337 typedef typename TypeWithSize<sizeof(RawType)>::UInt Bits; 341 // # of bits in a number. 344 // # of fraction bits in a number. 348 // # of exponent bits in a number. 352 static const Bits kSignBitMask = static_cast<Bits>(1) << (kBitCount - 1) 402 const Bits &bits() const { return u_.bits_; } function in class:testing::internal::FloatingPoint [all...] |
| /external/skia/src/core/ |
| SkScalerContext.cpp | 332 unsigned bits = 0; local 334 bits <<= 1; 335 bits |= convert_8_to_1(alpha[i]); 337 return SkToU8(bits); 360 unsigned bits = 0; local 363 bits |= convert_8_to_1(*src++) << shift; 365 *dst++ = bits;
|
| /external/skia/src/effects/ |
| SkColorMatrixFilter.cpp | 154 /* All of fArray[] values must fit in 23 bits, to safely allow me to 158 int bits = SkCLZ(max); local 162 if (bits < 9) { 163 bits = 9 - bits; 164 fState.fShift -= bits; 166 array[i] >>= bits; local 168 one >>= bits; local
|
| /external/skia/src/utils/ |
| SkMD5.cpp | 64 // Get the number of bits before padding. 65 uint8_t bits[8]; local 66 encode(bits, this->byteCount << 3); 80 this->update(bits, 8); 109 /** Rotates x left n bits. */
|
| /external/toybox/toys/other/ |
| bzcat.c | 78 char selectors[32768]; // nSelectors=15 bits 91 // Return the next nnn bits of input. All reads from the compressed input 95 unsigned int bits = 0; local 110 bits = bd->inbufBits&((1<<bd->inbufBitCount)-1); 112 bits <<= bits_wanted; 116 // Grab next 8 bits of input from buffer. 123 bits |= (bd->inbufBits>>bd->inbufBitCount) & ((1<<bits_wanted)-1); 125 return bits; 130 * 48 bits : Block signature, either pi (data block) or e (EOF block). 131 * 32 bits : bw->headerCR [all...] |
| /external/tremolo/Tremolo/ |
| vorbisfile.c | 879 ogg_int64_t bits=0; local 882 bits+=(vf->offsets[i+1]-vf->dataoffsets[i])*8; 883 /* This once read: return(rint(bits/ov_time_total(vf,-1))); 887 return (long)(bits*1000/ov_time_total(vf,-1)); [all...] |
| /external/v8/src/arm64/ |
| instructions-arm64.h | 111 uint32_t Bits(int msb, int lsb) const { 116 int32_t bits = *(reinterpret_cast<const int32_t*>(this)); local 117 return signed_bitextract_32(msb, lsb, bits);
|
| /external/webp/src/dec/ |
| frame.c | 204 const int bits = local 207 const int delta = (bits + DITHER_DESCALE_ROUNDER) >> DITHER_DESCALE; 680 static WEBP_INLINE void DoTransform(uint32_t bits, const int16_t* const src, 682 switch (bits >> 30) { 697 static void DoUVTransform(uint32_t bits, const int16_t* const src, 699 if (bits & 0xff) { // any non-zero coeff at all? 700 if (bits & 0xaa) { // any non-zero AC coefficient? 747 uint32_t bits = block->non_zero_y_; local 777 for (n = 0; n < 16; ++n, bits <<= 2) { 780 DoTransform(bits, coeffs + n * 16, dst) [all...] |
| idec.c | 340 uint32_t bits; local 350 bits = data[0] | (data[1] << 8) | (data[2] << 16); 351 idec->mem_.part0_size_ = (bits >> 5) + VP8_FRAME_HEADER_SIZE;
|
| vp8.c | 106 const uint32_t bits = data[0] | (data[1] << 8) | (data[2] << 16); local 107 const int key_frame = !(bits & 1); 115 if (((bits >> 1) & 7) > 3) { 118 if (!((bits >> 4) & 1)) { 121 if (((bits >> 5)) >= chunk_size) { // partition_length 271 const uint32_t bits = buf[0] | (buf[1] << 8) | (buf[2] << 16); local 273 frm_hdr->key_frame_ = !(bits & 1); 274 frm_hdr->profile_ = (bits >> 1) & 7; 275 frm_hdr->show_ = (bits >> 4) & 1; 276 frm_hdr->partition_length_ = (bits >> 5) [all...] |
| /external/wpa_supplicant_8/src/common/ |
| sae.c | 106 static void buf_shift_right(u8 *buf, size_t len, size_t bits) 110 buf[i] = (buf[i - 1] << (8 - bits)) | (buf[i] >> bits); 111 buf[0] >>= bits; local 203 const u8 *prime, size_t bits, 220 r = get_rand_1_to_p_1(prime, sae->tmp->prime_len, bits, &r_odd); 270 size_t bits; local 277 bits = crypto_ec_prime_len_bits(sae->tmp->ec); 279 prime, sae->tmp->prime_len, pwd_value, bits); 280 if (bits % 8 313 size_t bits = sae->tmp->prime_len * 8; local 432 size_t bits; local [all...] |
| /external/zlib/src/ |
| trees.c | 48 /* Bit length codes must not exceed MAX_BL_BITS bits */ 54 /* repeat previous bit length 3-6 times (2 bits of repeat count) */ 57 /* repeat a zero length 3-10 times (3 bits of repeat count) */ 60 /* repeat a zero length 11-138 times (7 bits of repeat count) */ 62 local const int extra_lbits[LENGTH_CODES] /* extra bits for each length code */ 65 local const int extra_dbits[D_CODES] /* extra bits for each distance code */ 68 local const int extra_blbits[BL_CODES]/* extra bits for each bit length code */ 95 * 5 bits.) 100 * 3 .. 258, the last 256 values correspond to the top 8 bits of 119 const intf *extra_bits; /* extra bits for each code or NULL * 239 int bits; \/* bit counter *\/ local 500 int bits; \/* bit length *\/ local 582 int bits; \/* bit index *\/ local [all...] |
| /frameworks/base/core/jni/ |
| android_view_MotionEvent.cpp | 216 BitSet64 bits = local 218 if (!bits.isEmpty()) { 227 uint32_t axis = bits.clearFirstMarkedBit(); 229 } while (!bits.isEmpty()); 280 BitSet64 bits = BitSet64(rawPointerCoords->bits); local 281 bits.clearBit(AMOTION_EVENT_AXIS_X); 282 bits.clearBit(AMOTION_EVENT_AXIS_Y); 283 bits.clearBit(AMOTION_EVENT_AXIS_PRESSURE); 284 bits.clearBit(AMOTION_EVENT_AXIS_SIZE) [all...] |
| /frameworks/base/graphics/java/android/graphics/drawable/ |
| Icon.java | 503 * @param bits A valid {@link android.graphics.Bitmap} object 505 public static Icon createWithBitmap(Bitmap bits) { 506 if (bits == null) { 510 rep.setBitmap(bits); 661 final Bitmap bits = Bitmap.CREATOR.createFromParcel(in); local 662 mObj1 = bits; 699 final Bitmap bits = getBitmap(); local
|
| /hardware/intel/img/psb_video/src/ |
| vsp_vp8.c | 95 } bits; member in union:__anon24612 435 flags.bits.force_kf = va_pic->ref_flags.bits.force_kf; 436 flags.bits.no_ref_last = va_pic->ref_flags.bits.no_ref_last; 437 flags.bits.no_ref_gf = va_pic->ref_flags.bits.no_ref_gf; 438 flags.bits.no_ref_arf = va_pic->ref_flags.bits.no_ref_arf; 439 flags.bits.upd_last = va_pic->pic_flags.bits.refresh_last [all...] |
| /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
| FloatTest.java | 175 int bits = Float.floatToIntBits(f); local 176 float r = Float.intBitsToFloat(bits); 186 assertTrue("Wrong raw bits", Float.floatToRawIntBits(f) == i); 224 int bits = Float.floatToIntBits(f); local 225 float r = Float.intBitsToFloat(bits); [all...] |
| /bionic/libc/kernel/uapi/linux/ |
| telephony.h | 184 struct phone_except bits; member in union:telephony_exception
|
| /cts/tests/tests/content/src/android/content/cts/util/ |
| XmlUtils.java | 146 long bits; local [all...] |