Home
last modified time | relevance | path

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

12

/frameworks/av/media/module/foundation/tests/
DMetaDataBaseUnitTest.cpp66 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/
DFuzzerMediaUtility.cpp138 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 …]
DFrameDecoderHelpers.h54 newMeta->setCString(kKeyMIMEType, mime);
/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()
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/
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()
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/
DVideoSource.h43 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_RAW); in getFormat()
/frameworks/av/cmds/stagefright/
Drecord.cpp66 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_RAW);
140 if (!meta->findCString(kKeyMIMEType, &mime)) {
DSineSource.cpp53 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_RAW); in getFormat()
Dstagefright.cpp199 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()
Drecordvideo.cpp76 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_RAW); in getFormat()
/frameworks/av/media/module/metadatautils/
DMetaDataUtils.cpp46 meta.setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_AVC); in MakeAVCCodecSpecificData()
385 meta.setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_AAC); in MakeAACCodecSpecificData()
/frameworks/av/media/libstagefright/
DJPEGSource.cpp103 meta->setCString(kKeyMIMEType, MEDIA_MIMETYPE_IMAGE_JPEG); in getFormat()
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()
DRemoteMediaExtractor.cpp89 if (pMetaData.findCString(kKeyMIMEType, &mime)) { in RemoteMediaExtractor()
DNuMediaExtractor.cpp225 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/
DWebmWriter.cpp123 || !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/
DExtractorFactoryTest.cpp128 bool valueFound = meta->findCString(kKeyMIMEType, &mime); in TEST_P()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMetaDataBase.h32 kKeyMIMEType = 'mime', // cstring enumerator
/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/rtsp/fuzzer/
Drtp_writer_fuzzer.cpp48 mTestMetaData->setCString(kKeyMIMEType, mMimeType); in TestMediaSource()
/frameworks/av/media/module/metadatautils/test/
DMetaDataUtilsTest.cpp328 status = metaData->findCString(kKeyMIMEType, &mimeType); in TEST_P()
379 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()
1061 CHECK(meta->findCString(kKeyMIMEType, &mime)); in selectTrack()
1255 && mTimedTextTrack.mSource->getFormat()->findCString(kKeyMIMEType, &mime)); in mediaBufferToABuffer()

12