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, getSameSizeBufferpublic Picture decodeFrame(ByteBuffer data, byte[][] buffer)
VideoDecoderdecodeFrame in class VideoDecoderdata - Compressed frame datapublic VideoCodecMeta getCodecMeta(ByteBuffer _data)
getCodecMeta in class VideoDecoderpublic static int probe(ByteBuffer data)
public static byte[] deflate(byte[] data,
Inflater inflater)
throws DataFormatException
DataFormatExceptionCopyright © 2019. All rights reserved.