Home
last modified time | relevance | path

Searched refs:mMIME (Results 1 – 8 of 8) sorted by relevance

/frameworks/av/media/libstagefright/wifi-display/source/
DTSPacketizer.cpp74 AString mMIME; member
97 CHECK(format->findString("mime", &mMIME)); in Track()
105 if (!strcasecmp(mMIME.c_str(), MEDIA_MIMETYPE_VIDEO_AVC) in extractCSDIfNecessary()
106 || !strcasecmp(mMIME.c_str(), MEDIA_MIMETYPE_AUDIO_AAC)) { in extractCSDIfNecessary()
116 if (!strcasecmp(mMIME.c_str(), MEDIA_MIMETYPE_AUDIO_AAC)) { in extractCSDIfNecessary()
153 return !strncasecmp("audio/", mMIME.c_str(), 6); in isAudio()
157 return !strncasecmp("video/", mMIME.c_str(), 6); in isVideo()
161 return !strcasecmp(mMIME.c_str(), MEDIA_MIMETYPE_VIDEO_AVC); in isH264()
165 return !strcasecmp(mMIME.c_str(), MEDIA_MIMETYPE_AUDIO_AAC); in isAAC()
169 return !strcasecmp(mMIME.c_str(), MEDIA_MIMETYPE_AUDIO_RAW); in isPCMAudio()
/frameworks/wilhelm/src/
Ddata.c533 pDataFormat->mMIME = *(SLDataFormat_MIME *)pFormat; in checkDataFormat()
534 if (NULL != pDataFormat->mMIME.mimeType) { in checkDataFormat()
536 size_t len = strlen((const char *) pDataFormat->mMIME.mimeType); in checkDataFormat()
541 memcpy(myMIME, pDataFormat->mMIME.mimeType, len + 1); in checkDataFormat()
549 pDataFormat->mMIME.mimeType = myMIME; in checkDataFormat()
772 if (NULL != pDataFormat->mMIME.mimeType) { in freeDataFormat()
773 free(pDataFormat->mMIME.mimeType); in freeDataFormat()
774 pDataFormat->mMIME.mimeType = NULL; in freeDataFormat()
Ddata.h38 SLDataFormat_MIME mMIME; member
/frameworks/av/media/libstagefright/
DOMXCodec.cpp581 if (!strcasecmp(MEDIA_MIMETYPE_AUDIO_AMR_NB, mMIME)) { in configureCodec()
583 } else if (!strcasecmp(MEDIA_MIMETYPE_AUDIO_AMR_WB, mMIME)) { in configureCodec()
585 } else if (!strcasecmp(MEDIA_MIMETYPE_AUDIO_AAC, mMIME)) { in configureCodec()
604 } else if (!strcasecmp(MEDIA_MIMETYPE_AUDIO_MPEG, mMIME)) { in configureCodec()
615 } else if (!strcasecmp(MEDIA_MIMETYPE_AUDIO_AC3, mMIME)) { in configureCodec()
626 } else if (!strcasecmp(MEDIA_MIMETYPE_AUDIO_G711_ALAW, mMIME) in configureCodec()
627 || !strcasecmp(MEDIA_MIMETYPE_AUDIO_G711_MLAW, mMIME)) { in configureCodec()
635 } else if (!strcasecmp(MEDIA_MIMETYPE_AUDIO_RAW, mMIME)) { in configureCodec()
645 if (!strncasecmp(mMIME, "video/", 6)) { in configureCodec()
648 setVideoInputFormat(mMIME, meta); in configureCodec()
[all …]
DAwesomePlayer.cpp466 stat->mMIME = mime.string(); in setDataSource_l()
479 stat->mMIME = mime.string(); in setDataSource_l()
2882 fprintf(out, " MIME(%s)", stat.mMIME.string()); in dump()
/frameworks/av/media/libstagefright/include/
DAwesomePlayer.h324 String8 mMIME; member
/frameworks/av/include/media/stagefright/
DOMXCodec.h189 char *mMIME; member
/frameworks/wilhelm/src/itf/
DIEngine.c63 switch(ap->mDataSource.mFormat.mMIME.containerType) { in initializeAndroidBufferQueueMembers()
69 const char* mime = (char*)ap->mDataSource.mFormat.mMIME.mimeType; in initializeAndroidBufferQueueMembers()
1197 thiz->mDataSource.mFormat.mMIME.containerType) { in IEngine_CreateMediaPlayer()