Record Class StdVideoAV1TileInfo

java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.StdVideoAV1TileInfo
All Implemented Interfaces:
IPointer, IStdVideoAV1TileInfo

@ValueBasedCandidate @UnsafeConstructor public record StdVideoAV1TileInfo(@NotNull MemorySegment segment) extends Record implements IStdVideoAV1TileInfo

Represents a pointer to a StdVideoAV1TileInfo structure in native memory.

Structure

typedef struct StdVideoAV1TileInfo {
    StdVideoAV1TileInfoFlags flags;
    uint8_t TileCols;
    uint8_t TileRows;
    uint16_t context_update_tile_id;
    uint8_t tile_size_bytes_minus_1;
    uint8_t[7] reserved1;
    uint16_t const* pMiColStarts;
    uint16_t const* pMiRowStarts;
    uint16_t const* pWidthInSbsMinus1;
    uint16_t const* pHeightInSbsMinus1;
} StdVideoAV1TileInfo;

Contracts

The property segment() should always be not-null (segment != NULL && !segment.equals(MemorySegment.NULL)), and properly aligned to LAYOUT.byteAlignment() bytes. To represent null pointer, you may use a Java null instead. See the documentation of IPointer.segment() for more details.

The constructor of this class is marked as UnsafeConstructor, because it does not perform any runtime check. The constructor can be useful for automatic code generators.

  • Field Details

    • LAYOUT

      public static final StructLayout LAYOUT
    • BYTES

      public static final long BYTES
    • PATH$flags

      public static final MemoryLayout.PathElement PATH$flags
    • PATH$TileCols

      public static final MemoryLayout.PathElement PATH$TileCols
    • PATH$TileRows

      public static final MemoryLayout.PathElement PATH$TileRows
    • PATH$context_update_tile_id

      public static final MemoryLayout.PathElement PATH$context_update_tile_id
    • PATH$tile_size_bytes_minus_1

      public static final MemoryLayout.PathElement PATH$tile_size_bytes_minus_1
    • PATH$pMiColStarts

      public static final MemoryLayout.PathElement PATH$pMiColStarts
    • PATH$pMiRowStarts

      public static final MemoryLayout.PathElement PATH$pMiRowStarts
    • PATH$pWidthInSbsMinus1

      public static final MemoryLayout.PathElement PATH$pWidthInSbsMinus1
    • PATH$pHeightInSbsMinus1

      public static final MemoryLayout.PathElement PATH$pHeightInSbsMinus1
    • LAYOUT$flags

      public static final StructLayout LAYOUT$flags
    • LAYOUT$TileCols

      public static final ValueLayout.OfByte LAYOUT$TileCols
    • LAYOUT$TileRows

      public static final ValueLayout.OfByte LAYOUT$TileRows
    • LAYOUT$context_update_tile_id

      public static final ValueLayout.OfShort LAYOUT$context_update_tile_id
    • LAYOUT$tile_size_bytes_minus_1

      public static final ValueLayout.OfByte LAYOUT$tile_size_bytes_minus_1
    • LAYOUT$pMiColStarts

      public static final AddressLayout LAYOUT$pMiColStarts
    • LAYOUT$pMiRowStarts

      public static final AddressLayout LAYOUT$pMiRowStarts
    • LAYOUT$pWidthInSbsMinus1

      public static final AddressLayout LAYOUT$pWidthInSbsMinus1
    • LAYOUT$pHeightInSbsMinus1

      public static final AddressLayout LAYOUT$pHeightInSbsMinus1
    • SIZE$flags

      public static final long SIZE$flags
    • SIZE$TileCols

      public static final long SIZE$TileCols
    • SIZE$TileRows

      public static final long SIZE$TileRows
    • SIZE$context_update_tile_id

      public static final long SIZE$context_update_tile_id
    • SIZE$tile_size_bytes_minus_1

      public static final long SIZE$tile_size_bytes_minus_1
    • SIZE$pMiColStarts

      public static final long SIZE$pMiColStarts
    • SIZE$pMiRowStarts

      public static final long SIZE$pMiRowStarts
    • SIZE$pWidthInSbsMinus1

      public static final long SIZE$pWidthInSbsMinus1
    • SIZE$pHeightInSbsMinus1

      public static final long SIZE$pHeightInSbsMinus1
    • OFFSET$flags

      public static final long OFFSET$flags
    • OFFSET$TileCols

      public static final long OFFSET$TileCols
    • OFFSET$TileRows

      public static final long OFFSET$TileRows
    • OFFSET$context_update_tile_id

      public static final long OFFSET$context_update_tile_id
    • OFFSET$tile_size_bytes_minus_1

      public static final long OFFSET$tile_size_bytes_minus_1
    • OFFSET$pMiColStarts

      public static final long OFFSET$pMiColStarts
    • OFFSET$pMiRowStarts

      public static final long OFFSET$pMiRowStarts
    • OFFSET$pWidthInSbsMinus1

      public static final long OFFSET$pWidthInSbsMinus1
    • OFFSET$pHeightInSbsMinus1

      public static final long OFFSET$pHeightInSbsMinus1
  • Constructor Details

    • StdVideoAV1TileInfo

      public StdVideoAV1TileInfo(@NotNull @NotNull MemorySegment segment)
      Creates an instance of a StdVideoAV1TileInfo record class.
      Parameters:
      segment - the value for the segment record component
  • Method Details