Searched defs:mime (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/media/libstagefright/
H A DMediaExtractor.cpp33 const sp<DataSource> &source, const char *mime) {
35 if (mime == NULL) {
43 mime = tmp.string();
45 mime, confidence);
48 if (!strcasecmp(mime, MEDIA_MIMETYPE_CONTAINER_MPEG4)
49 || !strcasecmp(mime, "audio/mp4")) {
51 } else if (!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_MPEG)) {
53 } else if (!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_AMR_NB)
54 || !strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_AMR_WB)) {
32 Create( const sp<DataSource> &source, const char *mime) argument
H A DAudioPlayer.cpp63 const char *mime; local
64 bool success = format->findCString(kKeyMIMEType, &mime);
66 CHECK(!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_RAW));
H A DMPEG4Writer.cpp353 const char *mime; local
354 meta->findCString(kKeyMIMEType, &mime);
355 is_mpeg4 = !strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_MPEG4);
426 const char *mime; local
427 bool success = mMeta->findCString(kKeyMIMEType, &mime);
430 bool is_audio = !strncasecmp(mime, "audio/", 6);
532 if (!strcasecmp(MEDIA_MIMETYPE_AUDIO_AMR_NB, mime)) {
534 } else if (!strcasecmp(MEDIA_MIMETYPE_AUDIO_AMR_WB, mime)) {
537 LOGE("Unknown mime type '%s'.", mime);
[all...]
H A DMediaPlayerImpl.cpp386 const char *mime; local
387 if (!meta->findCString(kKeyMIMEType, &mime)) {
393 if (!strncasecmp(mime, "audio/", 6)) {
396 } else if (!strncasecmp(mime, "video/", 6)) {
H A DMPEG4Extractor.cpp745 const char *mime; local
746 bool success = mFormat->findCString(kKeyMIMEType, &mime);
752 mIsAVC = !strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_AVC);
H A DOMXCodec.cpp43 const char *mime; member in struct:android::CodecInfo
115 const char *mime, int index) {
118 if (!strcasecmp(mime, info[i].mime)) {
178 const char *mime; local
179 bool success = meta->findCString(kKeyMIMEType, &mime);
189 mime, index);
193 mime, index);
252 omx, node, quirks, createEncoder, mime, componentName,
348 if (!strcasecmp(MEDIA_MIMETYPE_AUDIO_AMR_NB, mime)) {
114 GetCodec(const CodecInfo *info, size_t numInfos, const char *mime, int index) argument
496 setVideoInputFormat( const char *mime, OMX_U32 width, OMX_U32 height) argument
572 setVideoOutputFormat( const char *mime, OMX_U32 width, OMX_U32 height) argument
672 OMXCodec( const sp<IOMX> &omx, IOMX::node_id node, uint32_t quirks, bool isEncoder, const char *mime, const char *componentName, const sp<MediaSource> &source) argument
698 setComponentRole( const sp<IOMX> &omx, IOMX::node_id node, bool isEncoder, const char *mime) argument
702 const char *mime; member in struct:android::MimeToRole
2438 QueryCodecs( const sp<IOMX> &omx, const char *mime, bool queryDecoders, Vector<CodecCapabilities> *results) argument
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
H A DMediaMimeTest.java35 * System tests for the handling of mime type in the media framework.
72 // AUDIO mime type resolution tests.
98 // Checks the activity resolver handling of mime types is case sensitive.
106 // resolving mime types. Trailing whitespaces seems to be non
115 // @return a ResolveInfo instance for the mime type or null if the type is
117 private ResolveInfo resolveMime(String mime) { argument
121 viewIntent.setDataAndType(uri, mime);
126 // Helper method to check the media playback activity handles the given mime type.
127 // @param mime type to test for
128 private void assertMediaPlaybackActivityHandles(String mime) throw argument
137 assertNoActivityHandles(String mime) argument
[all...]
/frameworks/base/cmds/stagefright/
H A Dstagefright.cpp381 const char *mime; local
382 meta->findCString(kKeyMIMEType, &mime);
384 if (audioOnly && !strncasecmp(mime, "audio/", 6)) {
388 if (!audioOnly && !strncasecmp(mime, "video/", 6)) {

Completed in 99 milliseconds