Home
last modified time | relevance | path

Searched refs:ABitReader (Results 1 – 20 of 20) sorted by relevance

/frameworks/av/media/module/foundation/
DABitReader.cpp23 ABitReader::ABitReader(const uint8_t *data, size_t size) in ABitReader() function in android::ABitReader
31 ABitReader::~ABitReader() { in ~ABitReader()
34 bool ABitReader::fillReservoir() { in fillReservoir()
54 uint32_t ABitReader::getBits(size_t n) { in getBits()
60 uint32_t ABitReader::getBitsWithFallback(size_t n, uint32_t fallback) { in getBitsWithFallback()
66 bool ABitReader::getBitsGraceful(size_t n, uint32_t *out) { in getBitsGraceful()
95 bool ABitReader::skipBits(size_t n) { in skipBits()
110 void ABitReader::putBits(uint32_t x, size_t n) { in putBits()
127 size_t ABitReader::numBitsLeft() const { in numBitsLeft()
131 const uint8_t *ABitReader::data() const { in data()
[all …]
Davc_utils.cpp33 unsigned parseUE(ABitReader *br) { in parseUE()
44 unsigned parseUEWithFallback(ABitReader *br, unsigned fallback) { in parseUEWithFallback()
62 signed parseSE(ABitReader *br) { in parseSE()
68 signed parseSEWithFallback(ABitReader *br, signed fallback) { in parseSEWithFallback()
77 static void skipScalingList(ABitReader *br, size_t sizeOfScalingList) { in skipScalingList()
104 ABitReader br(seqParamSet->data() + 1, seqParamSet->size() - 1); in FindAVCDimensions()
555 ABitReader br(&data[4], size - 4); in ExtractDimensionsFromVOLHeader()
DAndroid.bp73 "ABitReader.cpp",
/frameworks/av/media/module/foundation/include/media/stagefright/foundation/
Davc_utils.h26 class ABitReader; variable
52 unsigned parseUE(ABitReader *br);
56 signed parseSE(ABitReader *br);
61 unsigned parseUEWithFallback(ABitReader *br, unsigned fallback);
66 signed parseSEWithFallback(ABitReader *br, signed fallback);
69 inline void skipUE(ABitReader *br) { in skipUE()
74 inline void skipSE(ABitReader *br) { in skipSE()
DABitReader.h28 class ABitReader {
30 ABitReader(const uint8_t *data, size_t size);
31 virtual ~ABitReader();
72 DISALLOW_EVIL_CONSTRUCTORS(ABitReader);
75 class NALBitReader : public ABitReader {
/frameworks/av/media/module/mpeg2ts/include/mpeg2ts/
DATSParser.h40 class ABitReader; variable
228 void parseProgramAssociationTable(ABitReader *br);
229 void parseProgramMap(ABitReader *br);
233 void parsePES(ABitReader *br, SyncEvent *event);
241 ABitReader *br, unsigned PID,
249 ABitReader *br, unsigned PID, unsigned *random_access_indicator);
252 status_t parseTS(ABitReader *br, SyncEvent *event);
DCasManager.h52 bool parsePID(ABitReader *br, unsigned pid);
/frameworks/av/media/module/extractors/mp4/include/
DAC4Parser.h92 explicit AC4DSIParser(ABitReader &br);
104 ABitReader& mBitReader;
/frameworks/av/media/libstagefright/rtsp/
DAMPEG4AudioAssembler.cpp99 ABitReader *bits, unsigned *audioObjectType) { in parseAudioObjectType()
109 ABitReader *bits, in parseGASpecificConfig()
145 static status_t parseAudioSpecificConfig(ABitReader *bits, sp<ABuffer> *asc) { in parseAudioSpecificConfig()
233 ABitReader bs(dataStart, (totalNumBits + 7) / 8); in parseAudioSpecificConfig()
256 ABitReader *bits, in parseStreamMuxConfig()
464 ABitReader bits(config->data(), config->size()); in AMPEG4AudioAssembler()
DAMPEG4ElementaryAssembler.cpp276 ABitReader bits(buffer->data() + 2, buffer->size() - 2); in addPacket()
350 ABitReader bits(buffer->data() + offset, buffer->size() - offset); in addPacket()
/frameworks/av/media/module/mpeg2ts/
DATSParser.cpp68 unsigned pid, ABitReader *br, status_t *err);
78 ABitReader *br, status_t *err, SyncEvent *event);
133 status_t parseProgramMap(ABitReader *br);
136 ABitReader *br, unsigned infoLength, CADescriptor *caDescriptor);
166 ABitReader *br,
233 uint32_t getPesScramblingControl(ABitReader *br, int32_t *pesOffset);
237 status_t parsePES(ABitReader *br, SyncEvent *event);
312 unsigned pid, ABitReader *br, status_t *err) { in parsePSISection()
329 ABitReader *br, status_t *err, SyncEvent *event) { in parsePID()
439 ABitReader *br, unsigned infoLength, in findCADescriptor()
[all …]
DESQueue.cpp99 static int32_t readVariableBits(ABitReader &bits, int32_t nbits) { in readVariableBits()
143 ABitReader bits(ptr, size); in parseAC3SyncFrame()
229 ABitReader bits(ptr, size); in parseEAC3SyncFrame()
307 ABitReader bits(ptr, size); in parseAC4SyncFrame()
389 ABitReader bits(ptr, size); in parseDTSHDSyncFrame()
579 ABitReader *bits, size_t *bitsUsed, uint32_t *value, in extractVarLenBitFields()
586 ABitReader bitStream(bits->data(), bits->numBitsLeft() / 8); in extractVarLenBitFields()
587 ABitReader bitstreamClone(bits->data(), bits->numBitsLeft() / 8); in extractVarLenBitFields()
632 ABitReader bits(ptr, size); in parseDTSUHDSyncFrame()
1686 ABitReader bits(mBuffer->data(), 4); in dequeueAccessUnitPCMAudio()
[all …]
DCasManager.cpp333 bool ATSParser::CasManager::parsePID(ABitReader *br, unsigned pid) { in parsePID()
/frameworks/av/media/module/metadatautils/
DMetaDataUtils.cpp85 static bool isVp9SyncCode(ABitReader &bits) { in isVp9SyncCode()
94 static bool getVp9BitdepthChromaSubSampling(ABitReader &bits, in getVp9BitdepthChromaSubSampling()
145 ABitReader bits(data, size); in MakeVP9CodecSpecificData()
260 ABitReader bits(data, size); in MakeAACCodecSpecificData()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerCCDecoder.cpp351 ABitReader br(data + 4, 5); in parseMPEGUserDataUnit()
369 ABitReader br(data, size); in parseMPEGCCData()
462 ABitReader br(data, size); in parseDTVCCPacket()
/frameworks/av/media/module/extractors/mp4/
DAC4Parser.cpp35 AC4DSIParser::AC4DSIParser(ABitReader &br) in AC4DSIParser()
DMPEG4Extractor.cpp3293 ABitReader br(chunk, dsiSize); in parseAC4SpecificBox()
3420 ABitReader br(chunk, size); in parseEAC3SpecificBox()
3575 ABitReader br(chunk, sizeof(chunk)); in parseAC3SpecificBox()
4839 ABitReader br(csd, csd_size); in updateAudioTrackInfoFromESDS_MPEG4Audio()
/frameworks/av/media/libstagefright/
DHevcUtils.cpp388 ABitReader reader(SpsBuffer->data() + 1, SpsBuffer->size() - 1); in FindHEVCDimensions()
/frameworks/av/media/module/extractors/mpeg2/
DMPEG2PSExtractor.cpp287 ABitReader br(mBuffer->data(), n); in dequeuePES()
/frameworks/av/media/libstagefright/httplive/
DPlaylistFetcher.cpp2079 ABitReader bits(buffer->data(), buffer->size()); in extractAndQueueAccessUnits()