/external/libgdx/gdx/src/com/badlogic/gdx/utils/compression/rangecoder/ |
BitTreeEncoder.java | 38 int bit = (symbol >>> bitIndex) & 1;
local 39 rangeEncoder.Encode(Models, m, bit);
40 m = (m << 1) | bit;
47 int bit = symbol & 1;
local 48 rangeEncoder.Encode(Models, m, bit);
49 m = (m << 1) | bit;
59 int bit = (symbol >>> bitIndex) & 1;
local 60 price += Encoder.GetPrice(Models[m], bit);
61 m = (m << 1) + bit;
70 int bit = symbol & 1; local 82 int bit = symbol & 1; local 94 int bit = symbol & 1; local [all...] |
/external/libopus/silk/ |
encode_pulses.c | 68 opus_int i, k, j, iter, bit, nLS, scale_down, RateLevelIndex = 0; local 192 bit = silk_RSHIFT( abs_q, j ) & 1; 193 ec_enc_icdf( psRangeEnc, bit, silk_lsb_iCDF, 8 ); 195 bit = abs_q & 1; 196 ec_enc_icdf( psRangeEnc, bit, silk_lsb_iCDF, 8 );
|
/external/libvorbis/doc/ |
02-bitpacking.tex | 23 seven, ten, eleven and sixteen bit 'bytes' have been used. For 36 the native bit-width of a given storage system. This document assumes 39 \subsubsection{bit order} 41 A byte has a well-defined 'least significant' bit (LSb), which is the 42 only bit set when the byte is storing the two's complement integer 43 value +1. A byte's 'most significant' bit (MSb) is at the opposite 70 The Vorbis codec has need to code arbitrary bit-width integers, from 73 is written at the bit position at which the previous field ends. 77 significant bit, etc, until the requested number of bits have been 80 significant unused bit position of the destination byte, followed b [all...] |
/external/libvpx/libvpx/vp8/decoder/ |
dboolhuff.h | 59 unsigned int bit = 0; local 82 bit = 1; 95 return bit; 101 int bit; local 103 for (bit = bits - 1; bit >= 0; bit--) 105 z |= (vp8dx_decode_bool(br, 0x80) << bit);
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/rangecoder/ |
RangeDecoder.java | 27 int bit; local 29 // Compare code and bound as if they were unsigned 32-bit integers. 34 bit = 0; 39 bit = 1; 42 return bit; 61 int bit = decodeBit(probs, symbol); local 62 symbol = (symbol << 1) | bit; 63 result |= bit << i++;
|
/external/mesa3d/src/mesa/main/ |
querymatrix.c | 108 unsigned int bit; local 149 for (i = 0, bit = 1; i < 16; i++, bit<<=1) { 181 rv |= bit; 195 rv |= bit; 204 rv |= bit;
|
texgen.c | 106 GLbitfield bit = 0x0; local 111 bit = TEXGEN_OBJ_LINEAR; 114 bit = TEXGEN_EYE_LINEAR; 118 bit = TEXGEN_SPHERE_MAP; 122 bit = TEXGEN_REFLECTION_MAP_NV; 126 bit = TEXGEN_NORMAL_MAP_NV; 131 if (!bit) { 136 && (bit & (TEXGEN_REFLECTION_MAP_NV | TEXGEN_NORMAL_MAP_NV)) == 0) { 143 texgen->_ModeBit = bit;
|
/external/selinux/policycoreutils/mcstrans/src/ |
mls_level.c | 48 int bit = atoi(scontextp + 1); local 49 if (ebitmap_set_bit(&l->cat, bit, 1)) 58 for (i = bit + 1; i <= ubit; i++) {
|
/external/valgrind/memcheck/tests/amd64/ |
insn-pmovmskb.c | 23 bit means "defined"; 1 means "undefined". */ 32 static void print(V128 vbits, V128 val, int bit, int result) 34 printf("vbits=0x%016lx%016lx val=0x%016lx%016lx bit=%d result=%d\n", 36 bit, result); 67 int bit = 0; ULong mask = (1UL << bit); local 68 if ((vbits_mask & mask) == 0) print(vbits, val_copy, bit, result & mask); 69 else use(bit, result & mask); 71 bit = 1; mask = (1UL << bit); [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
IccServiceTable.java | 22 * Wrapper class for an ICC EF containing a bit field of enabled services. 50 int bit = service % 8; local 51 return (mServiceTable[offset] & (1 << bit)) != 0; 64 for (int bit = 0; bit < 8; bit++) { 65 if ((currentByte & (1 << bit)) != 0) { 71 int ordinal = (i * 8) + bit;
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/ |
vp9_reader.h | 48 unsigned int bit = 0; local 68 bit = 1; 81 return bit; 89 int literal = 0, bit; local 91 for (bit = bits - 1; bit >= 0; bit--) 92 literal |= vp9_read_bit(r) << bit;
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
vp9_writer.h | 30 // Variables used to track bit costs without outputing to the bitstream 38 static void vp9_write(vp9_writer *br, int bit, int probability) { 49 if (bit) { 86 static void vp9_write_bit(vp9_writer *w, int bit) { 87 vp9_write(w, bit, 128); // vp9_prob_half 91 int bit; local 93 for (bit = bits - 1; bit >= 0; bit--) 94 vp9_write_bit(w, 1 & (data >> bit)); [all...] |
/system/core/include/cutils/ |
bitops.h | 39 * int bit = bitmask_ffz(resource_bits, num_resources); 40 * bitmask_set(resource_bits, bit); 42 * if (bitmask_test(resource_bits, bit)) { ... } 44 * bitmask_clear(resource_bits, bit); 61 int bit, result; local 65 bit = ffs(~bitmask[i]); 66 if (bit) { 68 bit--; 69 result = BITS_PER_WORD * i + bit; 88 static inline void bitmask_set(unsigned int *bitmask, int bit) [all...] |
/dalvik/dexgen/src/com/android/dexgen/util/ |
Bits.java | 20 * Utilities for treating {@code int[]}s as bit sets. 31 * Constructs a bit set to contain bits up to the given index (exclusive). 33 * @param max {@code >= 0;} the maximum bit index (exclusive) 42 * Gets the maximum index (exclusive) for the given bit set. 44 * @param bits {@code non-null;} bit set in question 52 * Gets the value of the bit at the given index. 54 * @param bits {@code non-null;} bit set to operate on 55 * @param idx {@code >= 0, < getMax(set);} which bit 56 * @return the value of the indicated bit 60 int bit = 1 << (idx & 0x1f) local 73 int bit = 1 << (idx & 0x1f); local 90 int bit = 1 << (idx & 0x1f); local 102 int bit = 1 << (idx & 0x1f); local [all...] |
/dalvik/dx/src/com/android/dx/util/ |
Bits.java | 20 * Utilities for treating {@code int[]}s as bit sets. 31 * Constructs a bit set to contain bits up to the given index (exclusive). 33 * @param max {@code >= 0;} the maximum bit index (exclusive) 42 * Gets the maximum index (exclusive) for the given bit set. 44 * @param bits {@code non-null;} bit set in question 52 * Gets the value of the bit at the given index. 54 * @param bits {@code non-null;} bit set to operate on 55 * @param idx {@code >= 0, < getMax(set);} which bit 56 * @return the value of the indicated bit 60 int bit = 1 << (idx & 0x1f) local 73 int bit = 1 << (idx & 0x1f); local 90 int bit = 1 << (idx & 0x1f); local 102 int bit = 1 << (idx & 0x1f); local [all...] |
/external/ImageMagick/coders/ |
wbmp.c | 142 bit; 198 bit=0; 202 if (bit == 0) 208 SetPixelIndex(image,(byte & (0x01 << (7-bit))) ? 1 : 0,q); 209 bit++; 210 if (bit == 8) 211 bit=0; 370 bit, 400 bit=0; 405 byte|=0x1 << (7-bit); 140 bit; local 365 bit, local [all...] |
/external/aac/libSBRdec/src/ |
psbitdec.cpp | 20 individually for the purpose of encoding or decoding bit streams in products that are compliant with 106 UCHAR bit = 0; local 111 bit = FDKreadBits (hBitBuf, 1); 113 index = h[index][bit];
|
/external/boringssl/src/crypto/bn/ |
random.c | 120 int ret = 0, bit, bytes, mask; local 132 bit = (bits - 1) % 8; 133 mask = 0xff << (bit + 1); 148 if (bit == 0) { 152 buf[0] |= (3 << (bit - 1)); 155 buf[0] |= (1 << bit); 161 /* set bottom bit if requested */ 200 * so 3*range (= 11..._2) is exactly one bit longer than range */
|
/external/boringssl/src/crypto/curve25519/ |
x25519-x86_64.c | 193 const uint8_t bit = 1 & (s[i] >> j); local 194 const uint64_t swap = bit ^ prevbit; 195 prevbit = bit;
|
/external/dexmaker/src/dx/java/com/android/dx/util/ |
Bits.java | 20 * Utilities for treating {@code int[]}s as bit sets. 31 * Constructs a bit set to contain bits up to the given index (exclusive). 33 * @param max {@code >= 0;} the maximum bit index (exclusive) 42 * Gets the maximum index (exclusive) for the given bit set. 44 * @param bits {@code non-null;} bit set in question 52 * Gets the value of the bit at the given index. 54 * @param bits {@code non-null;} bit set to operate on 55 * @param idx {@code >= 0, < getMax(set);} which bit 56 * @return the value of the indicated bit 60 int bit = 1 << (idx & 0x1f) local 73 int bit = 1 << (idx & 0x1f); local 90 int bit = 1 << (idx & 0x1f); local 102 int bit = 1 << (idx & 0x1f); local [all...] |
/external/fio/lib/ |
bloom.c | 105 const unsigned int bit = hash[i] & BITS_INDEX_MASK; local 107 if (b->map[index] & (1U << bit)) 110 b->map[index] |= 1U << bit;
|
/external/icu/icu4c/source/extra/scrptrun/ |
scrptrun.cpp | 53 int8_t bit = 0; local 57 bit += 16; 62 bit += 8; 67 bit += 4; 72 bit += 2; 77 bit += 1; 80 return bit;
|
/external/icu/icu4c/source/samples/layout/ |
cmaps.cpp | 24 // Finds the high bit by binary searching 29 le_uint8 bit = 0; local 33 bit += 16; 38 bit += 8; 43 bit += 4; 48 bit += 2; 53 bit += 1; 56 return bit; 173 le_uint8 bit = highBit(nGroups); local 174 fPower = 1 << bit; [all...] |
/external/libvpx/libvpx/vpx_dsp/ |
bitreader.h | 77 unsigned int bit = 0; local 97 bit = 1; 110 return bit; 118 int literal = 0, bit; local 120 for (bit = bits - 1; bit >= 0; bit--) 121 literal |= vpx_read_bit(r) << bit;
|
/external/mesa3d/src/egl/main/ |
eglcontext.c | 43 * Return the API bit (one of EGL_xxx_BIT) of the context. 48 EGLint bit = 0; local 54 bit = EGL_OPENGL_ES_BIT; 58 bit = EGL_OPENGL_ES2_BIT; 65 bit = EGL_OPENVG_BIT; 68 bit = EGL_OPENGL_BIT; 74 return bit;
|