Class vImageChannelDescription


  • public final class vImageChannelDescription
    extends org.moe.natj.c.StructObject
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double full()
      e.g.
      double max()
      e.g.
      double min()
      e.g.
      void setFull​(double value)
      e.g.
      void setMax​(double value)
      e.g.
      void setMin​(double value)
      e.g.
      void setZero​(double value)
      e.g.
      double zero()
      e.g.
      • Methods inherited from class org.moe.natj.general.NativeObject

        finalize, getPeer, getPeerPointer
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • vImageChannelDescription

        public vImageChannelDescription()
      • vImageChannelDescription

        protected vImageChannelDescription​(org.moe.natj.general.Pointer peer)
      • vImageChannelDescription

        public vImageChannelDescription​(double min,
                                        double zero,
                                        double full,
                                        double max)
    • Method Detail

      • min

        public double min()
        e.g. Minimum allowed value for format. e.g. {16, 16, 16, 0} for {Y', Cb, Cr, A} 8-bit video range
      • setMin

        public void setMin​(double value)
        e.g. Minimum allowed value for format. e.g. {16, 16, 16, 0} for {Y', Cb, Cr, A} 8-bit video range
      • zero

        public double zero()
        e.g. Encoded value for 0.0 e.g. {0, 128, 128, 0} for {Y', Cb, Cr, A} 8-bit video range
      • setZero

        public void setZero​(double value)
        e.g. Encoded value for 0.0 e.g. {0, 128, 128, 0} for {Y', Cb, Cr, A} 8-bit video range
      • full

        public double full()
        e.g. Encoded value for 1.0, (0.5 for Chroma). e.g. {235, 240, 240, 255} for {Y', Cb, Cr, A} 8-bit video range, full range alpha
      • setFull

        public void setFull​(double value)
        e.g. Encoded value for 1.0, (0.5 for Chroma). e.g. {235, 240, 240, 255} for {Y', Cb, Cr, A} 8-bit video range, full range alpha
      • max

        public double max()
        e.g. Maximum allowed value for format. e,g, {235, 240, 240, 255} to clamp to {Y', Cb, Cr, A} 8-bit video range, full range alpha
      • setMax

        public void setMax​(double value)
        e.g. Maximum allowed value for format. e,g, {235, 240, 240, 255} to clamp to {Y', Cb, Cr, A} 8-bit video range, full range alpha