Class VkVideoDecodeH264InlineSessionParametersInfoKHR

java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.khr.struct.VkVideoDecodeH264InlineSessionParametersInfoKHR
All Implemented Interfaces:
Addressable
Direct Known Subclasses:
VkVideoDecodeH264InlineSessionParametersInfoKHR.Buffer

public sealed class VkVideoDecodeH264InlineSessionParametersInfoKHR extends GroupType permits VkVideoDecodeH264InlineSessionParametersInfoKHR.Buffer

Layout

struct VkVideoDecodeH264InlineSessionParametersInfoKHR {
    (int) VkStructureType sType;
    const void* pNext;
    const StdVideoH264SequenceParameterSet* pStdSPS;
    const StdVideoH264PictureParameterSet* pStdPPS;
};
  • Field Details

    • LAYOUT

      public static final GroupLayout LAYOUT
      The struct layout of VkVideoDecodeH264InlineSessionParametersInfoKHR.
    • OFFSET_sType

      public static final long OFFSET_sType
      The byte offset of sType.
    • LAYOUT_sType

      public static final MemoryLayout LAYOUT_sType
      The memory layout of sType.
    • VH_sType

      public static final VarHandle VH_sType
      The VarHandle of sType of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_pNext

      public static final long OFFSET_pNext
      The byte offset of pNext.
    • LAYOUT_pNext

      public static final MemoryLayout LAYOUT_pNext
      The memory layout of pNext.
    • VH_pNext

      public static final VarHandle VH_pNext
      The VarHandle of pNext of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_pStdSPS

      public static final long OFFSET_pStdSPS
      The byte offset of pStdSPS.
    • LAYOUT_pStdSPS

      public static final MemoryLayout LAYOUT_pStdSPS
      The memory layout of pStdSPS.
    • VH_pStdSPS

      public static final VarHandle VH_pStdSPS
      The VarHandle of pStdSPS of type (MemorySegment base, long baseOffset, long index)MemorySegment.
    • OFFSET_pStdPPS

      public static final long OFFSET_pStdPPS
      The byte offset of pStdPPS.
    • LAYOUT_pStdPPS

      public static final MemoryLayout LAYOUT_pStdPPS
      The memory layout of pStdPPS.
    • VH_pStdPPS

      public static final VarHandle VH_pStdPPS
      The VarHandle of pStdPPS of type (MemorySegment base, long baseOffset, long index)MemorySegment.
  • Constructor Details

    • VkVideoDecodeH264InlineSessionParametersInfoKHR

      public VkVideoDecodeH264InlineSessionParametersInfoKHR(MemorySegment segment)
      Creates VkVideoDecodeH264InlineSessionParametersInfoKHR with the given segment.
      Parameters:
      segment - the memory segment
  • Method Details

    • of

      Creates VkVideoDecodeH264InlineSessionParametersInfoKHR with the given segment.
      Parameters:
      segment - the memory segment
      Returns:
      the created instance or null if the segment is NULL
    • ofNative

      Creates VkVideoDecodeH264InlineSessionParametersInfoKHR with the given segment.

      Reinterprets the segment if zero-length.

      Parameters:
      segment - the memory segment
      Returns:
      the created instance or null if the segment is NULL
    • ofNative

      public static VkVideoDecodeH264InlineSessionParametersInfoKHR.Buffer ofNative(MemorySegment segment, long count)

      Creates VkVideoDecodeH264InlineSessionParametersInfoKHR with the given segment.

      Reinterprets the segment if zero-length.

      Parameters:
      segment - the memory segment
      count - the count of the buffer
      Returns:
      the created instance or null if the segment is NULL
    • alloc

      Allocates a VkVideoDecodeH264InlineSessionParametersInfoKHR with the given segment allocator.
      Parameters:
      allocator - the segment allocator
      Returns:
      the allocated VkVideoDecodeH264InlineSessionParametersInfoKHR
    • alloc

      public static VkVideoDecodeH264InlineSessionParametersInfoKHR.Buffer alloc(SegmentAllocator allocator, long count)
      Allocates a VkVideoDecodeH264InlineSessionParametersInfoKHR with the given segment allocator and count.
      Parameters:
      allocator - the segment allocator
      count - the count
      Returns:
      the allocated VkVideoDecodeH264InlineSessionParametersInfoKHR
    • copyFrom

      Copies from the given source.
      Parameters:
      src - the source
      Returns:
      this
    • asBuffer

      Converts this instance to a buffer.
      Returns:
      the buffer
    • sType

      public static int sType(MemorySegment segment, long index)
      Returns sType at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      sType at the given index
    • sType

      public int sType()
      Returns sType.
      Returns:
      sType
    • sType

      public static void sType(MemorySegment segment, long index, int value)
      Sets sType with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • sType

      Sets sType with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • pNext

      public static MemorySegment pNext(MemorySegment segment, long index)
      Returns pNext at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      pNext at the given index
    • pNext

      public MemorySegment pNext()
      Returns pNext.
      Returns:
      pNext
    • pNext

      public static void pNext(MemorySegment segment, long index, MemorySegment value)
      Sets pNext with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • pNext

      Sets pNext with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • pStdSPS

      public static MemorySegment pStdSPS(MemorySegment segment, long index)
      Returns pStdSPS at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      pStdSPS at the given index
    • pStdSPS

      public MemorySegment pStdSPS()
      Returns pStdSPS.
      Returns:
      pStdSPS
    • pStdSPS

      public static void pStdSPS(MemorySegment segment, long index, MemorySegment value)
      Sets pStdSPS with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • pStdSPS

      Sets pStdSPS with the given value.
      Parameters:
      value - the value
      Returns:
      this
    • pStdPPS

      public static MemorySegment pStdPPS(MemorySegment segment, long index)
      Returns pStdPPS at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      Returns:
      pStdPPS at the given index
    • pStdPPS

      public MemorySegment pStdPPS()
      Returns pStdPPS.
      Returns:
      pStdPPS
    • pStdPPS

      public static void pStdPPS(MemorySegment segment, long index, MemorySegment value)
      Sets pStdPPS with the given value at the given index.
      Parameters:
      segment - the segment of the struct
      index - the index of the struct buffer
      value - the value
    • pStdPPS

      Sets pStdPPS with the given value.
      Parameters:
      value - the value
      Returns:
      this