public class VideoDecoderFallback
extends java.lang.Object
VideoDecoder.Callback, VideoDecoder.DecodeInfo, VideoDecoder.Settings
构造器和说明 |
---|
VideoDecoderFallback(VideoDecoder fallback,
VideoDecoder primary) |
限定符和类型 | 方法和说明 |
---|---|
VideoCodecStatus |
decode(EncodedImage frame,
VideoDecoder.DecodeInfo info)
Request the decoder to decode a frame.
|
java.lang.String |
getImplementationName()
Should return a descriptive name for the implementation.
|
boolean |
getPrefersLateDecoding()
The decoder should return true if it prefers late decoding.
|
VideoCodecStatus |
initDecode(VideoDecoder.Settings settings,
VideoDecoder.Callback decodeCallback)
Initializes the decoding process with specified settings.
|
VideoCodecStatus |
release()
Called when the decoder is no longer needed.
|
public VideoDecoderFallback(VideoDecoder fallback, VideoDecoder primary)
public VideoCodecStatus initDecode(VideoDecoder.Settings settings, VideoDecoder.Callback decodeCallback)
VideoDecoder
initDecode
在接口中 VideoDecoder
public VideoCodecStatus release()
VideoDecoder
release
在接口中 VideoDecoder
public VideoCodecStatus decode(EncodedImage frame, VideoDecoder.DecodeInfo info)
VideoDecoder
decode
在接口中 VideoDecoder
public boolean getPrefersLateDecoding()
VideoDecoder
getPrefersLateDecoding
在接口中 VideoDecoder
public java.lang.String getImplementationName()
VideoDecoder
getImplementationName
在接口中 VideoDecoder