/frameworks/av/media/libmedia/ |
D | MediaCodecInfo.cpp | 32 constexpr char MediaCodecInfo::Capabilities::FEATURE_ADAPTIVE_PLAYBACK[]; 33 constexpr char MediaCodecInfo::Capabilities::FEATURE_DYNAMIC_TIMESTAMP[]; 34 constexpr char MediaCodecInfo::Capabilities::FEATURE_FRAME_PARSING[]; 35 constexpr char MediaCodecInfo::Capabilities::FEATURE_INTRA_REFRESH[]; 36 constexpr char MediaCodecInfo::Capabilities::FEATURE_MULTIPLE_FRAMES[]; 37 constexpr char MediaCodecInfo::Capabilities::FEATURE_SECURE_PLAYBACK[]; 38 constexpr char MediaCodecInfo::Capabilities::FEATURE_TUNNELED_PLAYBACK[]; 40 void MediaCodecInfo::Capabilities::getSupportedProfileLevels( in getSupportedProfileLevels() 46 void MediaCodecInfo::Capabilities::getSupportedColorFormats( in getSupportedColorFormats() 52 const sp<AMessage> MediaCodecInfo::Capabilities::getDetails() const { in getDetails() [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()
|
/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 …]
|
/frameworks/av/media/libmedia/include/media/ |
D | MediaCodecInfo.h | 45 struct MediaCodecInfo : public RefBase { struct 115 friend struct MediaCodecInfo; 228 static sp<MediaCodecInfo> FromParcel(const Parcel &parcel); 246 MediaCodecInfo(); 248 DISALLOW_COPY_AND_ASSIGN(MediaCodecInfo); 293 void setAttributes(typename std::underlying_type<MediaCodecInfo::Attributes>::type attributes); 306 std::unique_ptr<MediaCodecInfo::CapabilitiesWriter> addMediaType( 326 MediaCodecInfo* mInfo; 333 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() 42 for (const sp<MediaCodecInfo> &info : mCodecInfos) { in findMediaCodecInfo() 58 std::vector<sp<MediaCodecInfo>> *codecInfos) const { in writeCodecInfos() 59 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 | OmxInfoBuilder.cpp | 61 MediaCodecInfo::CapabilitiesWriter* caps) { in queryCapabilities() 191 typename std::underlying_type<MediaCodecInfo::Attributes>::type attrs = 0; in buildMediaCodecList() 195 attrs |= MediaCodecInfo::kFlagIsVendor; in buildMediaCodecList() 201 attrs |= MediaCodecInfo::kFlagIsHardwareAccelerated; in buildMediaCodecList() 205 attrs |= MediaCodecInfo::kFlagIsEncoder; in buildMediaCodecList() 213 std::unique_ptr<MediaCodecInfo::CapabilitiesWriter> caps = in buildMediaCodecList()
|
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 | 222 [](const sp<MediaCodecInfo> &info1, const sp<MediaCodecInfo> &info2) { in MediaCodecList() 261 const MediaCodecInfo &info = *mCodecInfos[startIndex]; in findCodecByType() 266 sp<MediaCodecInfo::Capabilities> capabilities = info.getCapabilitiesFor(type); in findCodecByType() 366 const sp<MediaCodecInfo> info = list->getCodecInfo(matchIndex); in findMatchingCodecs()
|
/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/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/ |
D | CodecUtils.java | 3 import android.media.MediaCodecInfo; 21 MediaCodecInfo[] codecInfos = codecList.getCodecInfos(); in selectCodecs() 23 for (MediaCodecInfo codecInfo : codecInfos) { in selectCodecs()
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | MediaCodecListWriter.h | 62 void writeCodecInfos(std::vector<sp<MediaCodecInfo>> *codecInfos) const; 65 std::vector<sp<MediaCodecInfo>> mCodecInfos;
|
D | MediaCodecList.h | 51 virtual sp<MediaCodecInfo> getCodecInfo(size_t index) const { in getCodecInfo() 94 std::vector<sp<MediaCodecInfo> > mCodecInfos;
|
/frameworks/av/media/codec2/sfplugin/ |
D | Codec2InfoBuilder.cpp | 72 MediaCodecInfo::CapabilitiesWriter *caps, in addSupportedProfileLevels() 190 MediaCodecInfo::CapabilitiesWriter *caps, in addSupportedColorFormats() 472 typename std::underlying_type<MediaCodecInfo::Attributes>::type attrs = 0; in buildMediaCodecList() 475 attrs |= MediaCodecInfo::kFlagIsEncoder; in buildMediaCodecList() 478 attrs |= MediaCodecInfo::kFlagIsSoftwareOnly; in buildMediaCodecList() 480 attrs |= MediaCodecInfo::kFlagIsVendor; in buildMediaCodecList() 482 attrs |= MediaCodecInfo::kFlagIsSoftwareOnly; in buildMediaCodecList() 485 attrs |= MediaCodecInfo::kFlagIsHardwareAccelerated; in buildMediaCodecList() 522 std::unique_ptr<MediaCodecInfo::CapabilitiesWriter> caps = in buildMediaCodecList()
|
/frameworks/base/media/jni/ |
D | android_media_MediaCodecList.cpp | 46 sp<MediaCodecInfo> info; 75 sp<MediaCodecInfo> info = mcl->getCodecInfo(ix); in JavaMediaCodecListWrapper() 247 Vector<MediaCodecInfo::ProfileLevel> profileLevels; in android_media_MediaCodecList_getCodecCapabilities() 254 const sp<MediaCodecInfo::Capabilities> &capabilities = in android_media_MediaCodecList_getCodecCapabilities() 297 const MediaCodecInfo::ProfileLevel &src = profileLevels.itemAt(i); in android_media_MediaCodecList_getCodecCapabilities()
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | HeicEncoderInfoManager.cpp | 250 const sp<MediaCodecInfo> info = codecsList->getCodecInfo(idx); in getCodecDetails() 255 const sp<MediaCodecInfo::Capabilities> caps = in getCodecDetails() 275 const sp<MediaCodecInfo> info = codecsList->getCodecInfo(idx++); in getHevcCodecDetails() 284 if (!(info->getAttributes() & MediaCodecInfo::kFlagIsHardwareAccelerated)) { in getHevcCodecDetails() 290 const sp<MediaCodecInfo::Capabilities> caps = in getHevcCodecDetails()
|
/frameworks/av/cmds/stagefright/ |
D | stagefright.cpp | 658 KeyedVector<AString, Vector<sp<MediaCodecInfo>>> allMediaTypes; in dumpCodecDetails() 660 sp<MediaCodecInfo> info = list->getCodecInfo(codec_ix); in dumpCodecDetails() 670 allMediaTypes.add(mediaType, Vector<sp<MediaCodecInfo>>()); in dumpCodecDetails() 683 for (const sp<MediaCodecInfo> &info : allMediaTypes.valueAt(type_ix)) { in dumpCodecDetails() 684 sp<MediaCodecInfo::Capabilities> caps = info->getCapabilitiesFor(mediaType.c_str()); in dumpCodecDetails() 717 … list.add(AStringPrintf("encoder: %d", !!(attrs & MediaCodecInfo::kFlagIsEncoder))); in dumpCodecDetails() 718 … list.add(AStringPrintf("vendor: %d", !!(attrs & MediaCodecInfo::kFlagIsVendor))); in dumpCodecDetails() 719 … list.add(AStringPrintf("software-only: %d", !!(attrs & MediaCodecInfo::kFlagIsSoftwareOnly))); in dumpCodecDetails() 720 …list.add(AStringPrintf("hw-accelerated: %d", !!(attrs & MediaCodecInfo::kFlagIsHardwareAccelerated… in dumpCodecDetails() 732 Vector<MediaCodecInfo::ProfileLevel> profileLevels; in dumpCodecDetails() [all …]
|
/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/av/media/codec2/sfplugin/include/media/stagefright/ |
D | CCodec.h | 45 struct MediaCodecInfo; 103 void allocate(const sp<MediaCodecInfo> &codecInfo);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/ |
D | ScreenMediaRecorder.java | 32 import android.media.MediaCodecInfo; 134 MediaCodecInfo.CodecProfileLevel.AVCProfileHigh, in prepare() 135 MediaCodecInfo.CodecProfileLevel.AVCLevel42); in prepare()
|
D | ScreenInternalAudioRecorder.java | 24 import android.media.MediaCodecInfo; 121 MediaCodecInfo.CodecProfileLevel.AACObjectLC); in setupSimple()
|
/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/media/libstagefright/tests/ |
D | MediaCodecListOverrides_test.cpp | 122 std::vector<sp<MediaCodecInfo>> infos; in TEST_F()
|
/frameworks/av/media/libmediaplayerservice/ |
D | MediaPlayerService.cpp | 281 KeyedVector<AString, Vector<sp<MediaCodecInfo>>> allMediaTypes; in dumpCodecDetails() 283 sp<MediaCodecInfo> info = codecList->getCodecInfo(codec_ix); in dumpCodecDetails() 294 allMediaTypes.add(mediaType, Vector<sp<MediaCodecInfo>>()); in dumpCodecDetails() 308 for (const sp<MediaCodecInfo> &info : allMediaTypes.valueAt(type_ix)) { in dumpCodecDetails() 309 sp<MediaCodecInfo::Capabilities> caps = info->getCapabilitiesFor(mediaType.c_str()); in dumpCodecDetails() 347 !!(attrs & MediaCodecInfo::kFlagIsEncoder))); in dumpCodecDetails() 349 !!(attrs & MediaCodecInfo::kFlagIsVendor))); in dumpCodecDetails() 351 !!(attrs & MediaCodecInfo::kFlagIsSoftwareOnly))); in dumpCodecDetails() 353 !!(attrs & MediaCodecInfo::kFlagIsHardwareAccelerated))); in dumpCodecDetails() 367 Vector<MediaCodecInfo::ProfileLevel> profileLevels; in dumpCodecDetails() [all …]
|