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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createDecoder
public 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)
VideoDecoderFactory
createDecoder
in interface VideoDecoderFactory
public VideoCodecInfo[] getSupportedCodecs()
VideoDecoderFactory
getSupportedCodecs
in interface VideoDecoderFactory
6.0.0