Package com.banuba.sdk.offscreen
Class YUVConverterMod
- java.lang.Object
-
- com.banuba.sdk.offscreen.YUVConverterMod
-
public class YUVConverterMod extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
CONV_MODE_STEP_NEG_X
static int
CONV_MODE_STEP_NEG_Y
static int
CONV_MODE_STEP_X
static int
CONV_MODE_STEP_Y
-
Constructor Summary
Constructors Constructor Description YUVConverterMod(int frameW, int frameH)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
void
convert(int inputTextureId, java.nio.ByteBuffer output, float[] textureMatrix, int converterMode, OEPImageFormat outputFormat)
int
getHeight()
int
getWidth()
-
-
-
Field Detail
-
CONV_MODE_STEP_X
public static final int CONV_MODE_STEP_X
- See Also:
- Constant Field Values
-
CONV_MODE_STEP_NEG_X
public static final int CONV_MODE_STEP_NEG_X
- See Also:
- Constant Field Values
-
CONV_MODE_STEP_Y
public static final int CONV_MODE_STEP_Y
- See Also:
- Constant Field Values
-
CONV_MODE_STEP_NEG_Y
public static final int CONV_MODE_STEP_NEG_Y
- See Also:
- Constant Field Values
-
-
Method Detail
-
convert
public void convert(int inputTextureId, @NonNull java.nio.ByteBuffer output, @NonNull float[] textureMatrix, int converterMode, @NonNull OEPImageFormat outputFormat)
-
getWidth
public int getWidth()
-
getHeight
public int getHeight()
-
clear
public void clear()
-
-