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

public Class StdVideoH264HrdParameters

extends Struct<StdVideoH264HrdParameters>
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 StdVideoH264HrdParameters {
    uint8_t cpb_cnt_minus1;
    uint8_t bit_rate_scale;
    uint8_t cpb_size_scale;
    uint8_t reserved1;
    uint32_t bit_rate_value_minus1[STD_VIDEO_H264_CPB_CNT_LIST_SIZE];
    uint32_t cpb_size_value_minus1[STD_VIDEO_H264_CPB_CNT_LIST_SIZE];
    uint8_t cbr_flag[STD_VIDEO_H264_CPB_CNT_LIST_SIZE];
    uint32_t initial_cpb_removal_delay_length_minus1;
    uint32_t cpb_removal_delay_length_minus1;
    uint32_t dpb_output_delay_length_minus1;
    uint32_t time_offset_length;
}

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
BIT_RATE_SCALE

The struct member offsets.

public static final int
BIT_RATE_VALUE_MINUS1

The struct member offsets.

public static final int
CBR_FLAG

The struct member offsets.

public static final int
CPB_CNT_MINUS1

The struct member offsets.

public static final int
CPB_REMOVAL_DELAY_LENGTH_MINUS1

The struct member offsets.

public static final int
CPB_SIZE_SCALE

The struct member offsets.

public static final int
CPB_SIZE_VALUE_MINUS1

The struct member offsets.

public static final int
DPB_OUTPUT_DELAY_LENGTH_MINUS1

The struct member offsets.

public static final int
INITIAL_CPB_REMOVAL_DELAY_LENGTH_MINUS1

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
TIME_OFFSET_LENGTH

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

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

public
StdVideoH264HrdParameters(ByteBuffer container)

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

Method Summary

Modifier and TypeMethod and Description
public byte

Returns:

the value of the bit_rate_scale field.
bit_rate_scale
()

public StdVideoH264HrdParameters
bit_rate_scale(byte value)

Sets the specified value to the bit_rate_scale field.

public IntBuffer

Returns:

a IntBuffer view of the bit_rate_value_minus1 field.
bit_rate_value_minus1
()

public int

Returns:

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

public StdVideoH264HrdParameters
bit_rate_value_minus1(IntBuffer value)

Copies the specified IntBuffer to the bit_rate_value_minus1 field.

public StdVideoH264HrdParameters
bit_rate_value_minus1(int index, int value)

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

public static StdVideoH264HrdParameters
calloc()

Returns a new StdVideoH264HrdParameters instance allocated with memCalloc.

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

Returns a new StdVideoH264HrdParameters.Buffer instance allocated with memCalloc.

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

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

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

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

public ByteBuffer

Returns:

a ByteBuffer view of the cbr_flag field.
cbr_flag
()

public byte

Returns:

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

public StdVideoH264HrdParameters
cbr_flag(ByteBuffer value)

Copies the specified ByteBuffer to the cbr_flag field.

public StdVideoH264HrdParameters
cbr_flag(int index, byte value)

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

public byte

Returns:

the value of the cpb_cnt_minus1 field.
cpb_cnt_minus1
()

public StdVideoH264HrdParameters
cpb_cnt_minus1(byte value)

Sets the specified value to the cpb_cnt_minus1 field.

public int

Returns:

the value of the cpb_removal_delay_length_minus1 field.
cpb_removal_delay_length_minus1
()

public StdVideoH264HrdParameters
cpb_removal_delay_length_minus1(int value)

Sets the specified value to the cpb_removal_delay_length_minus1 field.

public byte

Returns:

the value of the cpb_size_scale field.
cpb_size_scale
()

public StdVideoH264HrdParameters
cpb_size_scale(byte value)

Sets the specified value to the cpb_size_scale field.

public IntBuffer

Returns:

a IntBuffer view of the cpb_size_value_minus1 field.
cpb_size_value_minus1
()

public int

Returns:

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

public StdVideoH264HrdParameters
cpb_size_value_minus1(IntBuffer value)

Copies the specified IntBuffer to the cpb_size_value_minus1 field.

public StdVideoH264HrdParameters
cpb_size_value_minus1(int index, int value)

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

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

