/frameworks/av/media/libmediaplayerservice/ |
D | StagefrightMetadataRetriever.cpp | 193 sp<MetaData> trackMeta = mExtractor->getTrackMetaData(i); in getImageInternal() local 194 if (!trackMeta) { in getImageInternal() 200 if (!trackMeta->findCString(kKeyMIMEType, &mime)) { in getImageInternal() 207 trackMeta = new MetaData(*trackMeta); in getImageInternal() 208 trackMeta->setCString(kKeyMIMEType, mime); in getImageInternal() 212 trackMeta = new MetaData(*trackMeta); in getImageInternal() 213 trackMeta->setCString(kKeyMIMEType, mime); in getImageInternal() 217 status_t err = convertMetaDataToMessage(trackMeta, &format); in getImageInternal() 243 return FrameDecoder::getMetadataOnly(trackMeta, colorFormat, thumbnail, bitDepth); in getImageInternal() 261 && trackMeta->findInt32(kKeyThumbnailHeight, &thumbHeight) in getImageInternal() [all …]
|
/frameworks/av/media/libstagefright/ |
D | FrameDecoder.cpp | 51 sp<IMemory> allocVideoFrame(const sp<MetaData>& trackMeta, in allocVideoFrame() argument 55 if (!trackMeta->findInt32(kKeyRotation, &rotationAngle)) { in allocVideoFrame() 61 if (!trackMeta->findData(kKeyIccProfile, &type, &iccData, &iccSize)){ in allocVideoFrame() 68 if (trackMeta->findInt32(kKeySARWidth, &sarWidth) in allocVideoFrame() 69 && trackMeta->findInt32(kKeySARHeight, &sarHeight) in allocVideoFrame() 79 } else if (trackMeta->findInt32(kKeyDisplayWidth, &displayWidth) in allocVideoFrame() 80 && trackMeta->findInt32(kKeyDisplayHeight, &displayHeight) in allocVideoFrame() 130 sp<IMemory> allocVideoFrame(const sp<MetaData>& trackMeta, in allocVideoFrame() argument 133 return allocVideoFrame(trackMeta, width, height, tileWidth, tileHeight, dstBpp, bitDepth, in allocVideoFrame() 137 sp<IMemory> allocMetaFrame(const sp<MetaData>& trackMeta, in allocMetaFrame() argument [all …]
|
D | MediaMuxer.cpp | 95 sp<MetaData> trackMeta = new MetaData; in addTrack() local 96 if (convertMessageToMetaData(format, trackMeta) != OK) { in addTrack() 100 sp<MediaAdapter> newTrack = new MediaAdapter(trackMeta); in addTrack()
|
/frameworks/av/media/libstagefright/tests/fuzzers/ |
D | FrameDecoderFuzzer.cpp | 36 sp<MetaData> trackMeta = generateMetaData(&fdp); in LLVMFuzzerTestOneInput() local 43 decoder = new VideoFrameDecoder(componentName, trackMeta, source); in LLVMFuzzerTestOneInput() 45 decoder = new MediaImageDecoder(componentName, trackMeta, source); in LLVMFuzzerTestOneInput() 71 sp<MetaData> trackMeta = generateMetaData(&fdp); in LLVMFuzzerTestOneInput() local 72 decoder->getMetadataOnly(trackMeta, in LLVMFuzzerTestOneInput()
|
/frameworks/av/media/libstagefright/include/ |
D | FrameDecoder.h | 45 const sp<MetaData> &trackMeta, 53 const sp<MetaData> &trackMeta, int colorFormat, 79 sp<MetaData> trackMeta() const { return mTrackMeta; } in trackMeta() function 109 const sp<MetaData> &trackMeta, 153 const sp<MetaData> &trackMeta,
|
/frameworks/av/media/libstagefright/tests/ESDS/ |
D | ESDSTest.cpp | 108 sp<MetaData> trackMeta = extractor->getTrackMetaData(i); in esdsDataPresent() local 109 if (trackMeta != nullptr && in esdsDataPresent() 110 trackMeta->findData(kKeyESDS, &type, &mESDSData, &mESDSSize)) { in esdsDataPresent() 111 trackMeta->clear(); in esdsDataPresent()
|
/frameworks/av/media/libstagefright/webm/tests/ |
D | WebmFrameThreadUnitTest.cpp | 159 sp<MetaData> trackMeta = new MetaData; in addTrack() local 160 convertMessageToMetaData(format, trackMeta); in addTrack() 163 mSource[kVideoIdx] = new MediaAdapter(trackMeta); in addTrack() 166 mSource[kAudioIdx] = new MediaAdapter(trackMeta); in addTrack()
|
/frameworks/av/media/extractors/tests/ |
D | ExtractorUnitTest.cpp | 618 AMediaFormat *trackMeta = AMediaFormat_new(); in TEST_P() local 619 ASSERT_NE(trackMeta, nullptr) << "AMediaFormat_new returned null AMediaformat"; in TEST_P() 621 status = mExtractor->getTrackMetaData(trackMeta, idx, 1); in TEST_P() 625 AMediaFormat_getInt64(trackMeta, AMEDIAFORMAT_KEY_DURATION, &clipDuration); in TEST_P() 628 AMediaFormat_delete(trackMeta); in TEST_P() 782 AMediaFormat *trackMeta = AMediaFormat_new(); in TEST_P() local 783 ASSERT_NE(trackMeta, nullptr) << "AMediaFormat_new returned null AMediaformat"; in TEST_P() 786 trackMeta, idx, MediaExtractorPluginHelper::kIncludeExtensiveMetaData); in TEST_P() 790 ASSERT_TRUE(AMediaFormat_getString(trackMeta, AMEDIAFORMAT_KEY_MIME, &mime)) in TEST_P() 794 AMediaFormat_getInt64(trackMeta, AMEDIAFORMAT_KEY_DURATION, &clipDuration); in TEST_P() [all …]
|
/frameworks/av/media/libstagefright/writer_fuzzers/ |
D | WriterFuzzerBase.cpp | 192 sp<MetaData> trackMeta = new MetaData; in addWriterSource() local 193 convertMessageToMetaData(format, trackMeta); in addWriterSource() 194 mCurrentTrack[trackIndex] = new MediaAdapter(trackMeta); in addWriterSource()
|
/frameworks/av/media/libstagefright/tests/writer/ |
D | WriterTest.cpp | 292 sp<MetaData> trackMeta = new MetaData; in addWriterSource() local 293 convertMessageToMetaData(format, trackMeta); in addWriterSource() 294 mCurrentTrack[idx] = new MediaAdapter(trackMeta); in addWriterSource()
|
/frameworks/av/media/extractors/mkv/ |
D | MatroskaExtractor.cpp | 670 AMediaFormat *trackMeta = mExtractor->mTracks.itemAt(mTrackIndex).mMeta; in setWebmBlockCryptoInfo() local 671 AMediaFormat_getBuffer(trackMeta, AMEDIAFORMAT_KEY_CRYPTO_KEY, in setWebmBlockCryptoInfo()
|