/frameworks/av/media/libmedia/ |
H A D | IDataSource.cpp | 90 virtual sp<DecryptHandle> DrmInitialization(const char *mime) { argument 93 if (mime == NULL) { 97 data.writeCString(mime); 174 const char *mime = NULL; local 177 mime = data.readCString(); 179 sp<DecryptHandle> handle = DrmInitialization(mime);
|
H A D | IMediaExtractor.cpp | 184 String8 mime; member in struct:android::__anon273 196 str.append(" for mime "); 197 str.append(mime); 243 const char *mime) { 245 ex.mime = mime == NULL ? "NULL" : mime; 240 registerMediaExtractor( const sp<IMediaExtractor> &extractor, const sp<DataSource> &source, const char *mime) argument
|
/frameworks/base/media/java/android/media/ |
H A D | MediaFormat.java | 132 * A key describing the mime type of the MediaFormat. 135 public static final String KEY_MIME = "mime"; 889 * @param mime The mime type of the content. 894 String mime, 898 format.setString(KEY_MIME, mime); 907 * @param mime The mime type of the content. 914 String mime, 917 format.setString(KEY_MIME, mime); 893 createAudioFormat( String mime, int sampleRate, int channelCount) argument 913 createSubtitleFormat( String mime, String language) argument 929 createVideoFormat( String mime, int width, int height) argument [all...] |
H A D | MediaCodecInfo.java | 618 final String mime = (String)map.get(MediaFormat.KEY_MIME); 620 // mime must match if present 621 if (mime != null && !mMime.equalsIgnoreCase(mime)) { 773 * Returns the mime type for which this codec-capability object was created. 837 * Retrieve the codec capabilities for a certain {@code mime type}, {@code 845 String mime, int profile, int level) { 850 defaultFormat.setString(MediaFormat.KEY_MIME, mime); 1065 String mime = mParent.getMimeType(); 1067 if (mime 844 createFromProfileLevel( String mime, int profile, int level) argument [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_MediaCrypto.cpp | 98 bool JCrypto::requiresSecureDecoderComponent(const char *mime) const { 103 return mCrypto->requiresSecureDecoderComponent(mime); 268 const char *mime = env->GetStringUTFChars(mimeObj, NULL); local 270 if (mime == NULL) { 274 bool result = crypto->requiresSecureDecoderComponent(mime); 276 env->ReleaseStringUTFChars(mimeObj, mime); 277 mime = NULL;
|
/frameworks/av/cmds/stagefright/ |
H A D | stagefright.cpp | 177 const char *mime; local 178 CHECK(meta->findCString(kKeyMIMEType, &mime)); 181 if (!strcasecmp(MEDIA_MIMETYPE_AUDIO_RAW, mime)) { 381 if (!strncasecmp("video/", mime, 6)) { 392 } else if (!strncasecmp("audio/", mime, 6)) { 432 const char *mime; local 433 CHECK(mSource->getFormat()->findCString(kKeyMIMEType, &mime)); 435 if (!strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_AVC)) { 437 } else if (!strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_MPEG4)) { 440 } else if (!strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_H26 1022 const char *mime; local 1041 const char *mime; local 1072 const char *mime; local [all...] |
H A D | muxer.cpp | 107 AString mime; local 108 CHECK(format->findString("mime", &mime)); 110 bool isAudio = !strncasecmp(mime.c_str(), "audio/", 6); 111 bool isVideo = !strncasecmp(mime.c_str(), "video/", 6);
|
/frameworks/av/media/libstagefright/ |
H A D | MPEG4Writer.cpp | 111 static const char *getFourCCForMime(const char *mime); 471 const char *MPEG4Writer::Track::getFourCCForMime(const char *mime) { argument 472 if (mime == NULL) { 475 if (!strncasecmp(mime, "audio/", 6)) { 476 if (!strcasecmp(MEDIA_MIMETYPE_AUDIO_AMR_NB, mime)) { 478 } else if (!strcasecmp(MEDIA_MIMETYPE_AUDIO_AMR_WB, mime)) { 480 } else if (!strcasecmp(MEDIA_MIMETYPE_AUDIO_AAC, mime)) { 483 } else if (!strncasecmp(mime, "video/", 6)) { 484 if (!strcasecmp(MEDIA_MIMETYPE_VIDEO_MPEG4, mime)) { 486 } else if (!strcasecmp(MEDIA_MIMETYPE_VIDEO_H263, mime)) { 514 const char *mime; local 1491 const char *mime; local 1587 const char *mime; local 2844 const char *mime; local 2912 const char *mime; local 2987 const char *mime; local [all...] |
H A D | Utils.cpp | 604 const char *mime; local 605 if (!meta->findCString(kKeyMIMEType, &mime)) { 610 msg->setString("mime", mime); 639 if (!strncasecmp("video/", mime, 6)) { 684 } else if (!strncasecmp("audio/", mime, 6)) { 948 if (!strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_MPEG4)) { 950 } else if (!strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_MPEG2)) { 955 } else if (!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_AAC)) { 1249 AString mime; local 1481 const char* mime; member in struct:android::mime_conv_t 1546 const char *mime; local [all...] |
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...] |
/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;
|
H A D | slesTestPlayFdPath.cpp | 82 SLDataFormat_MIME mime; local 141 mime.formatType = SL_DATAFORMAT_MIME; 142 /* this is how ignored mime information is specified, according to OpenSL ES spec 144 mime.mimeType = (SLchar*)NULL; 145 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED; 147 audioSource.pFormat = (void*)&mime;
|
H A D | 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/ |
H A D | slesTestLoopUri.cpp | 130 SLDataFormat_MIME mime; local 168 mime.formatType = SL_DATAFORMAT_MIME; 169 mime.mimeType = (SLchar*)NULL; 170 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED; 172 audioSource.pFormat = (void *)&mime;
|
H A D | slesTestPlayStreamType.cpp | 59 SLDataFormat_MIME mime; local 118 mime.formatType = SL_DATAFORMAT_MIME; 119 /* this is how ignored mime information is specified, according to OpenSL ES spec 121 mime.mimeType = (SLchar*)NULL; 122 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED; 124 audioSource.pFormat = (void*)&mime;
|
H A D | slesTestPlayUri.cpp | 133 SLDataFormat_MIME mime; local 174 mime.formatType = SL_DATAFORMAT_MIME; 175 mime.mimeType = (SLchar*)NULL; 176 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED; 178 audioSource.pFormat = (void *)&mime;
|
H A D | slesTestPlayUri2.cpp | 74 SLDataFormat_MIME mime; local 127 mime.formatType = SL_DATAFORMAT_MIME; 128 /* this is how ignored mime information is specified, according to OpenSL ES spec 130 mime.mimeType = (SLchar*)NULL; 131 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED; 133 audioSource.pFormat = (void *)&mime;
|
H A D | slesTest_playStates.cpp | 58 SLDataFormat_MIME mime; local 112 mime.formatType = SL_DATAFORMAT_MIME; 113 /* this is how ignored mime information is specified, according to OpenSL ES spec 115 mime.mimeType = (SLchar*)NULL; 116 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED; 118 audioSource.pFormat = (void*)&mime;
|
/frameworks/wilhelm/tests/ |
H A D | mimeUri_test.cpp | 107 SLDataFormat_MIME mime; local 148 mime.formatType = SL_DATAFORMAT_MIME; 149 mime.mimeType = (SLchar*)NULL; 150 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED; 152 audioSource.pFormat = (void *)&mime;
|
/frameworks/support/v4/java/android/support/v4/provider/ |
H A D | RawDocumentFile.java | 149 final String mime = MimeTypeMap.getSingleton().getMimeTypeFromExtension(extension); 150 if (mime != null) { 151 return mime;
|
/frameworks/av/drm/libdrmframework/include/ |
H A D | NoOpDrmManagerClientImpl.h | 56 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime); 58 int uniqueId, const char* uri, const char* mime);
|
/frameworks/av/include/drm/ |
H A D | DrmManagerClient.h | 69 * @param[in] mime Mime type of the protected content if it is not NULL or empty 73 sp<DecryptHandle> openDecryptSession(int fd, off64_t offset, off64_t length, const char* mime); 79 * @param[in] mime Mime type of the protected content if it is not NULL or empty 83 sp<DecryptHandle> openDecryptSession(const char* uri, const char* mime); 242 * True if DrmManager can handle given path or mime type. 279 * Retrieves the mime type embedded inside the original content 284 * Returns mime-type of the original content, such as "video/mpeg"
|
/frameworks/av/drm/libdrmframework/ |
H A D | DrmManagerClient.cpp | 120 int fd, off64_t offset, off64_t length, const char* mime) { 123 mUniqueId, fd, offset, length, mime); 127 const char* uri, const char* mime) { 130 mUniqueId, uri, mime); 119 openDecryptSession( int fd, off64_t offset, off64_t length, const char* mime) argument 126 openDecryptSession( const char* uri, const char* mime) argument
|
/frameworks/av/include/media/ |
H A D | Crypto.h | 46 const char *mime) const;
|
H A D | ICrypto.h | 43 const char *mime) const = 0;
|