Klasse Palette.YUVEntry

java.lang.Object
libsidplay.components.mos656x.Palette.YUVEntry
Umschließende Klasse:
Palette

protected static class Palette.YUVEntry extends Object
  • Feldübersicht

    Felder
    Modifizierer und Typ
    Feld
    Beschreibung
    protected final float
     
    protected final float
     
    protected final float
     
  • Konstruktorübersicht

    Konstruktoren
    Modifizierer
    Konstruktor
    Beschreibung
    protected
    YUVEntry(float y, float u, float v)
    Construct YUV color from components.
    protected
    YUVEntry(int yuvPacked)
    Construct YUV color from packed format.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    protected int
    Convert this color to 30-bit quantized packed approximation.
    protected int
    toRGB(float brightness, float contrast, float gamma)
    Convert to RGB with parameters

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Felddetails

    • y

      protected final float y
    • u

      protected final float u
    • v

      protected final float v
  • Konstruktordetails

    • YUVEntry

      protected YUVEntry(float y, float u, float v)
      Construct YUV color from components.
      Parameter:
      y - range 0 .. 1
      u - range -0.5 .. 0.5
      v - range -0.5 .. 0.5
    • YUVEntry

      protected YUVEntry(int yuvPacked)
      Construct YUV color from packed format.
      Parameter:
      yuvPacked - The packed approximation as 0x00YYUUVV.
  • Methodendetails

    • toPacked

      protected int toPacked()
      Convert this color to 30-bit quantized packed approximation.
      Gibt zurück:
      YUV color
    • toRGB

      protected int toRGB(float brightness, float contrast, float gamma)
      Convert to RGB with parameters
      Parameter:
      brightness - Brightness
      contrast - Contrast
      gamma - Gamma
      Gibt zurück:
      The parameters as RGB.