public abstract class VideoDecoder extends Object
Constructor and Description |
---|
VideoDecoder() |
Modifier and Type | Method and Description |
---|---|
abstract Picture |
decodeFrame(ByteBuffer data,
byte[][] buffer)
Decodes a video frame to an uncompressed picture in codec native
colorspace
|
VideoDecoder |
downscaled(int ratio)
Returns a downscaled version of this decoder
|
abstract VideoCodecMeta |
getCodecMeta(ByteBuffer data) |
protected byte[][] |
getSameSizeBuffer(int[][] buffer) |
public abstract Picture decodeFrame(ByteBuffer data, byte[][] buffer)
data
- Compressed frame dataIOException
public abstract VideoCodecMeta getCodecMeta(ByteBuffer data)
protected byte[][] getSameSizeBuffer(int[][] buffer)
public VideoDecoder downscaled(int ratio)
ratio
- Copyright © 2019. All rights reserved.