Home
last modified time | relevance | path

Searched refs:bitArray (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/tests/SampleVideoEncoder/app/src/main/java/com/android/media/samplevideoencoder/
DNalUnitUtil.java52 ParsableBitArray bitArray = new ParsableBitArray(dataArray); in parseAVCNALUnitData() local
53 bitArray.reset(dataArray, offset, limit); in parseAVCNALUnitData()
55 bitArray.skipBit(); // forbidden_zero_bit in parseAVCNALUnitData()
56 bitArray.readBits(2); // nal_ref_idc in parseAVCNALUnitData()
57 bitArray.skipBits(5); // nal_unit_type in parseAVCNALUnitData()
59 bitArray.readUEV(); // first_mb_in_slice in parseAVCNALUnitData()
60 if (!bitArray.canReadUEV()) { in parseAVCNALUnitData()
63 int sliceType = bitArray.readUEV(); in parseAVCNALUnitData()
86 ParsableBitArray bitArray = new ParsableBitArray(dataArray); in parseHEVCNALUnitData() local
87 bitArray.reset(dataArray, offset, limit); in parseHEVCNALUnitData()
[all …]
/frameworks/native/services/inputflinger/reader/include/
DEventHub.h604 status_t readDeviceBitMask(unsigned long ioctlCode, BitArray<N>& bitArray);
/frameworks/native/services/inputflinger/reader/
DEventHub.cpp412 status_t EventHub::Device::readDeviceBitMask(unsigned long ioctlCode, BitArray<N>& bitArray) { in readDeviceBitMask() argument
417 ioctlCode |= _IOC(0, 0, 0, bitArray.bytes()); in readDeviceBitMask()
422 bitArray.loadFromBuffer(buffer); in readDeviceBitMask()