Class YuvConversionMatrices


  • public final class YuvConversionMatrices
    extends java.lang.Object
    • 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
    • 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)