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

public Class StdVideoH264PictureParameterSet

extends Struct<StdVideoH264PictureParameterSet>
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 StdVideoH264PictureParameterSet {
    StdVideoH264PpsFlags flags;
    uint8_t seq_parameter_set_id;
    uint8_t pic_parameter_set_id;
    uint8_t num_ref_idx_l0_default_active_minus1;
    uint8_t num_ref_idx_l1_default_active_minus1;
    StdVideoH264WeightedBipredIdc weighted_bipred_idc;
    int8_t pic_init_qp_minus26;
    int8_t pic_init_qs_minus26;
    int8_t chroma_qp_index_offset;
    int8_t second_chroma_qp_index_offset;
    StdVideoH264ScalingLists const * pScalingLists;
}

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
CHROMA_QP_INDEX_OFFSET

The struct member offsets.

public static final int
FLAGS

The struct member offsets.

public static final int
NUM_REF_IDX_L0_DEFAULT_ACTIVE_MINUS1

The struct member offsets.

public static final int
NUM_REF_IDX_L1_DEFAULT_ACTIVE_MINUS1

The struct member offsets.

public static final int
PIC_INIT_QP_MINUS26

The struct member offsets.

public static final int
PIC_INIT_QS_MINUS26

The struct member offsets.

public static final int
PIC_PARAMETER_SET_ID

The struct member offsets.

public static final int
PSCALINGLISTS

The struct member offsets.

public static final int
SECOND_CHROMA_QP_INDEX_OFFSET

The struct member offsets.

public static final int
SEQ_PARAMETER_SET_ID

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
WEIGHTED_BIPRED_IDC

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
public
StdVideoH264PictureParameterSet(ByteBuffer container)

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

Method Summary

Modifier and TypeMethod and Description
public static StdVideoH264PictureParameterSet
calloc()

Returns a new StdVideoH264PictureParameterSet instance allocated with memCalloc.

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

Returns a new StdVideoH264PictureParameterSet.Buffer instance allocated with memCalloc.

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

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

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

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

public byte

Returns:

the value of the chroma_qp_index_offset field.
chroma_qp_index_offset
()

public StdVideoH264PictureParameterSet
chroma_qp_index_offset(byte value)

Sets the specified value to the chroma_qp_index_offset field.

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

Returns a new StdVideoH264PictureParameterSet instance allocated with BufferUtils.

public static StdVideoH264PictureParameterSet
create(long address)

Returns a new StdVideoH264PictureParameterSet instance for the specified memory address.

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

Returns a new StdVideoH264PictureParameterSet.Buffer instance allocated with BufferUtils.

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

Create a StdVideoH264PictureParameterSet.Buffer instance at the specified memory.

public static StdVideoH264PictureParameterSet
createSafe(long address)

Like create, but returns null if address is NULL.

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

Like create, but returns null if address is NULL.

public StdVideoH264PpsFlags

Returns:

a StdVideoH264PpsFlags view of the flags field.
flags
()

public StdVideoH264PictureParameterSet
flags(StdVideoH264PpsFlags value)

Copies the specified StdVideoH264PpsFlags to the flags field.

public StdVideoH264PictureParameterSet
flags(Consumer<StdVideoH264PpsFlags> consumer)

Passes the flags field to the specified Consumer.

public static StdVideoH264PictureParameterSet
malloc()

Returns a new StdVideoH264PictureParameterSet instance allocated with memAlloc.

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

Returns a new StdVideoH264PictureParameterSet.Buffer instance allocated with memAlloc.

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

Returns a new StdVideoH264PictureParameterSet instance allocated on the specified MemoryStack.

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

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

public static byte
nchroma_qp_index_offset(long struct)

Unsafe version of chroma_qp_index_offset.

public static void
nchroma_qp_index_offset(long struct, byte value)

Unsafe version of chroma_qp_index_offset.

public static StdVideoH264PpsFlags
nflags(long struct)

Unsafe version of flags.

public static void
nflags(long struct, StdVideoH264PpsFlags value)

Unsafe version of flags.

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

Unsafe version of pic_init_qp_minus26.

public static void
npic_init_qp_minus26(long struct, byte value)

Unsafe version of pic_init_qp_minus26.

public static byte
npic_init_qs_minus26(long struct)

