Home
last modified time | relevance | path

Searched refs:codecsList (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/services/camera/libcameraservice/api2/
DHeicEncoderInfoManager.cpp112 sp<IMediaCodecList> codecsList = MediaCodecList::getInstance(); in initialize() local
113 if (codecsList == nullptr) { in initialize()
118 sp<AMessage> heicDetails = getCodecDetails(codecsList, MEDIA_MIMETYPE_IMAGE_ANDROID_HEIC); in initialize()
120 if (!getHevcCodecDetails(codecsList, MEDIA_MIMETYPE_VIDEO_HEVC)) { in initialize()
242 sp<IMediaCodecList> codecsList, const char* name) { in getCodecDetails() argument
243 ssize_t idx = codecsList->findCodecByType(name, true /*encoder*/); in getCodecDetails()
248 const sp<MediaCodecInfo> info = codecsList->getCodecInfo(idx); in getCodecDetails()
269 sp<IMediaCodecList> codecsList, const char* mime) { in getHevcCodecDetails() argument
272 while ((idx = codecsList->findCodecByType(mime, true /*encoder*/, idx)) >= 0) { in getHevcCodecDetails()
273 const sp<MediaCodecInfo> info = codecsList->getCodecInfo(idx++); in getHevcCodecDetails()
DHeicEncoderInfoManager.h63 sp<AMessage> getCodecDetails(sp<IMediaCodecList> codecsList, const char* name);
64 bool getHevcCodecDetails(sp<IMediaCodecList> codecsList, const char* mime);