/frameworks/av/cmds/stagefright/ |
H A D | SimplePlayer.cpp | 297 AString mime; local 298 CHECK(format->findString("mime", &mime)); 300 if (!haveAudio && !strncasecmp(mime.c_str(), "audio/", 6)) { 302 } else if (!haveVideo && !strncasecmp(mime.c_str(), "video/", 6)) { 317 mCodecLooper, mime.c_str(), false /* encoder */); 576 AString mime; local 577 CHECK(format->findString("mime", &mime)); 579 if (!strncasecmp(mime [all...] |
H A D | codec.cpp | 91 AString mime; local 92 CHECK(format->findString("mime", &mime)); 94 bool isAudio = !strncasecmp(mime.c_str(), "audio/", 6); 95 bool isVideo = !strncasecmp(mime.c_str(), "video/", 6); 118 looper, mime.c_str(), false /* encoder */);
|
H A D | sf2.cpp | 86 const char *mime; local 87 CHECK(meta->findCString(kKeyMIMEType, &mime)); 90 mime, 6)) { 93 if (!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_VORBIS)) { 268 const char *mime; local 269 CHECK(meta->findCString(kKeyMIMEType, &mime)); 272 msg->setString("mime", mime); 274 if (!strncasecmp("video/", mime, 6)) { 282 CHECK(!strncasecmp("audio/", mime, [all...] |
H A D | stagefright.cpp | 168 const char *mime; local 169 CHECK(meta->findCString(kKeyMIMEType, &mime)); 172 if (!strcasecmp(MEDIA_MIMETYPE_AUDIO_RAW, mime)) { 190 fprintf(stderr, "Failed to instantiate decoder for '%s'.\n", mime); 376 if (!strncasecmp("video/", mime, 6)) { 387 } else if (!strncasecmp("audio/", mime, 6)) { 427 const char *mime; local 428 CHECK(mSource->getFormat()->findCString(kKeyMIMEType, &mime)); 430 if (!strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_AVC)) { 432 } else if (!strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_MPEG 1030 const char *mime; local 1047 const char *mime; local 1075 const char *mime; local [all...] |
H A D | stream.cpp | 173 const char *mime; local 174 CHECK(meta->findCString(kKeyMIMEType, &mime)); 176 if (strncasecmp("video/", mime, 6) && strncasecmp("audio/", mime, 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
|
H A D | IDrmManagerService.cpp | 614 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) { 624 if (mime) { 625 mimeType = mime; 640 int uniqueId, const char* uri, const char* mime) { 642 ALOGV("Entering BpDrmManagerService::openDecryptSession: mime=%s", mime? mime: "NULL"); 649 if (mime) { 650 mimeType = mime; 1330 const String8 mime local 613 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument 639 openDecryptSession( int uniqueId, const char* uri, const char* mime) argument 1350 const String8 mime = data.readString8(); local [all...] |
/frameworks/av/drm/drmserver/ |
H A D | DrmManager.cpp | 430 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) { 443 result = rDrmEngine.openDecryptSession(uniqueId, handle, fd, offset, length, mime); 459 int uniqueId, const char* uri, const char* mime) { 471 result = rDrmEngine.openDecryptSession(uniqueId, handle, uri, mime); 429 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument 458 openDecryptSession( int uniqueId, const char* uri, const char* mime) argument
|
H A D | DrmManagerService.cpp | 203 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) { 206 return mDrmManager->openDecryptSession(uniqueId, fd, offset, length, mime); 213 int uniqueId, const char* uri, const char* mime) { 216 return mDrmManager->openDecryptSession(uniqueId, uri, mime); 202 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument 212 openDecryptSession( int uniqueId, 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
|
H A D | DrmManagerClientImpl.cpp | 259 off64_t length, const char* mime) { 262 uniqueId, fd, offset, length, mime); 266 int uniqueId, const char* uri, const char* mime) { 270 handle = getDrmManagerService()->openDecryptSession(uniqueId, uri, mime); 257 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument 265 openDecryptSession( int uniqueId, const char* uri, const char* mime) argument
|
/frameworks/av/drm/libdrmframework/plugins/common/include/ |
H A D | DrmEngineBase.h | 84 int fd, off64_t offset, off64_t length, const char* mime); 88 const char* uri, const char* mime); 221 * Retrieves the mime type embedded inside the original content 227 * Returns mime-type of the original content, such as "video/mpeg" 395 * @param[in] mime Mime type of the protected content 396 * drm plugin may do some optimization since the mime type is known. 403 const char* mime) { 427 * @param[in] mime Mime type of the protected content. The corresponding 428 * drm plugin may do some optimization since the mime type is known. 434 const char* uri, const char* mime) { 400 onOpenDecryptSession( int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length, const char* mime) argument 432 onOpenDecryptSession( int uniqueId, DecryptHandle* decryptHandle, const char* uri, const char* mime) argument [all...] |
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
H A D | FwdLockEngine.cpp | 188 bool FwdLockEngine::IsMimeTypeSupported(const String8& mime) { argument 189 String8 tmp(mime); 343 * 1. path and mime type both are not empty strings (meaning unavailable) else content is unknown
|
/frameworks/av/libvideoeditor/lvpp/ |
H A D | PreviewPlayer.cpp | 190 const char *mime; local 191 CHECK(meta->findCString(kKeyMIMEType, &mime)); 193 if (!haveVideo && !strncasecmp(mime, "video/", 6)) { 196 } else if (!haveAudio && !strncasecmp(mime, "audio/", 6)) { 200 if (!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_VORBIS)) { 703 const char *mime; local 704 CHECK(meta->findCString(kKeyMIMEType, &mime)); 706 if (!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_RAW)) { 731 } else if (!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_QCELP)) {
|
H A D | VideoEditorAudioPlayer.cpp | 500 const char *mime; local 501 bool success = format->findCString(kKeyMIMEType, &mime); 503 CHECK(!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_RAW));
|
H A D | VideoEditorSRC.cpp | 52 const char *mime; local 53 CHECK(format->findCString(kKeyMIMEType, &mime)); 54 CHECK(!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_RAW)); 298 const char *mime; local 299 CHECK(format->findCString(kKeyMIMEType, &mime)); 300 CHECK(!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_RAW));
|
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/ |
H A D | VideoEditor3gpReader.cpp | 1445 const char *mime; local 1447 CHECK(meta->findCString(kKeyMIMEType, &mime)); 1449 if (!haveVideo && !strncasecmp(mime, "video/", 6)) { 1456 if (!strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_AVC)) { 1458 } else if (!strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_H263)) { 1460 } else if (!strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_MPEG4)) { 1662 } else if (!haveAudio && !strncasecmp(mime, "audio/", 6)) { 1668 if(!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_AMR_NB)) { 1670 } else if(!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_AMR_WB)) { 1673 else if(!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_AA [all...] |
H A D | VideoEditorAudioDecoder.cpp | 438 const char* mime = NULL; local 466 mime = MEDIA_MIMETYPE_AUDIO_AMR_NB; 477 mime = MEDIA_MIMETYPE_AUDIO_AMR_WB; 493 mime = MEDIA_MIMETYPE_AUDIO_AAC; 526 mime = MEDIA_MIMETYPE_AUDIO_MPEG; 534 decoderMetaData->setCString(kKeyMIMEType, mime);
|
H A D | VideoEditorAudioEncoder.cpp | 349 const char* mime = NULL; local 391 mime = MEDIA_MIMETYPE_AUDIO_AAC; 396 mime = MEDIA_MIMETYPE_AUDIO_AMR_NB; 406 encoderMetadata->setCString(kKeyMIMEType, mime);
|
H A D | VideoEditorMp3Reader.cpp | 461 const char *mime; local 462 CHECK(meta->findCString(kKeyMIMEType, &mime)); 464 if (!haveAudio && !strncasecmp(mime, "audio/", 6)) {
|
H A D | VideoEditorVideoEncoder.cpp | 561 const char* mime = NULL; local 620 mime = MEDIA_MIMETYPE_VIDEO_H263; 623 mime = MEDIA_MIMETYPE_VIDEO_MPEG4; 626 mime = MEDIA_MIMETYPE_VIDEO_AVC; 635 ALOGV("Encoder mime %s profile %d, level %d", 636 mime,iProfile, iLevel); 645 encoderMetadata->setCString(kKeyMIMEType, mime);
|
/frameworks/av/media/libmedia/ |
H A D | ICrypto.cpp | 85 const char *mime) const { 88 data.writeCString(mime); 218 const char *mime = data.readCString(); local 219 reply->writeInt32(requiresSecureDecoderComponent(mime));
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | StagefrightRecorder.cpp | 810 const char *mime; local 814 mime = MEDIA_MIMETYPE_AUDIO_AMR_NB; 817 mime = MEDIA_MIMETYPE_AUDIO_AMR_WB; 820 mime = MEDIA_MIMETYPE_AUDIO_AAC; 824 mime = MEDIA_MIMETYPE_AUDIO_AAC; 828 mime = MEDIA_MIMETYPE_AUDIO_AAC; 836 encMeta->setCString(kKeyMIMEType, mime);
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | GenericSource.cpp | 70 const char *mime; local 71 CHECK(meta->findCString(kKeyMIMEType, &mime)); 75 if (!strncasecmp(mime, "audio/", 6)) { 79 if (!strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_VORBIS)) { 85 } else if (!strncasecmp(mime, "video/", 6)) {
|
H A D | NuPlayer.cpp | 705 AString mime; local 706 CHECK(format->findString("mime", &mime)); 707 mVideoIsAVC = !strcasecmp(MEDIA_MIMETYPE_VIDEO_AVC, mime.c_str());
|