/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/media/libmedia/ |
H A D | ICrypto.cpp | 88 const char *mime) const { 91 data.writeCString(mime); 269 const char *mime = data.readCString(); local 270 if (mime == NULL) { 273 reply->writeInt32(requiresSecureDecoderComponent(mime));
|
H A D | IMediaExtractor.cpp | 184 String8 mime; member in struct:android::__anon273 196 str.append(" for mime "); 197 str.append(mime); 243 const char *mime) { 245 ex.mime = mime == NULL ? "NULL" : mime; 240 registerMediaExtractor( const sp<IMediaExtractor> &extractor, const sp<DataSource> &source, const char *mime) argument
|
H A D | MediaCodecInfo.cpp | 140 MediaCodecInfo::getCapabilitiesFor(const char *mime) const { 141 ssize_t ix = getCapabilityIndex(mime); 166 AString mime = AString::FromParcel(parcel); local 171 info->mCaps.add(mime, caps); 192 ssize_t MediaCodecInfo::getCapabilityIndex(const char *mime) const { 194 if (mCaps.keyAt(ix).equalsIgnoreCase(mime)) { 201 MediaCodecInfo::MediaCodecInfo(AString name, bool encoder, const char *mime) argument 205 if (mime != NULL) { 206 addMime(mime); 211 status_t MediaCodecInfo::addMime(const char *mime) { argument 226 updateMime(const char *mime) argument 237 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 | DRMExtractor.cpp | 81 const char *mime; local 82 bool success = getFormat()->findCString(kKeyMIMEType, &mime); 85 if (!strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_AVC)) { 155 const char *mime; local 156 CHECK(getFormat()->findCString(kKeyMIMEType, &mime)); 158 if (!strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_AVC) && !mWantsNALFragments) { 242 DRMExtractor::DRMExtractor(const sp<DataSource> &source, const char* mime) argument 246 mOriginalExtractor = MediaExtractor::Create(source, mime);
|
H A D | MediaExtractor.cpp | 91 virtual sp<DecryptHandle> DrmInitialization(const char *mime); 138 sp<DecryptHandle> RemoteDataSource::DrmInitialization(const char *mime) { argument 139 return mSource->DrmInitialization(mime); 144 const sp<DataSource> &source, const char *mime) { 145 ALOGV("MediaExtractor::Create %s", mime); 152 return CreateFromService(source, mime); 181 sp<IMediaExtractor> ex = mediaExService->makeExtractor(RemoteDataSource::wrap(source), mime); 192 const sp<DataSource> &source, const char *mime) { 194 ALOGV("MediaExtractor::CreateFromService %s", mime); 200 if (mime 143 Create( const sp<DataSource> &source, const char *mime) argument 191 CreateFromService( const sp<DataSource> &source, const char *mime) argument [all...] |
H A D | SimpleDecodingSource.cpp | 41 const char *mime = NULL; local 43 CHECK(meta->findCString(kKeyMIMEType, &mime)); 50 mime, false /* encoder */, flags, &matchingCodecs); 85 ALOGE("No matching decoder! (mime: %s)", mime);
|
H A D | MediaCodecListOverrides.cpp | 93 bool isEncoder, AString mime, sp<MediaCodecInfo::Capabilities> caps) { 95 format->setString("mime", mime); 104 if (mime.startsWith("video/")) { 131 AString name, AString mime, sp<MediaCodecInfo::Capabilities> caps) { 132 ALOGV("doProfileEncoderInputBuffers: name %s, mime %s", name.c_str(), mime.c_str()); 134 sp<AMessage> format = getMeasureFormat(true /* isEncoder */, mime, caps); 156 ALOGE("Failed to configure codec: %s with mime: %s", name.c_str(), mime 92 getMeasureFormat( bool isEncoder, AString mime, sp<MediaCodecInfo::Capabilities> caps) argument 130 doProfileEncoderInputBuffers( AString name, AString mime, sp<MediaCodecInfo::Capabilities> caps) argument 185 doProfileCodecs( bool isEncoder, AString name, AString mime, sp<MediaCodecInfo::Capabilities> caps) argument 356 AString mime; local [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/ |
H A D | SoftMPEG4Encoder.cpp | 67 const char *mime, 95 initPorts(kNumBuffers, kNumBuffers, kOutputBufferSize, mime); 63 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 | 98 bool JCrypto::requiresSecureDecoderComponent(const char *mime) const { 103 return mCrypto->requiresSecureDecoderComponent(mime); 268 const char *mime = env->GetStringUTFChars(mimeObj, NULL); local 270 if (mime == NULL) { 274 bool result = crypto->requiresSecureDecoderComponent(mime); 276 env->ReleaseStringUTFChars(mimeObj, mime); 277 mime = NULL;
|
/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;
|
/frameworks/wilhelm/tests/mimeUri/ |
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;
|
H A D | slesTestManyPlayers.cpp | 48 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 D | slesTestSlowDownUri.cpp | 186 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 D | mimeUri_test.cpp | 107 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 D | slesTestPlayStream.cpp | 191 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 D | stream.cpp | 177 const char *mime; local 178 CHECK(meta->findCString(kKeyMIMEType, &mime)); 180 if (strncasecmp("video/", mime, 6) && strncasecmp("audio/", mime, 6)) {
|