Searched defs:mime (Results 51 - 75 of 106) sorted by relevance

12345

/frameworks/wilhelm/tests/mimeUri/
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;
H A DslesTestSlowDownUri.cpp186 SLDataFormat_MIME mime; local
223 mime.formatType = SL_DATAFORMAT_MIME;
224 mime.mimeType = (SLchar*)NULL;
225 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED;
227 audioSource.pFormat = (void *)&mime;
/frameworks/wilhelm/tests/
H A DmimeUri_test.cpp107 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/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 Dstream.cpp178 const char *mime; local
179 CHECK(meta->findCString(kKeyMIMEType, &mime));
181 if (strncasecmp("video/", mime, 6) && strncasecmp("audio/", mime, 6)) {
H A Dmediafilter.cpp336 AString mime; local
337 CHECK(format->findString("mime", &mime));
338 bool isVideo = !strncasecmp(mime.c_str(), "video/", 6);
356 looper, mime.c_str(), false /* encoder */);
/frameworks/av/media/libstagefright/
H A DMediaCodecListOverrides.cpp93 bool isEncoder, const AString &mime, const sp<MediaCodecInfo::Capabilities> &caps) {
95 format->setString("mime", mime);
104 if (mime.startsWith("video/")) {
131 bool isEncoder, const AString &name, const AString &mime, const sp<MediaCodecInfo::Capabilities> &caps) {
132 sp<AMessage> format = getMeasureFormat(isEncoder, mime, caps);
137 name.c_str(), mime.c_str(), isEncoder ? "encoder" : "decoder",
161 ALOGV("Failed to configure codec: %s with mime: %s", name.c_str(), mime.c_str());
168 ALOGV("Failed to start codec: %s with mime
92 getMeasureFormat( bool isEncoder, const AString &mime, const sp<MediaCodecInfo::Capabilities> &caps) argument
130 doProfileCodecs( bool isEncoder, const AString &name, const AString &mime, const sp<MediaCodecInfo::Capabilities> &caps) argument
288 AString mime; local
[all...]
H A DNuMediaExtractor.cpp202 const char *mime; local
203 CHECK(meta->findCString(kKeyMIMEType, &mime));
204 ALOGV("track of type '%s' does not publish bitrate", mime);
261 const char *mime; local
262 CHECK(meta->findCString(kKeyMIMEType, &mime));
264 (*format)->setString("mime", mime);
319 const char *mime; local
320 CHECK(source->getFormat()->findCString(kKeyMIMEType, &mime));
322 if (!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_VORBI
[all...]
H A DMP3Extractor.cpp658 String8 mime; local
659 const void *data = id3.getAlbumArt(&dataSize, &mime);
663 meta->setCString(kKeyAlbumArtMIME, mime.string());
H A DMPEG2TSWriter.cpp103 const char *mime; local
104 CHECK(meta->findCString(kKeyMIMEType, &mime));
106 if (!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_AAC)) {
108 } else if (!strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_AVC)) {
150 const char *mime; local
151 CHECK(meta->findCString(kKeyMIMEType, &mime));
153 if (!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_AAC)) {
180 if (strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_AVC)) {
506 const char *mime; local
507 CHECK(meta->findCString(kKeyMIMEType, &mime));
[all...]
/frameworks/av/media/libstagefright/filters/
H A DMediaFilter.cpp414 // get params - at least mime, width & height
415 AString mime; local
416 CHECK(msg->findString("mime", &mime));
417 if (strcasecmp(mime.c_str(), MEDIA_MIMETYPE_VIDEO_RAW)) {
418 ALOGE("Bad mime: %s", mime.c_str());
464 mInputFormat->setString("mime", mime.c_str());
473 mOutputFormat->setString("mime", mim
[all...]
/frameworks/av/media/libstagefright/mpeg2ts/
H A DAnotherPacketSource.cpp70 const char *mime; local
71 CHECK(meta->findCString(kKeyMIMEType, &mime));
73 if (!strncasecmp("audio/", mime, 6)) {
75 } else if (!strncasecmp("video/", mime, 6)) {
78 CHECK(!strncasecmp("text/", mime, 5) || !strncasecmp("application/", mime, 12));
659 const char* mime; local
662 && format->findCString(kKeyMIMEType, &mime)
663 && !strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_AVC);
/frameworks/av/media/libstagefright/rtsp/
H A DARTPWriter.cpp133 const char *mime; local
134 CHECK(mSource->getFormat()->findCString(kKeyMIMEType, &mime));
137 if (!strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_AVC)) {
139 } else if (!strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_H263)) {
141 } else if (!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_AMR_NB)) {
143 } else if (!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_AMR_WB)) {
/frameworks/av/media/libstagefright/wifi-display/source/
H A DConverter.cpp66 AString mime; local
67 CHECK(mOutputFormat->findString("mime", &mime));
69 if (!strncasecmp("video/", mime.c_str(), 6)) {
72 mIsH264 = !strcasecmp(mime.c_str(), MEDIA_MIMETYPE_VIDEO_AVC);
73 } else if (!strcasecmp(MEDIA_MIMETYPE_AUDIO_RAW, mime.c_str())) {
145 CHECK(mOutputFormat->findString("mime", &outputMIME));
425 AString mime; local
426 CHECK(mOutputFormat->findString("mime", &mime));
[all...]
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
H A DSampleMediaRouterActivity.java665 public MediaItem(String name, Uri uri, String mime) { argument
668 mMime = mime;
H A DSessionManager.java102 public PlaylistItem add(String title, Uri uri, String mime) { argument
103 return add(title, uri, mime, null);
106 public PlaylistItem add(String title, Uri uri, String mime, PendingIntent receiver) { argument
116 Integer.toString(mItemId), title, uri, mime, receiver);
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
H A DSampleMediaRouterActivity.java665 public MediaItem(String name, Uri uri, String mime) { argument
668 mMime = mime;
H A DSessionManager.java102 public PlaylistItem add(String title, Uri uri, String mime) { argument
103 return add(title, uri, mime, null);
106 public PlaylistItem add(String title, Uri uri, String mime, PendingIntent receiver) { argument
116 Integer.toString(mItemId), title, uri, mime, receiver);
/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/av/drm/common/
H A DIDrmManagerService.cpp607 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) {
617 if (mime) {
618 mimeType = mime;
633 int uniqueId, const char* uri, const char* mime) {
635 ALOGV("Entering BpDrmManagerService::openDecryptSession: mime=%s", mime? mime: "NULL");
642 if (mime) {
643 mimeType = mime;
1330 const String8 mime local
606 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument
632 openDecryptSession( int uniqueId, const char* uri, const char* mime) argument
1350 const String8 mime = data.readString8(); local
[all...]
/frameworks/av/drm/drmserver/
H A DDrmManager.cpp400 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) {
413 result = rDrmEngine.openDecryptSession(uniqueId, handle, fd, offset, length, mime);
429 int uniqueId, const char* uri, const char* mime) {
441 result = rDrmEngine.openDecryptSession(uniqueId, handle, uri, mime);
399 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument
428 openDecryptSession( int uniqueId, const char* uri, const char* mime) argument
H A DDrmManagerService.cpp266 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) {
269 return mDrmManager->openDecryptSession(uniqueId, fd, offset, length, mime);
276 int uniqueId, const char* uri, const char* mime) {
279 return mDrmManager->openDecryptSession(uniqueId, uri, mime);
265 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument
275 openDecryptSession( int uniqueId, const char* uri, const char* mime) argument
/frameworks/av/drm/libdrmframework/
H A DDrmManagerClientImpl.cpp261 off64_t length, const char* mime) {
264 uniqueId, fd, offset, length, mime);
268 int uniqueId, const char* uri, const char* mime) {
272 handle = getDrmManagerService()->openDecryptSession(uniqueId, uri, mime);
259 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument
267 openDecryptSession( int uniqueId, const char* uri, const char* mime) argument
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
H A DFwdLockEngine.cpp190 bool FwdLockEngine::IsMimeTypeSupported(const String8& mime) { argument
191 String8 tmp(mime);
349 * 1. path and mime type both are not empty strings (meaning unavailable) else content is unknown
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DRTSPSource.cpp769 const char *mime; local
770 CHECK(format->findCString(kKeyMIMEType, &mime));
772 if (!strcasecmp(mime, MEDIA_MIMETYPE_CONTAINER_MPEG2TS)) {
780 bool isAudio = !strncasecmp(mime, "audio/", 6);
781 bool isVideo = !strncasecmp(mime, "video/", 6);

Completed in 4561 milliseconds

12345