public class PNGDecoder extends VideoDecoder
Modifier and Type | Class and Description |
---|---|
static class |
PNGDecoder.TRNS
Transparency descriptor for paletted data
|
Constructor and Description |
---|
PNGDecoder() |
Modifier and Type | Method and Description |
---|---|
Picture |
decodeFrame(ByteBuffer data,
byte[][] buffer)
Decodes a video frame to an uncompressed picture in codec native
colorspace
|
static byte[] |
deflate(byte[] data,
Inflater inflater) |
VideoCodecMeta |
getCodecMeta(ByteBuffer _data) |
static int |
probe(ByteBuffer data) |
downscaled, getSameSizeBuffer
public Picture decodeFrame(ByteBuffer data, byte[][] buffer)
VideoDecoder
decodeFrame
in class VideoDecoder
data
- Compressed frame datapublic VideoCodecMeta getCodecMeta(ByteBuffer _data)
getCodecMeta
in class VideoDecoder
public static int probe(ByteBuffer data)
public static byte[] deflate(byte[] data, Inflater inflater) throws DataFormatException
DataFormatException
Copyright © 2019. All rights reserved.