Searched refs:esds (Results 1 – 6 of 6) sorted by relevance
/frameworks/av/media/libstagefright/ |
D | Utils.cpp | 413 static void parseMpeg2ProfileLevelFromEsds(ESDS &esds, sp<AMessage> &format) { in parseMpeg2ProfileLevelFromEsds() argument 416 if (esds.getObjectTypeIndication(&objType) == OK) { in parseMpeg2ProfileLevelFromEsds() 961 ESDS esds((const char *)data, size); in convertMetaDataToMessage() local 962 if (esds.InitCheck() != (status_t)OK) { in convertMetaDataToMessage() 968 esds.getCodecSpecificInfo( in convertMetaDataToMessage() 986 parseMpeg2ProfileLevelFromEsds(esds, msg); in convertMetaDataToMessage() 995 if (esds.getBitRate(&maxBitrate, &avgBitrate) == OK) { in convertMetaDataToMessage() 1169 static void reassembleESDS(const sp<ABuffer> &csd0, char *esds) { in reassembleESDS() argument 1171 esds[0] = 3; // kTag_ESDescriptor; in reassembleESDS() 1174 esds[1] = 0x80 | (esdescriptorsize >> 21); in reassembleESDS() [all …]
|
D | MPEG2TSWriter.cpp | 162 ESDS esds((const char *)data, size); in extractCodecSpecificData() local 163 CHECK_EQ(esds.InitCheck(), (status_t)OK); in extractCodecSpecificData() 167 esds.getCodecSpecificInfo( in extractCodecSpecificData()
|
D | MPEG4Extractor.cpp | 1851 ESDS esds(&buffer[4], chunk_data_size - 4); in parseChunk() local 1854 if (esds.getObjectTypeIndication(&objectTypeIndication) == OK) { in parseChunk() 3431 ESDS esds(esds_data, esds_size); in updateAudioTrackInfoFromESDS_MPEG4Audio() local 3434 if (esds.getObjectTypeIndication(&objectTypeIndication) != OK) { in updateAudioTrackInfoFromESDS_MPEG4Audio() 3457 if (esds.getCodecSpecificInfo( in updateAudioTrackInfoFromESDS_MPEG4Audio()
|
D | MPEG4Writer.cpp | 1836 ESDS esds(data, size); in getCodecSpecificDataFromInputFormatIfPossible() local 1837 if (esds.getCodecSpecificInfo(&data, &size) != OK) { in getCodecSpecificDataFromInputFormatIfPossible()
|
/frameworks/av/media/libstagefright/matroska/ |
D | MatroskaExtractor.cpp | 951 uint8_t *esds = new uint8_t[esdsSize]; in addESDSFromCodecPrivate() local 954 esds[idx++] = 0x03; in addESDSFromCodecPrivate() 955 storeSize(esds, idx, esdsSize1); in addESDSFromCodecPrivate() 956 esds[idx++] = 0x00; // ES_ID in addESDSFromCodecPrivate() 957 esds[idx++] = 0x00; // ES_ID in addESDSFromCodecPrivate() 958 esds[idx++] = 0x00; // streamDependenceFlag, URL_Flag, OCRstreamFlag in addESDSFromCodecPrivate() 959 esds[idx++] = 0x04; in addESDSFromCodecPrivate() 960 storeSize(esds, idx, esdsSize2); in addESDSFromCodecPrivate() 961 esds[idx++] = isAudio ? 0x40 // Audio ISO/IEC 14496-3 in addESDSFromCodecPrivate() 964 esds[idx++] = 0x00; in addESDSFromCodecPrivate() [all …]
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
D | ESQueue.cpp | 1284 sp<ABuffer> esds = new ABuffer(csd->size() + 25); in MakeMPEGVideoESDS() local 1286 uint8_t *ptr = esds->data(); in MakeMPEGVideoESDS() 1309 return esds; in MakeMPEGVideoESDS() 1401 sp<ABuffer> esds = MakeMPEGVideoESDS(csd); in dequeueAccessUnitMPEGVideo() local 1403 kKeyESDS, kTypeESDS, esds->data(), esds->size()); in dequeueAccessUnitMPEGVideo() 1605 sp<ABuffer> esds = MakeMPEGVideoESDS(csd); in dequeueAccessUnitMPEG4Video() local 1608 esds->data(), esds->size()); in dequeueAccessUnitMPEG4Video()
|