Home
last modified time | relevance | path

Searched refs:esds (Results 1 – 8 of 8) sorted by relevance

/frameworks/av/media/libstagefright/tests/ESDS/
DESDSTest.cpp126 ESDS esds(invalidData, mESDSSize); in TEST_P() local
128 ASSERT_NE(esds.InitCheck(), OK) << "invalid ESDS data accepted"; in TEST_P()
143 ESDS esds(mESDSData, mESDSSize); in TEST_P() local
144 ASSERT_EQ(esds.InitCheck(), OK) << "ESDS data invalid"; in TEST_P()
148 ESDS esds(mESDSData, mESDSSize); in TEST_P() local
149 ASSERT_EQ(esds.InitCheck(), OK) << "ESDS data invalid"; in TEST_P()
151 status_t status = esds.getObjectTypeIndication(&objectTypeIndication); in TEST_P()
158 ESDS esds(mESDSData, mESDSSize); in TEST_P() local
159 ASSERT_EQ(esds.InitCheck(), OK) << "ESDS data invalid"; in TEST_P()
163 status = esds.getCodecSpecificInfo(&codecSpecificInfo, &codecSpecificInfoSize); in TEST_P()
[all …]
/frameworks/av/media/libstagefright/
DUtils.cpp395 static void parseMpeg2ProfileLevelFromEsds(ESDS &esds, sp<AMessage> &format) { in parseMpeg2ProfileLevelFromEsds() argument
398 if (esds.getObjectTypeIndication(&objType) == OK) { in parseMpeg2ProfileLevelFromEsds()
1297 ESDS esds((const char *)data, size); in convertMetaDataToMessage() local
1298 if (esds.InitCheck() != (status_t)OK) { in convertMetaDataToMessage()
1304 esds.getCodecSpecificInfo( in convertMetaDataToMessage()
1322 parseMpeg2ProfileLevelFromEsds(esds, msg); in convertMetaDataToMessage()
1331 if (esds.getBitRate(&maxBitrate, &avgBitrate) == OK) { in convertMetaDataToMessage()
1485 static void reassembleESDS(const sp<ABuffer> &csd0, char *esds) { in reassembleESDS() argument
1487 esds[0] = 3; // kTag_ESDescriptor; in reassembleESDS()
1490 esds[1] = 0x80 | (esdescriptorsize >> 21); in reassembleESDS()
[all …]
DMPEG2TSWriter.cpp162 ESDS esds((const char *)data, size); in extractCodecSpecificData() local
163 CHECK_EQ(esds.InitCheck(), (status_t)OK); in extractCodecSpecificData()
167 esds.getCodecSpecificInfo( in extractCodecSpecificData()
DMPEG4Writer.cpp2220 ESDS esds(data, size); in getCodecSpecificDataFromInputFormatIfPossible() local
2221 if (esds.getCodecSpecificInfo(&data, &size) == OK && in getCodecSpecificDataFromInputFormatIfPossible()
/frameworks/av/media/extractors/mkv/
DMatroskaExtractor.cpp1510 uint8_t *esds = new uint8_t[esdsSize]; in addESDSFromCodecPrivate() local
1513 esds[idx++] = 0x03; in addESDSFromCodecPrivate()
1514 storeSize(esds, idx, esdsSize1); in addESDSFromCodecPrivate()
1515 esds[idx++] = 0x00; // ES_ID in addESDSFromCodecPrivate()
1516 esds[idx++] = 0x00; // ES_ID in addESDSFromCodecPrivate()
1517 esds[idx++] = 0x00; // streamDependenceFlag, URL_Flag, OCRstreamFlag in addESDSFromCodecPrivate()
1518 esds[idx++] = 0x04; in addESDSFromCodecPrivate()
1519 storeSize(esds, idx, esdsSize2); in addESDSFromCodecPrivate()
1520 esds[idx++] = isAudio ? 0x40 // Audio ISO/IEC 14496-3 in addESDSFromCodecPrivate()
1523 esds[idx++] = 0x00; in addESDSFromCodecPrivate()
[all …]
/frameworks/av/media/libstagefright/mpeg2ts/
DESQueue.cpp1622 sp<ABuffer> esds = new ABuffer(csd->size() + 25); in MakeMPEGVideoESDS() local
1624 uint8_t *ptr = esds->data(); in MakeMPEGVideoESDS()
1647 return esds; in MakeMPEGVideoESDS()
1720 sp<ABuffer> esds = MakeMPEGVideoESDS(csd); in dequeueAccessUnitMPEGVideo() local
1722 kKeyESDS, kTypeESDS, esds->data(), esds->size()); in dequeueAccessUnitMPEGVideo()
1929 sp<ABuffer> esds = MakeMPEGVideoESDS(csd); in dequeueAccessUnitMPEG4Video() local
1932 esds->data(), esds->size()); in dequeueAccessUnitMPEG4Video()
/frameworks/av/media/extractors/fuzzers/
Dmp4_extractor_fuzzer.dict30 kw29="esds"
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp2228 ESDS esds(&buffer[4], chunk_data_size - 4); in parseChunk() local
2231 if (esds.getObjectTypeIndication(&objectTypeIndication) == OK) { in parseChunk()
4299 ESDS esds(esds_data, esds_size); in updateAudioTrackInfoFromESDS_MPEG4Audio() local
4302 if (esds.getObjectTypeIndication(&objectTypeIndication) != OK) { in updateAudioTrackInfoFromESDS_MPEG4Audio()
4324 esds.getBitRate(&maxBitrate, &avgBitrate); in updateAudioTrackInfoFromESDS_MPEG4Audio()
4337 if (esds.getCodecSpecificInfo( in updateAudioTrackInfoFromESDS_MPEG4Audio()