Class SpvcMslSamplerYcbcrConversion

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

@NativeType("struct spvc_msl_sampler_ycbcr_conversion") public class SpvcMslSamplerYcbcrConversion extends Struct<SpvcMslSamplerYcbcrConversion> implements NativeResource
struct spvc_msl_sampler_ycbcr_conversion {
    unsigned int planes;
    spvc_msl_format_resolution resolution;
    spvc_msl_sampler_filter chroma_filter;
    spvc_msl_chroma_location x_chroma_offset;
    spvc_msl_chroma_location y_chroma_offset;
    spvc_msl_component_swizzle swizzle[4];
    spvc_msl_sampler_ycbcr_model_conversion ycbcr_model;
    spvc_msl_sampler_ycbcr_range ycbcr_range;
    unsigned int bpc;
}
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • PLANES

      public static final int PLANES
      The struct member offsets.
    • RESOLUTION

      public static final int RESOLUTION
      The struct member offsets.
    • CHROMA_FILTER

      public static final int CHROMA_FILTER
      The struct member offsets.
    • X_CHROMA_OFFSET

      public static final int X_CHROMA_OFFSET
      The struct member offsets.
    • Y_CHROMA_OFFSET

      public static final int Y_CHROMA_OFFSET
      The struct member offsets.
    • SWIZZLE

      public static final int SWIZZLE
      The struct member offsets.
    • YCBCR_MODEL

      public static final int YCBCR_MODEL
      The struct member offsets.
    • YCBCR_RANGE

      public static final int YCBCR_RANGE
      The struct member offsets.
    • BPC

      public static final int BPC
      The struct member offsets.
  • Constructor Details

    • SpvcMslSamplerYcbcrConversion

      public SpvcMslSamplerYcbcrConversion(ByteBuffer container)
      Creates a SpvcMslSamplerYcbcrConversion instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details