Class YuvConversionMatrices

java.lang.Object
com.banuba.sdk.internal.YuvConversionMatrices

public final class YuvConversionMatrices extends Object
  • Field Details

    • 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:
    • OFFSET_TO_U_COEFFS

      public static final int OFFSET_TO_U_COEFFS
      See Also:
    • OFFSET_TO_V_COEFFS

      public static final int OFFSET_TO_V_COEFFS
      See Also:
    • OFFSET_TO_R_COEFFS

      public static final int OFFSET_TO_R_COEFFS
      See Also:
    • OFFSET_TO_G_COEFFS

      public static final int OFFSET_TO_G_COEFFS
      See Also:
    • OFFSET_TO_B_COEFFS

      public static final int OFFSET_TO_B_COEFFS
      See Also:
  • Method Details

    • 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)