Home
last modified time | relevance | path

Searched refs:mcl (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/media/jni/
Dandroid_media_MediaCodecList.cpp70 JavaMediaCodecListWrapper(sp<IMediaCodecList> mcl) in JavaMediaCodecListWrapper() argument
71 : mCodecList(mcl) { in JavaMediaCodecListWrapper()
72 size_t numCodecs = mcl->countCodecs(); in JavaMediaCodecListWrapper()
74 sp<MediaCodecInfo> info = mcl->getCodecInfo(ix); in JavaMediaCodecListWrapper()
102 sp<IMediaCodecList> mcl = MediaCodecList::getInstance(); in getCodecList() local
103 if (mcl == NULL) { in getCodecList()
109 sListWrapper.reset(new JavaMediaCodecListWrapper(mcl)); in getCodecList()
115 const JavaMediaCodecListWrapper *mcl = getCodecList(env); in getCodecInfo() local
116 if (mcl == nullptr) { in getCodecInfo()
121 JavaMediaCodecListWrapper::Info info = mcl->getCodecInfo(index); in getCodecInfo()
[all …]
/frameworks/base/media/java/android/media/
DAmrInputStream.java68 MediaCodecList mcl = new MediaCodecList(MediaCodecList.REGULAR_CODECS); in AmrInputStream() local
69 String name = mcl.findEncoderForFormat(format); in AmrInputStream()
/frameworks/av/media/libmedia/
DIMediaPlayerService.cpp174 sp<IMediaCodecList> mcl = getCodecList(); in onTransact() local
175 reply->writeStrongBinder(IInterface::asBinder(mcl)); in onTransact()
/frameworks/av/media/libstagefright/
DMediaCodec.cpp903 const sp<IMediaCodecList> mcl = MediaCodecList::getInstance(); in init() local
904 if (mcl == NULL) { in init()
909 ssize_t codecIdx = mcl->findCodecByName(codecName.c_str()); in init()
913 mCodecInfo = mcl->getCodecInfo(codecIdx); in init()