/frameworks/base/media/libstagefright/ |
AACWriter.cpp | 93 const char *mime; local 94 CHECK(meta->findCString(kKeyMIMEType, &mime)); 96 CHECK(!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_AAC));
|
MPEG2TSWriter.cpp | 104 const char *mime; local 105 CHECK(meta->findCString(kKeyMIMEType, &mime)); 107 if (!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_AAC)) { 109 } else if (!strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_AVC)) { 150 const char *mime; local 151 CHECK(meta->findCString(kKeyMIMEType, &mime)); 153 if (!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_AAC)) { 180 if (strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_AVC)) { 532 const char *mime; local 533 CHECK(meta->findCString(kKeyMIMEType, &mime)); [all...] |
MPEG4Extractor.cpp | 346 const char *mime; local 347 CHECK(track->meta->findCString(kKeyMIMEType, &mime)); 348 if (!strncasecmp("video/", mime, 6)) { 892 const char *mime; local 893 CHECK(mLastTrack->meta->findCString(kKeyMIMEType, &mime)); 894 if (strcasecmp(mime, MEDIA_MIMETYPE_TEXT_3GPP)) { 1081 const char *mime; local 1082 CHECK(mLastTrack->meta->findCString(kKeyMIMEType, &mime)); 1083 if (!strncasecmp("video/", mime, 6)) { 1707 const char *mime; local 1861 const char *mime; local 2239 const char *mime; local [all...] |
AudioPlayer.cpp | 105 const char *mime; local 106 bool success = format->findCString(kKeyMIMEType, &mime); 108 CHECK(!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_RAW));
|
ACodec.cpp | 675 bool isEncoder, const char *mime) { 677 const char *mime; member in struct:android::MimeToRole 710 if (!strcasecmp(mime, kMimeToRole[i].mime)) { 744 const char *mime, const sp<AMessage> &msg) { 745 setComponentRole(false /* isEncoder */, mime); 747 if (!strncasecmp(mime, "video/", 6)) { 752 CHECK_EQ(setupVideoDecoder(mime, width, height), 754 } else if (!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_AAC)) { 760 } else if (!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_AMR_NB)) 1795 AString mime; local [all...] |
OMXCodec.cpp | 63 const char *mime; member in struct:android::CodecInfo 216 const char *mime, int index) { 219 if (!strcasecmp(mime, info[i].mime)) { 374 const char *mime, 387 mime, index); 392 mime, index); 438 const char *mime; local 439 bool success = meta->findCString(kKeyMIMEType, &mime); 444 mime, createEncoder, matchComponentName, flags, &matchingCodecs) 1520 const char *mime; member in struct:android::MimeToRole [all...] |
AwesomePlayer.cpp | 361 const char *mime; local 362 CHECK(meta->findCString(kKeyMIMEType, &mime)); 363 LOGV("track of type '%s' does not publish bitrate", mime); 392 String8 mime = String8(_mime); local 394 if (!haveVideo && !strncasecmp(mime.string(), "video/", 6)) { 415 stat->mMIME = mime.string(); 417 } else if (!haveAudio && !strncasecmp(mime.string(), "audio/", 6)) { 427 stat->mMIME = mime.string(); 430 if (!strcasecmp(mime.string(), MEDIA_MIMETYPE_AUDIO_VORBIS)) { 442 } else if (!strcasecmp(mime.string(), MEDIA_MIMETYPE_TEXT_3GPP)) 1371 const char *mime; local [all...] |
MP3Extractor.cpp | 583 String8 mime; local 584 const void *data = id3.getAlbumArt(&dataSize, &mime); 588 meta->setCString(kKeyAlbumArtMIME, mime.string());
|
/frameworks/base/media/libstagefright/mpeg2ts/ |
MPEG2TSExtractor.cpp | 141 const char *mime; local 142 CHECK(meta->findCString(kKeyMIMEType, &mime)); 144 if (!strncasecmp("audio/", mime, 6)) {
|
/external/bluetooth/glib/gio/xdgmime/ |
xdgmimeglob.c | 295 const char *mime; member in struct:__anon2040 337 mime_types[n].mime = node->mime_type; 346 mime_types[n].mime = node->mime_type; 409 mimes[n].mime = list->mime_type; 422 mime_types[i] = mimes[i].mime;
|
/system/media/wilhelm/tests/mimeUri/ |
slesTestSlowDownUri.cpp | 189 SLDataFormat_MIME mime; local 226 mime.formatType = SL_DATAFORMAT_MIME; 227 mime.mimeType = (SLchar*)NULL; 228 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED; 230 audioSource.pFormat = (void *)&mime;
|
/frameworks/base/media/libstagefright/id3/ |
ID3.cpp | 725 ID3::getAlbumArt(size_t *length, String8 *mime) const { 727 mime->setTo(""); 739 mime->setTo((const char *)&data[1]); 760 mime->setTo("image/png"); 762 mime->setTo("image/jpeg"); 764 mime->setTo("text/plain");
|
/external/webkit/Source/WebCore/plugins/mac/ |
PluginPackageMac.cpp | 219 String mime = mimes[i].lower(); local 223 m_mimeToExtensions.set(mime, extensions); 225 m_mimeToDescriptions.set(mime, descriptions[i / 2]);
|
/frameworks/base/cmds/stagefright/ |
record.cpp | 133 const char *mime; local 134 if (!meta->findCString(kKeyMIMEType, &mime)) { 138 if (strncasecmp(mime, "video/", 6)) {
|
/frameworks/media/libvideoeditor/lvpp/ |
AudioPlayerBase.cpp | 99 const char *mime; local 100 bool success = format->findCString(kKeyMIMEType, &mime); 102 CHECK(!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_RAW));
|
PreviewPlayer.cpp | 172 const char *mime; local 173 CHECK(meta->findCString(kKeyMIMEType, &mime)); 175 if (!haveVideo && !strncasecmp(mime, "video/", 6)) { 178 } else if (!haveAudio && !strncasecmp(mime, "audio/", 6)) { 182 if (!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_VORBIS)) { 698 const char *mime; local 699 CHECK(meta->findCString(kKeyMIMEType, &mime)); 701 if (!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_RAW)) { 730 } else if (!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_QCELP)) { [all...] |
PreviewPlayerBase.cpp | 345 const char *mime; local 346 CHECK(meta->findCString(kKeyMIMEType, &mime)); 348 if (!haveVideo && !strncasecmp(mime, "video/", 6)) { 363 } else if (!haveAudio && !strncasecmp(mime, "audio/", 6)) { 367 if (!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_VORBIS)) { 1169 const char *mime; local [all...] |
/frameworks/base/media/libstagefright/omx/tests/ |
OMXHarness.cpp | 481 static const char *GetURLForMime(const char *mime) { 508 if (!strcasecmp(kMimeToURL[i].mMime, mime)) { 516 static sp<MediaSource> CreateSourceForMime(const char *mime) { 517 const char *url = GetURLForMime(mime); 533 if (!strcasecmp(mime, trackMime)) { 571 const char *mime = GetMimeFromComponentRole(componentRole); local 573 if (!mime) { 580 sp<MediaSource> source = CreateSourceForMime(mime); 582 sp<MediaSource> seekSource = CreateSourceForMime(mime);
|
/external/webkit/Source/WebKit/mac/WebView/ |
WebDataSource.mm | 138 NSString *mime = nil; 139 while ((mime = [enumerator nextObject]) != nil) { 141 if ([allTypes objectForKey:mime] == nil) 142 [allTypes setObject:objCClass forKey:mime];
|
/external/libxml2/ |
nanohttp.c | 150 char *contentType; /* the MIME type for the input */ 154 char *mimeType; /* Mime-Type extracted from the contentType */ 646 * - The Content-Type, Mime-Type and charset used 690 const xmlChar *charset, *last, *mime; local 696 mime = (const xmlChar *) cur; 697 last = mime; 703 ctxt->mimeType = (char *) xmlStrndup(mime, last - mime); 716 const xmlChar *charset, *last, *mime; local 721 mime = (const xmlChar *) cur [all...] |
/external/webkit/Source/WebKit/android/WebCoreSupport/ |
WebRequest.cpp | 273 const std::string& mime = m_interceptResponse->mimeType(); local 274 // Get the MIME type from the URL. "text/html" is a last resort, hopefully overridden. 276 if (mime == "") { 277 // Gmail appends the MIME to the end of the URL, with a ? separator. 282 // Get the MIME type from the file extension, if any. 288 mimeType = mime;
|
/frameworks/media/libvideoeditor/vss/stagefrightshells/src/ |
VideoEditorAudioEncoder.cpp | 349 const char* mime = NULL; local 391 mime = MEDIA_MIMETYPE_AUDIO_AAC; 396 mime = MEDIA_MIMETYPE_AUDIO_AMR_NB; 406 encoderMetadata->setCString(kKeyMIMEType, mime);
|
VideoEditorAudioDecoder.cpp | 438 const char* mime = NULL; local 466 mime = MEDIA_MIMETYPE_AUDIO_AMR_NB; 477 mime = MEDIA_MIMETYPE_AUDIO_AMR_WB; 493 mime = MEDIA_MIMETYPE_AUDIO_AAC; 526 mime = MEDIA_MIMETYPE_AUDIO_MPEG; 534 decoderMetaData->setCString(kKeyMIMEType, mime); [all...] |
VideoEditor3gpReader.cpp | 1445 const char *mime; local [all...] |
/frameworks/base/media/libstagefright/rtsp/ |
ARTPWriter.cpp | 133 const char *mime; local 134 CHECK(mSource->getFormat()->findCString(kKeyMIMEType, &mime)); 137 if (!strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_AVC)) { 139 } else if (!strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_H263)) { 141 } else if (!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_AMR_NB)) { 143 } else if (!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_AMR_WB)) {
|