public class ProresDecoder extends VideoDecoder
Constructor and Description |
---|
ProresDecoder() |
Modifier and Type | Method and Description |
---|---|
Picture[] |
decodeFields(ByteBuffer data,
byte[][][] target) |
Picture[] |
decodeFieldsHiBD(ByteBuffer data,
byte[][][] target,
byte[][][] lowBits) |
Picture |
decodeFrame(ByteBuffer data,
byte[][] target)
Decodes a video frame to an uncompressed picture in codec native
colorspace
|
Picture |
decodeFrameHiBD(ByteBuffer data,
byte[][] target,
byte[][] lowBits) |
protected void |
decodeOnePlane(BitReader bits,
int blocksPerSlice,
int[] out,
int[] qMat,
int[] scan,
int mbX,
int mbY,
int plane) |
protected void |
decodePicture(ByteBuffer data,
byte[][] result,
byte[][] lowBits,
int width,
int height,
int mbWidth,
int[] qMatLuma,
int[] qMatChroma,
int[] scan,
int pictureType,
int chromaType) |
VideoCodecMeta |
getCodecMeta(ByteBuffer data) |
static int |
golumbSign(int val) |
static int |
golumbToSigned(int val) |
boolean |
isProgressive(ByteBuffer data) |
static int |
nZeros(int check16Bit) |
static int |
probe(ByteBuffer data) |
protected void |
putSlice(byte[][] result,
byte[][] lowBits,
int lumaStride,
int mbX,
int mbY,
int[] y,
int[] u,
int[] v,
int dist,
int shift,
int chromaType,
int sliceMbCount) |
protected static void |
readACCoeffs(BitReader bits,
int[] qMat,
int[] out,
int blocksPerSlice,
int[] scan,
int max,
int log2blkSize) |
static int |
readCodeword(BitReader reader,
Codebook codebook) |
static void |
readDCCoeffs(BitReader bits,
int[] qMat,
int[] out,
int blocksPerSlice,
int blkSize) |
static ProresConsts.FrameHeader |
readFrameHeader(ByteBuffer inp) |
static ProresConsts.PictureHeader |
readPictureHeader(ByteBuffer inp) |
static int[] |
scaleMat(int[] qMatLuma,
int qScale) |
downscaled, getSameSizeBuffer
public static final int nZeros(int check16Bit)
public static final int golumbToSigned(int val)
public static final int golumbSign(int val)
public static final void readDCCoeffs(BitReader bits, int[] qMat, int[] out, int blocksPerSlice, int blkSize)
protected static final void readACCoeffs(BitReader bits, int[] qMat, int[] out, int blocksPerSlice, int[] scan, int max, int log2blkSize)
protected void decodeOnePlane(BitReader bits, int blocksPerSlice, int[] out, int[] qMat, int[] scan, int mbX, int mbY, int plane)
public Picture decodeFrame(ByteBuffer data, byte[][] target)
VideoDecoder
decodeFrame
in class VideoDecoder
data
- Compressed frame datapublic Picture decodeFrameHiBD(ByteBuffer data, byte[][] target, byte[][] lowBits)
public Picture[] decodeFields(ByteBuffer data, byte[][][] target)
public Picture[] decodeFieldsHiBD(ByteBuffer data, byte[][][] target, byte[][][] lowBits)
public static ProresConsts.FrameHeader readFrameHeader(ByteBuffer inp)
protected void decodePicture(ByteBuffer data, byte[][] result, byte[][] lowBits, int width, int height, int mbWidth, int[] qMatLuma, int[] qMatChroma, int[] scan, int pictureType, int chromaType)
public static ProresConsts.PictureHeader readPictureHeader(ByteBuffer inp)
public static final int[] scaleMat(int[] qMatLuma, int qScale)
protected void putSlice(byte[][] result, byte[][] lowBits, int lumaStride, int mbX, int mbY, int[] y, int[] u, int[] v, int dist, int shift, int chromaType, int sliceMbCount)
public boolean isProgressive(ByteBuffer data)
public static int probe(ByteBuffer data)
public VideoCodecMeta getCodecMeta(ByteBuffer data)
getCodecMeta
in class VideoDecoder
Copyright © 2019. All rights reserved.