/frameworks/av/media/libstagefright/ |
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, "video/", 6)) 515 const char *mime; local [all...] |
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, "audio/", 6)) 920 AString mime = tmp; local [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
DecoderTest.java | 188 String mime = format.getString(MediaFormat.KEY_MIME); local 189 assertTrue("not an audio file", mime.startsWith("audio/")); 191 codec = MediaCodec.createDecoderByType(mime); 500 private MediaCodec createDecoder(String mime) { 503 if (mime.contains("avc")) { 505 } else if (mime.contains("3gpp")) { 507 } else if (mime.contains("mp4v")) { 509 } else if (mime.contains("vp8")) { 511 } else if (mime.contains("vp9")) { 515 return MediaCodec.createDecoderByType(mime); 534 String mime = format.getString(MediaFormat.KEY_MIME); local 732 String mime = format.getString(MediaFormat.KEY_MIME); local 1016 String mime = format.getString(MediaFormat.KEY_MIME); local [all...] |
EncoderTest.java | 122 String mime, List<MediaFormat> formats) { 123 List<String> componentNames = getEncoderNamesForType(mime); 129 assertEquals(mime, format.getString(MediaFormat.KEY_MIME)); 135 private List<String> getEncoderNamesForType(String mime) { 158 if (supportedTypes[j].equalsIgnoreCase(mime)) {
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
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/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;
|
slesTestPlayFdPath.cpp | 61 SLDataFormat_MIME mime; local 120 mime.formatType = SL_DATAFORMAT_MIME; 121 /* this is how ignored mime information is specified, according to OpenSL ES spec 123 mime.mimeType = (SLchar*)NULL; 124 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED; 126 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/ |
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;
|
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;
|
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;
|
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;
|
slesTest_playStates.cpp | 59 SLDataFormat_MIME mime; local 113 mime.formatType = SL_DATAFORMAT_MIME; 114 /* this is how ignored mime information is specified, according to OpenSL ES spec 116 mime.mimeType = (SLchar*)NULL; 117 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED; 119 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);
|
/frameworks/av/include/media/stagefright/ |
OMXCodec.h | 74 const char *mime); 112 const char *mime, 236 bool isEncoder, const char *mime, const char *componentName, 259 const char *mime, const sp<MetaData>& meta); 279 const char *mime, const sp<MetaData>& meta); 375 // supporting the given mime type, if queryDecoders==true, returns components 399 const char *componentName, const char *mime,
|
/cts/tests/tests/drm/src/android/drm/cts/ |
DrmSupportInfoTest.java | 130 fail("Mime type '" + mimeType + "' was accepted for DrmSupportInfo"); 141 String mime = (String) mimes.next(); local 142 assertEquals(mime, mimeType);
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
PageSerializerTest.cpp | 149 WTF::String mime(mimeType); 152 if (resource.url == kURL && !resource.data->isEmpty() && equalIgnoringCase(resource.mimeType, mime))
|
/frameworks/av/drm/libdrmframework/include/ |
DrmManagerService.h | 100 int uniqueId, int fd, off64_t offset, off64_t length, const char *mime); 103 int uniqueId, const char* uri, const char* mime);
|
IDrmManagerService.h | 143 off64_t length, const char* mime) = 0; 146 int uniqueId, const char* uri, const char* mime) = 0; 230 const char* mime); 233 int uniqueId, const char* uri, const char* mime);
|
/frameworks/av/drm/libdrmframework/plugins/common/include/ |
IDrmEngine.h | 165 * Retrieves the mime type embedded inside the original content 171 * Returns mime-type of the original content, such as "video/mpeg" 182 * @param[in] mimeType Mime type of the content or null. 324 * @param[in] mime Mime type of the protected content if it is 331 int fd, off64_t offset, off64_t length, const char* mime) = 0; 339 * @param[in] mime Mime type of the protected content if it is 346 const char* uri, const char* mime) = 0; 354 * @param[in] mimeType Mime type of the protected conten [all...] |
DrmEngineBase.h | 84 int fd, off64_t offset, off64_t length, const char* mime); 88 const char* uri, const char* mime); 221 * Retrieves the mime type embedded inside the original content 227 * Returns mime-type of the original content, such as "video/mpeg" 238 * @param[in] mimeType Mime type of the content or null. 395 * @param[in] mime Mime type of the protected content 396 * drm plugin may do some optimization since the mime type is known. 403 const char* mime) { 427 * @param[in] mime Mime type of the protected content. The correspondin [all...] |
/frameworks/av/include/drm/ |
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); 89 * @param[in] mimeType Mime type of the protected content 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 [all...] |
/frameworks/av/cmds/stagefright/ |
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);
|
/frameworks/av/drm/libdrmframework/ |
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);
|