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

public Class StdVideoH265SequenceParameterSetVui

extends Struct<StdVideoH265SequenceParameterSetVui>
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 StdVideoH265SequenceParameterSetVui {
    StdVideoH265SpsVuiFlags flags;
    StdVideoH265AspectRatioIdc 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_coeffs;
    uint8_t chroma_sample_loc_type_top_field;
    uint8_t chroma_sample_loc_type_bottom_field;
    uint8_t reserved1;
    uint8_t reserved2;
    uint16_t def_disp_win_left_offset;
    uint16_t def_disp_win_right_offset;
    uint16_t def_disp_win_top_offset;
    uint16_t def_disp_win_bottom_offset;
    uint32_t vui_num_units_in_tick;
    uint32_t vui_time_scale;
    uint32_t vui_num_ticks_poc_diff_one_minus1;
    uint16_t min_spatial_segmentation_idc;
    uint16_t reserved3;
    uint8_t max_bytes_per_pic_denom;
    uint8_t max_bits_per_min_cu_denom;
    uint8_t log2_max_mv_length_horizontal;
    uint8_t log2_max_mv_length_vertical;
    StdVideoH265HrdParameters 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
DEF_DISP_WIN_BOTTOM_OFFSET

The struct member offsets.

public static final int
DEF_DISP_WIN_LEFT_OFFSET

The struct member offsets.

public static final int
DEF_DISP_WIN_RIGHT_OFFSET

The struct member offsets.

public static final int
DEF_DISP_WIN_TOP_OFFSET

The struct member offsets.

public static final int
FLAGS

The struct member offsets.

public static final int
LOG2_MAX_MV_LENGTH_HORIZONTAL

The struct member offsets.

public static final int
LOG2_MAX_MV_LENGTH_VERTICAL

The struct member offsets.

public static final int
MATRIX_COEFFS

The struct member offsets.

public static final int
MAX_BITS_PER_MIN_CU_DENOM

The struct member offsets.

public static final int
MAX_BYTES_PER_PIC_DENOM

The struct member offsets.

public static final int
MIN_SPATIAL_SEGMENTATION_IDC

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
RESERVED2

The struct member offsets.

public static final int
RESERVED3

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
TRANSFER_CHARACTERISTICS

The struct member offsets.

public static final int
VIDEO_FORMAT

The struct member offsets.

public static final int
VUI_NUM_TICKS_POC_DIFF_ONE_MINUS1

The struct member offsets.

public static final int
VUI_NUM_UNITS_IN_TICK

The struct member offsets.

public static final int
VUI_TIME_SCALE

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
public
StdVideoH265SequenceParameterSetVui(ByteBuffer container)

Creates a StdVideoH265SequenceParameterSetVui 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 StdVideoH265SequenceParameterSetVui
aspect_ratio_idc(int value)

Sets the specified value to the aspect_ratio_idc field.

public static StdVideoH265SequenceParameterSetVui
calloc()

Returns a new StdVideoH265SequenceParameterSetVui instance allocated with memCalloc.

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

Returns a new StdVideoH265SequenceParameterSetVui.Buffer instance allocated with memCalloc.

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

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

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

Returns a new StdVideoH265SequenceParameterSetVui.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 StdVideoH265SequenceParameterSetVui
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 StdVideoH265SequenceParameterSetVui
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 StdVideoH265SequenceParameterSetVui
colour_primaries(byte value)

Sets the specified value to the colour_primaries field.

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

Returns a new StdVideoH265SequenceParameterSetVui instance allocated with BufferUtils.

public static StdVideoH265SequenceParameterSetVui
create(long address)

Returns a new StdVideoH265SequenceParameterSetVui instance for the specified memory address.

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

Returns a new StdVideoH265SequenceParameterSetVui.Buffer instance allocated with BufferUtils.

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

Create a StdVideoH265SequenceParameterSetVui.Buffer instance at the specified memory.

public static StdVideoH265SequenceParameterSetVui
createSafe(long address)

Like create, but returns null if address is NULL.

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

Like create, but returns null if address is NULL.

public short

Returns:

the value of the def_disp_win_bottom_offset field.
def_disp_win_bottom_offset
()

public StdVideoH265SequenceParameterSetVui
def_disp_win_bottom_offset(short value)

Sets the specified value to the def_disp_win_bottom_offset field.

public short

Returns:

the value of the def_disp_win_left_offset field.
def_disp_win_left_offset
()

public StdVideoH265SequenceParameterSetVui
def_disp_win_left_offset(short value)

Sets the specified value to the def_disp_win_left_offset field.

public short

Returns:

the value of the def_disp_win_right_offset field.
def_disp_win_right_offset
()

public StdVideoH265SequenceParameterSetVui
def_disp_win_right_offset(short value)

Sets the specified value to the def_disp_win_right_offset field.

public short

Returns:

the value of the def_disp_win_top_offset field.
def_disp_win_top_offset
()

public StdVideoH265SequenceParameterSetVui
def_disp_win_top_offset(short value)

Sets the specified value to the def_disp_win_top_offset field.

public StdVideoH265SpsVuiFlags

Returns:

a StdVideoH265SpsVuiFlags view of the flags field.
flags
()

public StdVideoH265SequenceParameterSetVui
flags(StdVideoH265SpsVuiFlags value)

Copies the specified StdVideoH265SpsVuiFlags to the flags field.

public StdVideoH265SequenceParameterSetVui
flags(Consumer<StdVideoH265SpsVuiFlags> consumer)

Passes the flags field to the specified Consumer.

public byte

Returns:

the value of the log2_max_mv_length_horizontal field.
log2_max_mv_length_horizontal
()

public StdVideoH265SequenceParameterSetVui
log2_max_mv_length_horizontal(byte value)

Sets the specified value to the log2_max_mv_length_horizontal field.

public byte

Returns:

the value of the log2_max_mv_length_vertical field.
log2_max_mv_length_vertical
()

public StdVideoH265SequenceParameterSetVui
log2_max_mv_length_vertical(byte value)

Sets the specified value to the log2_max_mv_length_vertical field.

public static StdVideoH265SequenceParameterSetVui
malloc()

Returns a new StdVideoH265SequenceParameterSetVui instance allocated with memAlloc.

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

Returns a new StdVideoH265SequenceParameterSetVui.Buffer instance allocated with memAlloc.

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

Returns a new StdVideoH265SequenceParameterSetVui instance allocated on the specified MemoryStack.

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

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

public byte

Returns:

the value of the matrix_coeffs field.
matrix_coeffs
()

public StdVideoH265SequenceParameterSetVui
matrix_coeffs(byte value)

Sets the specified value to the matrix_coeffs field.

public byte

Returns:

the value of the max_bits_per_min_cu_denom field.
max_bits_per_min_cu_denom
()

public StdVideoH265SequenceParameterSetVui
max_bits_per_min_cu_denom(byte value)

Sets the specified value to the max_bits_per_min_cu_denom field.

public byte

Returns:

the value of the max_bytes_per_pic_denom field.
max_bytes_per_pic_denom
()

public StdVideoH265SequenceParameterSetVui
max_bytes_per_pic_denom(byte value)

Sets the specified value to the max_bytes_per_pic_denom field.

public short

Returns:

the value of the min_spatial_segmentation_idc field.
min_spatial_segmentation_idc
()

public StdVideoH265SequenceParameterSetVui
min_spatial_segmentation_idc(short value)

Sets the specified value to the min_spatial_segmentation_idc 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 short
public static void
ndef_disp_win_bottom_offset(long struct, short value)

Unsafe version of def_disp_win_bottom_offset.

public static short
ndef_disp_win_left_offset(long struct)

Unsafe version of def_disp_win_left_offset.

public static void
ndef_disp_win_left_offset(long struct, short value)

Unsafe version of def_disp_win_left_offset.

public static short
public static void
ndef_disp_win_right_offset(long struct, short value)

Unsafe version of def_disp_win_right_offset.

public static short
ndef_disp_win_top_offset(long struct)

Unsafe version of def_disp_win_top_offset.

public static void
ndef_disp_win_top_offset(long struct, short value)

Unsafe version of def_disp_win_top_offset.

public static StdVideoH265SpsVuiFlags
nflags(long struct)

Unsafe version of flags.

public static void
nflags(long struct, StdVideoH265SpsVuiFlags value)

Unsafe version of flags.

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

Unsafe version of log2_max_mv_length_horizontal.

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

Unsafe version of log2_max_mv_length_vertical.

public static byte
nmatrix_coeffs(long struct)

Unsafe version of matrix_coeffs.

public static void
nmatrix_coeffs(long struct, byte value)

Unsafe version of matrix_coeffs.

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

Unsafe version of max_bits_per_min_cu_denom.

public static byte
nmax_bytes_per_pic_denom(long struct)

Unsafe version of max_bytes_per_pic_denom.

public static void
nmax_bytes_per_pic_denom(long struct, byte value)

Unsafe version of max_bytes_per_pic_denom.

public static short
public static void
nmin_spatial_segmentation_idc(long struct, short value)

Unsafe version of min_spatial_segmentation_idc.

public static StdVideoH265HrdParameters
npHrdParameters(long struct)

Unsafe version of pHrdParameters.

public static void
npHrdParameters(long struct, StdVideoH265HrdParameters value)

Unsafe version of pHrdParameters.

public static byte
nreserved1(long struct)

public static void
nreserved1(long struct, byte value)

public static byte
nreserved2(long struct)

public static void
nreserved2(long struct, byte value)

public static short
nreserved3(long struct)

public static void
nreserved3(long struct, short 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 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 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 static int
public static void
public static int
nvui_num_units_in_tick(long struct)

Unsafe version of vui_num_units_in_tick.

public static void
nvui_num_units_in_tick(long struct, int value)

Unsafe version of vui_num_units_in_tick.

public static int
nvui_time_scale(long struct)

Unsafe version of vui_time_scale.

public static void
nvui_time_scale(long struct, int value)

Unsafe version of vui_time_scale.

public StdVideoH265HrdParameters

Returns:

a StdVideoH265HrdParameters view of the struct pointed to by the pHrdParameters field.
pHrdParameters
()

public StdVideoH265SequenceParameterSetVui
pHrdParameters(StdVideoH265HrdParameters value)

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

public short

Returns:

the value of the sar_height field.
sar_height
()

public StdVideoH265SequenceParameterSetVui
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 StdVideoH265SequenceParameterSetVui
sar_width(short value)

Sets the specified value to the sar_width field.

public StdVideoH265SequenceParameterSetVui
set(StdVideoH265SpsVuiFlags flags, int aspect_ratio_idc, short sar_width, short sar_height, byte video_format, byte colour_primaries, byte transfer_characteristics, byte matrix_coeffs, byte chroma_sample_loc_type_top_field, byte chroma_sample_loc_type_bottom_field, short def_disp_win_left_offset, short def_disp_win_right_offset, short def_disp_win_top_offset, short def_disp_win_bottom_offset, int vui_num_units_in_tick, int vui_time_scale, int vui_num_ticks_poc_diff_one_minus1, short min_spatial_segmentation_idc, byte max_bytes_per_pic_denom, byte max_bits_per_min_cu_denom, byte log2_max_mv_length_horizontal, byte log2_max_mv_length_vertical, StdVideoH265HrdParameters pHrdParameters)

Initializes this struct with the specified values.

public StdVideoH265SequenceParameterSetVui

Returns:

this struct
set
(StdVideoH265SequenceParameterSetVui
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 transfer_characteristics field.
transfer_characteristics
()

public StdVideoH265SequenceParameterSetVui
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 StdVideoH265SequenceParameterSetVui
video_format(byte value)

Sets the specified value to the video_format field.

public int

Returns:

the value of the vui_num_ticks_poc_diff_one_minus1 field.
vui_num_ticks_poc_diff_one_minus1
()

public StdVideoH265SequenceParameterSetVui
vui_num_ticks_poc_diff_one_minus1(int value)

Sets the specified value to the vui_num_ticks_poc_diff_one_minus1 field.

public int

Returns:

the value of the vui_num_units_in_tick field.
vui_num_units_in_tick
()

public StdVideoH265SequenceParameterSetVui
vui_num_units_in_tick(int value)

Sets the specified value to the vui_num_units_in_tick field.

public int

Returns:

the value of the vui_time_scale field.
vui_time_scale
()

public StdVideoH265SequenceParameterSetVui
vui_time_scale(int value)

Sets the specified value to the vui_time_scale field.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate