public class DefaultVideoDecoderFactory extends java.lang.Object implements VideoDecoderFactory
| Constructor and Description |
|---|
DefaultVideoDecoderFactory(EglBase.Context eglContext)
Create decoder factory using default hardware decoder factory.
|
| Modifier and Type | Method and Description |
|---|---|
VideoDecoder |
createDecoder(VideoCodecInfo codecType)
Creates a decoder for the given video codec.
|
VideoCodecInfo[] |
getSupportedCodecs()
Enumerates the list of supported video codecs.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateDecoderpublic DefaultVideoDecoderFactory(@Nullable
EglBase.Context eglContext)
@Nullable public VideoDecoder createDecoder(VideoCodecInfo codecType)
VideoDecoderFactorycreateDecoder in interface VideoDecoderFactorypublic VideoCodecInfo[] getSupportedCodecs()
VideoDecoderFactorygetSupportedCodecs in interface VideoDecoderFactory