public interface VideoDecoder
限定符和类型 | 接口和说明 |
---|---|
static interface |
VideoDecoder.Callback |
static class |
VideoDecoder.DecodeInfo
Additional info for decoding.
|
static class |
VideoDecoder.Settings
Settings passed to the decoder by WebRTC.
|
限定符和类型 | 方法和说明 |
---|---|
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.
|
VideoCodecStatus initDecode(VideoDecoder.Settings settings, VideoDecoder.Callback decodeCallback)
VideoCodecStatus release()
VideoCodecStatus decode(EncodedImage frame, VideoDecoder.DecodeInfo info)
boolean getPrefersLateDecoding()
java.lang.String getImplementationName()