Class RgbAdjustment

    • Method Detail

      • getMatrix

        public float[] getMatrix​(long presentationTimeUs,
                                 boolean useHdr)
        Description copied from interface: RgbMatrix
        Returns the 4x4 RGB transformation matrix to apply to the color values of each pixel in the frame with the given timestamp.
        Specified by:
        getMatrix in interface RgbMatrix
        presentationTimeUs - The timestamp of the frame to apply the matrix on.
        useHdr - If true, colors will be in linear RGB BT.2020. If false, colors will be in linear RGB BT.709. Must be consistent with useHdr in RgbMatrix.toGlTextureProcessor(Context, boolean).
        The RgbMatrix to apply to the frame.