Module notzed.zcl
Package au.notzed.zcl

Class CLImageFormat

java.lang.Object
au.notzed.zcl.CLImageFormat

public class CLImageFormat
extends java.lang.Object
Holder for cl_image_format equivalent.

panama notes

To maintain compatability with the previous api this remains as a simple pojo and marshalling is done as required.

This also means it doesn't have to deal with allocation and deallocation and so on.

  • Field Details

    • channelOrder

      public final int channelOrder
    • channelDataType

      public final int channelDataType
    • INTENSITY_FLOAT

      public static final CLImageFormat INTENSITY_FLOAT
    • INTENSITY_UNORM_INT8

      public static final CLImageFormat INTENSITY_UNORM_INT8
    • R_UNSIGNED_INT8

      public static final CLImageFormat R_UNSIGNED_INT8
    • R_UNORM_INT8

      public static final CLImageFormat R_UNORM_INT8
    • R_FLOAT

      public static final CLImageFormat R_FLOAT
    • R_HALF_FLOAT

      public static final CLImageFormat R_HALF_FLOAT
    • RG_FLOAT

      public static final CLImageFormat RG_FLOAT
    • RGBA_FLOAT

      public static final CLImageFormat RGBA_FLOAT
    • RG_UNORM_INT8

      public static final CLImageFormat RG_UNORM_INT8
    • RGBA_UNORM_INT8

      public static final CLImageFormat RGBA_UNORM_INT8
  • Constructor Details

    • CLImageFormat

      public CLImageFormat​(CLChannelOrder order, CLChannelType type)
    • CLImageFormat

      public CLImageFormat​(int channelOrder, int channelDataType)
  • Method Details

    • getChannelOrder

      public CLChannelOrder getChannelOrder()
    • getChannelDataType

      public CLChannelType getChannelDataType()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • equals

      public boolean equals​(java.lang.Object obj)
      Overrides:
      equals in class java.lang.Object
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object