Package com.banuba.sdk.internal
Class YuvConversionMatrices
- java.lang.Object
-
- com.banuba.sdk.internal.YuvConversionMatrices
-
public final class YuvConversionMatrices extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static float[]
MAT_CVT_FROM_BT601_FULL_RANGE_TO_RGB
static float[]
MAT_CVT_FROM_BT601_VIDEO_RANGE_TO_RGB
static float[]
MAT_CVT_FROM_BT709_FULL_RANGE_TO_RGB
static float[]
MAT_CVT_FROM_BT709_VIDEO_RANGE_TO_RGB
static float[]
MAT_CVT_FROM_RGB_TO_BT601_FULL_RANGE
static float[]
MAT_CVT_FROM_RGB_TO_BT601_VIDEO_RANGE
static float[]
MAT_CVT_FROM_RGB_TO_BT709_FULL_RANGE
static float[]
MAT_CVT_FROM_RGB_TO_BT709_VIDEO_RANGE
static int
OFFSET_TO_B_COEFFS
static int
OFFSET_TO_G_COEFFS
static int
OFFSET_TO_R_COEFFS
static int
OFFSET_TO_U_COEFFS
static int
OFFSET_TO_V_COEFFS
static int
OFFSET_TO_Y_COEFFS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static float[]
getConvMatrixFromRgbToYuv(com.banuba.sdk.effect_player.ColorStd toStd, com.banuba.sdk.effect_player.ColorRange toRng)
static float[]
getConvMatrixFromYuvToRgb(com.banuba.sdk.effect_player.ColorStd fromStd, com.banuba.sdk.effect_player.ColorRange fromRng)
-
-
-
Field Detail
-
MAT_CVT_FROM_BT601_VIDEO_RANGE_TO_RGB
public static final float[] MAT_CVT_FROM_BT601_VIDEO_RANGE_TO_RGB
-
MAT_CVT_FROM_BT601_FULL_RANGE_TO_RGB
public static final float[] MAT_CVT_FROM_BT601_FULL_RANGE_TO_RGB
-
MAT_CVT_FROM_BT709_VIDEO_RANGE_TO_RGB
public static final float[] MAT_CVT_FROM_BT709_VIDEO_RANGE_TO_RGB
-
MAT_CVT_FROM_BT709_FULL_RANGE_TO_RGB
public static final float[] MAT_CVT_FROM_BT709_FULL_RANGE_TO_RGB
-
MAT_CVT_FROM_RGB_TO_BT601_VIDEO_RANGE
public static final float[] MAT_CVT_FROM_RGB_TO_BT601_VIDEO_RANGE
-
MAT_CVT_FROM_RGB_TO_BT601_FULL_RANGE
public static final float[] MAT_CVT_FROM_RGB_TO_BT601_FULL_RANGE
-
MAT_CVT_FROM_RGB_TO_BT709_VIDEO_RANGE
public static final float[] MAT_CVT_FROM_RGB_TO_BT709_VIDEO_RANGE
-
MAT_CVT_FROM_RGB_TO_BT709_FULL_RANGE
public static final float[] MAT_CVT_FROM_RGB_TO_BT709_FULL_RANGE
-
OFFSET_TO_Y_COEFFS
public static final int OFFSET_TO_Y_COEFFS
- See Also:
- Constant Field Values
-
OFFSET_TO_U_COEFFS
public static final int OFFSET_TO_U_COEFFS
- See Also:
- Constant Field Values
-
OFFSET_TO_V_COEFFS
public static final int OFFSET_TO_V_COEFFS
- See Also:
- Constant Field Values
-
OFFSET_TO_R_COEFFS
public static final int OFFSET_TO_R_COEFFS
- See Also:
- Constant Field Values
-
OFFSET_TO_G_COEFFS
public static final int OFFSET_TO_G_COEFFS
- See Also:
- Constant Field Values
-
OFFSET_TO_B_COEFFS
public static final int OFFSET_TO_B_COEFFS
- See Also:
- Constant Field Values
-
-
Method Detail
-
getConvMatrixFromRgbToYuv
public static float[] getConvMatrixFromRgbToYuv(com.banuba.sdk.effect_player.ColorStd toStd, com.banuba.sdk.effect_player.ColorRange toRng)
-
getConvMatrixFromYuvToRgb
public static float[] getConvMatrixFromYuvToRgb(com.banuba.sdk.effect_player.ColorStd fromStd, com.banuba.sdk.effect_player.ColorRange fromRng)
-
-