Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan.video

public Class StdVideoEncodeH265SliceSegmentHeader

extends Struct<StdVideoEncodeH265SliceSegmentHeader>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Layout


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;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
COLLOCATED_REF_IDX

The struct member offsets.

public static final int
FLAGS

The struct member offsets.

public static final int
MAXNUMMERGECAND

The struct member offsets.

public static final int
PWEIGHTTABLE

The struct member offsets.

public static final int
RESERVED1

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
SLICE_ACT_CB_QP_OFFSET

The struct member offsets.

public static final int
SLICE_ACT_CR_QP_OFFSET

The struct member offsets.

public static final int
SLICE_ACT_Y_QP_OFFSET

The struct member offsets.

public static final int
SLICE_BETA_OFFSET_DIV2

The struct member offsets.

public static final int
SLICE_CB_QP_OFFSET

The struct member offsets.

public static final int
SLICE_CR_QP_OFFSET

The struct member offsets.

public static final int
SLICE_QP_DELTA

The struct member offsets.

public static final int
SLICE_SEGMENT_ADDRESS

The struct member offsets.

public static final int
SLICE_TC_OFFSET_DIV2

The struct member offsets.

public static final int
SLICE_TYPE

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
public
StdVideoEncodeH265SliceSegmentHeader(ByteBuffer container)

Creates a StdVideoEncodeH265SliceSegmentHeader instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public static StdVideoEncodeH265SliceSegmentHeader
calloc()

Returns a new StdVideoEncodeH265SliceSegmentHeader instance allocated with memCalloc.

public static StdVideoEncodeH265SliceSegmentHeader.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new StdVideoEncodeH265SliceSegmentHeader.Buffer instance allocated with memCalloc.

public static StdVideoEncodeH265SliceSegmentHeader
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new StdVideoEncodeH265SliceSegmentHeader instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static StdVideoEncodeH265SliceSegmentHeader.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new StdVideoEncodeH265SliceSegmentHeader.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

public byte

Returns:

the value of the collocated_ref_idx field.
collocated_ref_idx
()

public StdVideoEncodeH265SliceSegmentHeader
collocated_ref_idx(byte value)

Sets the specified value to the collocated_ref_idx field.

protected StdVideoEncodeH265SliceSegmentHeader
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static StdVideoEncodeH265SliceSegmentHeader
create()

Returns a new StdVideoEncodeH265SliceSegmentHeader instance allocated with BufferUtils.

public static StdVideoEncodeH265SliceSegmentHeader
create(long address)

Returns a new StdVideoEncodeH265SliceSegmentHeader instance for the specified memory address.

public static StdVideoEncodeH265SliceSegmentHeader.Buffer
create(int
the buffer capacity
capacity
)

Returns a new StdVideoEncodeH265SliceSegmentHeader.Buffer instance allocated with BufferUtils.

public static StdVideoEncodeH265SliceSegmentHeader.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a StdVideoEncodeH265SliceSegmentHeader.Buffer instance at the specified memory.

public static StdVideoEncodeH265SliceSegmentHeader
createSafe(long address)

Like create, but returns null if address is NULL.

public static StdVideoEncodeH265SliceSegmentHeader.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public StdVideoEncodeH265SliceSegmentHeaderFlags

Returns:

a StdVideoEncodeH265SliceSegmentHeaderFlags view of the flags field.
flags
()

public StdVideoEncodeH265SliceSegmentHeader
public StdVideoEncodeH265SliceSegmentHeader
flags(Consumer<StdVideoEncodeH265SliceSegmentHeaderFlags> consumer)

Passes the flags field to the specified Consumer.

public static StdVideoEncodeH265SliceSegmentHeader
malloc()

Returns a new StdVideoEncodeH265SliceSegmentHeader instance allocated with memAlloc.

public static StdVideoEncodeH265SliceSegmentHeader.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new StdVideoEncodeH265SliceSegmentHeader.Buffer instance allocated with memAlloc.

public static StdVideoEncodeH265SliceSegmentHeader
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new StdVideoEncodeH265SliceSegmentHeader instance allocated on the specified MemoryStack.

public static StdVideoEncodeH265SliceSegmentHeader.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new StdVideoEncodeH265SliceSegmentHeader.Buffer instance allocated on the specified MemoryStack.

public byte

Returns:

the value of the MaxNumMergeCand field.
MaxNumMergeCand
()

public StdVideoEncodeH265SliceSegmentHeader
MaxNumMergeCand(byte value)

Sets the specified value to the MaxNumMergeCand field.

public static byte
ncollocated_ref_idx(long struct)

Unsafe version of collocated_ref_idx.

public static void
ncollocated_ref_idx(long struct, byte value)

Unsafe version of collocated_ref_idx.

public static StdVideoEncodeH265SliceSegmentHeaderFlags
nflags(long struct)

Unsafe version of flags.

public static void
nflags(long struct, StdVideoEncodeH265SliceSegmentHeaderFlags value)

Unsafe version of flags.

public static byte
nMaxNumMergeCand(long struct)

Unsafe version of MaxNumMergeCand.

public static void
nMaxNumMergeCand(long struct, byte value)

Unsafe version of MaxNumMergeCand.

public static StdVideoEncodeH265WeightTable
npWeightTable(long struct)

Unsafe version of pWeightTable.

public static void
npWeightTable(long struct, StdVideoEncodeH265WeightTable value)

Unsafe version of pWeightTable.

public static short
nreserved1(long struct)

public static void
nreserved1(long struct, short value)

public static byte
nslice_act_cb_qp_offset(long struct)

