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

public Class StdVideoH264SequenceParameterSetVui

extends Struct<StdVideoH264SequenceParameterSetVui>
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 StdVideoH264SequenceParameterSetVui {
    StdVideoH264SpsVuiFlags flags;
    StdVideoH264AspectRatioIdc aspect_ratio_idc;
    uint16_t sar_width;
    uint16_t sar_height;
    uint8_t video_format;
    uint8_t colour_primaries;
    uint8_t transfer_characteristics;
    uint8_t matrix_coefficients;
    uint32_t num_units_in_tick;
    uint32_t time_scale;
    uint8_t max_num_reorder_frames;
    uint8_t max_dec_frame_buffering;
    uint8_t chroma_sample_loc_type_top_field;
    uint8_t chroma_sample_loc_type_bottom_field;
    uint32_t reserved1;
    StdVideoH264HrdParameters const * pHrdParameters;
}

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
ASPECT_RATIO_IDC

The struct member offsets.

public static final int
CHROMA_SAMPLE_LOC_TYPE_BOTTOM_FIELD

The struct member offsets.

public static final int
CHROMA_SAMPLE_LOC_TYPE_TOP_FIELD

The struct member offsets.

public static final int
COLOUR_PRIMARIES

The struct member offsets.

public static final int
FLAGS

The struct member offsets.

public static final int
MATRIX_COEFFICIENTS

The struct member offsets.

public static final int
MAX_DEC_FRAME_BUFFERING

The struct member offsets.

public static final int
MAX_NUM_REORDER_FRAMES

The struct member offsets.

public static final int
NUM_UNITS_IN_TICK

The struct member offsets.

public static final int
PHRDPARAMETERS

The struct member offsets.

public static final int
RESERVED1

The struct member offsets.

public static final int
SAR_HEIGHT

The struct member offsets.

public static final int
SAR_WIDTH

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
TIME_SCALE

The struct member offsets.

public static final int
TRANSFER_CHARACTERISTICS

The struct member offsets.

public static final int
VIDEO_FORMAT

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
public
StdVideoH264SequenceParameterSetVui(ByteBuffer container)

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

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

the value of the aspect_ratio_idc field.
aspect_ratio_idc
()

public StdVideoH264SequenceParameterSetVui
aspect_ratio_idc(int value)

Sets the specified value to the aspect_ratio_idc field.

public static StdVideoH264SequenceParameterSetVui
calloc()

Returns a new StdVideoH264SequenceParameterSetVui instance allocated with memCalloc.

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

Returns a new StdVideoH264SequenceParameterSetVui.Buffer instance allocated with memCalloc.

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

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

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

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

public byte

Returns:

the value of the chroma_sample_loc_type_bottom_field field.
chroma_sample_loc_type_bottom_field
()

public StdVideoH264SequenceParameterSetVui
chroma_sample_loc_type_bottom_field(byte value)

Sets the specified value to the chroma_sample_loc_type_bottom_field field.

public byte

Returns:

the value of the chroma_sample_loc_type_top_field field.
chroma_sample_loc_type_top_field
()

public StdVideoH264SequenceParameterSetVui
chroma_sample_loc_type_top_field(byte value)

Sets the specified value to the chroma_sample_loc_type_top_field field.

public byte

Returns:

the value of the colour_primaries field.
colour_primaries
()

public StdVideoH264SequenceParameterSetVui
colour_primaries(byte value)

Sets the specified value to the colour_primaries field.

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

Returns a new StdVideoH264SequenceParameterSetVui instance allocated with BufferUtils.

public static StdVideoH264SequenceParameterSetVui
create(long address)

Returns a new StdVideoH264SequenceParameterSetVui instance for the specified memory address.

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

Returns a new StdVideoH264SequenceParameterSetVui.Buffer instance allocated with BufferUtils.

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

Create a StdVideoH264SequenceParameterSetVui.Buffer instance at the specified memory.

public static StdVideoH264SequenceParameterSetVui
createSafe(long address)

Like create, but returns null if address is NULL.

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

Like create, but returns null if address is NULL.

public StdVideoH264SpsVuiFlags

Returns:

a StdVideoH264SpsVuiFlags view of the flags field.
flags
()

public StdVideoH264SequenceParameterSetVui
flags(StdVideoH264SpsVuiFlags value)

Copies the specified StdVideoH264SpsVuiFlags to the flags field.

public StdVideoH264SequenceParameterSetVui
flags(Consumer<StdVideoH264SpsVuiFlags> consumer)

Passes the flags field to the specified Consumer.

public static StdVideoH264SequenceParameterSetVui
malloc()

Returns a new StdVideoH264SequenceParameterSetVui instance allocated with memAlloc.

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

Returns a new StdVideoH264SequenceParameterSetVui.Buffer instance allocated with memAlloc.

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

Returns a new StdVideoH264SequenceParameterSetVui instance allocated on the specified MemoryStack.

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

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

public byte

Returns:

the value of the matrix_coefficients field.
matrix_coefficients
()

public StdVideoH264SequenceParameterSetVui
matrix_coefficients(byte value)

Sets the specified value to the matrix_coefficients field.

public byte

Returns:

the value of the max_dec_frame_buffering field.
max_dec_frame_buffering
()

