Searched refs:mime (Results 51 - 75 of 145) sorted by relevance

123456

/frameworks/av/include/media/
H A DIMediaExtractor.h76 const char *mime);
/frameworks/av/include/media/stagefright/
H A DFileSource.h42 virtual sp<DecryptHandle> DrmInitialization(const char *mime);
H A DMediaHTTP.h52 virtual sp<DecryptHandle> DrmInitialization(const char* mime);
/frameworks/av/media/libstagefright/
H A DAMRWriter.cpp69 const char *mime; local
70 CHECK(meta->findCString(kKeyMIMEType, &mime));
73 if (!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_AMR_WB)) {
75 } else if (strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_AMR_NB)) {
H A DNuMediaExtractor.cpp113 // at the container mime type.
210 const char *mime; local
211 CHECK(meta->findCString(kKeyMIMEType, &mime));
212 ALOGV("track of type '%s' does not publish bitrate", mime);
269 const char *mime; local
270 CHECK(meta->findCString(kKeyMIMEType, &mime));
272 (*format)->setString("mime", mime);
320 const char *mime; local
321 CHECK(source->getFormat()->findCString(kKeyMIMEType, &mime));
[all...]
H A DAudioPlayer.cpp121 const char *mime; local
122 bool success = format->findCString(kKeyMIMEType, &mime);
124 CHECK(useOffload() || !strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_RAW));
147 if (mapMimeToAudioFormat(audioFormat, mime) != OK) {
148 ALOGE("Couldn't map mime type \"%s\" to a valid AudioSystem::audio_format", mime);
151 ALOGV("Mime type \"%s\" mapped to audio_format 0x%x", mime, audioFormat);
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/
H A DSoftMPEG4Encoder.h35 const char *mime,
/frameworks/av/media/libstagefright/include/
H A DDRMExtractor.h35 DRMExtractor(const sp<DataSource> &source, const char *mime);
H A DID3.h46 const void *getAlbumArt(size_t *length, String8 *mime) const;
/frameworks/base/media/jni/
H A Dandroid_media_MediaDataSource.h50 virtual sp<DecryptHandle> DrmInitialization(const char *mime);
/frameworks/native/include/media/hardware/
H A DCryptoAPI.h74 // media data of the given mime type.
75 virtual bool requiresSecureDecoderComponent(const char *mime) const = 0;
/frameworks/wilhelm/src/android/
H A Dandroid_AudioSfDecoder.cpp244 const char *mime; local
245 CHECK(meta->findCString(kKeyMIMEType, &mime));
247 if (!strncasecmp("audio/", mime, 6)) {
248 if (isSupportedCodec(mime)) {
251 if (!strcasecmp(MEDIA_MIMETYPE_AUDIO_RAW, mime)) {
789 bool AudioSfDecoder::isSupportedCodec(const char* mime) { argument
792 if (!strcasecmp(mime, kPlaybackOnlyCodecs[i])) {
/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.cpp87 SLDataFormat_MIME mime; local
191 mime.formatType = SL_DATAFORMAT_MIME;
192 /* this is how ignored mime information is specified, according to OpenSL ES spec
194 mime.mimeType = (SLchar*)NULL;
195 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED;
197 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.cpp135 SLDataFormat_MIME mime; local
181 mime.formatType = SL_DATAFORMAT_MIME;
182 mime.mimeType = (SLchar*)NULL;
183 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED;
185 audioSource.pFormat = (void *)&mime;
H A DslesTestManyPlayers.cpp48 SLDataFormat_MIME mime; variable
159 //mime = { /*formatType*/ SL_DATAFORMAT_MIME, /*mimeType*/ (SLchar*)NULL,
163 mime.formatType = SL_DATAFORMAT_MIME;
164 mime.mimeType = (SLchar*)NULL;
165 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED;
167 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/av/cmds/stagefright/
H A Dsf2.cpp127 const char *mime; local
128 CHECK(meta->findCString(kKeyMIMEType, &mime));
131 mime, 6)) {
134 if (!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_VORBIS)) {
291 const char *mime; local
292 CHECK(meta->findCString(kKeyMIMEType, &mime));
295 msg->setString("mime", mime);
297 if (!strncasecmp("video/", mime, 6)) {
305 CHECK(!strncasecmp("audio/", mime,
[all...]
H A DSimplePlayer.cpp296 AString mime; local
297 CHECK(format->findString("mime", &mime));
299 bool isVideo = !strncasecmp(mime.c_str(), "video/", 6);
301 if (!haveAudio && !strncasecmp(mime.c_str(), "audio/", 6)) {
318 mCodecLooper, mime.c_str(), false /* encoder */);
577 AString mime; local
578 CHECK(format->findString("mime", &mime));
580 if (!strncasecmp(mime
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DGenericSource.cpp157 ALOGE("unsupported widevine mime: %s", mimeType.string());
199 // Check mime to see if we actually have a widevine source.
229 const char *mime; local
230 CHECK(meta->findCString(kKeyMIMEType, &mime));
232 // Do the string compare immediately with "mime",
233 // we can't assume "mime" would stay valid after another
236 if (!strncasecmp(mime, "audio/", 6)) {
243 if (!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_VORBIS)) {
249 } else if (!strncasecmp(mime, "video/", 6)) {
638 const char *mime; local
975 const char *mime; local
1123 const char *mime; local
1302 const char *mime; local
[all...]
/frameworks/av/media/libstagefright/mpeg2ts/
H A DAnotherPacketSource.cpp69 const char *mime; local
70 CHECK(meta->findCString(kKeyMIMEType, &mime));
72 if (!strncasecmp("audio/", mime, 6)) {
74 } else if (!strncasecmp("video/", mime, 6)) {
77 CHECK(!strncasecmp("text/", mime, 5) || !strncasecmp("application/", mime, 12));
603 const char* mime; local
606 && format->findCString(kKeyMIMEType, &mime)
607 && !strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_AVC);
/frameworks/av/drm/libdrmframework/include/
H A DDrmManager.h113 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime);
115 DecryptHandle* openDecryptSession(int uniqueId, const char* uri, const char* mime);
H A DDrmManagerClientImpl.h107 * True if DrmManager can handle given path or mime type.
147 * Retrieves the mime type embedded inside the original content
153 * Returns mime-type of the original content, such as "video/mpeg"
304 * @param[in] mime The mime type of the protected content if it is not NULL or empty
309 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime);
316 * @param[in] mime The mime type of the protected content if it is not NULL or empty
321 int uniqueId, const char* uri, const char* mime);

Completed in 2789 milliseconds

123456