/frameworks/av/media/libstagefright/ |
H A D | MediaExtractor.cpp | 54 const sp<DataSource> &source, const char *mime) { 58 if (mime == NULL) { 66 mime = tmp.string(); 68 mime, confidence); 75 if (!strncmp(mime, "drm+", 4)) { 76 const char *originalMime = strchr(mime+4, '+'); 82 if (!strncmp(mime, "drm+es_based+", 13)) { 85 } else if (!strncmp(mime, "drm+container_based+", 20)) { 86 mime = originalMime; 94 if (!strcasecmp(mime, MEDIA_MIMETYPE_CONTAINER_MPEG 53 Create( const sp<DataSource> &source, const char *mime) argument [all...] |
H A D | Utils.cpp | 75 const char *mime; local 76 CHECK(meta->findCString(kKeyMIMEType, &mime)); 79 msg->setString("mime", mime); 91 if (!strncasecmp("video/", mime, 6)) { 105 } else if (!strncasecmp("audio/", mime, 6)) { 371 AString mime; local 372 if (msg->findString("mime", &mime)) { 373 meta->setCString(kKeyMIMEType, mime 515 const char* mime; member in struct:android::mime_conv_t 545 const char *mime; local [all...] |
H A D | 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) argument 235 mOriginalExtractor = MediaExtractor::Create(source, mime);
|
H A D | StagefrightMetadataRetriever.cpp | 117 const char *mime; local 118 CHECK(trackMeta->findCString(kKeyMIMEType, &mime)); 121 if (QueryCodecs(client->interface(), mime, 238 const char *mime; local 239 CHECK(trackMeta->findCString(kKeyMIMEType, &mime)); 241 ALOGV("thumbNailTime = %lld us, timeUs = %lld us, mime = %s", 242 thumbNailTime, timeUs, mime); 349 const char *mime; local 350 CHECK(meta->findCString(kKeyMIMEType, &mime)); 352 if (!strncasecmp(mime, "vide 515 const char *mime; local [all...] |
/frameworks/av/media/libstagefright/timedtext/ |
H A D | TimedTextSource.cpp | 37 const char *mime; local 38 CHECK(mediaSource->getFormat()->findCString(kKeyMIMEType, &mime)); 39 if (strcasecmp(mime, MEDIA_MIMETYPE_TEXT_3GPP) == 0) { 42 ALOGE("Unsupported mime type for subtitle. : %s", mime);
|
H A D | TimedText3GPPSource.cpp | 71 const char *mime; local 72 CHECK(mSource->getFormat()->findCString(kKeyMIMEType, &mime)); 73 CHECK(strcasecmp(mime, MEDIA_MIMETYPE_TEXT_3GPP) == 0); 95 const char *mime; local 96 CHECK(mSource->getFormat()->findCString(kKeyMIMEType, &mime)); 97 CHECK(strcasecmp(mime, MEDIA_MIMETYPE_TEXT_3GPP) == 0);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
H A D | MediaMimeTest.java | 35 * System tests for the handling of mime type in the media framework. 71 // AUDIO mime type resolution tests. 97 // Checks the activity resolver handling of mime types is case sensitive. 105 // resolving mime types. Trailing whitespaces seems to be non 114 // @return a ResolveInfo instance for the mime type or null if the type is 116 private ResolveInfo resolveMime(String mime) { argument 120 viewIntent.setDataAndType(uri, mime); 125 // Helper method to check the media playback activity handles the given mime type. 126 // @param mime type to test for 127 private void assertMediaPlaybackActivityHandles(String mime) throw argument 135 assertNoActivityHandles(String mime) argument [all...] |
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | MediaPuller.cpp | 40 const char *mime; local 41 CHECK(meta->findCString(kKeyMIMEType, &mime)); 43 mIsAudio = !strncasecmp(mime, "audio/", 6); 119 AString mime = tmp; local 121 ALOGI("MediaPuller(%s) stopping.", mime.c_str()); 123 ALOGI("MediaPuller(%s) stopped.", mime.c_str());
|
/frameworks/base/media/java/android/media/ |
H A D | MediaFormat.java | 82 * A key describing the mime type of the MediaFormat. 85 public static final String KEY_MIME = "mime"; 364 * @param mime The mime type of the content. 369 String mime, 373 format.setString(KEY_MIME, mime); 382 * @param mime The mime type of the content. 389 String mime, 392 format.setString(KEY_MIME, mime); 368 createAudioFormat( String mime, int sampleRate, int channelCount) argument 388 createSubtitleFormat( String mime, String language) argument 404 createVideoFormat( String mime, int width, int height) argument [all...] |
H A D | MediaCrypto.java | 68 * to decode data of the given mime type. 69 * @param mime The mime type of the media data 71 public final native boolean requiresSecureDecoderComponent(String mime); argument
|
/frameworks/av/drm/common/ |
H A D | DrmEngineBase.cpp | 124 int fd, off64_t offset, off64_t length, const char* mime) { 126 if (!mime || mime[0] == '\0') { 130 return onOpenDecryptSession(uniqueId, decryptHandle, fd, offset, length, mime); 135 const char* uri, const char* mime) { 136 if (!mime || mime[0] == '\0') { 139 return onOpenDecryptSession(uniqueId, decryptHandle, uri, mime); 122 openDecryptSession( int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length, const char* mime) argument 133 openDecryptSession( int uniqueId, DecryptHandle* decryptHandle, const char* uri, const char* mime) argument
|
/frameworks/av/media/libstagefright/include/ |
H A D | ThrottledSource.h | 57 virtual sp<DecryptHandle> DrmInitialization(const char *mime = NULL) { 58 return mSource->DrmInitialization(mime);
|
H A D | DRMExtractor.h | 34 DRMExtractor(const sp<DataSource> &source, const char *mime);
|
/frameworks/wilhelm/tests/listening/ |
H A D | seekTorture.c | 60 SLDataFormat_MIME mime; local 65 mime.formatType = SL_DATAFORMAT_MIME; 66 mime.mimeType = (SLchar *) NULL; 67 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED; 69 audiosrc.pFormat = &mime;
|
/frameworks/base/media/jni/ |
H A D | 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;
|
H A D | android_media_MediaCrypto.h | 38 bool requiresSecureDecoderComponent(const char *mime) const;
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerDecoder.cpp | 44 AString mime; local 45 CHECK(format->findString("mime", &mime)); 68 bool needDedicatedLooper = !strncasecmp(mime.c_str(), "video/", 6);
|
H A D | GenericSource.cpp | 74 const char *mime; local 75 CHECK(meta->findCString(kKeyMIMEType, &mime)); 79 if (!strncasecmp(mime, "audio/", 6)) { 83 if (!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_VORBIS)) { 89 } else if (!strncasecmp(mime, "video/", 6)) {
|
/frameworks/av/media/libstagefright/id3/ |
H A D | testid3.cpp | 100 String8 mime; local 101 const void *data = tag.getAlbumArt(&dataSize, &mime); 104 printf("found album art: size=%d mime='%s'\n", dataSize, 105 mime.string());
|
/frameworks/av/include/media/ |
H A D | ICrypto.h | 42 const char *mime) const = 0;
|
/frameworks/av/include/media/stagefright/ |
H A D | MediaExtractor.h | 32 const sp<DataSource> &source, const char *mime = NULL);
|
/frameworks/native/include/media/hardware/ |
H A D | CryptoAPI.h | 64 // media data of the given mime type. 65 virtual bool requiresSecureDecoderComponent(const char *mime) const = 0;
|
/frameworks/av/libvideoeditor/lvpp/ |
H A D | VideoEditorSRC.cpp | 52 const char *mime; local 53 CHECK(format->findCString(kKeyMIMEType, &mime)); 54 CHECK(!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_RAW)); 298 const char *mime; local 299 CHECK(format->findCString(kKeyMIMEType, &mime)); 300 CHECK(!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_RAW));
|
/frameworks/av/cmds/stagefright/ |
H A D | stagefright.cpp | 167 const char *mime; local 168 CHECK(meta->findCString(kKeyMIMEType, &mime)); 171 if (!strcasecmp(MEDIA_MIMETYPE_AUDIO_RAW, mime)) { 189 fprintf(stderr, "Failed to instantiate decoder for '%s'.\n", mime); 375 if (!strncasecmp("video/", mime, 6)) { 386 } else if (!strncasecmp("audio/", mime, 6)) { 426 const char *mime; local 427 CHECK(mSource->getFormat()->findCString(kKeyMIMEType, &mime)); 429 if (!strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_AVC)) { 431 } else if (!strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_MPEG 1005 const char *mime; local 1021 const char *mime; local 1049 const char *mime; local [all...] |
/frameworks/wilhelm/tests/examples/ |
H A D | 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;
|