/frameworks/av/media/libstagefright/foundation/tests/ |
D | MetaDataBaseUnitTest.cpp | 67 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/ |
D | APacketSource.cpp | 426 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()
|
D | ARawAudioAssembler.cpp | 129 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/ |
D | StagefrightMetadataRetriever.cpp | 178 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/ |
D | ESQueue.cpp | 212 (*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 …]
|
D | AnotherPacketSource.cpp | 66 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/ |
D | VideoSource.h | 43 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_RAW); in getFormat()
|
/frameworks/av/cmds/stagefright/ |
D | record.cpp | 66 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_RAW); 137 if (!meta->findCString(kKeyMIMEType, &mime)) {
|
D | SineSource.cpp | 53 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_RAW); in getFormat()
|
D | stagefright.cpp | 193 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()
|
D | recordvideo.cpp | 76 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_RAW); in getFormat()
|
/frameworks/av/media/libstagefright/ |
D | MetaDataUtils.cpp | 46 meta.setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_AVC); in MakeAVCCodecSpecificData() 214 meta.setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_AAC); in MakeAACCodecSpecificData()
|
D | JPEGSource.cpp | 103 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_IMAGE_JPEG); in getFormat()
|
D | RemoteMediaExtractor.cpp | 82 if (pMetaData.findCString(kKeyMIMEType, &mime)) { in RemoteMediaExtractor()
|
D | AMRWriter.cpp | 70 CHECK(meta->findCString(kKeyMIMEType, &mime)); in addSource()
|
D | MPEG2TSWriter.cpp | 104 CHECK(meta->findCString(kKeyMIMEType, &mime)); in SourceInfo() 151 CHECK(meta->findCString(kKeyMIMEType, &mime)); in extractCodecSpecificData() 507 CHECK(meta->findCString(kKeyMIMEType, &mime)); in addSource()
|
D | NuMediaExtractor.cpp | 225 CHECK(meta->findCString(kKeyMIMEType, &mime)); in updateDurationAndBitrate() 289 if (!meta->findCString(kKeyMIMEType, &mime)) { in getFileFormat() 395 if (!meta->findCString(kKeyMIMEType, &mime)) { in selectTrack()
|
D | AACWriter.cpp | 83 CHECK(meta->findCString(kKeyMIMEType, &mime)); in addSource()
|
/frameworks/av/media/libstagefright/tests/fuzzers/ |
D | FrameDecoderHelpers.h | 45 newMeta->setCString(kKeyMIMEType, mime_type); in generateMetaData()
|
/frameworks/av/media/libstagefright/webm/ |
D | WebmWriter.cpp | 91 || !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/ |
D | ExtractorFactoryTest.cpp | 128 bool valueFound = meta->findCString(kKeyMIMEType, &mime); in TEST_P()
|
/frameworks/av/media/codec2/components/cmds/ |
D | codec2.cpp | 442 if (!meta->findCString(kKeyMIMEType, &mime)) { in main() 458 meta->findCString(kKeyMIMEType, &mime); in main()
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | MetaDataBase.h | 32 kKeyMIMEType = 'mime', // cstring enumerator
|
/frameworks/av/media/libstagefright/tests/metadatautils/ |
D | MetaDataUtilsTest.cpp | 328 status = metaData->findCString(kKeyMIMEType, &mimeType); in TEST_P() 380 status = metaData->findCString(kKeyMIMEType, &mimeType); in TEST_P()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | GenericSource.cpp | 221 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()
|