Home
last modified time | relevance | path

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

/third_party/libsnd/src/ALAC/
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)) & 1 ; in BitBufferReadOne()
[all …]
DALACBitUtilities.h65 uint32_t bitIndex ; member
Dag_dec.c285 startPos = bitstream->bitIndex ; in dyn_decomp()
Dag_enc.c254 startPos = bitstream->bitIndex ; in dyn_comp()
/third_party/lzma/CS/7zip/Compress/RangeCoder/
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 > 0; bitIndex--) in Decode()
132 for (int bitIndex = 0; bitIndex < NumBitLevels; bitIndex++) in ReverseDecode()
137 symbol |= (bit << bitIndex); in ReverseDecode()
147 for (int bitIndex = 0; bitIndex < NumBitLevels; bitIndex++) in ReverseDecode()
[all …]
/third_party/lzma/Java/SevenZip/Compression/RangeCoder/
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()
51 symbol |= (bit << bitIndex); in ReverseDecode()
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/protobuf/src/google/protobuf/compiler/java/
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()
[all …]
Djava_helpers.h273 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/icu/icu4c/source/test/perf/usetperf/
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()
Dbitset.h32 UBool get(int32_t bitIndex) const;
34 void set(int32_t bitIndex);
/third_party/skia/src/codec/
DSkSwizzler.cpp95 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()
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 + deltaSrc; in swizzle_bit_to_n32()
126 bitIndex = bitOffset % 8; in swizzle_bit_to_n32()
128 dst[x] = ((currByte >> (7 - bitIndex)) & 1) ? SK_ColorWHITE : SK_ColorBLACK; in swizzle_bit_to_n32()
[all …]
/third_party/skia/src/utils/
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/node/deps/npm/node_modules/qrcode-terminal/vendor/QRCode/
Dindex.js291 var bitIndex = 7;
307 dark = ( ( (data[byteIndex] >>> bitIndex) & 1) === 1);
317 bitIndex--;
319 if (bitIndex === -1) {
321 bitIndex = 7;
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
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/externals/swiftshader/src/Device/
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/etc1/
Detc1.cpp307 const etc1_byte* pIn, etc1_uint32 *pLow, int bitIndex, in chooseModifier() argument
337 << bitIndex; in chooseModifier()
/third_party/qrcodegen/c/
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/
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/skia/third_party/externals/icu/source/common/
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()
Dutext.cpp37 #define I32_FLAG(bitIndex) ((int32_t)1<<(bitIndex)) argument
/third_party/node/deps/icu-small/source/common/
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()
Dutext.cpp37 #define I32_FLAG(bitIndex) ((int32_t)1<<(bitIndex)) argument
/third_party/icu/icu4c/source/common/
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()
Dutext.cpp37 #define I32_FLAG(bitIndex) ((int32_t)1<<(bitIndex)) argument