Home
last modified time | relevance | path

Searched refs:bitsLeft (Results 1 – 17 of 17) sorted by relevance

/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/util/
DParsableBitArray.java95 public int bitsLeft() { in bitsLeft() method in ParsableBitArray
221 int bitsLeft = numBits & 7 /* numBits % 8 */; in readBits() local
222 if (bitsLeft == 0) { in readBits()
226 buffer[to] = (byte) (buffer[to] & (0xFF >> bitsLeft)); in readBits()
227 if (bitOffset + bitsLeft > 8) { in readBits()
232 bitOffset += bitsLeft; in readBits()
234 buffer[to] |= (byte) (lastDataByteTrailingBits << (8 - bitsLeft)); in readBits()
/external/deqp/framework/common/
DtcuFormatUtil.hpp102 deUint64 bitsLeft = m_value; in toStream() local
105 if (curDesc->bit & bitsLeft) in toStream()
107 if (bitsLeft != m_value) in toStream()
110 bitsLeft ^= curDesc->bit; in toStream()
114 if (bitsLeft != 0) in toStream()
116 if (bitsLeft != m_value) in toStream()
118 stream << Hex<BitfieldSize/4>(bitsLeft); in toStream()
/external/OpenCL-CTS/test_common/harness/
Dconversions.cpp922 cl_uint bitsLeft = 32; in generate_random_data() local
930 if (0 == bitsLeft) in generate_random_data()
933 bitsLeft = 32; in generate_random_data()
937 bitsLeft -= 1; in generate_random_data()
945 if (0 == bitsLeft) in generate_random_data()
948 bitsLeft = 32; in generate_random_data()
952 bitsLeft -= 8; in generate_random_data()
961 if (0 == bitsLeft) in generate_random_data()
964 bitsLeft = 32; in generate_random_data()
968 bitsLeft -= 8; in generate_random_data()
[all …]
/external/sonivox/arm-wt-22k/lib_src/
Deas_ota.c1004 EAS_I32 bitsLeft; in OTA_FetchBitField() local
1010 bitsLeft = pData->current.bitCount - numBits; in OTA_FetchBitField()
1013 if (bitsLeft < 0) in OTA_FetchBitField()
1018 value = pData->current.dataByte << -bitsLeft; in OTA_FetchBitField()
1023 bitsLeft += 8; in OTA_FetchBitField()
1027 if (bitsLeft > 0) in OTA_FetchBitField()
1029 value |= pData->current.dataByte >> bitsLeft; in OTA_FetchBitField()
1030 pData->current.bitCount = (EAS_U8) bitsLeft; in OTA_FetchBitField()
1031 pData->current.dataByte = pData->current.dataByte & (0xff >> (8 - bitsLeft)); in OTA_FetchBitField()
/external/dng_sdk/source/
Ddng_lossless_jpeg.cpp400 int32 bitsLeft; // # of unused bits in it member in dng_lossless_decoder
515 , bitsLeft (0) in dng_lossless_decoder()
1274 bitsLeft = 0; in HuffDecoderInit()
1334 fStream->SetReadPosition (fStream->Position () - bitsLeft / 8); in ProcessRestart()
1336 bitsLeft = 0; in ProcessRestart()
1478 while (bitsLeft < kMinGetBits) in FillBitBuffer()
1491 bitsLeft += 32; in FillBitBuffer()
1501 while (bitsLeft < kMinGetBits) in FillBitBuffer()
1525 if (bitsLeft >= nbits) in FillBitBuffer()
1541 bitsLeft += 8; in FillBitBuffer()
[all …]
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ts/
DLatmReader.java272 int bitsLeft = data.bitsLeft(); in parseAudioSpecificConfig() local
277 return bitsLeft - data.bitsLeft(); in parseAudioSpecificConfig()
/external/mesa3d/src/amd/addrlib/src/core/
Dcoord.cpp381 UINT_32 bitsLeft = 0; in solveAddr() local
402 bitsLeft++; in solveAddr()
406 if (bitsLeft > 0) in solveAddr()
416 bitsLeft = 0; in solveAddr()
457 bitsLeft++; in solveAddr()
460 } while (bitsLeft > 0); in solveAddr()
/external/OpenCL-CTS/test_conformance/SVM/
Dtest_enqueue_api.cpp36 cl_uint bitsLeft = 32; in generate_data() local
40 if( 0 == bitsLeft) in generate_data()
43 bitsLeft = 32; in generate_data()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/
DVorbisBitArray.java119 public int bitsLeft() { in bitsLeft() method in VorbisBitArray
/external/skia/src/core/
DSkBlitter.cpp226 int bitsLeft = cx - ((cx - maskLeft) & 7); in blitMask() local
229 int leftEdge = cx - bitsLeft; in blitMask()
231 int rightEdge = clip.fRight - bitsLeft; in blitMask()
249 bits_to_runs(this, bitsLeft, cy, bits, leftMask, rowBytes, rightMask); in blitMask()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/dvb/
DDvbParser.java131 while (dataBitArray.bitsLeft() >= 48 // sync_byte (8) + segment header (40) in decode()
250 if ((dataFieldLength * 8) > data.bitsLeft()) { in parseSubtitlingSegment()
253 data.skipBits(data.bitsLeft()); in parseSubtitlingSegment()
637 while (data.bitsLeft() != 0) { in paintPixelDataSubBlock()
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/audio/
DDtsUtil.java221 while (scratchBits.bitsLeft() >= 16) { in getNormalizedFrameHeader()
/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/
DVorbisBitArrayTest.java131 assertThat(bitArray.bitsLeft()).isEqualTo(24); in readBitsBeyondByteBoundaries()
/external/skqp/src/core/
DSkBlitter.cpp333 int bitsLeft = cx - ((cx - maskLeft) & 7); in blitMask() local
336 int leftEdge = cx - bitsLeft; in blitMask()
338 int rightEdge = clip.fRight - bitsLeft; in blitMask()
356 bits_to_runs(this, bitsLeft, cy, bits, leftMask, rowBytes, rightMask); in blitMask()
/external/exoplayer/tree/library/common/src/test/java/com/google/android/exoplayer2/util/
DParsableBitArrayTest.java178 assertThat(testArray.bitsLeft()).isEqualTo(0); in readBitsToByteArray()
/external/OpenCL-CTS/test_conformance/integer_ops/
Dtest_int_basic_ops.cpp1357 cl_uint bitsLeft = 32; in generate_random_bool_data() local
1363 if( 0 == bitsLeft) in generate_random_bool_data()
1366 bitsLeft = 32; in generate_random_bool_data()
1373 bits >>= 1; bitsLeft -= 1; in generate_random_bool_data()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/cea/
DCea708Decoder.java309 while (serviceBlockPacket.bitsLeft() > 0) { in processCurrentPacket()