Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
DUtils.cpp389 static void parseMpeg2ProfileLevelFromEsds(ESDS &esds, sp<AMessage> &format) { in parseMpeg2ProfileLevelFromEsds() argument
392 if (esds.getObjectTypeIndication(&objType) == OK) { in parseMpeg2ProfileLevelFromEsds()
955 ESDS esds((const char *)data, size); in convertMetaDataToMessage() local
956 if (esds.InitCheck() != (status_t)OK) { in convertMetaDataToMessage()
962 esds.getCodecSpecificInfo( in convertMetaDataToMessage()
980 parseMpeg2ProfileLevelFromEsds(esds, msg); in convertMetaDataToMessage()
989 if (esds.getBitRate(&maxBitrate, &avgBitrate) == OK) { in convertMetaDataToMessage()
1173 static void reassembleESDS(const sp<ABuffer> &csd0, char *esds) { in reassembleESDS() argument
1175 esds[0] = 3; // kTag_ESDescriptor; in reassembleESDS()
1178 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.cpp2152 ESDS esds(data, size); in getCodecSpecificDataFromInputFormatIfPossible() local
2153 if (esds.getCodecSpecificInfo(&data, &size) == OK && in getCodecSpecificDataFromInputFormatIfPossible()
/frameworks/av/media/extractors/mkv/
DMatroskaExtractor.cpp1069 uint8_t *esds = new uint8_t[esdsSize]; in addESDSFromCodecPrivate() local
1072 esds[idx++] = 0x03; in addESDSFromCodecPrivate()
1073 storeSize(esds, idx, esdsSize1); in addESDSFromCodecPrivate()
1074 esds[idx++] = 0x00; // ES_ID in addESDSFromCodecPrivate()
1075 esds[idx++] = 0x00; // ES_ID in addESDSFromCodecPrivate()
1076 esds[idx++] = 0x00; // streamDependenceFlag, URL_Flag, OCRstreamFlag in addESDSFromCodecPrivate()
1077 esds[idx++] = 0x04; in addESDSFromCodecPrivate()
1078 storeSize(esds, idx, esdsSize2); in addESDSFromCodecPrivate()
1079 esds[idx++] = isAudio ? 0x40 // Audio ISO/IEC 14496-3 in addESDSFromCodecPrivate()
1082 esds[idx++] = 0x00; in addESDSFromCodecPrivate()
[all …]
/frameworks/av/media/libstagefright/mpeg2ts/
DESQueue.cpp1298 sp<ABuffer> esds = new ABuffer(csd->size() + 25); in MakeMPEGVideoESDS() local
1300 uint8_t *ptr = esds->data(); in MakeMPEGVideoESDS()
1323 return esds; in MakeMPEGVideoESDS()
1415 sp<ABuffer> esds = MakeMPEGVideoESDS(csd); in dequeueAccessUnitMPEGVideo() local
1417 kKeyESDS, kTypeESDS, esds->data(), esds->size()); in dequeueAccessUnitMPEGVideo()
1624 sp<ABuffer> esds = MakeMPEGVideoESDS(csd); in dequeueAccessUnitMPEG4Video() local
1627 esds->data(), esds->size()); in dequeueAccessUnitMPEG4Video()
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp1924 ESDS esds(&buffer[4], chunk_data_size - 4); in parseChunk() local
1927 if (esds.getObjectTypeIndication(&objectTypeIndication) == OK) { in parseChunk()
3540 ESDS esds(esds_data, esds_size); in updateAudioTrackInfoFromESDS_MPEG4Audio() local
3543 if (esds.getObjectTypeIndication(&objectTypeIndication) != OK) { in updateAudioTrackInfoFromESDS_MPEG4Audio()
3567 esds.getBitRate(&maxBitrate, &avgBitrate); in updateAudioTrackInfoFromESDS_MPEG4Audio()
3578 if (esds.getCodecSpecificInfo( in updateAudioTrackInfoFromESDS_MPEG4Audio()