Returns a new StdVideoH264HrdParameters instance allocated with BufferUtils.

public static StdVideoH264HrdParameters
create(long address)

Returns a new StdVideoH264HrdParameters instance for the specified memory address.

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

Returns a new StdVideoH264HrdParameters.Buffer instance allocated with BufferUtils.

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

Create a StdVideoH264HrdParameters.Buffer instance at the specified memory.

public static StdVideoH264HrdParameters
createSafe(long address)

Like create, but returns null if address is NULL.

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

Like create, but returns null if address is NULL.

public int

Returns:

the value of the dpb_output_delay_length_minus1 field.
dpb_output_delay_length_minus1
()

public StdVideoH264HrdParameters
dpb_output_delay_length_minus1(int value)

Sets the specified value to the dpb_output_delay_length_minus1 field.

public int

Returns:

the value of the initial_cpb_removal_delay_length_minus1 field.
initial_cpb_removal_delay_length_minus1
()

public StdVideoH264HrdParameters
initial_cpb_removal_delay_length_minus1(int value)

Sets the specified value to the initial_cpb_removal_delay_length_minus1 field.

public static StdVideoH264HrdParameters
malloc()

Returns a new StdVideoH264HrdParameters instance allocated with memAlloc.

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

Returns a new StdVideoH264HrdParameters.Buffer instance allocated with memAlloc.

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

Returns a new StdVideoH264HrdParameters instance allocated on the specified MemoryStack.

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

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

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 IntBuffer
nbit_rate_value_minus1(long struct)

Unsafe version of bit_rate_value_minus1.

public static int
nbit_rate_value_minus1(long struct, int index)

Unsafe version of bit_rate_value_minus1.

public static void
nbit_rate_value_minus1(long struct, IntBuffer value)

Unsafe version of bit_rate_value_minus1.

public static void
nbit_rate_value_minus1(long struct, int index, int value)

Unsafe version of bit_rate_value_minus1.

public static ByteBuffer
ncbr_flag(long struct)

Unsafe version of cbr_flag.

public static byte
ncbr_flag(long struct, int index)

Unsafe version of cbr_flag.

public static void
ncbr_flag(long struct, ByteBuffer value)

Unsafe version of cbr_flag.

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

Unsafe version of cbr_flag.

public static byte
ncpb_cnt_minus1(long struct)

Unsafe version of cpb_cnt_minus1.

public static void
ncpb_cnt_minus1(long struct, byte value)

Unsafe version of cpb_cnt_minus1.

public static int
public static void
ncpb_removal_delay_length_minus1(long struct, int value)

Unsafe version of cpb_removal_delay_length_minus1.

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 IntBuffer
ncpb_size_value_minus1(long struct)

Unsafe version of cpb_size_value_minus1.

public static int
ncpb_size_value_minus1(long struct, int index)

Unsafe version of cpb_size_value_minus1.

public static void
ncpb_size_value_minus1(long struct, IntBuffer value)

Unsafe version of cpb_size_value_minus1.

public static void
ncpb_size_value_minus1(long struct, int index, int value)

Unsafe version of cpb_size_value_minus1.

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

Unsafe version of dpb_output_delay_length_minus1.

public static int
public static void
public static byte
nreserved1(long struct)

public static void
nreserved1(long struct, byte value)

public static int
ntime_offset_length(long struct)

Unsafe version of time_offset_length.

public static void
ntime_offset_length(long struct, int value)

Unsafe version of time_offset_length.

public StdVideoH264HrdParameters
set(byte cpb_cnt_minus1, byte bit_rate_scale, byte cpb_size_scale, IntBuffer bit_rate_value_minus1, IntBuffer cpb_size_value_minus1, ByteBuffer cbr_flag, int initial_cpb_removal_delay_length_minus1, int cpb_removal_delay_length_minus1, int dpb_output_delay_length_minus1, int time_offset_length)

Initializes this struct with the specified values.

public StdVideoH264HrdParameters

Returns:

this struct
set
(StdVideoH264HrdParameters
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 int

Returns:

the value of the time_offset_length field.
time_offset_length
()

public StdVideoH264HrdParameters
time_offset_length(int value)

Sets the specified value to the time_offset_length field.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate