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

public Class StdVideoH265ShortTermRefPicSet

extends Struct<StdVideoH265ShortTermRefPicSet>
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 StdVideoH265ShortTermRefPicSet {
    StdVideoH265ShortTermRefPicSetFlags flags;
    uint32_t delta_idx_minus1;
    uint16_t use_delta_flag;
    uint16_t abs_delta_rps_minus1;
    uint16_t used_by_curr_pic_flag;
    uint16_t used_by_curr_pic_s0_flag;
    uint16_t used_by_curr_pic_s1_flag;
    uint16_t reserved1;
    uint8_t reserved2;
    uint8_t reserved3;
    uint8_t num_negative_pics;
    uint8_t num_positive_pics;
    uint16_t delta_poc_s0_minus1[STD_VIDEO_H265_MAX_DPB_SIZE];
    uint16_t delta_poc_s1_minus1[STD_VIDEO_H265_MAX_DPB_SIZE];
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ABS_DELTA_RPS_MINUS1

The struct member offsets.

public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
DELTA_IDX_MINUS1

The struct member offsets.

public static final int
DELTA_POC_S0_MINUS1

The struct member offsets.

public static final int
DELTA_POC_S1_MINUS1

The struct member offsets.

public static final int
FLAGS

The struct member offsets.

public static final int
NUM_NEGATIVE_PICS

The struct member offsets.

public static final int
NUM_POSITIVE_PICS

The struct member offsets.

public static final int
RESERVED1

The struct member offsets.

public static final int
RESERVED2

The struct member offsets.

public static final int
RESERVED3

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
USE_DELTA_FLAG

The struct member offsets.

public static final int
USED_BY_CURR_PIC_FLAG

The struct member offsets.

public static final int
USED_BY_CURR_PIC_S0_FLAG

The struct member offsets.

public static final int
USED_BY_CURR_PIC_S1_FLAG

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
StdVideoH265ShortTermRefPicSet(long address, ByteBuffer container)

public
StdVideoH265ShortTermRefPicSet(ByteBuffer container)

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

Method Summary

Modifier and TypeMethod and Description
public short

Returns:

the value of the abs_delta_rps_minus1 field.
abs_delta_rps_minus1
()

public StdVideoH265ShortTermRefPicSet
abs_delta_rps_minus1(short value)

Sets the specified value to the abs_delta_rps_minus1 field.

public static StdVideoH265ShortTermRefPicSet
calloc()

Returns a new StdVideoH265ShortTermRefPicSet instance allocated with memCalloc.

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

Returns a new StdVideoH265ShortTermRefPicSet.Buffer instance allocated with memCalloc.

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

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

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

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

protected StdVideoH265ShortTermRefPicSet
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 StdVideoH265ShortTermRefPicSet
create()

Returns a new StdVideoH265ShortTermRefPicSet instance allocated with BufferUtils.

public static StdVideoH265ShortTermRefPicSet
create(long address)

Returns a new StdVideoH265ShortTermRefPicSet instance for the specified memory address.

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

Returns a new StdVideoH265ShortTermRefPicSet.Buffer instance allocated with BufferUtils.

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

Create a StdVideoH265ShortTermRefPicSet.Buffer instance at the specified memory.

public static StdVideoH265ShortTermRefPicSet
createSafe(long address)

Like create, but returns null if address is NULL.

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

Like create, but returns null if address is NULL.

public int

Returns:

the value of the delta_idx_minus1 field.
delta_idx_minus1
()

public StdVideoH265ShortTermRefPicSet
delta_idx_minus1(int value)

Sets the specified value to the delta_idx_minus1 field.

public ShortBuffer

Returns:

a ShortBuffer view of the delta_poc_s0_minus1 field.
delta_poc_s0_minus1
()

public short

Returns:

the value at the specified index of the delta_poc_s0_minus1 field.
delta_poc_s0_minus1
(int index)

public StdVideoH265ShortTermRefPicSet
delta_poc_s0_minus1(ShortBuffer value)

Copies the specified ShortBuffer to the delta_poc_s0_minus1 field.

public StdVideoH265ShortTermRefPicSet
delta_poc_s0_minus1(int index, short value)

Sets the specified value at the specified index of the delta_poc_s0_minus1 field.

public ShortBuffer

Returns:

a ShortBuffer view of the delta_poc_s1_minus1 field.
delta_poc_s1_minus1
()

public short

Returns:

the value at the specified index of the delta_poc_s1_minus1 field.
delta_poc_s1_minus1
(int index)

public StdVideoH265ShortTermRefPicSet
delta_poc_s1_minus1(ShortBuffer value)

Copies the specified ShortBuffer to the delta_poc_s1_minus1 field.

public StdVideoH265ShortTermRefPicSet
delta_poc_s1_minus1(int index, short value)

Sets the specified value at the specified index of the delta_poc_s1_minus1 field.

public StdVideoH265ShortTermRefPicSetFlags

Returns:

a StdVideoH265ShortTermRefPicSetFlags view of the flags field.
flags
()

public StdVideoH265ShortTermRefPicSet
flags(StdVideoH265ShortTermRefPicSetFlags value)

Copies the specified StdVideoH265ShortTermRefPicSetFlags to the flags field.

public StdVideoH265ShortTermRefPicSet
flags(Consumer<StdVideoH265ShortTermRefPicSetFlags> consumer)

Passes the flags field to the specified Consumer.

public static StdVideoH265ShortTermRefPicSet
malloc()

Returns a new StdVideoH265ShortTermRefPicSet instance allocated with memAlloc.

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

Returns a new StdVideoH265ShortTermRefPicSet.Buffer instance allocated with memAlloc.

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

Returns a new StdVideoH265ShortTermRefPicSet instance allocated on the specified MemoryStack.

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

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

public static short
nabs_delta_rps_minus1(long struct)

Unsafe version of abs_delta_rps_minus1.

public static void
nabs_delta_rps_minus1(long struct, short value)

Unsafe version of abs_delta_rps_minus1.

public static int
ndelta_idx_minus1(long struct)

Unsafe version of delta_idx_minus1.

public static void
ndelta_idx_minus1(long struct, int value)

Unsafe version of delta_idx_minus1.

public static ShortBuffer
ndelta_poc_s0_minus1(long struct)

Unsafe version of delta_poc_s0_minus1.

public static short
ndelta_poc_s0_minus1(long struct, int index)

Unsafe version of delta_poc_s0_minus1.

public static void
ndelta_poc_s0_minus1(long struct, ShortBuffer value)

Unsafe version of delta_poc_s0_minus1.

public static void
ndelta_poc_s0_minus1(long struct, int index, short value)

Unsafe version of delta_poc_s0_minus1.

public static ShortBuffer
ndelta_poc_s1_minus1(long struct)

Unsafe version of delta_poc_s1_minus1.

public static short
ndelta_poc_s1_minus1(long struct, int index)

Unsafe version of delta_poc_s1_minus1.

public static void
ndelta_poc_s1_minus1(long struct, ShortBuffer value)

Unsafe version of delta_poc_s1_minus1.

public static void
ndelta_poc_s1_minus1(long struct, int index, short value)

Unsafe version of delta_poc_s1_minus1.

public static StdVideoH265ShortTermRefPicSetFlags
nflags(long struct)

Unsafe version of flags.

public static void
nflags(long struct, StdVideoH265ShortTermRefPicSetFlags value)

Unsafe version of flags.

public static byte
nnum_negative_pics(long struct)

Unsafe version of num_negative_pics.

public static void
nnum_negative_pics(long struct, byte value)

Unsafe version of num_negative_pics.

public static byte
nnum_positive_pics(long struct)

Unsafe version of num_positive_pics.

public static void
nnum_positive_pics(long struct, byte value)

Unsafe version of num_positive_pics.

public static short
nreserved1(long struct)

public static void
nreserved1(long struct, short value)

public static byte
nreserved2(long struct)

public static void
nreserved2(long struct, byte value)

public static byte
nreserved3(long struct)

public static void
nreserved3(long struct, byte value)

public byte

Returns:

the value of the num_negative_pics field.
num_negative_pics
()

public StdVideoH265ShortTermRefPicSet
num_negative_pics(byte value)

Sets the specified value to the num_negative_pics field.

public byte

Returns:

the value of the num_positive_pics field.
num_positive_pics
()

public StdVideoH265ShortTermRefPicSet
num_positive_pics(byte value)

Sets the specified value to the num_positive_pics field.

public static short
nuse_delta_flag(long struct)

Unsafe version of use_delta_flag.

public static void
nuse_delta_flag(long struct, short value)

Unsafe version of use_delta_flag.

public static short
nused_by_curr_pic_flag(long struct)

Unsafe version of used_by_curr_pic_flag.

public static void
nused_by_curr_pic_flag(long struct, short value)

Unsafe version of used_by_curr_pic_flag.

public static short
nused_by_curr_pic_s0_flag(long struct)

Unsafe version of used_by_curr_pic_s0_flag.

public static void
nused_by_curr_pic_s0_flag(long struct, short value)

Unsafe version of used_by_curr_pic_s0_flag.

public static short
nused_by_curr_pic_s1_flag(long struct)

Unsafe version of used_by_curr_pic_s1_flag.

public static void
nused_by_curr_pic_s1_flag(long struct, short value)

Unsafe version of used_by_curr_pic_s1_flag.

public StdVideoH265ShortTermRefPicSet
set(StdVideoH265ShortTermRefPicSetFlags flags, int delta_idx_minus1, short use_delta_flag, short abs_delta_rps_minus1, short used_by_curr_pic_flag, short used_by_curr_pic_s0_flag, short used_by_curr_pic_s1_flag, byte num_negative_pics, byte num_positive_pics, ShortBuffer delta_poc_s0_minus1, ShortBuffer delta_poc_s1_minus1)

Initializes this struct with the specified values.

public StdVideoH265ShortTermRefPicSet

Returns:

this struct
set
(StdVideoH265ShortTermRefPicSet
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 short

Returns:

the value of the use_delta_flag field.
use_delta_flag
()

public StdVideoH265ShortTermRefPicSet
use_delta_flag(short value)

Sets the specified value to the use_delta_flag field.

public short

Returns:

the value of the used_by_curr_pic_flag field.
used_by_curr_pic_flag
()

public StdVideoH265ShortTermRefPicSet
used_by_curr_pic_flag(short value)

Sets the specified value to the used_by_curr_pic_flag field.

public short

Returns:

the value of the used_by_curr_pic_s0_flag field.
used_by_curr_pic_s0_flag
()

public StdVideoH265ShortTermRefPicSet
used_by_curr_pic_s0_flag(short value)

Sets the specified value to the used_by_curr_pic_s0_flag field.

public short

Returns:

the value of the used_by_curr_pic_s1_flag field.
used_by_curr_pic_s1_flag
()

public StdVideoH265ShortTermRefPicSet
used_by_curr_pic_s1_flag(short value)

Sets the specified value to the used_by_curr_pic_s1_flag field.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate