/frameworks/av/media/module/foundation/tests/ |
D | MetaDataBaseUnitTest.cpp | 66 bool status = metaData->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_AVC); in TEST_F() 96 status = metaData->findCString(kKeyMIMEType, &mime); in TEST_F() 151 bool status = metaData->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_AVC); in TEST_F() 154 status = metaData->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_HEVC); in TEST_F() 158 status = metaData->findCString(kKeyMIMEType, &mime); in TEST_F() 192 bool status = metaData->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_AVC); in TEST_F() 195 status = metaData->hasData(kKeyMIMEType); in TEST_F() 198 status = metaData->remove(kKeyMIMEType); in TEST_F() 202 status = metaData->hasData(kKeyMIMEType); in TEST_F() 206 status = metaData->remove(kKeyMIMEType); in TEST_F() [all …]
|
/frameworks/av/media/libstagefright/tests/fuzzers/ |
D | FuzzerMediaUtility.cpp | 138 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_AAC); in createSource() 147 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_AMR_NB); in createSource() 152 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_AMR_WB); in createSource() 158 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_AAC); in createSource() 162 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_AVC); in createSource() 170 meta->setCString(kKeyMIMEType, mime.c_str()); in createSource() 235 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_OPUS); in createSource() 248 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_VP8); in createSource() 250 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_VP9); in createSource() 260 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_VORBIS); in createSource() [all …]
|
D | FrameDecoderHelpers.h | 54 newMeta->setCString(kKeyMIMEType, mime);
|
/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() 358 if (meta->findCString(kKeyMIMEType, &mime) && !strncasecmp(mime, "video/", 6)) { in getFrameInternal() 394 if (!trackMeta->findCString(kKeyMIMEType, &mime)) { in getFrameInternal() 511 { kKeyMIMEType, METADATA_KEY_MIMETYPE, NULL }, in parseMetaData() 630 if (trackMeta->findCString(kKeyMIMEType, &mime)) { in parseMetaData() 780 if (meta->findCString(kKeyMIMEType, &fileMIME) && in parseMetaData() 785 && trackMeta->findCString(kKeyMIMEType, &trackMIME) in parseMetaData()
|
/frameworks/av/media/module/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() 567 (*metaData)->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_DTS_HD); in parseDTSHDSyncFrame() 570 (*metaData)->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_DTS); in parseDTSHDSyncFrame() 776 (*metaData)->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_DTS_UHD); in parseDTSUHDSyncFrame() 1301 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_AVC); in dequeueScrambledAccessUnit() 1324 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_MPEG2); in dequeueScrambledAccessUnit() 1708 mFormat->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_RAW); in dequeueAccessUnitPCMAudio() 2175 if (mFormat->findCString(kKeyMIMEType, &mime)) { in dequeueAccessUnitMPEGAudio() [all …]
|
/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); 140 if (!meta->findCString(kKeyMIMEType, &mime)) {
|
D | SineSource.cpp | 53 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_RAW); in getFormat()
|
D | stagefright.cpp | 199 CHECK(meta->findCString(kKeyMIMEType, &mime)); in playSource() 461 CHECK(mSource->getFormat()->findCString(kKeyMIMEType, &mime)); in DetectSyncSource() 1200 if (!meta->findCString(kKeyMIMEType, &mime)) { in main() 1225 kKeyMIMEType, &mime)); in main() 1255 meta->findCString(kKeyMIMEType, &mime); in main()
|
D | recordvideo.cpp | 76 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_RAW); in getFormat()
|
/frameworks/av/media/module/metadatautils/ |
D | MetaDataUtils.cpp | 46 meta.setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_AVC); in MakeAVCCodecSpecificData() 385 meta.setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_AAC); in MakeAACCodecSpecificData()
|
/frameworks/av/media/libstagefright/ |
D | JPEGSource.cpp | 103 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_IMAGE_JPEG); in getFormat()
|
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 | RemoteMediaExtractor.cpp | 89 if (pMetaData.findCString(kKeyMIMEType, &mime)) { in RemoteMediaExtractor()
|
D | NuMediaExtractor.cpp | 225 CHECK(meta->findCString(kKeyMIMEType, &mime)); in updateDurationAndBitrate() 289 if (!meta->findCString(kKeyMIMEType, &mime)) { in getFileFormat() 401 if (!meta->findCString(kKeyMIMEType, &mime)) { in selectTrack()
|
/frameworks/av/media/libstagefright/webm/ |
D | WebmWriter.cpp | 123 || !md->findCString(kKeyMIMEType, &mimeType)) { in videoTrack() 153 || !md->findCString(kKeyMIMEType, &mimeType)) { in audioTrack() 476 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/libstagefright/include/media/stagefright/ |
D | MetaDataBase.h | 32 kKeyMIMEType = 'mime', // cstring enumerator
|
/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/rtsp/fuzzer/ |
D | rtp_writer_fuzzer.cpp | 48 mTestMetaData->setCString(kKeyMIMEType, mMimeType); in TestMediaSource()
|
/frameworks/av/media/module/metadatautils/test/ |
D | MetaDataUtilsTest.cpp | 328 status = metaData->findCString(kKeyMIMEType, &mimeType); in TEST_P() 379 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() 1061 CHECK(meta->findCString(kKeyMIMEType, &mime)); in selectTrack() 1255 && mTimedTextTrack.mSource->getFormat()->findCString(kKeyMIMEType, &mime)); in mediaBufferToABuffer()
|