Searched defs:mime (Results 1 - 25 of 91) sorted by last modified time

1234

/frameworks/wilhelm/src/android/
H A Dandroid_AudioSfDecoder.cpp241 const char *mime; local
242 CHECK(meta->findCString(kKeyMIMEType, &mime));
244 if (!strncasecmp("audio/", mime, 6)) {
245 if (isSupportedCodec(mime)) {
248 if (!strcasecmp(MEDIA_MIMETYPE_AUDIO_RAW, mime)) {
792 bool AudioSfDecoder::isSupportedCodec(const char* mime) { argument
795 if (!strcasecmp(mime, kPlaybackOnlyCodecs[i])) {
/frameworks/wilhelm/src/itf/
H A DIEngine.c69 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/wilhelm/tests/examples/
H A DslesTestBassBoostPath.cpp65 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 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 DslesTestPlayFdPath.cpp61 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;
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;
H A DslesTestVirtualizerPath.cpp66 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/listening/
H A DseekTorture.c60 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;
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 DslesTestPlayStreamType.cpp59 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 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 DslesTestPlayUri2.cpp74 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 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;
H A DslesTest_playStates.cpp59 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/
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 DMediaCodecInfo.java315 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 DMediaCrypto.java68 * 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
H A DMediaFormat.java127 * A key describing the mime type of the MediaFormat.
130 public static final String KEY_MIME = "mime";
640 * @param mime The mime type of the content.
645 String mime,
649 format.setString(KEY_MIME, mime);
658 * @param mime The mime type of the content.
665 String mime,
668 format.setString(KEY_MIME, mime);
644 createAudioFormat( String mime, int sampleRate, int channelCount) argument
664 createSubtitleFormat( String mime, String language) argument
680 createVideoFormat( String mime, int width, int height) argument
[all...]
H A DMediaPlayer.java1776 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...]
/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;

Completed in 244 milliseconds

1234