Interface LXBufferOutput.ByteEncoder

All Known Implementing Classes:
LXBufferOutput.ByteOrder
Enclosing class:
LXBufferOutput

public static interface LXBufferOutput.ByteEncoder
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Number of bytes per pixel in this encoding
    void
    writeBytes(int argb, LXOutput.GammaTable.Curve gamma, byte[] output, int offset)
    Writes the bytes for a color pixel to an output
  • Method Details

    • getNumBytes

      int getNumBytes()
      Number of bytes per pixel in this encoding
      Returns:
      Number of bytes per pixel in this encoder
    • writeBytes

      void writeBytes(int argb, LXOutput.GammaTable.Curve gamma, byte[] output, int offset)
      Writes the bytes for a color pixel to an output
      Parameters:
      argb - Integer color value, ARGB format
      gamma - Gamma lookup table
      output - Output byte array
      offset - Offset to write at in output array