mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-04-08 17:06:26 +00:00
added files from limelight from android
This commit is contained in:
42
limelight-pc/src/com/limelight/nvstream/av/AvDecodeUnit.java
Normal file
42
limelight-pc/src/com/limelight/nvstream/av/AvDecodeUnit.java
Normal file
@@ -0,0 +1,42 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user