Home
last modified time | relevance | path

Searched refs:bitIndex (Results 1 - 25 of 28) sorted by relevance

12

/third_party/libsnd/src/ALAC/
H A DALACBitUtilities.c38 bits->bitIndex = 0 ; in BitBufferInit()
51 returnBits = returnBits << bits->bitIndex ; in BitBufferRead()
54 bits->bitIndex += numBits ; in BitBufferRead()
58 bits->cur += (bits->bitIndex >> 3) ; in BitBufferRead()
59 bits->bitIndex &= 7 ; in BitBufferRead()
76 returnBits = returnBits << bits->bitIndex ; in BitBufferReadSmall()
78 bits->bitIndex += numBits ; in BitBufferReadSmall()
82 bits->cur += (bits->bitIndex >> 3) ; in BitBufferReadSmall()
83 bits->bitIndex &= 7 ; in BitBufferReadSmall()
97 returnBits = (bits->cur [0] >> (7 - bits->bitIndex)) in BitBufferReadOne()
[all...]
H A DALACBitUtilities.h65 uint32_t bitIndex ; member
H A Dag_dec.c285 startPos = bitstream->bitIndex ; in dyn_decomp()
H A Dag_enc.c254 startPos = bitstream->bitIndex ; in dyn_comp()
/third_party/lzma/CS/7zip/Compress/RangeCoder/
H A DRangeCoderBitTree.cs25 for (int bitIndex = NumBitLevels; bitIndex > 0; ) in Encode()
27 bitIndex--; in Encode()
28 UInt32 bit = (symbol >> bitIndex) & 1; in Encode()
50 for (int bitIndex = NumBitLevels; bitIndex > 0; ) in GetPrice()
52 bitIndex--; in GetPrice()
53 UInt32 bit = (symbol >> bitIndex) & 1; in GetPrice()
123 for (int bitIndex = NumBitLevels; bitIndex > in Decode()
[all...]
/third_party/lzma/Java/SevenZip/Compression/RangeCoder/
H A DBitTreeDecoder.java22 for (int bitIndex = NumBitLevels; bitIndex != 0; bitIndex--) in Decode()
31 for (int bitIndex = 0; bitIndex < NumBitLevels; bitIndex++) in ReverseDecode()
36 symbol |= (bit << bitIndex); in ReverseDecode()
46 for (int bitIndex = 0; bitIndex < NumBitLevels; bitIndex in ReverseDecode()
[all...]
H A DBitTreeEncoder.java23 for (int bitIndex = NumBitLevels; bitIndex != 0; ) in Encode()
25 bitIndex--; in Encode()
26 int bit = (symbol >>> bitIndex) & 1; in Encode()
48 for (int bitIndex = NumBitLevels; bitIndex != 0; ) in GetPrice()
50 bitIndex--; in GetPrice()
51 int bit = (symbol >>> bitIndex) & 1; in GetPrice()
/third_party/icu/icu4c/source/test/perf/usetperf/
H A Dbitset.cpp34 UBool BitSet::get(int32_t bitIndex) const { in get()
35 uint32_t longIndex = bitIndex >> 5; in get()
36 int32_t bitInLong = bitIndex & 0x1F; in get()
41 void BitSet::set(int32_t bitIndex) { in set() argument
42 uint32_t longIndex = bitIndex >> 5; in set()
43 int32_t bitInLong = bitIndex & 0x1F; in set()
H A Dbitset.h32 UBool get(int32_t bitIndex) const;
34 void set(int32_t bitIndex);
/third_party/protobuf/src/google/protobuf/compiler/java/
H A Djava_helpers.cc637 std::string GetBitFieldNameForBit(int bitIndex) { in GetBitFieldNameForBit() argument
638 return GetBitFieldName(bitIndex / 32); in GetBitFieldNameForBit()
643 std::string GenerateGetBitInternal(const std::string& prefix, int bitIndex) { in GenerateGetBitInternal() argument
644 std::string varName = prefix + GetBitFieldNameForBit(bitIndex); in GenerateGetBitInternal()
645 int bitInVarIndex = bitIndex % 32; in GenerateGetBitInternal()
652 std::string GenerateSetBitInternal(const std::string& prefix, int bitIndex) { in GenerateSetBitInternal() argument
653 std::string varName = prefix + GetBitFieldNameForBit(bitIndex); in GenerateSetBitInternal()
654 int bitInVarIndex = bitIndex % 32; in GenerateSetBitInternal()
663 std::string GenerateGetBit(int bitIndex) { in GenerateGetBit() argument
664 return GenerateGetBitInternal("", bitIndex); in GenerateGetBit()
667 GenerateSetBit(int bitIndex) GenerateSetBit() argument
671 GenerateClearBit(int bitIndex) GenerateClearBit() argument
680 GenerateGetBitFromLocal(int bitIndex) GenerateGetBitFromLocal() argument
684 GenerateSetBitToLocal(int bitIndex) GenerateSetBitToLocal() argument
688 GenerateGetBitMutableLocal(int bitIndex) GenerateGetBitMutableLocal() argument
692 GenerateSetBitMutableLocal(int bitIndex) GenerateSetBitMutableLocal() argument
[all...]
H A Djava_helpers.h272 // Effectively, GetBitFieldName(bitIndex / 32)
273 std::string GetBitFieldNameForBit(int bitIndex);
278 std::string GenerateGetBit(int bitIndex);
283 std::string GenerateSetBit(int bitIndex);
288 std::string GenerateClearBit(int bitIndex);
294 std::string GenerateGetBitFromLocal(int bitIndex);
300 std::string GenerateSetBitToLocal(int bitIndex);
306 std::string GenerateGetBitMutableLocal(int bitIndex);
312 std::string GenerateSetBitMutableLocal(int bitIndex);
/third_party/skia/src/codec/
H A DSkSwizzler.cpp93 // increment src by byte offset and bitIndex by bit offset in swizzle_bit_to_grayscale()
95 int bitIndex = offset % 8; in swizzle_bit_to_grayscale() local
98 dst[0] = ((currByte >> (7-bitIndex)) & 1) ? GRAYSCALE_WHITE : GRAYSCALE_BLACK; in swizzle_bit_to_grayscale()
101 int bitOffset = bitIndex + deltaSrc; in swizzle_bit_to_grayscale()
102 bitIndex = bitOffset % 8; in swizzle_bit_to_grayscale()
104 dst[x] = ((currByte >> (7-bitIndex)) & 1) ? GRAYSCALE_WHITE : GRAYSCALE_BLACK; in swizzle_bit_to_grayscale()
117 // increment src by byte offset and bitIndex by bit offset in swizzle_bit_to_n32()
119 int bitIndex = offset % 8; in swizzle_bit_to_n32() local
122 dst[0] = ((currByte >> (7 - bitIndex)) & 1) ? SK_ColorWHITE : SK_ColorBLACK; in swizzle_bit_to_n32()
125 int bitOffset = bitIndex in swizzle_bit_to_n32()
142 int bitIndex = offset % 8; swizzle_bit_to_565() local
174 int bitIndex = offset % 8; swizzle_bit_to_f16() local
195 int bitIndex = offset % 8; swizzle_small_index_to_565() local
216 int bitIndex = offset % 8; swizzle_small_index_to_n32() local
[all...]
/third_party/skia/src/utils/
H A DSkBitSet.h102 const size_t bitIndex = i * kChunkBits + SkCTZ(chunk); in findFirst() local
103 return OptionalIndex(bitIndex); in findFirst()
116 const size_t bitIndex = i * kChunkBits + SkCTZ(chunk); in findFirstUnset() local
117 if (bitIndex >= fSize) { in findFirstUnset()
120 return OptionalIndex(bitIndex); in findFirstUnset()
/third_party/backends/backend/
H A Depsonds-jpeg.c164 for(SANE_Int bitIndex = 0; bitIndex < 8 && imgPos < bufSize; bitIndex++) { in eds_decode_jpeg()
168 SANE_Byte bit = 7 - (bitIndex % 8); in eds_decode_jpeg()
H A Depsonds.c2446 static void setBit (SANE_Byte* bytes, SANE_Int bitIndex, SANE_Bool isTrue) in setBit() argument
2448 SANE_Int octet = bitIndex / 8; in setBit()
2449 SANE_Byte bit = 7 - (bitIndex % 8); in setBit()
2458 static SANE_Bool getBit (SANE_Byte* bytes, SANE_Int bitIndex) in getBit() argument
2460 SANE_Int octet = bitIndex / 8; in getBit()
2461 SANE_Byte mask = 1 << (7 - (bitIndex % 8)); in getBit()
/third_party/node/deps/npm/node_modules/qrcode-terminal/vendor/QRCode/
H A Dindex.js291 var bitIndex = 7; variable
307 dark = ( ( (data[byteIndex] >>> bitIndex) & 1) === 1);
317 bitIndex--;
319 if (bitIndex === -1) {
321 bitIndex = 7;
/third_party/skia/third_party/externals/swiftshader/src/Device/
H A DETC_Decoder.cpp592 int bitIndex = x * 4 + y; in getIndex() local
593 int bitOffset = bitIndex & 7; in getIndex()
594 int lsb = (pixelIndexLSB[1 - (bitIndex >> 3)] >> bitOffset) & 1; in getIndex()
595 int msb = (pixelIndexMSB[1 - (bitIndex >> 3)] >> bitOffset) & 1; in getIndex()
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
H A DETC_Decoder.cpp595 int bitIndex = x * 4 + y; in getIndex() local
596 int bitOffset = bitIndex & 7; in getIndex()
597 int lsb = (pixelIndexLSB[1 - (bitIndex >> 3)] >> bitOffset) & 1; in getIndex()
598 int msb = (pixelIndexMSB[1 - (bitIndex >> 3)] >> bitOffset) & 1; in getIndex()
/third_party/skia/third_party/etc1/
H A Detc1.cpp307 const etc1_byte* pIn, etc1_uint32 *pLow, int bitIndex, in chooseModifier()
337 << bitIndex; in chooseModifier()
306 chooseModifier(const etc1_byte* pBaseColors, const etc1_byte* pIn, etc1_uint32 *pLow, int bitIndex, const int* pModifierTable) chooseModifier() argument
/third_party/qrcodegen/c/
H A Dqrcodegen.c783 int bitIndex = index & 7; in setModuleBounded() local
786 qrcode[byteIndex] |= 1 << bitIndex; in setModuleBounded()
788 qrcode[byteIndex] &= (1 << bitIndex) ^ 0xFF; in setModuleBounded()
/third_party/skia/third_party/externals/angle2/src/image_util/
H A Dloadimage_etc.cpp676 size_t bitIndex = x * 4 + y; in getIndex() local
677 size_t bitOffset = bitIndex & 7; in getIndex()
678 size_t lsb = (u.idht.pixelIndexLSB[1 - (bitIndex >> 3)] >> bitOffset) & 1; in getIndex()
679 size_t msb = (u.idht.pixelIndexMSB[1 - (bitIndex >> 3)] >> bitOffset) & 1; in getIndex()
/third_party/icu/icu4c/source/common/
H A Ddictbe.cpp1111 static inline int32_t utext_i32_flag(int32_t bitIndex) { in utext_i32_flag() argument
1112 return (int32_t)1 << bitIndex; in utext_i32_flag()
H A Dutext.cpp37 #define I32_FLAG(bitIndex) ((int32_t)1<<(bitIndex))
/third_party/node/deps/icu-small/source/common/
H A Ddictbe.cpp1122 static inline int32_t utext_i32_flag(int32_t bitIndex) { in utext_i32_flag() argument
1123 return (int32_t)1 << bitIndex; in utext_i32_flag()
/third_party/skia/third_party/externals/icu/source/common/
H A Ddictbe.cpp1097 static inline int32_t utext_i32_flag(int32_t bitIndex) { in utext_i32_flag() argument
1098 return (int32_t)1 << bitIndex; in utext_i32_flag()

Completed in 35 milliseconds

12