Searched refs:esds (Results 1 – 7 of 7) sorted by relevance
/frameworks/av/media/libstagefright/ |
D | Utils.cpp | 412 static void parseMpeg2ProfileLevelFromEsds(ESDS &esds, sp<AMessage> &format) { in parseMpeg2ProfileLevelFromEsds() argument 415 if (esds.getObjectTypeIndication(&objType) == OK) { in parseMpeg2ProfileLevelFromEsds() 926 ESDS esds((const char *)data, size); in convertMetaDataToMessage() local 927 if (esds.InitCheck() != (status_t)OK) { in convertMetaDataToMessage() 933 esds.getCodecSpecificInfo( in convertMetaDataToMessage() 951 parseMpeg2ProfileLevelFromEsds(esds, msg); in convertMetaDataToMessage() 960 if (esds.getBitRate(&maxBitrate, &avgBitrate) == OK) { in convertMetaDataToMessage() 1134 static void reassembleESDS(const sp<ABuffer> &csd0, char *esds) { in reassembleESDS() argument 1136 esds[0] = 3; // kTag_ESDescriptor; in reassembleESDS() 1139 esds[1] = 0x80 | (esdescriptorsize >> 21); in reassembleESDS() [all …]
|
D | MPEG2TSWriter.cpp | 163 ESDS esds((const char *)data, size); in extractCodecSpecificData() local 164 CHECK_EQ(esds.InitCheck(), (status_t)OK); in extractCodecSpecificData() 168 esds.getCodecSpecificInfo( in extractCodecSpecificData()
|
D | MPEG4Extractor.cpp | 1755 ESDS esds(&buffer[4], chunk_data_size - 4); in parseChunk() local 1758 if (esds.getObjectTypeIndication(&objectTypeIndication) == OK) { in parseChunk() 3160 ESDS esds(esds_data, esds_size); in updateAudioTrackInfoFromESDS_MPEG4Audio() local 3163 if (esds.getObjectTypeIndication(&objectTypeIndication) != OK) { in updateAudioTrackInfoFromESDS_MPEG4Audio() 3186 if (esds.getCodecSpecificInfo( in updateAudioTrackInfoFromESDS_MPEG4Audio()
|
D | MPEG4Writer.cpp | 1600 ESDS esds(data, size); in getCodecSpecificDataFromInputFormatIfPossible() local 1601 if (esds.getCodecSpecificInfo(&data, &size) != OK) { in getCodecSpecificDataFromInputFormatIfPossible()
|
/frameworks/av/media/libstagefright/matroska/ |
D | MatroskaExtractor.cpp | 930 uint8_t *esds = new uint8_t[esdsSize]; in addESDSFromCodecPrivate() local 933 esds[idx++] = 0x03; in addESDSFromCodecPrivate() 934 storeSize(esds, idx, esdsSize1); in addESDSFromCodecPrivate() 935 esds[idx++] = 0x00; // ES_ID in addESDSFromCodecPrivate() 936 esds[idx++] = 0x00; // ES_ID in addESDSFromCodecPrivate() 937 esds[idx++] = 0x00; // streamDependenceFlag, URL_Flag, OCRstreamFlag in addESDSFromCodecPrivate() 938 esds[idx++] = 0x04; in addESDSFromCodecPrivate() 939 storeSize(esds, idx, esdsSize2); in addESDSFromCodecPrivate() 940 esds[idx++] = isAudio ? 0x40 // Audio ISO/IEC 14496-3 in addESDSFromCodecPrivate() 943 esds[idx++] = 0x00; in addESDSFromCodecPrivate() [all …]
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
D | ESQueue.cpp | 1019 sp<ABuffer> esds = new ABuffer(csd->size() + 25); in MakeMPEGVideoESDS() local 1021 uint8_t *ptr = esds->data(); in MakeMPEGVideoESDS() 1044 return esds; in MakeMPEGVideoESDS() 1117 sp<ABuffer> esds = MakeMPEGVideoESDS(csd); in dequeueAccessUnitMPEGVideo() local 1119 kKeyESDS, kTypeESDS, esds->data(), esds->size()); in dequeueAccessUnitMPEGVideo() 1321 sp<ABuffer> esds = MakeMPEGVideoESDS(csd); in dequeueAccessUnitMPEG4Video() local 1324 esds->data(), esds->size()); in dequeueAccessUnitMPEG4Video()
|
/frameworks/av/cmds/stagefright/ |
D | sf2.cpp | 401 ESDS esds((const char *)data, size); in makeFormat() local 402 CHECK_EQ(esds.InitCheck(), (status_t)OK); in makeFormat() 406 esds.getCodecSpecificInfo( in makeFormat()
|