Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/mpeg2ts/
DMPEG2PSExtractor.cpp278 unsigned packet_startcode_prefix = br.getBits(24); in dequeuePES()
291 unsigned stream_id = br.getBits(8); in dequeuePES()
294 /* unsigned PES_packet_length = */br.getBits(16); in dequeuePES()
305 /* unsigned current_next_indicator = */br.getBits(1); in dequeuePES()
306 /* unsigned reserved = */br.getBits(2); in dequeuePES()
307 /* unsigned program_stream_map_version = */br.getBits(5); in dequeuePES()
308 /* unsigned reserved = */br.getBits(7); in dequeuePES()
309 /* unsigned marker_bit = */br.getBits(1); in dequeuePES()
310 unsigned program_stream_info_length = br.getBits(16); in dequeuePES()
318 unsigned descriptor_tag = br.getBits(8); in dequeuePES()
[all …]
DATSParser.cpp246 unsigned table_id = br->getBits(8); in parseProgramMap()
252 unsigned section_syntax_indicator = br->getBits(1); in parseProgramMap()
259 CHECK_EQ(br->getBits(1), 0u); in parseProgramMap()
260 MY_LOGV(" reserved = %u", br->getBits(2)); in parseProgramMap()
262 unsigned section_length = br->getBits(12); in parseProgramMap()
267 MY_LOGV(" program_number = %u", br->getBits(16)); in parseProgramMap()
268 MY_LOGV(" reserved = %u", br->getBits(2)); in parseProgramMap()
269 MY_LOGV(" version_number = %u", br->getBits(5)); in parseProgramMap()
270 MY_LOGV(" current_next_indicator = %u", br->getBits(1)); in parseProgramMap()
271 MY_LOGV(" section_number = %u", br->getBits(8)); in parseProgramMap()
[all …]
DESQueue.cpp96 if (bits.getBits(16) != 0x0B77) { in parseAC3SyncFrame()
106 unsigned fscod = bits.getBits(2); in parseAC3SyncFrame()
112 unsigned frmsizecod = bits.getBits(6); in parseAC3SyncFrame()
118 unsigned bsid = bits.getBits(5); in parseAC3SyncFrame()
124 unsigned bsmod = bits.getBits(3); in parseAC3SyncFrame()
125 unsigned acmod = bits.getBits(3); in parseAC3SyncFrame()
134 cmixlev = bits.getBits(2); in parseAC3SyncFrame()
140 surmixlev = bits.getBits(2); in parseAC3SyncFrame()
146 dsurmod = bits.getBits(2); in parseAC3SyncFrame()
152 unsigned lfeon = bits.getBits(1); in parseAC3SyncFrame()
[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.cpp271 unsigned AU_size = bits.getBits(mSizeLength); in addPacket()
277 unsigned AU_index = bits.getBits(n); in addPacket()
291 if (bits.getBits(1)) { in addPacket()
305 if (bits.getBits(1)) { in addPacket()
340 unsigned auxSize = bits.getBits(mAuxiliaryDataSizeLength); in addPacket()
/frameworks/av/media/libstagefright/
Davc_utils.cpp34 while (br->getBits(1) == 0) { in parseUE()
38 unsigned x = br->getBits(numZeroes); in parseUE()
69 unsigned profile_idc = br.getBits(8); in FindAVCDimensions()
86 if (br.getBits(1)) { // seq_scaling_matrix_present_flag in FindAVCDimensions()
88 if (br.getBits(1)) { // seq_scaling_list_present_flag[i] in FindAVCDimensions()
115 br.getBits(1); // delta_pic_order_always_zero_flag in FindAVCDimensions()
126 br.getBits(1); // gaps_in_frame_num_value_allowed_flag in FindAVCDimensions()
130 unsigned frame_mbs_only_flag = br.getBits(1); in FindAVCDimensions()
138 br.getBits(1); // mb_adaptive_frame_field_flag in FindAVCDimensions()
141 br.getBits(1); // direct_8x8_inference_flag in FindAVCDimensions()
[all …]
DMPEG4Extractor.cpp2747 uint32_t objectType = br.getBits(5); in updateAudioTrackInfoFromESDS_MPEG4Audio()
2750 objectType = 32 + br.getBits(6); in updateAudioTrackInfoFromESDS_MPEG4Audio()
2756 uint32_t freqIndex = br.getBits(4); in updateAudioTrackInfoFromESDS_MPEG4Audio()
2764 sampleRate = br.getBits(24); in updateAudioTrackInfoFromESDS_MPEG4Audio()
2765 numChannels = br.getBits(4); in updateAudioTrackInfoFromESDS_MPEG4Audio()
2767 numChannels = br.getBits(4); in updateAudioTrackInfoFromESDS_MPEG4Audio()
2777 uint32_t extFreqIndex = br.getBits(4); in updateAudioTrackInfoFromESDS_MPEG4Audio()
2783 extSampleRate = br.getBits(24); in updateAudioTrackInfoFromESDS_MPEG4Audio()
2819 objectType = br.getBits(5); in updateAudioTrackInfoFromESDS_MPEG4Audio()
2822 objectType = 32 + br.getBits(6); in updateAudioTrackInfoFromESDS_MPEG4Audio()
[all …]
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerCCDecoder.cpp206 last_byte = br.getBits(8); in extractFromSEI()
211 last_byte = br.getBits(8); in extractFromSEI()
220 uint8_t itu_t_t35_country_code = br.getBits(8); in extractFromSEI()
221 uint16_t itu_t_t35_provider_code = br.getBits(16); in extractFromSEI()
222 uint32_t user_identifier = br.getBits(32); in extractFromSEI()
223 uint8_t user_data_type_code = br.getBits(8); in extractFromSEI()
234 bool process_cc_data_flag = br.getBits(1); in extractFromSEI()
236 size_t cc_count = br.getBits(5); in extractFromSEI()
247 uint8_t marker = br.getBits(5); in extractFromSEI()
250 bool cc_valid = br.getBits(1); in extractFromSEI()
[all …]
/frameworks/av/media/libstagefright/foundation/
DABitReader.cpp49 uint32_t ABitReader::getBits(size_t n) { in getBits() function in android::ABitReader
75 getBits(32); in skipBits()
80 getBits(n); in skipBits()
/frameworks/av/include/media/stagefright/foundation/
DABitReader.h33 uint32_t getBits(size_t n);
/frameworks/rs/
DrsComponent.h44 uint32_t getBits() const {return mBits;} in getBits() function
DrsElement.h94 uint32_t getBits() const {return mBits;} in getBits() function
DrsElement.cpp178 mBits = mComponent.getBits(); in compute()
/frameworks/av/media/libstagefright/httplive/
DPlaylistFetcher.cpp1548 CHECK_EQ(bits.getBits(12), 0xfffu); in extractAndQueueAccessUnits()
1550 bool protection_absent = bits.getBits(1) != 0; in extractAndQueueAccessUnits()
1552 unsigned profile = bits.getBits(2); in extractAndQueueAccessUnits()
1554 unsigned sampling_freq_index = bits.getBits(4); in extractAndQueueAccessUnits()
1555 bits.getBits(1); // private_bit in extractAndQueueAccessUnits()
1556 unsigned channel_configuration = bits.getBits(3); in extractAndQueueAccessUnits()