Class FileSVS.TIFFYCbCrInputStream

All Implemented Interfaces:
Closeable, AutoCloseable
Enclosing class:
FileSVS

public class FileSVS.TIFFYCbCrInputStream extends FileSVS.IntFilterInputStream
  • Field Details

    • LumaRed

      protected double LumaRed
    • LumaGreen

      protected double LumaGreen
    • LumaBlue

      protected double LumaBlue
    • RfBY

      protected double RfBY
    • RfBCb

      protected double RfBCb
    • RfBCr

      protected double RfBCr
    • RfWY

      protected double RfWY
    • RfWCb

      protected double RfWCb
    • RfWCr

      protected double RfWCr
    • RCr

      private double RCr
    • BCb

      private double BCb
    • GY

      private double GY
    • GB

      private double GB
    • GR

      private double GR
  • Constructor Details

  • Method Details

    • setColourCoefficients

      public void setColourCoefficients(double LumaRed, double LumaGreen, double LumaBlue)
    • getLumaRed

      public double getLumaRed()
    • getLumaGreen

      public double getLumaGreen()
    • getLumaBlue

      public double getLumaBlue()
    • setRfBWY

      public void setRfBWY(double black, double white)
    • setRfBWCb

      public void setRfBWCb(double black, double white)
    • setRfBWCr

      public void setRfBWCr(double black, double white)
    • read

      public int read() throws IOException
      Overrides:
      read in class FilterInputStream
      Throws:
      IOException
    • convert

      protected int convert(int YCbCr) throws IOException
      Throws:
      IOException
    • read

      public int read(int[] buf, int off, int len) throws IOException
      Specified by:
      read in class FileSVS.IntFilterInputStream
      Throws:
      IOException