Record Class StdVideoEncodeH265SliceSegmentHeader

java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.StdVideoEncodeH265SliceSegmentHeader
All Implemented Interfaces:
IPointer, IStdVideoEncodeH265SliceSegmentHeader

@ValueBasedCandidate @UnsafeConstructor public record StdVideoEncodeH265SliceSegmentHeader(@NotNull MemorySegment segment) extends Record implements IStdVideoEncodeH265SliceSegmentHeader

Represents a pointer to a StdVideoEncodeH265SliceSegmentHeader structure in native memory.

Structure

typedef struct StdVideoEncodeH265SliceSegmentHeader {
    StdVideoEncodeH265SliceSegmentHeaderFlags flags;
    StdVideoH265SliceType slice_type;
    uint32_t slice_segment_address;
    uint8_t collocated_ref_idx;
    uint8_t MaxNumMergeCand;
    int8_t slice_cb_qp_offset;
    int8_t slice_cr_qp_offset;
    int8_t slice_beta_offset_div2;
    int8_t slice_tc_offset_div2;
    int8_t slice_act_y_qp_offset;
    int8_t slice_act_cb_qp_offset;
    int8_t slice_act_cr_qp_offset;
    int8_t slice_qp_delta;
    uint16_t reserved1;
    StdVideoEncodeH265WeightTable const* pWeightTable;
} StdVideoEncodeH265SliceSegmentHeader;

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$slice_type

      public static final MemoryLayout.PathElement PATH$slice_type
    • PATH$slice_segment_address

      public static final MemoryLayout.PathElement PATH$slice_segment_address
    • PATH$collocated_ref_idx

      public static final MemoryLayout.PathElement PATH$collocated_ref_idx
    • PATH$MaxNumMergeCand

      public static final MemoryLayout.PathElement PATH$MaxNumMergeCand
    • PATH$slice_cb_qp_offset

      public static final MemoryLayout.PathElement PATH$slice_cb_qp_offset
    • PATH$slice_cr_qp_offset

      public static final MemoryLayout.PathElement PATH$slice_cr_qp_offset
    • PATH$slice_beta_offset_div2

      public static final MemoryLayout.PathElement PATH$slice_beta_offset_div2
    • PATH$slice_tc_offset_div2

      public static final MemoryLayout.PathElement PATH$slice_tc_offset_div2
    • PATH$slice_act_y_qp_offset

      public static final MemoryLayout.PathElement PATH$slice_act_y_qp_offset
    • PATH$slice_act_cb_qp_offset

      public static final MemoryLayout.PathElement PATH$slice_act_cb_qp_offset
    • PATH$slice_act_cr_qp_offset

      public static final MemoryLayout.PathElement PATH$slice_act_cr_qp_offset
    • PATH$slice_qp_delta

      public static final MemoryLayout.PathElement PATH$slice_qp_delta
    • PATH$pWeightTable

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

      public static final StructLayout LAYOUT$flags
    • LAYOUT$slice_type

      public static final ValueLayout.OfInt LAYOUT$slice_type
    • LAYOUT$slice_segment_address

      public static final ValueLayout.OfInt LAYOUT$slice_segment_address
    • LAYOUT$collocated_ref_idx

      public static final ValueLayout.OfByte LAYOUT$collocated_ref_idx
    • LAYOUT$MaxNumMergeCand

      public static final ValueLayout.OfByte LAYOUT$MaxNumMergeCand
    • LAYOUT$slice_cb_qp_offset

      public static final ValueLayout.OfByte LAYOUT$slice_cb_qp_offset
    • LAYOUT$slice_cr_qp_offset

      public static final ValueLayout.OfByte LAYOUT$slice_cr_qp_offset
    • LAYOUT$slice_beta_offset_div2

      public static final ValueLayout.OfByte LAYOUT$slice_beta_offset_div2
    • LAYOUT$slice_tc_offset_div2

      public static final ValueLayout.OfByte LAYOUT$slice_tc_offset_div2
    • LAYOUT$slice_act_y_qp_offset

      public static final ValueLayout.OfByte LAYOUT$slice_act_y_qp_offset
    • LAYOUT$slice_act_cb_qp_offset

      public static final ValueLayout.OfByte LAYOUT$slice_act_cb_qp_offset
    • LAYOUT$slice_act_cr_qp_offset

      public static final ValueLayout.OfByte LAYOUT$slice_act_cr_qp_offset
    • LAYOUT$slice_qp_delta

      public static final ValueLayout.OfByte LAYOUT$slice_qp_delta
    • LAYOUT$pWeightTable

      public static final AddressLayout LAYOUT$pWeightTable
    • SIZE$flags

      public static final long SIZE$flags
    • SIZE$slice_type

      public static final long SIZE$slice_type
    • SIZE$slice_segment_address

      public static final long SIZE$slice_segment_address
    • SIZE$collocated_ref_idx

      public static final long SIZE$collocated_ref_idx
    • SIZE$MaxNumMergeCand

      public static final long SIZE$MaxNumMergeCand
    • SIZE$slice_cb_qp_offset

      public static final long SIZE$slice_cb_qp_offset
    • SIZE$slice_cr_qp_offset

      public static final long SIZE$slice_cr_qp_offset
    • SIZE$slice_beta_offset_div2

      public static final long SIZE$slice_beta_offset_div2
    • SIZE$slice_tc_offset_div2

      public static final long SIZE$slice_tc_offset_div2
    • SIZE$slice_act_y_qp_offset

      public static final long SIZE$slice_act_y_qp_offset
    • SIZE$slice_act_cb_qp_offset

      public static final long SIZE$slice_act_cb_qp_offset
    • SIZE$slice_act_cr_qp_offset

      public static final long SIZE$slice_act_cr_qp_offset
    • SIZE$slice_qp_delta

      public static final long SIZE$slice_qp_delta
    • SIZE$pWeightTable

      public static final long SIZE$pWeightTable
    • OFFSET$flags

      public static final long OFFSET$flags
    • OFFSET$slice_type

      public static final long OFFSET$slice_type
    • OFFSET$slice_segment_address

      public static final long OFFSET$slice_segment_address
    • OFFSET$collocated_ref_idx

      public static final long OFFSET$collocated_ref_idx
    • OFFSET$MaxNumMergeCand

      public static final long OFFSET$MaxNumMergeCand
    • OFFSET$slice_cb_qp_offset

      public static final long OFFSET$slice_cb_qp_offset
    • OFFSET$slice_cr_qp_offset

      public static final long OFFSET$slice_cr_qp_offset
    • OFFSET$slice_beta_offset_div2

      public static final long OFFSET$slice_beta_offset_div2
    • OFFSET$slice_tc_offset_div2

      public static final long OFFSET$slice_tc_offset_div2
    • OFFSET$slice_act_y_qp_offset

      public static final long OFFSET$slice_act_y_qp_offset
    • OFFSET$slice_act_cb_qp_offset

      public static final long OFFSET$slice_act_cb_qp_offset
    • OFFSET$slice_act_cr_qp_offset

      public static final long OFFSET$slice_act_cr_qp_offset
    • OFFSET$slice_qp_delta

      public static final long OFFSET$slice_qp_delta
    • OFFSET$pWeightTable

      public static final long OFFSET$pWeightTable
  • Constructor Details

    • StdVideoEncodeH265SliceSegmentHeader

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