public StdVideoH264SequenceParameterSetVui
max_dec_frame_buffering(byte value)

Sets the specified value to the max_dec_frame_buffering field.

public byte

Returns:

the value of the max_num_reorder_frames field.
max_num_reorder_frames
()

public StdVideoH264SequenceParameterSetVui
max_num_reorder_frames(byte value)

Sets the specified value to the max_num_reorder_frames field.

public static int
naspect_ratio_idc(long struct)

Unsafe version of aspect_ratio_idc.

public static void
naspect_ratio_idc(long struct, int value)

Unsafe version of aspect_ratio_idc.

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

Unsafe version of chroma_sample_loc_type_top_field.

public static byte
ncolour_primaries(long struct)

Unsafe version of colour_primaries.

public static void
ncolour_primaries(long struct, byte value)

Unsafe version of colour_primaries.

public static StdVideoH264SpsVuiFlags
nflags(long struct)

Unsafe version of flags.

public static void
nflags(long struct, StdVideoH264SpsVuiFlags value)

Unsafe version of flags.

public static byte
nmatrix_coefficients(long struct)

Unsafe version of matrix_coefficients.

public static void
nmatrix_coefficients(long struct, byte value)

Unsafe version of matrix_coefficients.

public static byte
nmax_dec_frame_buffering(long struct)

Unsafe version of max_dec_frame_buffering.

public static void
nmax_dec_frame_buffering(long struct, byte value)

Unsafe version of max_dec_frame_buffering.

public static byte
nmax_num_reorder_frames(long struct)

Unsafe version of max_num_reorder_frames.

public static void
nmax_num_reorder_frames(long struct, byte value)

Unsafe version of max_num_reorder_frames.

public static int
nnum_units_in_tick(long struct)

Unsafe version of num_units_in_tick.

public static void
nnum_units_in_tick(long struct, int value)

Unsafe version of num_units_in_tick.

public static StdVideoH264HrdParameters
npHrdParameters(long struct)

Unsafe version of pHrdParameters.

public static void
npHrdParameters(long struct, StdVideoH264HrdParameters value)

Unsafe version of pHrdParameters.

public static int
nreserved1(long struct)

public static void
nreserved1(long struct, int value)

public static short
nsar_height(long struct)

Unsafe version of sar_height.

public static void
nsar_height(long struct, short value)

Unsafe version of sar_height.

public static short
nsar_width(long struct)

Unsafe version of sar_width.

public static void
nsar_width(long struct, short value)

Unsafe version of sar_width.

public static int
ntime_scale(long struct)

Unsafe version of time_scale.

public static void
ntime_scale(long struct, int value)

Unsafe version of time_scale.

public static byte
ntransfer_characteristics(long struct)

Unsafe version of transfer_characteristics.

public static void
ntransfer_characteristics(long struct, byte value)

Unsafe version of transfer_characteristics.

public int

Returns:

the value of the num_units_in_tick field.
num_units_in_tick
()

public StdVideoH264SequenceParameterSetVui
num_units_in_tick(int value)

Sets the specified value to the num_units_in_tick field.

public static byte
nvideo_format(long struct)

Unsafe version of video_format.

public static void
nvideo_format(long struct, byte value)

Unsafe version of video_format.

public StdVideoH264HrdParameters
pHrdParameters()

must be a valid ptr to hrd_parameters, if nal_hrd_parameters_present_flag or vcl_hrd_parameters_present_flag are set

public StdVideoH264SequenceParameterSetVui
pHrdParameters(StdVideoH264HrdParameters value)

Sets the address of the specified StdVideoH264HrdParameters to the pHrdParameters field.

public short

Returns:

the value of the sar_height field.
sar_height
()

public StdVideoH264SequenceParameterSetVui
sar_height(short value)

Sets the specified value to the sar_height field.

public short

Returns:

the value of the sar_width field.
sar_width
()

public StdVideoH264SequenceParameterSetVui
sar_width(short value)

Sets the specified value to the sar_width field.

public StdVideoH264SequenceParameterSetVui
set(StdVideoH264SpsVuiFlags flags, int aspect_ratio_idc, short sar_width, short sar_height, byte video_format, byte colour_primaries, byte transfer_characteristics, byte matrix_coefficients, int num_units_in_tick, int time_scale, byte max_num_reorder_frames, byte max_dec_frame_buffering, byte chroma_sample_loc_type_top_field, byte chroma_sample_loc_type_bottom_field, StdVideoH264HrdParameters pHrdParameters)

Initializes this struct with the specified values.

public StdVideoH264SequenceParameterSetVui

Returns:

this struct
set
(StdVideoH264SequenceParameterSetVui
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_scale field.
time_scale
()

public StdVideoH264SequenceParameterSetVui
time_scale(int value)

Sets the specified value to the time_scale field.

public byte

Returns:

the value of the transfer_characteristics field.
transfer_characteristics
()

public StdVideoH264SequenceParameterSetVui
transfer_characteristics(byte value)

Sets the specified value to the transfer_characteristics field.

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

Validates pointer members that should not be NULL.

public byte

Returns:

the value of the video_format field.
video_format
()

public StdVideoH264SequenceParameterSetVui
video_format(byte value)

Sets the specified value to the video_format field.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate