Home
last modified time | relevance | path

Searched refs:readBit (Results 1 – 22 of 22) sorted by relevance

/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/
DVorbisBitArrayTest.java30 public void readBit() { in readBit() method in VorbisBitArrayTest
32 assertThat(bitArray.readBit()).isFalse(); in readBit()
33 assertThat(bitArray.readBit()).isFalse(); in readBit()
34 assertThat(bitArray.readBit()).isTrue(); in readBit()
35 assertThat(bitArray.readBit()).isTrue(); in readBit()
36 assertThat(bitArray.readBit()).isTrue(); in readBit()
37 assertThat(bitArray.readBit()).isFalse(); in readBit()
38 assertThat(bitArray.readBit()).isTrue(); in readBit()
39 assertThat(bitArray.readBit()).isFalse(); in readBit()
40 assertThat(bitArray.readBit()).isFalse(); in readBit()
[all …]
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/audio/
DAc3Util.java289 lfeon = data.readBit(); in parseAc3SyncframeInfo()
292 if (data.readBit()) { // compre in parseAc3SyncframeInfo()
297 if (data.readBit()) { // compr2e in parseAc3SyncframeInfo()
301 if (streamType == SyncFrameInfo.STREAM_TYPE_TYPE1 && data.readBit()) { // chanmape in parseAc3SyncframeInfo()
304 if (data.readBit()) { // mixmdate in parseAc3SyncframeInfo()
314 if (lfeon && data.readBit()) { // lfemixlevcode in parseAc3SyncframeInfo()
318 if (data.readBit()) { // pgmscle in parseAc3SyncframeInfo()
321 if (acmod == 0 && data.readBit()) { // pgmscl2e in parseAc3SyncframeInfo()
324 if (data.readBit()) { // extpgmscle in parseAc3SyncframeInfo()
334 if (data.readBit()) { // mixdata2e in parseAc3SyncframeInfo()
[all …]
DAc4Util.java146 if (data.readBit()) { // b_wait_frames in parseAc4SyncframeInfo()
151 int sampleRate = data.readBit() ? 48000 : 44100; in parseAc4SyncframeInfo()
239 if (!data.readBit()) { in readVariableBits()
DAacUtil.java352 boolean frameLengthFlag = bitArray.readBit();
356 boolean dependsOnCoreDecoder = bitArray.readBit();
360 boolean extensionFlag = bitArray.readBit();
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ts/
DH265Reader.java250 if (bitArray.readBit()) { // sub_layer_profile_present_flag[i] in parseMediaFormat()
253 if (bitArray.readBit()) { // sub_layer_level_present_flag[i] in parseMediaFormat()
269 if (bitArray.readBit()) { // conformance_window_flag in parseMediaFormat()
284 for (int i = bitArray.readBit() ? 0 : maxSubLayersMinus1; i <= maxSubLayersMinus1; i++) { in parseMediaFormat()
296 boolean scalingListEnabled = bitArray.readBit(); in parseMediaFormat()
297 if (scalingListEnabled && bitArray.readBit()) { in parseMediaFormat()
301 if (bitArray.readBit()) { // pcm_enabled_flag in parseMediaFormat()
310 if (bitArray.readBit()) { // long_term_ref_pics_present_flag in parseMediaFormat()
320 if (bitArray.readBit()) { // vui_parameters_present_flag in parseMediaFormat()
321 if (bitArray.readBit()) { // aspect_ratio_info_present_flag in parseMediaFormat()
[all …]
DLatmReader.java159 boolean useSameStreamMux = data.readBit(); in parseAudioMuxElement()
190 if (!data.readBit()) { in parseStreamMuxConfig()
226 otherDataPresent = data.readBit(); in parseStreamMuxConfig()
234 otherDataLenEsc = data.readBit(); in parseStreamMuxConfig()
239 boolean crcCheckPresent = data.readBit(); in parseStreamMuxConfig()
DPesReader.java199 dataAlignmentIndicator = pesScratch.readBit(); in parseHeader()
201 ptsFlag = pesScratch.readBit(); in parseHeader()
202 dtsFlag = pesScratch.readBit(); in parseHeader()
DPsExtractor.java362 ptsFlag = pesScratch.readBit(); in parseHeader()
363 dtsFlag = pesScratch.readBit(); in parseHeader()
DH264Reader.java411 fieldPicFlag = bitArray.readBit(); in appendToNalUnit()
416 bottomFieldFlag = bitArray.readBit(); in appendToNalUnit()
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/util/
DNalUnitUtil.java281 separateColorPlaneFlag = data.readBit(); in parseSpsNalUnit()
286 boolean seqScalingMatrixPresentFlag = data.readBit(); in parseSpsNalUnit()
290 boolean seqScalingListPresentFlag = data.readBit(); in parseSpsNalUnit()
306 deltaPicOrderAlwaysZeroFlag = data.readBit(); // delta_pic_order_always_zero_flag in parseSpsNalUnit()
319 boolean frameMbsOnlyFlag = data.readBit(); in parseSpsNalUnit()
328 boolean frameCroppingFlag = data.readBit(); in parseSpsNalUnit()
350 boolean vuiParametersPresentFlag = data.readBit(); in parseSpsNalUnit()
352 boolean aspectRatioInfoPresentFlag = data.readBit(); in parseSpsNalUnit()
400 boolean bottomFieldPicOrderInFramePresentFlag = data.readBit(); in parsePpsNalUnit()
DParsableNalUnitBitArray.java124 public boolean readBit() { in readBit() method in ParsableNalUnitBitArray
164 while (byteOffset < byteLimit && !readBit()) { in canReadExpGolombCodedNum()
194 while (!readBit()) { in readExpGolombCodeNum()
DParsableBitArray.java159 public boolean readBit() { in readBit() method in ParsableBitArray
/external/exoplayer/tree/library/common/src/test/java/com/google/android/exoplayer2/util/
DParsableBitArrayTest.java51 assertThat(testArray.readBit()).isTrue(); in readBitInSameByte()
52 assertThat(testArray.readBit()).isTrue(); in readBitInSameByte()
53 assertThat(testArray.readBit()).isFalse(); in readBitInSameByte()
54 assertThat(testArray.readBit()).isFalse(); in readBitInSameByte()
63 assertThat(testArray.readBit()).isFalse(); in readBitInMultipleBytes()
64 assertThat(testArray.readBit()).isTrue(); in readBitInMultipleBytes()
65 assertThat(testArray.readBit()).isTrue(); in readBitInMultipleBytes()
66 assertThat(testArray.readBit()).isFalse(); in readBitInMultipleBytes()
DParsableNalUnitBitArrayTest.java40 assertThat(array.readBit()).isTrue(); in readNoEscaping()
53 array.readBit(); in readNoEscapingTruncated()
67 assertThat(array.readBit()).isFalse(); in readAllEscaping()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/
DVorbisUtil.java330 if (!bitArray.readBit()) { in readVorbisModes()
340 boolean blockFlag = bitArray.readBit(); in readModes()
359 if (bitArray.readBit()) { in readMappings()
365 if (bitArray.readBit()) { in readMappings()
406 if (bitArray.readBit()) { in readResidues()
485 boolean isOrdered = bitArray.readBit(); in readBook()
487 boolean isSparse = bitArray.readBit(); in readBook()
490 if (bitArray.readBit()) { in readBook()
DVorbisBitArray.java57 public boolean readBit() { in readBit() method in VorbisBitArray
DFlacMetadataReader.java153 boolean isLastMetadataBlock = scratch.readBit(); in readMetadataBlock()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/cea/
DCea708Decoder.java403 if (serviceBlockPacket.readBit()) { in handleC1Command()
410 if (serviceBlockPacket.readBit()) { in handleC1Command()
417 if (serviceBlockPacket.readBit()) { in handleC1Command()
424 if (serviceBlockPacket.readBit()) { in handleC1Command()
432 if (serviceBlockPacket.readBit()) { in handleC1Command()
645 boolean italicsToggle = serviceBlockPacket.readBit(); in handleSetPenAttributes()
646 boolean underlineToggle = serviceBlockPacket.readBit(); in handleSetPenAttributes()
707 if (serviceBlockPacket.readBit()) { in handleSetWindowAttributes()
710 boolean wordWrapToggle = serviceBlockPacket.readBit(); in handleSetWindowAttributes()
734 boolean visible = serviceBlockPacket.readBit(); in handleDefineWindow()
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/dvb/
DDvbParser.java323 boolean displayWindowFlag = data.readBit(); in parseDisplayDefinition()
377 boolean fillFlag = data.readBit(); in parseRegionComposition()
488 boolean nonModifyingColorFlag = data.readBit(); in parseObjectData()
706 } else if (data.readBit()) { in paint2BitPixelCodeString()
709 } else if (data.readBit()) { in paint2BitPixelCodeString()
758 } else if (!data.readBit()) { in paint4BitPixelCodeString()
766 } else if (!data.readBit()) { in paint4BitPixelCodeString()
817 if (!data.readBit()) { in paint8BitPixelCodeString()
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DBuffer11.cpp72 bool readBit = ((access & GL_MAP_READ_BIT) != 0); in GetD3DMapTypeFromBits() local
75 ASSERT(readBit || writeBit); in GetD3DMapTypeFromBits()
80 if (readBit && !writeBit) in GetD3DMapTypeFromBits()
84 else if (writeBit && !readBit) in GetD3DMapTypeFromBits()
91 else if (writeBit && readBit) in GetD3DMapTypeFromBits()
/external/clang/lib/Serialization/
DASTReader.cpp765 static bool readBit(unsigned &Bits) { in readBit() function
815 bool CPlusPlusOperatorKeyword = readBit(Bits); in ReadData()
816 bool HasRevertedTokenIDToIdentifier = readBit(Bits); in ReadData()
817 bool HasRevertedBuiltin = readBit(Bits); in ReadData()
818 bool Poisoned = readBit(Bits); in ReadData()
819 bool ExtensionToken = readBit(Bits); in ReadData()
820 bool HadMacroDefinition = readBit(Bits); in ReadData()
/external/llvm-project/clang/lib/Serialization/
DASTReader.cpp920 static bool readBit(unsigned &Bits) { in readBit() function
972 bool CPlusPlusOperatorKeyword = readBit(Bits); in ReadData()
973 bool HasRevertedTokenIDToIdentifier = readBit(Bits); in ReadData()
974 bool Poisoned = readBit(Bits); in ReadData()
975 bool ExtensionToken = readBit(Bits); in ReadData()
976 bool HadMacroDefinition = readBit(Bits); in ReadData()