/frameworks/wilhelm/tests/mimeUri/ |
H A D | slesTestPlayUri2.cpp | 74 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 D | slesTestGetPositionUri.cpp | 135 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 D | slesTestLoopUri.cpp | 130 SLDataFormat_MIME mime; local 168 mime.formatType = SL_DATAFORMAT_MIME; 169 mime.mimeType = (SLchar*)NULL; 170 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED; 172 audioSource.pFormat = (void *)&mime;
|
/frameworks/av/cmds/stagefright/ |
H A D | SimplePlayer.cpp | 297 AString mime; local 298 CHECK(format->findString("mime", &mime)); 300 bool isVideo = !strncasecmp(mime.c_str(), "video/", 6); 302 if (!haveAudio && !strncasecmp(mime.c_str(), "audio/", 6)) { 319 mCodecLooper, mime.c_str(), false /* encoder */); 580 AString mime; local 581 CHECK(format->findString("mime", &mime)); 583 if (!strncasecmp(mime [all...] |
H A D | codec.cpp | 97 AString mime; local 98 CHECK(format->findString("mime", &mime)); 100 bool isAudio = !strncasecmp(mime.c_str(), "audio/", 6); 101 bool isVideo = !strncasecmp(mime.c_str(), "video/", 6); 124 looper, mime.c_str(), false /* encoder */);
|
H A D | muxer.cpp | 106 AString mime; local 107 CHECK(format->findString("mime", &mime)); 109 bool isAudio = !strncasecmp(mime.c_str(), "audio/", 6); 110 bool isVideo = !strncasecmp(mime.c_str(), "video/", 6);
|
/frameworks/av/drm/common/ |
H A D | DrmEngineBase.cpp | 124 int fd, off64_t offset, off64_t length, const char* mime) { 126 if (!mime || mime[0] == '\0') { 130 return onOpenDecryptSession(uniqueId, decryptHandle, fd, offset, length, mime); 135 const char* uri, const char* mime) { 136 if (!mime || mime[0] == '\0') { 139 return onOpenDecryptSession(uniqueId, decryptHandle, uri, mime); 122 openDecryptSession( int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length, const char* mime) argument 133 openDecryptSession( int uniqueId, DecryptHandle* decryptHandle, const char* uri, const char* mime) argument
|
/frameworks/av/drm/libdrmframework/ |
H A D | DrmManagerClient.cpp | 120 int fd, off64_t offset, off64_t length, const char* mime) { 123 mUniqueId, fd, offset, length, mime); 127 const char* uri, const char* mime) { 130 mUniqueId, uri, mime); 119 openDecryptSession( int fd, off64_t offset, off64_t length, const char* mime) argument 126 openDecryptSession( const char* uri, const char* mime) argument
|
/frameworks/av/drm/libmediadrm/ |
H A D | ICrypto.cpp | 90 const char *mime) const { 93 data.writeCString(mime); 299 const char *mime = data.readCString(); local 300 if (mime == NULL) { 303 reply->writeInt32(requiresSecureDecoderComponent(mime));
|
/frameworks/av/media/libmedia/ |
H A D | IMediaExtractor.cpp | 226 String8 mime; member in struct:android::__anon356 238 str.append(" for mime "); 239 str.append(mime); 295 const char *mime) { 297 ex.mime = mime == NULL ? "NULL" : mime; 292 registerMediaExtractor( const sp<IMediaExtractor> &extractor, const sp<DataSource> &source, const char *mime) argument
|
H A D | MediaCodecInfo.cpp | 142 MediaCodecInfo::getCapabilitiesFor(const char *mime) const { 143 ssize_t ix = getCapabilityIndex(mime); 168 AString mime = AString::FromParcel(parcel); local 173 info->mCaps.add(mime, caps); 194 ssize_t MediaCodecInfo::getCapabilityIndex(const char *mime) const { 195 if (mime) { 197 if (mCaps.keyAt(ix).equalsIgnoreCase(mime)) { 205 MediaCodecInfo::MediaCodecInfo(AString name, bool encoder, const char *mime) argument 209 if (mime != NULL) { 210 addMime(mime); 215 addMime(const char *mime) argument 230 updateMime(const char *mime) argument 241 removeMime(const char *mime) argument [all...] |
/frameworks/av/media/libstagefright/ |
H A D | AACWriter.cpp | 82 const char *mime; local 83 CHECK(meta->findCString(kKeyMIMEType, &mime)); 85 CHECK(!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_AAC));
|
H A D | AudioPlayer.cpp | 121 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);
|
H A D | MediaExtractor.cpp | 60 static const char *kExtractorMime = "android.media.mediaextractor.mime"; 122 const sp<DataSource> &source, const char *mime) { 123 ALOGV("MediaExtractor::Create %s", mime); 128 return CreateFromService(source, mime); 136 sp<IMediaExtractor> ex = mediaExService->makeExtractor(source->asIDataSource(), mime); 147 const sp<DataSource> &source, const char *mime) { 149 ALOGV("MediaExtractor::CreateFromService %s", mime); 153 source->DrmInitialization(nullptr /* mime */); 158 if (mime == NULL) { 166 mime 121 Create( const sp<DataSource> &source, const char *mime) argument 146 CreateFromService( const sp<DataSource> &source, const char *mime) argument 212 const char *mime = NULL; local [all...] |
H A D | SimpleDecodingSource.cpp | 42 const char *mime = NULL; local 44 CHECK(meta->findCString(kKeyMIMEType, &mime)); 53 mime, false /* encoder */, flags, &matchingCodecs); 80 strcmp(mime, MEDIA_MIMETYPE_AUDIO_VORBIS) == 0, 91 ALOGE("No matching decoder! (mime: %s)", mime);
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/ |
H A D | SoftMPEG4Encoder.cpp | 65 const char *mime, 93 initPorts(kNumBuffers, kNumBuffers, kOutputBufferSize, mime); 61 SoftMPEG4Encoder( const char *name, const char *componentRole, OMX_VIDEO_CODINGTYPE codingType, const char *mime, const CodecProfileLevel *profileLevels, size_t numProfileLevels, const OMX_CALLBACKTYPE *callbacks, OMX_PTR appData, OMX_COMPONENTTYPE **component) argument
|
/frameworks/av/media/libstagefright/codecs/on2/dec/ |
H A D | SoftVPX.cpp | 56 const char *mime = mMode == MODE_VP8 ? MEDIA_MIMETYPE_VIDEO_VP8 : MEDIA_MIMETYPE_VIDEO_VP9; local 60 kNumBuffers, mime, kMinCompressionRatio);
|
/frameworks/av/media/libstagefright/wifi-display/ |
H A D | MediaSender.cpp | 78 AString mime; local 79 CHECK(format->findString("mime", &mime)); 80 info.mIsAudio = !strncasecmp("audio/", mime.c_str(), 6);
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaCrypto.cpp | 101 bool JCrypto::requiresSecureDecoderComponent(const char *mime) const { 106 return mCrypto->requiresSecureDecoderComponent(mime); 271 const char *mime = env->GetStringUTFChars(mimeObj, NULL); local 273 if (mime == NULL) { 277 bool result = crypto->requiresSecureDecoderComponent(mime); 279 env->ReleaseStringUTFChars(mimeObj, mime); 280 mime = NULL;
|
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/ |
H A D | PlaylistItem.java | 42 public PlaylistItem(String qid, String iid, String title, Uri uri, String mime, argument 48 mMime = mime;
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/ |
H A D | PlaylistItem.java | 42 public PlaylistItem(String qid, String iid, String title, Uri uri, String mime, argument 48 mMime = mime;
|
/frameworks/wilhelm/tests/examples/ |
H A D | slesTestEqFdPath.cpp | 70 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 D | slesTestEqOutputPath.cpp | 70 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 D | slesTestSendToPresetReverb.cpp | 87 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 D | slesTest_playMuteSolo.cpp | 174 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;
|