Searched refs:codecsList (Results 1 – 2 of 2) sorted by relevance
112 sp<IMediaCodecList> codecsList = MediaCodecList::getInstance(); in initialize() local113 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() argument243 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() argument272 while ((idx = codecsList->findCodecByType(mime, true /*encoder*/, idx)) >= 0) { in getHevcCodecDetails()273 const sp<MediaCodecInfo> info = codecsList->getCodecInfo(idx++); in getHevcCodecDetails()
63 sp<AMessage> getCodecDetails(sp<IMediaCodecList> codecsList, const char* name);64 bool getHevcCodecDetails(sp<IMediaCodecList> codecsList, const char* mime);