Searched refs:mime (Results 1 - 25 of 145) sorted by relevance

123456

/frameworks/av/media/libstagefright/
H A DMediaExtractor.cpp91 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 DMediaCodecListOverrides.cpp93 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...]
H A DStagefrightMetadataRetriever.cpp241 const char *mime; local
242 bool success = format->findCString(kKeyMIMEType, &mime);
244 ALOGE("Could not find mime type");
248 bool isAvcOrHevc = !strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_AVC)
249 || !strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_HEVC);
360 AString mime; local
361 CHECK(outputFormat->findString("mime", &mime));
363 ALOGV("thumbNailTime = %lld us, timeUs = %lld us, mime = %s",
364 (long long)thumbNailTime, (long long)timeUs, mime
463 const char *mime; local
494 const char *mime; local
663 const char *mime; local
[all...]
H A DCallbackDataSource.cpp112 sp<DecryptHandle> CallbackDataSource::DrmInitialization(const char *mime) { argument
113 return mIDataSource->DrmInitialization(mime);
186 sp<DecryptHandle> TinyCacheSource::DrmInitialization(const char *mime) { argument
191 return mSource->DrmInitialization(mime);
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) {
242 DRMExtractor::DRMExtractor(const sp<DataSource> &source, const char* mime) argument
246 mOriginalExtractor = MediaExtractor::Create(source, mime);
/frameworks/av/services/mediaextractor/
H A DMediaExtractorService.cpp30 const sp<IDataSource> &remoteSource, const char *mime) {
31 ALOGV("@@@ MediaExtractorService::makeExtractor for %s", mime);
35 sp<IMediaExtractor> ret = MediaExtractor::CreateFromService(localSource, mime);
42 registerMediaExtractor(ret, localSource, mime);
29 makeExtractor( const sp<IDataSource> &remoteSource, const char *mime) argument
H A DMediaExtractorService.h36 virtual sp<IMediaExtractor> makeExtractor(const sp<IDataSource> &source, const char *mime);
/frameworks/av/media/libmedia/
H A DIMediaExtractorService.cpp41 virtual sp<IMediaExtractor> makeExtractor(const sp<IDataSource> &source, const char *mime) { argument
45 if (mime != NULL) {
46 data.writeCString(mime);
75 const char *mime = data.readCString(); local
76 sp<IMediaExtractor> ex = makeExtractor(source, mime);
H A DMediaCodecInfo.cpp140 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/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.
71 // AUDIO mime type resolution tests.
97 // Checks the activity resolver handling of mime types is case sensitive.
105 // resolving mime types. Trailing whitespaces seems to be non
114 // @return a ResolveInfo instance for the mime type or null if the type is
116 private ResolveInfo resolveMime(String mime) { argument
120 viewIntent.setDataAndType(uri, mime);
125 // Helper method to check the media playback activity handles the given mime type.
126 // @param mime type to test for
127 private void assertMediaPlaybackActivityHandles(String mime) throw argument
135 assertNoActivityHandles(String mime) argument
[all...]
/frameworks/av/include/ndk/
H A DNdkMediaCrypto.h45 bool AMediaCrypto_requiresSecureDecoderComponent(const char *mime);
/frameworks/av/include/media/
H A DMediaCodecInfo.h91 const sp<Capabilities> getCapabilitiesFor(const char *mime) const;
105 bool mHasSoleMime; // was initialized with mime
112 ssize_t getCapabilityIndex(const char *mime) const;
120 * - OMX codec capabilities can be set for the current mime-type
121 * - a capability detail can be set for the current mime-type
122 * - a feature can be set for the current mime-type
123 * - info object can be completed when parsing of a mime-type is done
125 MediaCodecInfo(AString name, bool encoder, const char *mime);
127 status_t addMime(const char *mime);
128 status_t updateMime(const char *mime);
[all...]
H A DIMediaExtractorService.h33 virtual sp<IMediaExtractor> makeExtractor(const sp<IDataSource> &source, const char *mime) = 0;
H A DIDataSource.h52 virtual sp<DecryptHandle> DrmInitialization(const char *mime) = 0;
/frameworks/av/media/libstagefright/wifi-display/source/
H A DMediaPuller.cpp40 const char *mime; local
41 CHECK(meta->findCString(kKeyMIMEType, &mime));
43 mIsAudio = !strncasecmp(mime, "audio/", 6);
119 AString mime = tmp; local
121 ALOGI("MediaPuller(%s) stopping.", mime.c_str());
123 ALOGI("MediaPuller(%s) stopped.", mime.c_str());
/frameworks/av/drm/common/
H A DDrmEngineBase.cpp124 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/mediadrm/plugins/clearkey/
H A DCryptoPlugin.h40 virtual bool requiresSecureDecoderComponent(const char* mime) const {
41 UNUSED(mime);
/frameworks/av/include/media/stagefright/
H A DMediaExtractor.h33 const sp<DataSource> &source, const char *mime = NULL);
35 const sp<DataSource> &source, const char *mime = NULL);
/frameworks/av/media/libstagefright/include/
H A DThrottledSource.h57 virtual sp<DecryptHandle> DrmInitialization(const char *mime = NULL) {
58 return mSource->DrmInitialization(mime);
H A DCallbackDataSource.h44 virtual sp<DecryptHandle> DrmInitialization(const char *mime = NULL);
72 virtual sp<DecryptHandle> DrmInitialization(const char *mime = NULL);
/frameworks/av/media/ndk/
H A DNdkMediaCrypto.cpp73 bool AMediaCrypto_requiresSecureDecoderComponent(const char *mime) { argument
78 return crypto->requiresSecureDecoderComponent(mime);
/frameworks/wilhelm/tests/listening/
H A DseekTorture.c60 SLDataFormat_MIME mime; local
65 mime.formatType = SL_DATAFORMAT_MIME;
66 mime.mimeType = (SLchar *) NULL;
67 mime.containerType = SL_CONTAINERTYPE_UNSPECIFIED;
69 audiosrc.pFormat = &mime;
/frameworks/av/media/libstagefright/id3/
H A Dtestid3.cpp100 String8 mime; local
101 const void *data = tag.getAlbumArt(&dataSize, &mime);
104 printf("found album art: size=%zu mime='%s'\n", dataSize,
105 mime.string());
/frameworks/base/media/java/android/media/
H A DMediaCrypto.java70 * to decode data of the given mime type.
71 * @param mime The mime type of the media data
73 public final native boolean requiresSecureDecoderComponent(@NonNull String mime); argument
/frameworks/base/media/jni/
H A Dandroid_media_MediaCrypto.h38 bool requiresSecureDecoderComponent(const char *mime) const;

Completed in 413 milliseconds

123456