public class ZoomSDKVideoRawData
extends java.lang.Object
IZoomSDKVideoRawDataDelegate.onVideoRawDataFrame(ZoomSDKVideoRawData)
Modifier and Type | Field and Description |
---|---|
static int |
FORMAT_TYPE_I420 |
Constructor and Description |
---|
ZoomSDKVideoRawData(java.nio.ByteBuffer yBuffer,
java.nio.ByteBuffer uBuffer,
java.nio.ByteBuffer vBuffer,
boolean isLimited,
int streamWidth,
int streamHeight,
int rotation,
int format,
long nativeHandle) |
Modifier and Type | Method and Description |
---|---|
void |
addRef() |
boolean |
canAddRef() |
int |
getFormat()
Query video raw data format
|
int |
getRotation()
Query video raw data rotation
|
int |
getStreamHeight() |
int |
getStreamWidth()
Query stream width
|
java.nio.ByteBuffer |
getuBuffer()
Get YUVI420 U buffer
|
java.nio.ByteBuffer |
getvBuffer()
Get YUVI420 V buffer
|
java.nio.ByteBuffer |
getyBuffer()
Get YUVI420 Y buffer
|
boolean |
isLimited()
Query video raw data is limited.
|
void |
releaseRef() |
public static final int FORMAT_TYPE_I420
public ZoomSDKVideoRawData(java.nio.ByteBuffer yBuffer, java.nio.ByteBuffer uBuffer, java.nio.ByteBuffer vBuffer, boolean isLimited, int streamWidth, int streamHeight, int rotation, int format, long nativeHandle)
public boolean canAddRef()
public void addRef()
public void releaseRef()
public java.nio.ByteBuffer getyBuffer()
public java.nio.ByteBuffer getuBuffer()
public java.nio.ByteBuffer getvBuffer()
public boolean isLimited()
public int getStreamWidth()
public int getStreamHeight()
public int getRotation()
public int getFormat()