Home
last modified time | relevance | path

Searched refs:trackMeta (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/media/libmediaplayerservice/
DStagefrightMetadataRetriever.cpp194 sp<MetaData> trackMeta = mExtractor->getTrackMetaData(i); in getImageInternal() local
195 if (!trackMeta) { in getImageInternal()
200 return FrameDecoder::getMetadataOnly(trackMeta, colorFormat, thumbnail); in getImageInternal()
211 CHECK(trackMeta->findCString(kKeyMIMEType, &mime)); in getImageInternal()
215 trackMeta = new MetaData(*trackMeta); in getImageInternal()
216 trackMeta->setCString(kKeyMIMEType, mime); in getImageInternal()
231 sp<ImageDecoder> decoder = new ImageDecoder(componentName, trackMeta, source); in getImageInternal()
314 sp<MetaData> trackMeta = mExtractor->getTrackMetaData( in getFrameInternal() local
316 if (!trackMeta) { in getFrameInternal()
321 return FrameDecoder::getMetadataOnly(trackMeta, colorFormat); in getFrameInternal()
[all …]
/frameworks/av/media/libstagefright/
DFrameDecoder.cpp49 sp<IMemory> allocVideoFrame(const sp<MetaData>& trackMeta, in allocVideoFrame() argument
53 if (!trackMeta->findInt32(kKeyRotation, &rotationAngle)) { in allocVideoFrame()
59 if (!trackMeta->findData(kKeyIccProfile, &type, &iccData, &iccSize)){ in allocVideoFrame()
66 if (trackMeta->findInt32(kKeySARWidth, &sarWidth) in allocVideoFrame()
67 && trackMeta->findInt32(kKeySARHeight, &sarHeight) in allocVideoFrame()
71 } else if (trackMeta->findInt32(kKeyDisplayWidth, &displayWidth) in allocVideoFrame()
72 && trackMeta->findInt32(kKeyDisplayHeight, &displayHeight) in allocVideoFrame()
109 sp<IMemory> allocVideoFrame(const sp<MetaData>& trackMeta, in allocVideoFrame() argument
112 return allocVideoFrame(trackMeta, width, height, tileWidth, tileHeight, dstBpp, in allocVideoFrame()
116 sp<IMemory> allocMetaFrame(const sp<MetaData>& trackMeta, in allocMetaFrame() argument
[all …]
DMediaMuxer.cpp94 sp<MetaData> trackMeta = new MetaData; in addTrack() local
95 convertMessageToMetaData(format, trackMeta); in addTrack()
97 sp<MediaAdapter> newTrack = new MediaAdapter(trackMeta); in addTrack()
/frameworks/av/media/libstagefright/include/
DFrameDecoder.h45 const sp<MetaData> &trackMeta,
53 const sp<MetaData> &trackMeta, int colorFormat, bool thumbnail = false);
78 sp<MetaData> trackMeta() const { return mTrackMeta; } in trackMeta() function
108 const sp<MetaData> &trackMeta,
151 const sp<MetaData> &trackMeta,
/frameworks/av/media/libstagefright/webm/tests/
DWebmFrameThreadUnitTest.cpp159 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/libstagefright/tests/writer/
DWriterTest.cpp243 sp<MetaData> trackMeta = new MetaData; in addWriterSource() local
244 convertMessageToMetaData(format, trackMeta); in addWriterSource()
245 mCurrentTrack = new MediaAdapter(trackMeta); in addWriterSource()
/frameworks/av/media/extractors/mkv/
DMatroskaExtractor.cpp670 AMediaFormat *trackMeta = mExtractor->mTracks.itemAt(mTrackIndex).mMeta; in setWebmBlockCryptoInfo() local
671 AMediaFormat_getBuffer(trackMeta, AMEDIAFORMAT_KEY_CRYPTO_KEY, in setWebmBlockCryptoInfo()