mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-20 03:23:07 +00:00
43 lines
773 B
Java
43 lines
773 B
Java
package com.limelight.nvstream.av;
|
|
|
|
import java.util.List;
|
|
|
|
public class AvDecodeUnit {
|
|
public static final int TYPE_UNKNOWN = 0;
|
|
public static final int TYPE_H264 = 1;
|
|
public static final int TYPE_OPUS = 2;
|
|
|
|
private int type;
|
|
private List<AvByteBufferDescriptor> bufferList;
|
|
private int dataLength;
|
|
private int flags;
|
|
|
|
public AvDecodeUnit(int type, List<AvByteBufferDescriptor> bufferList, int dataLength, int flags)
|
|
{
|
|
this.type = type;
|
|
this.bufferList = bufferList;
|
|
this.dataLength = dataLength;
|
|
this.flags = flags;
|
|
}
|
|
|
|
public int getType()
|
|
{
|
|
return type;
|
|
}
|
|
|
|
public int getFlags()
|
|
{
|
|
return flags;
|
|
}
|
|
|
|
public List<AvByteBufferDescriptor> getBufferList()
|
|
{
|
|
return bufferList;
|
|
}
|
|
|
|
public int getDataLength()
|
|
{
|
|
return dataLength;
|
|
}
|
|
}
|