Home
last modified time | relevance | path

Searched refs:kKeyMIMEType (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/av/media/libstagefright/foundation/tests/
DMetaDataBaseUnitTest.cpp67 bool status = metaData->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_AVC); in TEST_F()
97 status = metaData->findCString(kKeyMIMEType, &mime); in TEST_F()
154 bool status = metaData->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_AVC); in TEST_F()
157 status = metaData->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_HEVC); in TEST_F()
161 status = metaData->findCString(kKeyMIMEType, &mime); in TEST_F()
197 bool status = metaData->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_AVC); in TEST_F()
200 status = metaData->hasData(kKeyMIMEType); in TEST_F()
203 status = metaData->remove(kKeyMIMEType); in TEST_F()
207 status = metaData->hasData(kKeyMIMEType); in TEST_F()
211 status = metaData->remove(kKeyMIMEType); in TEST_F()
[all …]
/frameworks/av/media/libstagefright/rtsp/
DAPacketSource.cpp426 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_AVC); in APacketSource()
457 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_HEVC); in APacketSource()
469 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_H263); in APacketSource()
480 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_AAC); in APacketSource()
496 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_AMR_NB); in APacketSource()
509 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_AMR_WB); in APacketSource()
522 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_MPEG4); in APacketSource()
560 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_AAC); in APacketSource()
579 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_CONTAINER_MPEG2TS); in APacketSource()
600 if (mFormat->findCString(kKeyMIMEType, &mime)) { in isVideo()
DARawAudioAssembler.cpp129 format->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_G711_MLAW); in MakeFormat()
131 format->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_G711_ALAW); in MakeFormat()
/frameworks/av/media/libmediaplayerservice/
DStagefrightMetadataRetriever.cpp178 if (meta->findCString(kKeyMIMEType, &mime) && !strncasecmp(mime, "image/", 6)) { in getImageInternal()
200 if (!trackMeta->findCString(kKeyMIMEType, &mime)) { in getImageInternal()
208 trackMeta->setCString(kKeyMIMEType, mime); in getImageInternal()
213 trackMeta->setCString(kKeyMIMEType, mime); in getImageInternal()
357 if (meta->findCString(kKeyMIMEType, &mime) && !strncasecmp(mime, "video/", 6)) { in getFrameInternal()
393 if (!trackMeta->findCString(kKeyMIMEType, &mime)) { in getFrameInternal()
510 { kKeyMIMEType, METADATA_KEY_MIMETYPE, NULL }, in parseMetaData()
629 if (trackMeta->findCString(kKeyMIMEType, &mime)) { in parseMetaData()
767 if (meta->findCString(kKeyMIMEType, &fileMIME) && in parseMetaData()
772 && trackMeta->findCString(kKeyMIMEType, &trackMIME) in parseMetaData()
/frameworks/av/media/libstagefright/mpeg2ts/
DESQueue.cpp212 (*metaData)->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_AC3); in parseAC3SyncFrame()
285 (*metaData)->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_EAC3); in parseEAC3SyncFrame()
355 (*metaData)->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_AC4); in parseAC4SyncFrame()
807 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_AVC); in dequeueScrambledAccessUnit()
830 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_MPEG2); in dequeueScrambledAccessUnit()
1102 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_RAW); in dequeueAccessUnitPCMAudio()
1569 if (mFormat->findCString(kKeyMIMEType, &mime)) { in dequeueAccessUnitMPEGAudio()
1592 kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_MPEG_LAYER_I); in dequeueAccessUnitMPEGAudio()
1596 kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_MPEG_LAYER_II); in dequeueAccessUnitMPEGAudio()
1600 kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_MPEG); in dequeueAccessUnitMPEGAudio()
[all …]
DAnotherPacketSource.cpp66 if (meta == NULL || !meta->findCString(kKeyMIMEType, &mime)) { in setFormat()
677 && format->findCString(kKeyMIMEType, &mime) in trimBuffersBeforeMeta()
/frameworks/av/media/libstagefright/rtsp/include/media/stagefright/rtsp/
DVideoSource.h43 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_RAW); in getFormat()
/frameworks/av/cmds/stagefright/
Drecord.cpp66 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_RAW);
137 if (!meta->findCString(kKeyMIMEType, &mime)) {
DSineSource.cpp53 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_RAW); in getFormat()
Dstagefright.cpp193 CHECK(meta->findCString(kKeyMIMEType, &mime)); in playSource()
455 CHECK(mSource->getFormat()->findCString(kKeyMIMEType, &mime)); in DetectSyncSource()
1192 if (!meta->findCString(kKeyMIMEType, &mime)) { in main()
1217 kKeyMIMEType, &mime)); in main()
1247 meta->findCString(kKeyMIMEType, &mime); in main()
Drecordvideo.cpp76 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_RAW); in getFormat()
/frameworks/av/media/libstagefright/
DMetaDataUtils.cpp46 meta.setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_AVC); in MakeAVCCodecSpecificData()
214 meta.setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_AAC); in MakeAACCodecSpecificData()
DJPEGSource.cpp103 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_IMAGE_JPEG); in getFormat()
DRemoteMediaExtractor.cpp82 if (pMetaData.findCString(kKeyMIMEType, &mime)) { in RemoteMediaExtractor()
DAMRWriter.cpp70 CHECK(meta->findCString(kKeyMIMEType, &mime)); in addSource()
DMPEG2TSWriter.cpp104 CHECK(meta->findCString(kKeyMIMEType, &mime)); in SourceInfo()
151 CHECK(meta->findCString(kKeyMIMEType, &mime)); in extractCodecSpecificData()
507 CHECK(meta->findCString(kKeyMIMEType, &mime)); in addSource()
DNuMediaExtractor.cpp225 CHECK(meta->findCString(kKeyMIMEType, &mime)); in updateDurationAndBitrate()
289 if (!meta->findCString(kKeyMIMEType, &mime)) { in getFileFormat()
395 if (!meta->findCString(kKeyMIMEType, &mime)) { in selectTrack()
DAACWriter.cpp83 CHECK(meta->findCString(kKeyMIMEType, &mime)); in addSource()
/frameworks/av/media/libstagefright/tests/fuzzers/
DFrameDecoderHelpers.h45 newMeta->setCString(kKeyMIMEType, mime_type); in generateMetaData()
/frameworks/av/media/libstagefright/webm/
DWebmWriter.cpp91 || !md->findCString(kKeyMIMEType, &mimeType)) { in videoTrack()
121 || !md->findCString(kKeyMIMEType, &mimeType)) { in audioTrack()
444 source->getFormat()->findCString(kKeyMIMEType, &mime); in addSource()
/frameworks/av/media/libstagefright/tests/extractorFactory/
DExtractorFactoryTest.cpp128 bool valueFound = meta->findCString(kKeyMIMEType, &mime); in TEST_P()
/frameworks/av/media/codec2/components/cmds/
Dcodec2.cpp442 if (!meta->findCString(kKeyMIMEType, &mime)) { in main()
458 meta->findCString(kKeyMIMEType, &mime); in main()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMetaDataBase.h32 kKeyMIMEType = 'mime', // cstring enumerator
/frameworks/av/media/libstagefright/tests/metadatautils/
DMetaDataUtilsTest.cpp328 status = metaData->findCString(kKeyMIMEType, &mimeType); in TEST_P()
380 status = metaData->findCString(kKeyMIMEType, &mimeType); in TEST_P()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DGenericSource.cpp221 CHECK(meta->findCString(kKeyMIMEType, &mime)); in initFromDataSource()
654 meta->findCString(kKeyMIMEType, &mime); in onMessageReceived()
965 CHECK(meta->findCString(kKeyMIMEType, &mime)); in getTrackInfo()
1056 CHECK(meta->findCString(kKeyMIMEType, &mime)); in selectTrack()
1250 && mTimedTextTrack.mSource->getFormat()->findCString(kKeyMIMEType, &mime)); in mediaBufferToABuffer()

12