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

public Class StdVideoH265HrdParameters

extends Struct<StdVideoH265HrdParameters>
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 StdVideoH265HrdParameters {
    StdVideoH265HrdFlags flags;
    uint8_t tick_divisor_minus2;
    uint8_t du_cpb_removal_delay_increment_length_minus1;
    uint8_t dpb_output_delay_du_length_minus1;
    uint8_t bit_rate_scale;
    uint8_t cpb_size_scale;
    uint8_t cpb_size_du_scale;
    uint8_t initial_cpb_removal_delay_length_minus1;
    uint8_t au_cpb_removal_delay_length_minus1;
    uint8_t dpb_output_delay_length_minus1;
    uint8_t cpb_cnt_minus1[STD_VIDEO_H265_SUBLAYERS_LIST_SIZE];
    uint16_t elemental_duration_in_tc_minus1[STD_VIDEO_H265_SUBLAYERS_LIST_SIZE];
    uint16_t reserved[3];
    StdVideoH265SubLayerHrdParameters const * pSubLayerHrdParametersNal;
    StdVideoH265SubLayerHrdParameters const * pSubLayerHrdParametersVcl;
}

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
AU_CPB_REMOVAL_DELAY_LENGTH_MINUS1

The struct member offsets.

public static final int
BIT_RATE_SCALE

The struct member offsets.

public static final int
CPB_CNT_MINUS1

The struct member offsets.

public static final int
CPB_SIZE_DU_SCALE

The struct member offsets.

public static final int
CPB_SIZE_SCALE

The struct member offsets.

public static final int
DPB_OUTPUT_DELAY_DU_LENGTH_MINUS1

The struct member offsets.

public static final int
DPB_OUTPUT_DELAY_LENGTH_MINUS1

The struct member offsets.

public static final int
public static final int
ELEMENTAL_DURATION_IN_TC_MINUS1

The struct member offsets.

public static final int
FLAGS

The struct member offsets.

public static final int
INITIAL_CPB_REMOVAL_DELAY_LENGTH_MINUS1

The struct member offsets.

public static final int
PSUBLAYERHRDPARAMETERSNAL

The struct member offsets.

public static final int
PSUBLAYERHRDPARAMETERSVCL

The struct member offsets.

public static final int
RESERVED

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
TICK_DIVISOR_MINUS2

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

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

public
StdVideoH265HrdParameters(ByteBuffer container)

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

Method Summary

Modifier and TypeMethod and Description
public byte

Returns:

the value of the au_cpb_removal_delay_length_minus1 field.
au_cpb_removal_delay_length_minus1
()

public StdVideoH265HrdParameters
au_cpb_removal_delay_length_minus1(byte value)

Sets the specified value to the au_cpb_removal_delay_length_minus1 field.

public byte

Returns:

the value of the bit_rate_scale field.
bit_rate_scale
()

public StdVideoH265HrdParameters
bit_rate_scale(byte value)

Sets the specified value to the bit_rate_scale field.

public static StdVideoH265HrdParameters
calloc()

Returns a new StdVideoH265HrdParameters instance allocated with memCalloc.

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

Returns a new StdVideoH265HrdParameters.Buffer instance allocated with memCalloc.

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

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

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

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

public ByteBuffer

Returns:

a ByteBuffer view of the cpb_cnt_minus1 field.
cpb_cnt_minus1
()

public byte

Returns:

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

public StdVideoH265HrdParameters
cpb_cnt_minus1(ByteBuffer value)

Copies the specified ByteBuffer to the cpb_cnt_minus1 field.

public StdVideoH265HrdParameters
cpb_cnt_minus1(int index, byte value)

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

public byte

Returns:

the value of the cpb_size_du_scale field.
cpb_size_du_scale
()

public StdVideoH265HrdParameters
cpb_size_du_scale(byte value)

Sets the specified value to the cpb_size_du_scale field.

public byte

Returns:

the value of the cpb_size_scale field.
cpb_size_scale
()

public StdVideoH265HrdParameters
cpb_size_scale(byte value)

Sets the specified value to the cpb_size_scale field.

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

Returns a new StdVideoH265HrdParameters instance allocated with BufferUtils.

public static StdVideoH265HrdParameters
create(long address)

Returns a new StdVideoH265HrdParameters instance for the specified memory address.

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

Returns a new StdVideoH265HrdParameters.Buffer instance allocated with BufferUtils.

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

Create a StdVideoH265HrdParameters.Buffer instance at the specified memory.

public static StdVideoH265HrdParameters
createSafe(long address)

Like create, but returns null if address is NULL.

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

Like create, but returns null if address is NULL.

public byte

Returns:

the value of the dpb_output_delay_du_length_minus1 field.
dpb_output_delay_du_length_minus1
()

public StdVideoH265HrdParameters
dpb_output_delay_du_length_minus1(byte value)

Sets the specified value to the dpb_output_delay_du_length_minus1 field.

public byte

Returns:

the value of the dpb_output_delay_length_minus1 field.
dpb_output_delay_length_minus1
()

public StdVideoH265HrdParameters
dpb_output_delay_length_minus1(byte value)

Sets the specified value to the dpb_output_delay_length_minus1 field.

public byte

Returns:

the value of the du_cpb_removal_delay_increment_length_minus1 field.
du_cpb_removal_delay_increment_length_minus1
()

public StdVideoH265HrdParameters
du_cpb_removal_delay_increment_length_minus1(byte value)

