Home
last modified time | relevance | path

Searched refs:esds (Results 1 – 9 of 9) 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.cpp467 static void parseMpeg2ProfileLevelFromEsds(ESDS &esds, sp<AMessage> &format) { in parseMpeg2ProfileLevelFromEsds() argument
470 if (esds.getObjectTypeIndication(&objType) == OK) { in parseMpeg2ProfileLevelFromEsds()
1395 ESDS esds((const char *)data, size); in convertMetaDataToMessage() local
1396 if (esds.InitCheck() != (status_t)OK) { in convertMetaDataToMessage()
1402 esds.getCodecSpecificInfo( in convertMetaDataToMessage()
1420 parseMpeg2ProfileLevelFromEsds(esds, msg); in convertMetaDataToMessage()
1429 if (esds.getBitRate(&maxBitrate, &avgBitrate) == OK) { in convertMetaDataToMessage()
1589 static void reassembleESDS(const sp<ABuffer> &csd0, char *esds) { in reassembleESDS() argument
1591 esds[0] = 3; // kTag_ESDescriptor; in reassembleESDS()
1594 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.cpp2617 ESDS esds(data, size); in getCodecSpecificDataFromInputFormatIfPossible() local
2618 if (esds.getCodecSpecificInfo(&data, &size) == OK && in getCodecSpecificDataFromInputFormatIfPossible()
/frameworks/av/media/extractors/mkv/
DMatroskaExtractor.cpp1519 uint8_t *esds = new uint8_t[esdsSize]; in addESDSFromCodecPrivate() local
1522 esds[idx++] = 0x03; in addESDSFromCodecPrivate()
1523 storeSize(esds, idx, esdsSize1); in addESDSFromCodecPrivate()
1524 esds[idx++] = 0x00; // ES_ID in addESDSFromCodecPrivate()
1525 esds[idx++] = 0x00; // ES_ID in addESDSFromCodecPrivate()
1526 esds[idx++] = 0x00; // streamDependenceFlag, URL_Flag, OCRstreamFlag in addESDSFromCodecPrivate()
1527 esds[idx++] = 0x04; in addESDSFromCodecPrivate()
1528 storeSize(esds, idx, esdsSize2); in addESDSFromCodecPrivate()
1529 esds[idx++] = isAudio ? 0x40 // Audio ISO/IEC 14496-3 in addESDSFromCodecPrivate()
1532 esds[idx++] = 0x00; in addESDSFromCodecPrivate()
[all …]
/frameworks/av/media/libstagefright/mpeg2ts/
DESQueue.cpp1628 sp<ABuffer> esds = new ABuffer(csd->size() + 25); in MakeMPEGVideoESDS() local
1630 uint8_t *ptr = esds->data(); in MakeMPEGVideoESDS()
1653 return esds; in MakeMPEGVideoESDS()
1726 sp<ABuffer> esds = MakeMPEGVideoESDS(csd); in dequeueAccessUnitMPEGVideo() local
1728 kKeyESDS, kTypeESDS, esds->data(), esds->size()); in dequeueAccessUnitMPEGVideo()
1935 sp<ABuffer> esds = MakeMPEGVideoESDS(csd); in dequeueAccessUnitMPEG4Video() local
1938 esds->data(), esds->size()); in dequeueAccessUnitMPEG4Video()
/frameworks/av/media/libstagefright/tests/metadatautils/
DMetaDataUtilsTest.cpp347 ESDS esds(csdMetaDataBaseBuffer, csdMetaDataBaseSize); in TEST_P() local
348 status_t result = esds.getCodecSpecificInfo(&csdMetaDataBaseBuffer, &csdMetaDataBaseSize); in TEST_P()
/frameworks/av/media/extractors/fuzzers/
Dmp4_extractor_fuzzer.dict30 kw29="esds"
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp2478 ESDS esds(&buffer[4], chunk_data_size - 4); in parseChunk() local
2481 if (esds.getObjectTypeIndication(&objectTypeIndication) == OK) { in parseChunk()
4665 ESDS esds(esds_data, esds_size); in updateAudioTrackInfoFromESDS_MPEG4Audio() local
4668 if (esds.getObjectTypeIndication(&objectTypeIndication) != OK) { in updateAudioTrackInfoFromESDS_MPEG4Audio()
4693 esds.getBitRate(&maxBitrate, &avgBitrate); in updateAudioTrackInfoFromESDS_MPEG4Audio()
4706 if (esds.getCodecSpecificInfo( in updateAudioTrackInfoFromESDS_MPEG4Audio()