Unsafe version of slice_act_cb_qp_offset.

public static void
nslice_act_cb_qp_offset(long struct, byte value)

Unsafe version of slice_act_cb_qp_offset.

public static byte
nslice_act_cr_qp_offset(long struct)

Unsafe version of slice_act_cr_qp_offset.

public static void
nslice_act_cr_qp_offset(long struct, byte value)

Unsafe version of slice_act_cr_qp_offset.

public static byte
nslice_act_y_qp_offset(long struct)

Unsafe version of slice_act_y_qp_offset.

public static void
nslice_act_y_qp_offset(long struct, byte value)

Unsafe version of slice_act_y_qp_offset.

public static byte
nslice_beta_offset_div2(long struct)

Unsafe version of slice_beta_offset_div2.

public static void
nslice_beta_offset_div2(long struct, byte value)

Unsafe version of slice_beta_offset_div2.

public static byte
nslice_cb_qp_offset(long struct)

Unsafe version of slice_cb_qp_offset.

public static void
nslice_cb_qp_offset(long struct, byte value)

Unsafe version of slice_cb_qp_offset.

public static byte
nslice_cr_qp_offset(long struct)

Unsafe version of slice_cr_qp_offset.

public static void
nslice_cr_qp_offset(long struct, byte value)

Unsafe version of slice_cr_qp_offset.

public static byte
nslice_qp_delta(long struct)

Unsafe version of slice_qp_delta.

public static void
nslice_qp_delta(long struct, byte value)

Unsafe version of slice_qp_delta.

public static int
nslice_segment_address(long struct)

Unsafe version of slice_segment_address.

public static void
nslice_segment_address(long struct, int value)

Unsafe version of slice_segment_address.

public static byte
nslice_tc_offset_div2(long struct)

Unsafe version of slice_tc_offset_div2.

public static void
nslice_tc_offset_div2(long struct, byte value)

Unsafe version of slice_tc_offset_div2.

public static int
nslice_type(long struct)

Unsafe version of slice_type.

public static void
nslice_type(long struct, int value)

Unsafe version of slice_type.

public StdVideoEncodeH265WeightTable

Returns:

a StdVideoEncodeH265WeightTable view of the struct pointed to by the pWeightTable field.
pWeightTable
()

public StdVideoEncodeH265SliceSegmentHeader
pWeightTable(StdVideoEncodeH265WeightTable value)

Sets the address of the specified StdVideoEncodeH265WeightTable to the pWeightTable field.

public StdVideoEncodeH265SliceSegmentHeader
set(StdVideoEncodeH265SliceSegmentHeaderFlags flags, int slice_type, int slice_segment_address, byte collocated_ref_idx, byte MaxNumMergeCand, byte slice_cb_qp_offset, byte slice_cr_qp_offset, byte slice_beta_offset_div2, byte slice_tc_offset_div2, byte slice_act_y_qp_offset, byte slice_act_cb_qp_offset, byte slice_act_cr_qp_offset, byte slice_qp_delta, StdVideoEncodeH265WeightTable pWeightTable)

Initializes this struct with the specified values.

public StdVideoEncodeH265SliceSegmentHeader

Returns:

this struct
set
(StdVideoEncodeH265SliceSegmentHeader
the source struct
src
)

Copies the specified struct data to this struct.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public byte

Returns:

the value of the slice_act_cb_qp_offset field.
slice_act_cb_qp_offset
()

public StdVideoEncodeH265SliceSegmentHeader
slice_act_cb_qp_offset(byte value)

Sets the specified value to the slice_act_cb_qp_offset field.

public byte

Returns:

the value of the slice_act_cr_qp_offset field.
slice_act_cr_qp_offset
()

public StdVideoEncodeH265SliceSegmentHeader
slice_act_cr_qp_offset(byte value)

Sets the specified value to the slice_act_cr_qp_offset field.

public byte

Returns:

the value of the slice_act_y_qp_offset field.
slice_act_y_qp_offset
()

public StdVideoEncodeH265SliceSegmentHeader
slice_act_y_qp_offset(byte value)

Sets the specified value to the slice_act_y_qp_offset field.

public byte
public StdVideoEncodeH265SliceSegmentHeader
slice_beta_offset_div2(byte value)

Sets the specified value to the slice_beta_offset_div2 field.

public byte
slice_cb_qp_offset()

[-12, 12]

public StdVideoEncodeH265SliceSegmentHeader
slice_cb_qp_offset(byte value)

Sets the specified value to the slice_cb_qp_offset field.

public byte
slice_cr_qp_offset()

[-12, 12]

public StdVideoEncodeH265SliceSegmentHeader
slice_cr_qp_offset(byte value)

Sets the specified value to the slice_cr_qp_offset field.

public byte

Returns:

the value of the slice_qp_delta field.
slice_qp_delta
()

public StdVideoEncodeH265SliceSegmentHeader
slice_qp_delta(byte value)

Sets the specified value to the slice_qp_delta field.

public int

Returns:

the value of the slice_segment_address field.
slice_segment_address
()

public StdVideoEncodeH265SliceSegmentHeader
slice_segment_address(int value)

Sets the specified value to the slice_segment_address field.

public byte
public StdVideoEncodeH265SliceSegmentHeader
slice_tc_offset_div2(byte value)

Sets the specified value to the slice_tc_offset_div2 field.

public int

Returns:

the value of the slice_type field.
slice_type
()

public StdVideoEncodeH265SliceSegmentHeader
slice_type(int value)

Sets the specified value to the slice_type field.

public static void
validate(long
the struct to validate
struct
)

Validates pointer members that should not be NULL.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate