Searched defs:mime (Results 26 - 50 of 91) sorted by relevance

1234

/frameworks/av/drm/libdrmframework/
H A DNoOpDrmManagerClientImpl.cpp111 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) {
116 int uniqueId, const char* uri, const char* mime) {
110 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument
115 openDecryptSession( int uniqueId, const char* uri, const char* mime) argument
/frameworks/av/media/libmedia/
H A DICrypto.cpp86 const char *mime) const {
89 data.writeCString(mime);
228 const char *mime = data.readCString(); local
229 reply->writeInt32(requiresSecureDecoderComponent(mime));
H A DMediaCodecInfo.cpp125 MediaCodecInfo::getCapabilitiesFor(const char *mime) const {
126 ssize_t ix = getCapabilityIndex(mime);
151 AString mime = AString::FromParcel(parcel); local
154 info->mCaps.add(mime, caps);
175 ssize_t MediaCodecInfo::getCapabilityIndex(const char *mime) const {
177 if (mCaps.keyAt(ix).equalsIgnoreCase(mime)) {
184 MediaCodecInfo::MediaCodecInfo(AString name, bool encoder, const char *mime) argument
188 if (mime != NULL) {
189 addMime(mime);
194 status_t MediaCodecInfo::addMime(const char *mime) { argument
209 removeMime(const char *mime) argument
[all...]
/frameworks/av/media/libstagefright/
H A DAACWriter.cpp100 const char *mime; local
101 CHECK(meta->findCString(kKeyMIMEType, &mime));
103 CHECK(!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_AAC));
H A DDRMExtractor.cpp81 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) {
231 DRMExtractor::DRMExtractor(const sp<DataSource> &source, const char* mime) argument
235 mOriginalExtractor = MediaExtractor::Create(source, mime);
H A DAudioPlayer.cpp117 const char *mime; local
118 bool success = format->findCString(kKeyMIMEType, &mime);
120 CHECK(useOffload() || !strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_RAW));
139 if (mapMimeToAudioFormat(audioFormat, mime) != OK) {
140 ALOGE("Couldn't map mime type \"%s\" to a valid AudioSystem::audio_format", mime);
143 ALOGV("Mime type \"%s\" mapped to audio_format 0x%x", mime, audioFormat);
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/
H A DSoftMPEG4Encoder.cpp63 const char *mime,
91 initPorts(kNumBuffers, kNumBuffers, kOutputBufferSize, mime);
59 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/mpeg2ts/
H A DAnotherPacketSource.cpp61 const char *mime; local
62 CHECK(meta->findCString(kKeyMIMEType, &mime));
64 if (!strncasecmp("audio/", mime, 6)) {
66 } else if (!strncasecmp("video/", mime, 6)) {
69 CHECK(!strncasecmp("text/", mime, 5));
H A DMPEG2TSExtractor.cpp132 const char *mime; local
133 CHECK(meta->findCString(kKeyMIMEType, &mime));
135 if (!strncasecmp("audio/", mime, 6)) {
/frameworks/av/media/libstagefright/wifi-display/
H A DMediaSender.cpp78 AString mime; local
79 CHECK(format->findString("mime", &mime));
80 info.mIsAudio = !strncasecmp("audio/", mime.c_str(), 6);
/frameworks/base/media/jni/
H A Dandroid_media_MediaCrypto.cpp102 bool JCrypto::requiresSecureDecoderComponent(const char *mime) const {
107 return mCrypto->requiresSecureDecoderComponent(mime);
263 const char *mime = env->GetStringUTFChars(mimeObj, NULL); local
265 if (mime == NULL) {
269 bool result = crypto->requiresSecureDecoderComponent(mime);
271 env->ReleaseStringUTFChars(mimeObj, mime);
272 mime = NULL;
/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.cpp88 SLDataFormat_MIME mime; local
192 mime.formatType = SL_DATAFORMAT_MIME;
193 /* this is how ignored mime information is specified, according to OpenSL ES spec
195 mime.mimeType = (SLchar*)NULL;
196 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED;
198 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.cpp138 SLDataFormat_MIME mime; local
184 mime.formatType = SL_DATAFORMAT_MIME;
185 mime.mimeType = (SLchar*)NULL;
186 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED;
188 audioSource.pFormat = (void *)&mime;
H A DslesTestLoopUri.cpp133 SLDataFormat_MIME mime; local
171 mime.formatType = SL_DATAFORMAT_MIME;
172 mime.mimeType = (SLchar*)NULL;
173 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED;
175 audioSource.pFormat = (void *)&mime;
H A DslesTestManyPlayers.cpp48 SLDataFormat_MIME mime; variable
161 //mime = { /*formatType*/ SL_DATAFORMAT_MIME, /*mimeType*/ (SLchar*)NULL,
165 mime.formatType = SL_DATAFORMAT_MIME;
166 mime.mimeType = (SLchar*)NULL;
167 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED;
169 audioSource.pFormat = (void *)&mime;
H A DslesTestPlayUri.cpp136 SLDataFormat_MIME mime; local
177 mime.formatType = SL_DATAFORMAT_MIME;
178 mime.mimeType = (SLchar*)NULL;
179 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED;
181 audioSource.pFormat = (void *)&mime;
H A DslesTestSlowDownUri.cpp189 SLDataFormat_MIME mime; local
226 mime.formatType = SL_DATAFORMAT_MIME;
227 mime.mimeType = (SLchar*)NULL;
228 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED;
230 audioSource.pFormat = (void *)&mime;
/frameworks/wilhelm/tests/
H A DmimeUri_test.cpp110 SLDataFormat_MIME mime; local
151 mime.formatType = SL_DATAFORMAT_MIME;
152 mime.mimeType = (SLchar*)NULL;
153 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED;
155 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.cpp177 const char *mime; local
178 CHECK(meta->findCString(kKeyMIMEType, &mime));
180 if (strncasecmp("video/", mime, 6) && strncasecmp("audio/", mime, 6)) {
/frameworks/av/drm/drmserver/
H A DDrmManagerService.cpp209 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) {
212 return mDrmManager->openDecryptSession(uniqueId, fd, offset, length, mime);
219 int uniqueId, const char* uri, const char* mime) {
222 return mDrmManager->openDecryptSession(uniqueId, uri, mime);
208 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument
218 openDecryptSession( int uniqueId, const char* uri, const char* mime) argument
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DRTSPSource.cpp543 const char *mime; local
544 CHECK(format->findCString(kKeyMIMEType, &mime));
546 if (!strcasecmp(mime, MEDIA_MIMETYPE_CONTAINER_MPEG2TS)) {
554 bool isAudio = !strncasecmp(mime, "audio/", 6);
555 bool isVideo = !strncasecmp(mime, "video/", 6);

Completed in 5009 milliseconds

1234