Sets the specified value to the du_cpb_removal_delay_increment_length_minus1 field.

public ShortBuffer

Returns:

a ShortBuffer view of the elemental_duration_in_tc_minus1 field.
elemental_duration_in_tc_minus1
()

public short

Returns:

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

public StdVideoH265HrdParameters
elemental_duration_in_tc_minus1(ShortBuffer value)

Copies the specified ShortBuffer to the elemental_duration_in_tc_minus1 field.

public StdVideoH265HrdParameters
elemental_duration_in_tc_minus1(int index, short value)

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

public StdVideoH265HrdFlags

Returns:

a StdVideoH265HrdFlags view of the flags field.
flags
()

public StdVideoH265HrdParameters
flags(StdVideoH265HrdFlags value)

Copies the specified StdVideoH265HrdFlags to the flags field.

public StdVideoH265HrdParameters
flags(Consumer<StdVideoH265HrdFlags> consumer)

Passes the flags field to the specified Consumer.

public byte

Returns:

the value of the initial_cpb_removal_delay_length_minus1 field.
initial_cpb_removal_delay_length_minus1
()

public StdVideoH265HrdParameters
initial_cpb_removal_delay_length_minus1(byte value)

Sets the specified value to the initial_cpb_removal_delay_length_minus1 field.

public static StdVideoH265HrdParameters
malloc()

Returns a new StdVideoH265HrdParameters instance allocated with memAlloc.

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

Returns a new StdVideoH265HrdParameters.Buffer instance allocated with memAlloc.

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

Returns a new StdVideoH265HrdParameters instance allocated on the specified MemoryStack.

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

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

public static byte
public static void
public static byte
nbit_rate_scale(long struct)

Unsafe version of bit_rate_scale.

public static void
nbit_rate_scale(long struct, byte value)

Unsafe version of bit_rate_scale.

public static ByteBuffer
ncpb_cnt_minus1(long struct)

Unsafe version of cpb_cnt_minus1.

public static byte
ncpb_cnt_minus1(long struct, int index)

Unsafe version of cpb_cnt_minus1.

public static void
ncpb_cnt_minus1(long struct, ByteBuffer value)

Unsafe version of cpb_cnt_minus1.

public static void
ncpb_cnt_minus1(long struct, int index, byte value)

Unsafe version of cpb_cnt_minus1.

public static byte
ncpb_size_du_scale(long struct)

Unsafe version of cpb_size_du_scale.

public static void
ncpb_size_du_scale(long struct, byte value)

Unsafe version of cpb_size_du_scale.

public static byte
ncpb_size_scale(long struct)

Unsafe version of cpb_size_scale.

public static void
ncpb_size_scale(long struct, byte value)

Unsafe version of cpb_size_scale.

public static byte
public static void
ndpb_output_delay_du_length_minus1(long struct, byte value)

Unsafe version of dpb_output_delay_du_length_minus1.

public static byte
public static void
ndpb_output_delay_length_minus1(long struct, byte value)

Unsafe version of dpb_output_delay_length_minus1.

public static byte
public static void
public static ShortBuffer
public static short
nelemental_duration_in_tc_minus1(long struct, int index)

Unsafe version of elemental_duration_in_tc_minus1.

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

Unsafe version of elemental_duration_in_tc_minus1.

public static StdVideoH265HrdFlags
nflags(long struct)

Unsafe version of flags.

public static void
nflags(long struct, StdVideoH265HrdFlags value)

Unsafe version of flags.

public static byte
public static void
public static StdVideoH265SubLayerHrdParameters
public static void
public static StdVideoH265SubLayerHrdParameters
public static void
public static ShortBuffer
nreserved(long struct)

public static short
nreserved(long struct, int index)

public static void
nreserved(long struct, ShortBuffer value)

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

public static byte
ntick_divisor_minus2(long struct)

Unsafe version of tick_divisor_minus2.

public static void
ntick_divisor_minus2(long struct, byte value)

Unsafe version of tick_divisor_minus2.

public StdVideoH265SubLayerHrdParameters
pSubLayerHrdParametersNal()

NAL per layer ptr to sub_layer_hrd_parameters

public StdVideoH265HrdParameters
public StdVideoH265SubLayerHrdParameters
pSubLayerHrdParametersVcl()

VCL per layer ptr to sub_layer_hrd_parameters

public StdVideoH265HrdParameters
public StdVideoH265HrdParameters
set(StdVideoH265HrdFlags flags, byte tick_divisor_minus2, byte du_cpb_removal_delay_increment_length_minus1, byte dpb_output_delay_du_length_minus1, byte bit_rate_scale, byte cpb_size_scale, byte cpb_size_du_scale, byte initial_cpb_removal_delay_length_minus1, byte au_cpb_removal_delay_length_minus1, byte dpb_output_delay_length_minus1, ByteBuffer cpb_cnt_minus1, ShortBuffer elemental_duration_in_tc_minus1, StdVideoH265SubLayerHrdParameters pSubLayerHrdParametersNal, StdVideoH265SubLayerHrdParameters pSubLayerHrdParametersVcl)

Initializes this struct with the specified values.

public StdVideoH265HrdParameters

Returns:

this struct
set
(StdVideoH265HrdParameters
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 tick_divisor_minus2 field.
tick_divisor_minus2
()

public StdVideoH265HrdParameters
tick_divisor_minus2(byte value)

Sets the specified value to the tick_divisor_minus2 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