Searched defs:mime (Results 26 - 50 of 83) sorted by relevance

1234

/frameworks/av/libvideoeditor/vss/stagefrightshells/src/
H A DVideoEditorMp3Reader.cpp461 const char *mime; local
462 CHECK(meta->findCString(kKeyMIMEType, &mime));
464 if (!haveAudio && !strncasecmp(mime, "audio/", 6)) {
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DGenericSource.cpp70 const char *mime; local
71 CHECK(meta->findCString(kKeyMIMEType, &mime));
75 if (!strncasecmp(mime, "audio/", 6)) {
79 if (!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_VORBIS)) {
85 } else if (!strncasecmp(mime, "video/", 6)) {
H A DRTSPSource.cpp422 const char *mime; local
423 CHECK(format->findCString(kKeyMIMEType, &mime));
425 if (!strcasecmp(mime, MEDIA_MIMETYPE_CONTAINER_MPEG2TS)) {
433 bool isAudio = !strncasecmp(mime, "audio/", 6);
434 bool isVideo = !strncasecmp(mime, "video/", 6);
/frameworks/av/media/libstagefright/
H A DAACWriter.cpp97 const char *mime; local
98 CHECK(meta->findCString(kKeyMIMEType, &mime));
100 CHECK(!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_AAC));
H A DDRMExtractor.cpp81 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 DNuMediaExtractor.cpp108 // at the container mime type.
190 const char *mime; local
191 CHECK(meta->findCString(kKeyMIMEType, &mime));
192 ALOGV("track of type '%s' does not publish bitrate", mime);
265 const char *mime; local
266 CHECK(source->getFormat()->findCString(kKeyMIMEType, &mime));
268 if (!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_VORBIS)) {
H A DUtils.cpp70 const char *mime; local
71 CHECK(meta->findCString(kKeyMIMEType, &mime));
74 msg->setString("mime", mime);
81 if (!strncasecmp("video/", mime, 6)) {
88 } else if (!strncasecmp("audio/", mime, 6)) {
354 AString mime; local
355 if (msg->findString("mime", &mime)) {
356 meta->setCString(kKeyMIMEType, mime
[all...]
/frameworks/av/media/libstagefright/chromium_http/
H A DChromiumHTTPDataSource.cpp266 sp<DecryptHandle> ChromiumHTTPDataSource::DrmInitialization(const char* mime) { argument
282 String8(mURI.c_str()), mime);
/frameworks/av/media/libstagefright/mpeg2ts/
H A DMPEG2TSExtractor.cpp141 const char *mime; local
142 CHECK(meta->findCString(kKeyMIMEType, &mime));
144 if (!strncasecmp("audio/", mime, 6)) {
/frameworks/av/media/libstagefright/wifi-display/source/
H A DConverter.cpp57 AString mime; local
58 CHECK(mInputFormat->findString("mime", &mime));
60 if (!strncasecmp("video/", mime.c_str(), 6)) {
113 CHECK(mInputFormat->findString("mime", &inputMIME));
145 mOutputFormat->setString("mime", outputMIME.c_str());
344 AString mime; local
345 CHECK(mInputFormat->findString("mime", &mime));
346 ALOGI("encoder (%s) shut down.", mime
[all...]
/frameworks/wilhelm/tests/examples/
H A DslesTestEqFdPath.cpp70 SLDataFormat_MIME mime; local
136 mime.formatType = SL_DATAFORMAT_MIME;
137 /* this is how ignored mime information is specified, according to OpenSL ES spec
139 mime.mimeType = (SLchar*)NULL;
140 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED;
142 audioSource.pFormat = (void*)&mime;
H A DslesTestEqOutputPath.cpp70 SLDataFormat_MIME mime; local
143 mime.formatType = SL_DATAFORMAT_MIME;
144 /* this is how ignored mime information is specified, according to OpenSL ES spec
146 mime.mimeType = (SLchar*)NULL;
147 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED;
149 audioSource.pFormat = (void*)&mime;
H A DslesTestSendToPresetReverb.cpp88 SLDataFormat_MIME mime; local
192 mime.formatType = SL_DATAFORMAT_MIME;
193 /* this is how ignored mime information is specified, according to OpenSL ES spec
195 mime.mimeType = (SLchar*)NULL;
196 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED;
198 audioSource.pFormat = (void*)&mime;
/frameworks/wilhelm/tests/listening/
H A DslesTest_playMuteSolo.cpp174 SLDataFormat_MIME mime; local
228 mime.formatType = SL_DATAFORMAT_MIME;
229 /* this is how ignored mime information is specified, according to OpenSL ES spec
231 mime.mimeType = (SLchar*)NULL;
232 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED;
234 audioSource.pFormat = (void*)&mime;
/frameworks/wilhelm/tests/mimeUri/
H A DslesTestGetPositionUri.cpp138 SLDataFormat_MIME mime; local
184 mime.formatType = SL_DATAFORMAT_MIME;
185 mime.mimeType = (SLchar*)NULL;
186 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED;
188 audioSource.pFormat = (void *)&mime;
H A DslesTestLoopUri.cpp133 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;
H A DslesTestManyPlayers.cpp48 SLDataFormat_MIME mime; variable
161 //mime = { /*formatType*/ SL_DATAFORMAT_MIME, /*mimeType*/ (SLchar*)NULL,
165 mime.formatType = SL_DATAFORMAT_MIME;
166 mime.mimeType = (SLchar*)NULL;
167 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED;
169 audioSource.pFormat = (void *)&mime;
H A DslesTestPlayUri.cpp136 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;
H A DslesTestSlowDownUri.cpp189 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/wilhelm/tests/
H A DmimeUri_test.cpp110 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;
/frameworks/wilhelm/tests/sandbox/streamSource/
H A DslesTestPlayStream.cpp191 SLDataFormat_MIME mime; local
236 mime.formatType = SL_DATAFORMAT_MIME;
237 mime.mimeType = (SLchar *) "video/mp2ts";//(SLchar*)NULL;
238 mime.containerType = SL_CONTAINERTYPE_MPEG_TS;
240 audioSource.pFormat = (void *)&mime;
/frameworks/base/media/java/android/media/
H A DMediaFormat.java64 * A key describing the mime type of the MediaFormat.
67 public static final String KEY_MIME = "mime";
260 * @param mime The mime type of the content.
265 String mime,
269 format.setString(KEY_MIME, mime);
278 * @param mime The mime type of the content.
283 String mime,
287 format.setString(KEY_MIME, mime);
264 createAudioFormat( String mime, int sampleRate, int channelCount) argument
282 createVideoFormat( String mime, int width, int height) argument
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaCrypto.cpp102 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;
/frameworks/av/cmds/stagefright/
H A Dstream.cpp173 const char *mime; local
174 CHECK(meta->findCString(kKeyMIMEType, &mime));
176 if (strncasecmp("video/", mime, 6) && strncasecmp("audio/", mime, 6)) {
/frameworks/av/drm/drmserver/
H A DDrmManagerService.cpp203 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) {
206 return mDrmManager->openDecryptSession(uniqueId, fd, offset, length, mime);
213 int uniqueId, const char* uri, const char* mime) {
216 return mDrmManager->openDecryptSession(uniqueId, uri, mime);
202 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument
212 openDecryptSession( int uniqueId, const char* uri, const char* mime) argument

Completed in 162 milliseconds

1234