Unsafe version of pic_init_qs_minus26.

public static void
npic_init_qs_minus26(long struct, byte value)

Unsafe version of pic_init_qs_minus26.

public static byte
npic_parameter_set_id(long struct)

Unsafe version of pic_parameter_set_id.

public static void
npic_parameter_set_id(long struct, byte value)

Unsafe version of pic_parameter_set_id.

public static StdVideoH264ScalingLists
npScalingLists(long struct)

Unsafe version of pScalingLists.

public static void
npScalingLists(long struct, StdVideoH264ScalingLists value)

Unsafe version of pScalingLists.

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

Unsafe version of second_chroma_qp_index_offset.

public static byte
nseq_parameter_set_id(long struct)

Unsafe version of seq_parameter_set_id.

public static void
nseq_parameter_set_id(long struct, byte value)

Unsafe version of seq_parameter_set_id.

public byte

Returns:

the value of the num_ref_idx_l0_default_active_minus1 field.
num_ref_idx_l0_default_active_minus1
()

public StdVideoH264PictureParameterSet
num_ref_idx_l0_default_active_minus1(byte value)

Sets the specified value to the num_ref_idx_l0_default_active_minus1 field.

public byte

Returns:

the value of the num_ref_idx_l1_default_active_minus1 field.
num_ref_idx_l1_default_active_minus1
()

public StdVideoH264PictureParameterSet
num_ref_idx_l1_default_active_minus1(byte value)

Sets the specified value to the num_ref_idx_l1_default_active_minus1 field.

public static int
nweighted_bipred_idc(long struct)

Unsafe version of weighted_bipred_idc.

public static void
nweighted_bipred_idc(long struct, int value)

Unsafe version of weighted_bipred_idc.

public byte

Returns:

the value of the pic_init_qp_minus26 field.
pic_init_qp_minus26
()

public StdVideoH264PictureParameterSet
pic_init_qp_minus26(byte value)

Sets the specified value to the pic_init_qp_minus26 field.

public byte

Returns:

the value of the pic_init_qs_minus26 field.
pic_init_qs_minus26
()

public StdVideoH264PictureParameterSet
pic_init_qs_minus26(byte value)

Sets the specified value to the pic_init_qs_minus26 field.

public byte

Returns:

the value of the pic_parameter_set_id field.
pic_parameter_set_id
()

public StdVideoH264PictureParameterSet
pic_parameter_set_id(byte value)

Sets the specified value to the pic_parameter_set_id field.

public StdVideoH264ScalingLists
pScalingLists()

must be a valid pointer if StdVideoH264PpsFlags::pic_scaling_matrix_present_flag is set

public StdVideoH264PictureParameterSet
pScalingLists(StdVideoH264ScalingLists value)

Sets the address of the specified StdVideoH264ScalingLists to the pScalingLists field.

public byte

Returns:

the value of the second_chroma_qp_index_offset field.
second_chroma_qp_index_offset
()

public StdVideoH264PictureParameterSet
second_chroma_qp_index_offset(byte value)

Sets the specified value to the second_chroma_qp_index_offset field.

public byte

Returns:

the value of the seq_parameter_set_id field.
seq_parameter_set_id
()

public StdVideoH264PictureParameterSet
seq_parameter_set_id(byte value)

Sets the specified value to the seq_parameter_set_id field.

public StdVideoH264PictureParameterSet
set(StdVideoH264PpsFlags flags, byte seq_parameter_set_id, byte pic_parameter_set_id, byte num_ref_idx_l0_default_active_minus1, byte num_ref_idx_l1_default_active_minus1, int weighted_bipred_idc, byte pic_init_qp_minus26, byte pic_init_qs_minus26, byte chroma_qp_index_offset, byte second_chroma_qp_index_offset, StdVideoH264ScalingLists pScalingLists)

Initializes this struct with the specified values.

public StdVideoH264PictureParameterSet

Returns:

this struct
set
(StdVideoH264PictureParameterSet
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 static void
validate(long
the struct to validate
struct
)

Validates pointer members that should not be NULL.

public int

Returns:

the value of the weighted_bipred_idc field.
weighted_bipred_idc
()

public StdVideoH264PictureParameterSet
weighted_bipred_idc(int value)

Sets the specified value to the weighted_bipred_idc field.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate