/frameworks/av/media/libmedia/ |
D | MediaCodecInfo.cpp | 31 void MediaCodecInfo::Capabilities::getSupportedProfileLevels( in getSupportedProfileLevels() 37 void MediaCodecInfo::Capabilities::getSupportedColorFormats( in getSupportedColorFormats() 43 uint32_t MediaCodecInfo::Capabilities::getFlags() const { in getFlags() 47 const sp<AMessage> MediaCodecInfo::Capabilities::getDetails() const { in getDetails() 51 MediaCodecInfo::Capabilities::Capabilities() in Capabilities() 57 sp<MediaCodecInfo::Capabilities> MediaCodecInfo::Capabilities::FromParcel( in FromParcel() 59 sp<MediaCodecInfo::Capabilities> caps = new Capabilities(); in FromParcel() 87 status_t MediaCodecInfo::Capabilities::writeToParcel(Parcel *parcel) const { in writeToParcel() 104 void MediaCodecInfo::CapabilitiesWriter::addDetail( in addDetail() 109 void MediaCodecInfo::CapabilitiesWriter::addDetail( in addDetail() [all …]
|
D | IMediaCodecList.cpp | 54 virtual sp<MediaCodecInfo> getCodecInfo(size_t index) const in getCodecInfo() 62 return MediaCodecInfo::FromParcel(reply); in getCodecInfo() 131 const sp<MediaCodecInfo> info = getCodecInfo(index); in onTransact()
|
D | Android.bp | 52 "MediaCodecInfo.cpp",
|
/frameworks/base/media/java/android/media/ |
D | MediaCodecList.java | 21 import android.media.MediaCodecInfo; 57 public static final MediaCodecInfo getCodecInfoAt(int index) { in getCodecInfoAt() 75 private static MediaCodecInfo[] sAllCodecInfos; 76 private static MediaCodecInfo[] sRegularCodecInfos; 83 ArrayList<MediaCodecInfo> regulars = new ArrayList<MediaCodecInfo>(); in initCodecList() 84 ArrayList<MediaCodecInfo> all = new ArrayList<MediaCodecInfo>(); in initCodecList() 87 MediaCodecInfo info = getNewCodecInfoAt(index); in initCodecList() 98 regulars.toArray(new MediaCodecInfo[regulars.size()]); in initCodecList() 100 all.toArray(new MediaCodecInfo[all.size()]); in initCodecList() 105 private static MediaCodecInfo getNewCodecInfoAt(int index) { in getNewCodecInfoAt() [all …]
|
D | MediaCodec.java | 25 import android.media.MediaCodecInfo.CodecCapabilities; 1621 private MediaCodecInfo mCodecInfo; 3537 public MediaCodecInfo getCodecInfo() { in getCodecInfo() 3555 private native final MediaCodecInfo getOwnCodecInfo(); in getOwnCodecInfo()
|
/frameworks/av/media/libmedia/include/media/ |
D | MediaCodecInfo.h | 43 struct MediaCodecInfo : public RefBase { struct 88 friend struct MediaCodecInfo; 178 static sp<MediaCodecInfo> FromParcel(const Parcel &parcel); 195 MediaCodecInfo(); 197 DISALLOW_COPY_AND_ASSIGN(MediaCodecInfo); 248 std::unique_ptr<MediaCodecInfo::CapabilitiesWriter> addMime( 268 MediaCodecInfo* mInfo; 275 MediaCodecInfoWriter(MediaCodecInfo* info);
|
D | IMediaCodecList.h | 28 struct MediaCodecInfo; 36 virtual sp<MediaCodecInfo> getCodecInfo(size_t index) const = 0;
|
/frameworks/av/include/media/ |
D | MediaCodecInfo.h | 43 struct MediaCodecInfo : public RefBase { struct 88 friend struct MediaCodecInfo; 178 static sp<MediaCodecInfo> FromParcel(const Parcel &parcel); 195 MediaCodecInfo(); 197 DISALLOW_COPY_AND_ASSIGN(MediaCodecInfo); 248 std::unique_ptr<MediaCodecInfo::CapabilitiesWriter> addMime( 268 MediaCodecInfo* mInfo; 275 MediaCodecInfoWriter(MediaCodecInfo* info);
|
D | IMediaCodecList.h | 28 struct MediaCodecInfo; 36 virtual sp<MediaCodecInfo> getCodecInfo(size_t index) const = 0;
|
/frameworks/av/media/libstagefright/ |
D | MediaCodecListWriter.cpp | 34 sp<MediaCodecInfo> info = new MediaCodecInfo(); in addMediaCodecInfo() 48 std::vector<sp<MediaCodecInfo>> *codecInfos) const { in writeCodecInfos() 49 for (const sp<MediaCodecInfo> &info : mCodecInfos) { in writeCodecInfos()
|
D | MediaCodecListOverrides.h | 30 struct MediaCodecInfo; 37 void profileCodecs(const std::vector<sp<MediaCodecInfo>> &infos, 42 const std::vector<sp<MediaCodecInfo>> &infos,
|
D | MediaCodecListOverrides.cpp | 50 static bool getMeasureSize(const sp<MediaCodecInfo::Capabilities> &caps, int32_t *width, int32_t *h… in getMeasureSize() 73 static void getMeasureBitrate(const sp<MediaCodecInfo::Capabilities> &caps, int32_t *bitrate) { in getMeasureBitrate() 91 bool isEncoder, const AString &mime, const sp<MediaCodecInfo::Capabilities> &caps) { in getMeasureFormat() 129 …bool isEncoder, const AString &name, const AString &mime, const sp<MediaCodecInfo::Capabilities> &… in doProfileCodecs() 206 void profileCodecs(const std::vector<sp<MediaCodecInfo>> &infos, in profileCodecs() 216 const std::vector<sp<MediaCodecInfo>> &infos, in profileCodecs() 221 KeyedVector<AString, sp<MediaCodecInfo::Capabilities>> codecsNeedMeasure; in profileCodecs() 234 const sp<MediaCodecInfo::Capabilities> &caps = in profileCodecs()
|
D | MediaCodecList.cpp | 217 [](const sp<MediaCodecInfo> &info1, const sp<MediaCodecInfo> &info2) { in MediaCodecList() 245 const MediaCodecInfo &info = *mCodecInfos[startIndex]; in findCodecByType() 250 sp<MediaCodecInfo::Capabilities> capabilities = info.getCapabilitiesFor(type); in findCodecByType() 343 const sp<MediaCodecInfo> info = list->getCodecInfo(matchIndex); in findMatchingCodecs()
|
D | OmxInfoBuilder.cpp | 61 MediaCodecInfo::CapabilitiesWriter* caps) { in queryCapabilities() 197 std::unique_ptr<MediaCodecInfo::CapabilitiesWriter> caps = in buildMediaCodecList() 229 std::unique_ptr<MediaCodecInfo::CapabilitiesWriter> caps = in buildMediaCodecList()
|
/frameworks/wilhelm/src/android/ |
D | VideoCodec_to_android.cpp | 41 Vector<MediaCodecInfo::ProfileLevel> mProfileLevels; 80 sp<MediaCodecInfo> info = list->getCodecInfo(index); in android_videoCodec_expose() 85 sp<MediaCodecInfo::Capabilities> caps = info->getCapabilitiesFor(kVideoMimeTypes[m]); in android_videoCodec_expose() 91 Vector<MediaCodecInfo::ProfileLevel> &profileLevels = in android_videoCodec_expose() 98 MediaCodecInfo::ProfileLevel profileLevel = profileLevels.itemAt(i); in android_videoCodec_expose()
|
/frameworks/base/media/jni/ |
D | android_media_MediaCodecList.cpp | 62 const sp<MediaCodecInfo> &info = mcl->getCodecInfo(index); in android_media_MediaCodecList_getCodecName() 105 const sp<MediaCodecInfo> &info = mcl->getCodecInfo(index); in android_media_MediaCodecList_isEncoder() 122 const sp<MediaCodecInfo> &info = mcl->getCodecInfo(index); in android_media_MediaCodecList_getSupportedTypes() 159 const sp<MediaCodecInfo> &info = mcl->getCodecInfo(index); in android_media_MediaCodecList_getCodecCapabilities() 171 Vector<MediaCodecInfo::ProfileLevel> profileLevels; in android_media_MediaCodecList_getCodecCapabilities() 178 const sp<MediaCodecInfo::Capabilities> &capabilities = in android_media_MediaCodecList_getCodecCapabilities() 222 const MediaCodecInfo::ProfileLevel &src = profileLevels.itemAt(i); in android_media_MediaCodecList_getCodecCapabilities()
|
D | android_media_MediaCodec.cpp | 638 const sp<MediaCodecInfo::Capabilities> &capabilities) { in getCodecCapabilitiesObject() 639 Vector<MediaCodecInfo::ProfileLevel> profileLevels; in getCodecCapabilitiesObject() 666 const MediaCodecInfo::ProfileLevel &src = profileLevels.itemAt(i); in getCodecCapabilitiesObject() 691 sp<MediaCodecInfo> codecInfo; in getCodecInfo() 711 const sp<MediaCodecInfo::Capabilities> caps = in getCodecInfo()
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | MediaCodecListWriter.h | 55 void writeCodecInfos(std::vector<sp<MediaCodecInfo>> *codecInfos) const; 58 std::vector<sp<MediaCodecInfo>> mCodecInfos;
|
D | MediaCodecList.h | 51 virtual sp<MediaCodecInfo> getCodecInfo(size_t index) const { in getCodecInfo() 93 std::vector<sp<MediaCodecInfo> > mCodecInfos;
|
D | MediaCodec.h | 189 status_t getCodecInfo(sp<MediaCodecInfo> *codecInfo) const; 316 sp<MediaCodecInfo> mCodecInfo;
|
/frameworks/support/heifwriter/src/main/java/androidx/heifwriter/ |
D | HeifEncoder.java | 27 import android.media.MediaCodecInfo; 28 import android.media.MediaCodecInfo.CodecCapabilities; 187 MediaCodecInfo.CodecCapabilities caps = null; in HeifEncoder() 276 MediaCodecInfo.EncoderCapabilities encoderCaps = caps.getEncoderCapabilities(); in HeifEncoder() 279 MediaCodecInfo.EncoderCapabilities.BITRATE_MODE_CQ)) { in HeifEncoder() 284 MediaCodecInfo.EncoderCapabilities.BITRATE_MODE_CQ); in HeifEncoder() 289 MediaCodecInfo.EncoderCapabilities.BITRATE_MODE_CBR)) { in HeifEncoder() 292 MediaCodecInfo.EncoderCapabilities.BITRATE_MODE_CBR); in HeifEncoder() 296 MediaCodecInfo.EncoderCapabilities.BITRATE_MODE_VBR); in HeifEncoder()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/ |
D | CpuVideoTrackDecoder.java | 22 import android.media.MediaCodecInfo; 23 import android.media.MediaCodecInfo.CodecCapabilities; 189 MediaCodecInfo info = MediaCodecList.getCodecInfoAt(i); in findDecoderCodec()
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/ |
D | DisplaySourceService.java | 28 import android.media.MediaCodecInfo; 191 MediaCodecInfo.CodecCapabilities.COLOR_FormatSurface); in run()
|
/frameworks/av/cmds/stagefright/ |
D | stagefright.cpp | 656 sp<MediaCodecInfo> info = list->getCodecInfo(index); in dumpCodecProfiles() 660 sp<MediaCodecInfo::Capabilities> caps = info->getCapabilitiesFor(kMimeTypes[k]); in dumpCodecProfiles() 667 Vector<MediaCodecInfo::ProfileLevel> profileLevels; in dumpCodecProfiles() 675 const MediaCodecInfo::ProfileLevel &profileLevel = profileLevels[j]; in dumpCodecProfiles()
|
/frameworks/av/media/libstagefright/tests/ |
D | MediaCodecListOverrides_test.cpp | 122 std::vector<sp<MediaCodecInfo>> infos; in TEST_F()
|