/frameworks/av/media/libstagefright/ |
H A D | AVIExtractor.cpp | 112 const char *mime; local 113 CHECK(mTrack.mMeta->findCString(kKeyMIMEType, &mime)); 115 if (!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_MPEG)) { 618 const char *mime = NULL; local 622 mime = GetMIMETypeForHandler(handler); 624 if (mime && strncasecmp(mime, "video/", 6)) { 628 if (mime == NULL) { 638 if (mime && strncasecmp(mime, "audi 920 AString mime = tmp; local [all...] |
H A D | MediaCodec.cpp | 116 const sp<ALooper> &looper, const char *mime, bool encoder, status_t *err) { 119 const status_t ret = codec->init(mime, true /* nameIsType */, encoder); 998 AString mime; local 999 CHECK(msg->findString("mime", &mime)); 1001 if (mime.startsWithIgnoreCase("video/")) { 1215 format->setString("mime", name.c_str()); 2215 AString mime; local 2216 CHECK(mOutputFormat->findString("mime", &mime)); 115 CreateByType( const sp<ALooper> &looper, const char *mime, bool encoder, status_t *err) argument 2256 AString mime; local [all...] |
H A D | AwesomePlayer.cpp | 405 const char *mime; local 406 CHECK(meta->findCString(kKeyMIMEType, &mime)); 407 ALOGV("track of type '%s' does not publish bitrate", mime); 443 String8 mime = String8(_mime); local 445 if (!haveVideo && !strncasecmp(mime.string(), "video/", 6)) { 466 stat->mMIME = mime.string(); 468 } else if (!haveAudio && !strncasecmp(mime.string(), "audio/", 6)) { 479 stat->mMIME = mime.string(); 482 if (!strcasecmp(mime.string(), MEDIA_MIMETYPE_AUDIO_VORBIS)) { 494 } else if (!strcasecmp(mime 1533 const char *mime; local 2617 String8 mime = String8(_mime); local 2732 const char *mime; local [all...] |
H A D | OMXCodec.cpp | 196 const char *mime, 210 list->findCodecByType(mime, createEncoder, index); 304 const char *mime; local 305 bool success = meta->findCString(kKeyMIMEType, &mime); 310 mime, createEncoder, matchComponentName, flags, &matchingCodecs); 313 ALOGV("No matching codecs! (mime: %s, createEncoder: %s, " 315 mime, createEncoder ? "true" : "false", matchComponentName, flags); 369 createEncoder, mime, componentName, 878 const char *mime, const sp<MetaData>& meta) { 891 if (!strcasecmp(MEDIA_MIMETYPE_VIDEO_AVC, mime)) { 195 findMatchingCodecs( const char *mime, bool createEncoder, const char *matchComponentName, uint32_t flags, Vector<CodecNameAndQuirks> *matchingCodecs) argument 877 setVideoInputFormat( const char *mime, const sp<MetaData>& meta) argument 1274 setVideoOutputFormat( const char *mime, const sp<MetaData>& meta) argument 1412 OMXCodec( const sp<IOMX> &omx, IOMX::node_id node, uint32_t quirks, uint32_t flags, bool isEncoder, const char *mime, const char *componentName, const sp<MediaSource> &source, const sp<ANativeWindow> &nativeWindow) argument 1453 setComponentRole( const sp<IOMX> &omx, IOMX::node_id node, bool isEncoder, const char *mime) argument 1457 const char *mime; member in struct:android::MimeToRole 4454 QueryCodecs( const sp<IOMX> &omx, const char *mime, bool queryDecoders, bool hwCodecOnly, Vector<CodecCapabilities> *results) argument 4484 QueryCodec( const sp<IOMX> &omx, const char *componentName, const char *mime, bool isEncoder, CodecCapabilities *caps) argument [all...] |
H A D | ACodec.cpp | 1072 bool isEncoder, const char *mime) { 1074 const char *mime; member in struct:android::MimeToRole 1131 if (!strcasecmp(mime, kMimeToRole[i].mime)) { 1169 const char *mime, const sp<AMessage> &msg) { 1180 status_t err = setComponentRole(encoder /* isEncoder */, mime); 1188 if (encoder && strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_FLAC) 1237 int32_t video = !strncasecmp(mime, "video/", 6); 1444 err = setupVideoEncoder(mime, msg); 1446 err = setupVideoDecoder(mime, ms 1071 setComponentRole( bool isEncoder, const char *mime) argument 1168 configureCodec( const char *mime, const sp<AMessage> &msg) argument 2297 GetVideoCodingTypeFromMime( const char *mime, OMX_VIDEO_CODINGTYPE *codingType) argument 2313 GetMimeTypeForVideoCoding( OMX_VIDEO_CODINGTYPE codingType, AString *mime) argument 2329 setupVideoDecoder( const char *mime, const sp<AMessage> &msg, bool haveNativeWindow) argument 2396 setupVideoEncoder(const char *mime, const sp<AMessage> &msg) argument 3579 AString mime; local 3794 const char *mime = NULL; local 3845 AString mime; local 4846 AString mime; local 5048 AString mime; local [all...] |
H A D | MPEG4Extractor.cpp | 448 const char *mime; local 449 CHECK(track->meta->findCString(kKeyMIMEType, &mime)); 450 if (!strncasecmp("video/", mime, 6)) { 1263 const char *mime; local 1264 CHECK(mLastTrack->meta->findCString(kKeyMIMEType, &mime)); 1265 if (strcasecmp(mime, MEDIA_MIMETYPE_TEXT_3GPP) && 1266 strcasecmp(mime, "application/octet-stream")) { 1460 const char *mime; local 1461 CHECK(mLastTrack->meta->findCString(kKeyMIMEType, &mime)); 1462 if (!strcmp(mime, MEDIA_MIMETYPE_VIDEO_AV 1476 const char *mime; local 2557 String8 mime; local 2609 const char *mime; local 2996 const char *mime; local 4222 const char *mime; local [all...] |
H A D | MPEG4Writer.cpp | 456 const char *mime; local 457 source->getFormat()->findCString(kKeyMIMEType, &mime); 458 bool isAudio = !strncasecmp(mime, "audio/", 6); 459 bool isVideo = !strncasecmp(mime, "video/", 6); 462 mime); 1377 const char *mime; local 1378 mMeta->findCString(kKeyMIMEType, &mime); 1379 mIsAvc = !strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_AVC); 1380 mIsAudio = !strncasecmp(mime, "audio/", 6); 1381 mIsMPEG4 = !strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_MPEG 1472 const char *mime; local 2620 const char *mime; local 2687 const char *mime; local 2741 const char *mime; local [all...] |
/frameworks/av/media/libstagefright/httplive/ |
H A D | PlaylistFetcher.cpp | 1283 const char *mime; local 1286 if (format != NULL && format->findCString(kKeyMIMEType, &mime) 1287 && !strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_AVC)) { 1701 const char *mime; local 1702 CHECK(format->findCString(kKeyMIMEType, &mime)); 1703 bool audio = !strncasecmp(mime, "audio/", 6);
|
/frameworks/av/media/libstagefright/matroska/ |
H A D | MatroskaExtractor.cpp | 218 const char *mime; local 219 CHECK(meta->findCString(kKeyMIMEType, &mime)); 221 mIsAudio = !strncasecmp("audio/", mime, 6); 223 if (!strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_AVC)) { 236 } else if (!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_AAC)) { 1041 const char *mime; local 1042 CHECK(info->mMeta->findCString(kKeyMIMEType, &mime)); 1044 if (strncasecmp(mime, "video/", 6)) {
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | ATSParser.cpp | 918 const char *mime; local 919 if (meta->findCString(kKeyMIMEType, &mime) 920 && !strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_AVC)
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | PlaybackSession.cpp | 159 AString mime; local 160 CHECK(format->findString("mime", &mime)); 162 return !strncasecmp(mime.c_str(), "audio/", 6); 771 AString mime; local 772 CHECK(format->findString("mime", &mime)); 774 bool isAudio = !strncasecmp(mime.c_str(), "audio/", 6); 775 bool isVideo = !strncasecmp(mime.c_str(), "video/", 6); 942 format->setString("mime", MEDIA_MIMETYPE_VIDEO_AV [all...] |
/frameworks/wilhelm/src/itf/ |
H A D | IEngine.c | 69 const char* mime = (char*)ap->mDataSource.mFormat.mMIME.mimeType; local 70 if ((mime != NULL) && !(strcasecmp(mime, (const char *)SL_ANDROID_MIME_AACADTS) && 71 strcasecmp(mime, ANDROID_MIME_AACADTS_ANDROID_FRAMEWORK))) {
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | StagefrightRecorder.cpp | 896 const char *mime; local 900 format->setString("mime", MEDIA_MIMETYPE_AUDIO_AMR_NB); 903 format->setString("mime", MEDIA_MIMETYPE_AUDIO_AMR_WB); 906 format->setString("mime", MEDIA_MIMETYPE_AUDIO_AAC); 910 format->setString("mime", MEDIA_MIMETYPE_AUDIO_AAC); 914 format->setString("mime", MEDIA_MIMETYPE_AUDIO_AAC); 1456 format->setString("mime", MEDIA_MIMETYPE_VIDEO_H263); 1460 format->setString("mime", MEDIA_MIMETYPE_VIDEO_MPEG4); 1464 format->setString("mime", MEDIA_MIMETYPE_VIDEO_AVC); 1468 format->setString("mime", MEDIA_MIMETYPE_VIDEO_VP [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayer.cpp | 356 AString mime; local 357 CHECK(format->findString("mime", &mime)); 364 reply->writeString16(String16(mime.c_str())); 1200 AString mime; local 1201 CHECK(format->findString("mime", &mime)); 1896 AString mime; local 1897 CHECK(buffer->meta()->findString("mime", &mime)); [all...] |
/frameworks/base/media/java/android/media/ |
H A D | MediaCodecInfo.java | 315 final String mime = (String)map.get(MediaFormat.KEY_MIME); 317 // mime must match if present 318 if (mime != null && !mMime.equalsIgnoreCase(mime)) { 365 * Returns the mime type for which this codec-capability object was created. 417 * Retrieve the codec capabilities for a certain {@code mime type}, {@code 422 String mime, int profile, int level) { 427 defaultFormat.setString(MediaFormat.KEY_MIME, mime); 624 String mime = mParent.getMimeType(); 626 if (mime 421 createFromProfileLevel( String mime, int profile, int level) argument [all...] |
H A D | MediaPlayer.java | 1776 String mime = in.readString(); 1777 mFormat = MediaFormat.createSubtitleFormat(mime, language); 1922 * A helper function to check if the mime type is supported by media framework. 2079 * @param mimeType The mime type of the file. Must be one of the mime types listed above. 2113 * @param mimeType The mime type of the file. Must be one of the mime types listed above. 2156 * @param mimeType The mime type of the file. Must be one of the mime types listed above. 2180 * @param mime Th 2184 addTimedTextSource(FileDescriptor fd, long offset, long length, String mime) argument [all...] |