public class PlatformSoftwareVideoDecoderFactory
extends java.lang.Object
| Constructor and Description |
|---|
PlatformSoftwareVideoDecoderFactory(EglBase.Context sharedContext)
Creates a PlatformSoftwareVideoDecoderFactory that supports surface texture rendering.
|
| 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 PlatformSoftwareVideoDecoderFactory(@Nullable
EglBase.Context sharedContext)
sharedContext - The textures generated will be accessible from this context. May be null,
this disables texture support.@Nullable public VideoDecoder createDecoder(VideoCodecInfo codecType)
VideoDecoderFactorycreateDecoder in interface VideoDecoderFactorypublic VideoCodecInfo[] getSupportedCodecs()
VideoDecoderFactorygetSupportedCodecs in interface VideoDecoderFactory