Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/mpeg2ts/
DMPEG2PSExtractor.cpp275 unsigned packet_startcode_prefix = br.getBits(24); in dequeuePES()
288 unsigned stream_id = br.getBits(8); in dequeuePES()
291 /* unsigned PES_packet_length = */br.getBits(16); in dequeuePES()
302 /* unsigned current_next_indicator = */br.getBits(1); in dequeuePES()
303 /* unsigned reserved = */br.getBits(2); in dequeuePES()
304 /* unsigned program_stream_map_version = */br.getBits(5); in dequeuePES()
305 /* unsigned reserved = */br.getBits(7); in dequeuePES()
306 /* unsigned marker_bit = */br.getBits(1); in dequeuePES()
307 unsigned program_stream_info_length = br.getBits(16); in dequeuePES()
315 unsigned descriptor_tag = br.getBits(8); in dequeuePES()
[all …]
DATSParser.cpp243 unsigned table_id = br->getBits(8); in parseProgramMap()
247 unsigned section_syntax_indicator = br->getBits(1); in parseProgramMap()
251 CHECK_EQ(br->getBits(1), 0u); in parseProgramMap()
252 MY_LOGV(" reserved = %u", br->getBits(2)); in parseProgramMap()
254 unsigned section_length = br->getBits(12); in parseProgramMap()
259 MY_LOGV(" program_number = %u", br->getBits(16)); in parseProgramMap()
260 MY_LOGV(" reserved = %u", br->getBits(2)); in parseProgramMap()
261 MY_LOGV(" version_number = %u", br->getBits(5)); in parseProgramMap()
262 MY_LOGV(" current_next_indicator = %u", br->getBits(1)); in parseProgramMap()
263 MY_LOGV(" section_number = %u", br->getBits(8)); in parseProgramMap()
[all …]
DESQueue.cpp348 CHECK_EQ(bits.getBits(8), 0xa0); in dequeueAccessUnitPCMAudio()
349 unsigned numAUs = bits.getBits(8); in dequeueAccessUnitPCMAudio()
351 unsigned quantization_word_length = bits.getBits(2); in dequeueAccessUnitPCMAudio()
352 unsigned audio_sampling_frequency = bits.getBits(3); in dequeueAccessUnitPCMAudio()
353 unsigned num_channels = bits.getBits(3); in dequeueAccessUnitPCMAudio()
405 CHECK_EQ(bits.getBits(12), 0xfffu); in dequeueAccessUnitAAC()
407 bool protection_absent = bits.getBits(1) != 0; in dequeueAccessUnitAAC()
410 unsigned profile = bits.getBits(2); in dequeueAccessUnitAAC()
412 unsigned sampling_freq_index = bits.getBits(4); in dequeueAccessUnitAAC()
413 bits.getBits(1); // private_bit in dequeueAccessUnitAAC()
[all …]
/frameworks/av/media/libstagefright/rtsp/
DAMPEG4AudioAssembler.cpp100 *audioObjectType = bits->getBits(5); in parseAudioObjectType()
102 *audioObjectType = 32 + bits->getBits(6); in parseAudioObjectType()
111 unsigned frameLengthFlag = bits->getBits(1); in parseGASpecificConfig()
112 unsigned dependsOnCoreCoder = bits->getBits(1); in parseGASpecificConfig()
114 /* unsigned coreCoderDelay = */bits->getBits(1); in parseGASpecificConfig()
116 unsigned extensionFlag = bits->getBits(1); in parseGASpecificConfig()
124 /* unsigned layerNr = */bits->getBits(3); in parseGASpecificConfig()
129 /* unsigned numOfSubFrame = */bits->getBits(5); in parseGASpecificConfig()
130 /* unsigned layerLength = */bits->getBits(11); in parseGASpecificConfig()
133 /* unsigned aacSectionDataResilienceFlag = */bits->getBits(1); in parseGASpecificConfig()
[all …]
DAMPEG4ElementaryAssembler.cpp267 unsigned AU_size = bits.getBits(mSizeLength); in addPacket()
273 unsigned AU_index = bits.getBits(n); in addPacket()
287 if (bits.getBits(1)) { in addPacket()
301 if (bits.getBits(1)) { in addPacket()
336 unsigned auxSize = bits.getBits(mAuxiliaryDataSizeLength); in addPacket()
/frameworks/av/media/libstagefright/
Davc_utils.cpp33 while (br->getBits(1) == 0) { in parseUE()
37 unsigned x = br->getBits(numZeroes); in parseUE()
47 unsigned profile_idc = br.getBits(8); in FindAVCDimensions()
63 CHECK_EQ(br.getBits(1), 0u); // seq_scaling_matrix_present_flag in FindAVCDimensions()
76 br.getBits(1); // delta_pic_order_always_zero_flag in FindAVCDimensions()
87 br.getBits(1); // gaps_in_frame_num_value_allowed_flag in FindAVCDimensions()
91 unsigned frame_mbs_only_flag = br.getBits(1); in FindAVCDimensions()
99 br.getBits(1); // mb_adaptive_frame_field_flag in FindAVCDimensions()
102 br.getBits(1); // direct_8x8_inference_flag in FindAVCDimensions()
104 if (br.getBits(1)) { // frame_cropping_flag in FindAVCDimensions()
[all …]
DMPEG4Extractor.cpp1841 uint32_t objectType = br.getBits(5); in updateAudioTrackInfoFromESDS_MPEG4Audio()
1844 objectType = 32 + br.getBits(6); in updateAudioTrackInfoFromESDS_MPEG4Audio()
1847 uint32_t freqIndex = br.getBits(4); in updateAudioTrackInfoFromESDS_MPEG4Audio()
1855 sampleRate = br.getBits(24); in updateAudioTrackInfoFromESDS_MPEG4Audio()
1856 numChannels = br.getBits(4); in updateAudioTrackInfoFromESDS_MPEG4Audio()
1868 numChannels = br.getBits(4); in updateAudioTrackInfoFromESDS_MPEG4Audio()
/frameworks/av/media/libstagefright/wifi-display/source/
DPlaybackSession.cpp915 CHECK_EQ(br.getBits(13), 0); in packetizeAccessUnit()
916 CHECK_EQ(br.getBits(2), (trackIndex >> 30) & 3); in packetizeAccessUnit()
917 CHECK_EQ(br.getBits(1), 1u); in packetizeAccessUnit()
918 CHECK_EQ(br.getBits(15), (trackIndex >> 15) & 0x7fff); in packetizeAccessUnit()
919 CHECK_EQ(br.getBits(1), 1u); in packetizeAccessUnit()
920 CHECK_EQ(br.getBits(15), trackIndex & 0x7fff); in packetizeAccessUnit()
921 CHECK_EQ(br.getBits(1), 1u); in packetizeAccessUnit()
922 CHECK_EQ(br.getBits(11), 0); in packetizeAccessUnit()
923 CHECK_EQ(br.getBits(4), (inputCTR >> 60) & 0xf); in packetizeAccessUnit()
924 CHECK_EQ(br.getBits(1), 1u); in packetizeAccessUnit()
[all …]
/frameworks/av/media/libstagefright/foundation/
DABitReader.cpp46 uint32_t ABitReader::getBits(size_t n) { in getBits() function in android::ABitReader
72 getBits(32); in skipBits()
77 getBits(n); in skipBits()
/frameworks/av/include/media/stagefright/foundation/
DABitReader.h31 uint32_t getBits(size_t n);
/frameworks/rs/
DrsComponent.h44 uint32_t getBits() const {return mBits;} in getBits() function
DrsElement.h104 uint32_t getBits() const {return mBits;} in getBits() function
DrsElement.cpp172 mBits = mComponent.getBits(); in compute()
/frameworks/support/renderscript/v8/rs_support/
DrsComponent.h44 uint32_t getBits() const {return mBits;} in getBits() function
DrsElement.h104 uint32_t getBits() const {return mBits;} in getBits() function
DrsElement.cpp172 mBits = mComponent.getBits(); in compute()
/frameworks/av/libvideoeditor/vss/mcs/src/
DM4MCS_API.c1241 (M4OSA_UInt8)getBits(p_vlc_engine->p_bs, length); in DecPPSMCS()