/frameworks/av/media/libstagefright/wifi-display/ |
MediaSender.cpp | 78 AString mime; local 79 CHECK(format->findString("mime", &mime)); 80 info.mIsAudio = !strncasecmp("audio/", mime.c_str(), 6);
|
/frameworks/base/media/jni/ |
android_media_MediaCrypto.cpp | 102 bool JCrypto::requiresSecureDecoderComponent(const char *mime) const { 107 return mCrypto->requiresSecureDecoderComponent(mime); 263 const char *mime = env->GetStringUTFChars(mimeObj, NULL); local 265 if (mime == NULL) { 269 bool result = crypto->requiresSecureDecoderComponent(mime); 271 env->ReleaseStringUTFChars(mimeObj, mime); 272 mime = NULL;
|
/frameworks/wilhelm/tests/examples/ |
slesTestBassBoostPath.cpp | 65 SLDataFormat_MIME mime; local 131 mime.formatType = SL_DATAFORMAT_MIME; 132 /* this is how ignored mime information is specified, according to OpenSL ES spec 134 mime.mimeType = (SLchar*)NULL; 135 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED; 137 audioSource.pFormat = (void*)&mime;
|
slesTestEqFdPath.cpp | 70 SLDataFormat_MIME mime; local 136 mime.formatType = SL_DATAFORMAT_MIME; 137 /* this is how ignored mime information is specified, according to OpenSL ES spec 139 mime.mimeType = (SLchar*)NULL; 140 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED; 142 audioSource.pFormat = (void*)&mime;
|
slesTestEqOutputPath.cpp | 70 SLDataFormat_MIME mime; local 143 mime.formatType = SL_DATAFORMAT_MIME; 144 /* this is how ignored mime information is specified, according to OpenSL ES spec 146 mime.mimeType = (SLchar*)NULL; 147 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED; 149 audioSource.pFormat = (void*)&mime;
|
slesTestVirtualizerPath.cpp | 66 SLDataFormat_MIME mime; local 132 mime.formatType = SL_DATAFORMAT_MIME; 133 /* this is how ignored mime information is specified, according to OpenSL ES spec 135 mime.mimeType = (SLchar*)NULL; 136 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED; 138 audioSource.pFormat = (void*)&mime;
|
/frameworks/wilhelm/tests/mimeUri/ |
slesTestGetPositionUri.cpp | 138 SLDataFormat_MIME mime; local 184 mime.formatType = SL_DATAFORMAT_MIME; 185 mime.mimeType = (SLchar*)NULL; 186 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED; 188 audioSource.pFormat = (void *)&mime;
|
slesTestLoopUri.cpp | 133 SLDataFormat_MIME mime; local 171 mime.formatType = SL_DATAFORMAT_MIME; 172 mime.mimeType = (SLchar*)NULL; 173 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED; 175 audioSource.pFormat = (void *)&mime;
|
slesTestManyPlayers.cpp | 48 SLDataFormat_MIME mime; variable 161 //mime = { /*formatType*/ SL_DATAFORMAT_MIME, /*mimeType*/ (SLchar*)NULL, 165 mime.formatType = SL_DATAFORMAT_MIME; 166 mime.mimeType = (SLchar*)NULL; 167 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED; 169 audioSource.pFormat = (void *)&mime;
|
slesTestPlayUri.cpp | 136 SLDataFormat_MIME mime; local 177 mime.formatType = SL_DATAFORMAT_MIME; 178 mime.mimeType = (SLchar*)NULL; 179 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED; 181 audioSource.pFormat = (void *)&mime;
|
/frameworks/wilhelm/tests/ |
mimeUri_test.cpp | 110 SLDataFormat_MIME mime; local 151 mime.formatType = SL_DATAFORMAT_MIME; 152 mime.mimeType = (SLchar*)NULL; 153 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED; 155 audioSource.pFormat = (void *)&mime;
|
/external/chromium_org/media/base/android/java/src/org/chromium/media/ |
WebAudioMediaCodecBridge.java | 73 String mime = format.getString(MediaFormat.KEY_MIME); local 88 + " Mime: " + mime 98 MediaCodec codec = MediaCodec.createDecoderByType(mime);
|
/external/chromium_org/media/base/android/ |
media_codec_bridge.cc | 75 MediaCodecBridge::MediaCodecBridge(const char* mime) { 78 DCHECK(mime); 80 ScopedJavaLocalRef<jstring> j_type = ConvertUTF8ToJavaString(env, mime); 229 AudioCodecBridge::AudioCodecBridge(const char* mime) 230 : MediaCodecBridge(mime) { 381 VideoCodecBridge::VideoCodecBridge(const char* mime) 382 : MediaCodecBridge(mime) { 406 const char* mime = AudioCodecToMimeType(codec); local 407 return mime ? new AudioCodecBridge(mime) : NULL 411 const char* mime = VideoCodecToMimeType(codec); local [all...] |
/frameworks/av/cmds/stagefright/ |
SimplePlayer.cpp | 297 AString mime; local 298 CHECK(format->findString("mime", &mime)); 300 bool isVideo = !strncasecmp(mime.c_str(), "video/", 6); 302 if (!haveAudio && !strncasecmp(mime.c_str(), "audio/", 6)) { 319 mCodecLooper, mime.c_str(), false /* encoder */); 578 AString mime; local 579 CHECK(format->findString("mime", &mime)); 581 if (!strncasecmp(mime.c_str(), "audio/", 6)) [all...] |
codec.cpp | 92 AString mime; local 93 CHECK(format->findString("mime", &mime)); 95 bool isAudio = !strncasecmp(mime.c_str(), "audio/", 6); 96 bool isVideo = !strncasecmp(mime.c_str(), "video/", 6); 119 looper, mime.c_str(), false /* encoder */);
|
muxer.cpp | 95 AString mime; local 96 CHECK(format->findString("mime", &mime)); 98 bool isAudio = !strncasecmp(mime.c_str(), "audio/", 6); 99 bool isVideo = !strncasecmp(mime.c_str(), "video/", 6);
|
stream.cpp | 174 const char *mime; local 175 CHECK(meta->findCString(kKeyMIMEType, &mime)); 177 if (strncasecmp("video/", mime, 6) && strncasecmp("audio/", mime, 6)) {
|
/frameworks/av/libvideoeditor/lvpp/ |
VideoEditorAudioPlayer.cpp | 499 const char *mime; local 500 bool success = format->findCString(kKeyMIMEType, &mime); 502 CHECK(!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_RAW));
|
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/ |
VideoEditorMp3Reader.cpp | 461 const char *mime; local 462 CHECK(meta->findCString(kKeyMIMEType, &mime)); 464 if (!haveAudio && !strncasecmp(mime, "audio/", 6)) {
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
RTSPSource.cpp | 550 const char *mime; local 551 CHECK(format->findCString(kKeyMIMEType, &mime)); 553 if (!strcasecmp(mime, MEDIA_MIMETYPE_CONTAINER_MPEG2TS)) { 561 bool isAudio = !strncasecmp(mime, "audio/", 6); 562 bool isVideo = !strncasecmp(mime, "video/", 6);
|
/frameworks/av/media/libstagefright/ |
AACWriter.cpp | 97 const char *mime; local 98 CHECK(meta->findCString(kKeyMIMEType, &mime)); 100 CHECK(!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_AAC));
|
AudioPlayer.cpp | 114 const char *mime; local 115 bool success = format->findCString(kKeyMIMEType, &mime); 117 CHECK(useOffload() || !strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_RAW)); 136 if (mapMimeToAudioFormat(audioFormat, mime) != OK) { 137 ALOGE("Couldn't map mime type \"%s\" to a valid AudioSystem::audio_format", mime); 140 ALOGV("Mime type \"%s\" mapped to audio_format 0x%x", mime, audioFormat);
|
DRMExtractor.cpp | 81 const char *mime; local 82 bool success = getFormat()->findCString(kKeyMIMEType, &mime); 85 if (!strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_AVC)) { 155 const char *mime; local 156 CHECK(getFormat()->findCString(kKeyMIMEType, &mime)); 158 if (!strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_AVC) && !mWantsNALFragments) { 231 DRMExtractor::DRMExtractor(const sp<DataSource> &source, const char* mime) 235 mOriginalExtractor = MediaExtractor::Create(source, mime);
|
NuMediaExtractor.cpp | 108 // at the container mime type. 190 const char *mime; local 191 CHECK(meta->findCString(kKeyMIMEType, &mime)); 192 ALOGV("track of type '%s' does not publish bitrate", mime); 242 const char *mime; local 243 CHECK(meta->findCString(kKeyMIMEType, &mime)); 245 (*format)->setString("mime", mime); 293 const char *mime; local 294 CHECK(source->getFormat()->findCString(kKeyMIMEType, &mime)); [all...] |
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
ExternalStorageProvider.java | 332 final String mime = MimeTypeMap.getSingleton().getMimeTypeFromExtension(extension); local 333 if (mime != null) { 334 return mime; 342 * Remove file extension from name, but only if exact MIME type mapping 358 * Add file extension to name, but only if exact MIME type mapping exists.
|