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

public Class StdVideoH264SequenceParameterSet

extends Struct<StdVideoH264SequenceParameterSet>
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 StdVideoH264SequenceParameterSet {
    StdVideoH264SpsFlags flags;
    StdVideoH264ProfileIdc profile_idc;
    StdVideoH264LevelIdc level_idc;
    StdVideoH264ChromaFormatIdc chroma_format_idc;
    uint8_t seq_parameter_set_id;
    uint8_t bit_depth_luma_minus8;
    uint8_t bit_depth_chroma_minus8;
    uint8_t log2_max_frame_num_minus4;
    StdVideoH264PocType pic_order_cnt_type;
    int32_t offset_for_non_ref_pic;
    int32_t offset_for_top_to_bottom_field;
    uint8_t log2_max_pic_order_cnt_lsb_minus4;
    uint8_t num_ref_frames_in_pic_order_cnt_cycle;
    uint8_t max_num_ref_frames;
    uint8_t reserved1;
    uint32_t pic_width_in_mbs_minus1;
    uint32_t pic_height_in_map_units_minus1;
    uint32_t frame_crop_left_offset;
    uint32_t frame_crop_right_offset;
    uint32_t frame_crop_top_offset;
    uint32_t frame_crop_bottom_offset;
    uint32_t reserved2;
    int32_t const * pOffsetForRefFrame;
    StdVideoH264ScalingLists const * pScalingLists;
    StdVideoH264SequenceParameterSetVui const * pSequenceParameterSetVui;
}

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_DEPTH_CHROMA_MINUS8

The struct member offsets.

public static final int
BIT_DEPTH_LUMA_MINUS8

The struct member offsets.

public static final int
CHROMA_FORMAT_IDC

The struct member offsets.

public static final int
FLAGS

The struct member offsets.

public static final int
FRAME_CROP_BOTTOM_OFFSET

The struct member offsets.

public static final int
FRAME_CROP_LEFT_OFFSET

The struct member offsets.

public static final int
FRAME_CROP_RIGHT_OFFSET

The struct member offsets.

public static final int
FRAME_CROP_TOP_OFFSET

The struct member offsets.

public static final int
LEVEL_IDC

The struct member offsets.

public static final int
LOG2_MAX_FRAME_NUM_MINUS4

The struct member offsets.

public static final int
LOG2_MAX_PIC_ORDER_CNT_LSB_MINUS4

The struct member offsets.

public static final int
MAX_NUM_REF_FRAMES

The struct member offsets.

public static final int
NUM_REF_FRAMES_IN_PIC_ORDER_CNT_CYCLE

The struct member offsets.

public static final int
OFFSET_FOR_NON_REF_PIC

The struct member offsets.

public static final int
OFFSET_FOR_TOP_TO_BOTTOM_FIELD

The struct member offsets.

public static final int
PIC_HEIGHT_IN_MAP_UNITS_MINUS1

The struct member offsets.

public static final int
PIC_ORDER_CNT_TYPE

The struct member offsets.

public static final int
PIC_WIDTH_IN_MBS_MINUS1

The struct member offsets.

public static final int
POFFSETFORREFFRAME

The struct member offsets.

public static final int
PROFILE_IDC

The struct member offsets.

public static final int
PSCALINGLISTS

The struct member offsets.

public static final int
PSEQUENCEPARAMETERSETVUI

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
SEQ_PARAMETER_SET_ID

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
public
StdVideoH264SequenceParameterSet(ByteBuffer container)

Creates a StdVideoH264SequenceParameterSet 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_depth_chroma_minus8 field.
bit_depth_chroma_minus8
()

public StdVideoH264SequenceParameterSet
bit_depth_chroma_minus8(byte value)

Sets the specified value to the bit_depth_chroma_minus8 field.

public byte

Returns:

the value of the bit_depth_luma_minus8 field.
bit_depth_luma_minus8
()

public StdVideoH264SequenceParameterSet
bit_depth_luma_minus8(byte value)

Sets the specified value to the bit_depth_luma_minus8 field.

public static StdVideoH264SequenceParameterSet
calloc()

Returns a new StdVideoH264SequenceParameterSet instance allocated with memCalloc.

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

Returns a new StdVideoH264SequenceParameterSet.Buffer instance allocated with memCalloc.

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

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

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

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

public int

Returns:

the value of the chroma_format_idc field.
chroma_format_idc
()

public StdVideoH264SequenceParameterSet
chroma_format_idc(int value)

Sets the specified value to the chroma_format_idc field.

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

Returns a new StdVideoH264SequenceParameterSet instance allocated with BufferUtils.

public static StdVideoH264SequenceParameterSet
create(long address)

Returns a new StdVideoH264SequenceParameterSet instance for the specified memory address.

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

Returns a new StdVideoH264SequenceParameterSet.Buffer instance allocated with BufferUtils.

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

Create a StdVideoH264SequenceParameterSet.Buffer instance at the specified memory.

public static StdVideoH264SequenceParameterSet
createSafe(long address)

Like create, but returns null if address is NULL.

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

Like create, but returns null if address is NULL.

public StdVideoH264SpsFlags

Returns:

a StdVideoH264SpsFlags view of the flags field.
flags
()

public StdVideoH264SequenceParameterSet
flags(StdVideoH264SpsFlags value)

Copies the specified StdVideoH264SpsFlags to the flags field.

public StdVideoH264SequenceParameterSet
flags(Consumer<StdVideoH264SpsFlags> consumer)

Passes the flags field to the specified Consumer.

public int

Returns:

the value of the frame_crop_bottom_offset field.
frame_crop_bottom_offset
()

public StdVideoH264SequenceParameterSet
frame_crop_bottom_offset(int value)

Sets the specified value to the frame_crop_bottom_offset field.

public int

Returns:

the value of the frame_crop_left_offset field.
frame_crop_left_offset
()

public StdVideoH264SequenceParameterSet
frame_crop_left_offset(int value)

Sets the specified value to the frame_crop_left_offset field.

public int

Returns:

the value of the frame_crop_right_offset field.
frame_crop_right_offset
()

public StdVideoH264SequenceParameterSet
frame_crop_right_offset(int value)

Sets the specified value to the frame_crop_right_offset field.

public int

Returns:

the value of the frame_crop_top_offset field.
frame_crop_top_offset
()

public StdVideoH264SequenceParameterSet
frame_crop_top_offset(int value)

Sets the specified value to the frame_crop_top_offset field.

public int

Returns:

the value of the level_idc field.
level_idc
()

public StdVideoH264SequenceParameterSet
level_idc(int value)

Sets the specified value to the level_idc field.

public byte

Returns:

the value of the log2_max_frame_num_minus4 field.
log2_max_frame_num_minus4
()

public StdVideoH264SequenceParameterSet
log2_max_frame_num_minus4(byte value)

Sets the specified value to the log2_max_frame_num_minus4 field.

public byte

Returns:

the value of the log2_max_pic_order_cnt_lsb_minus4 field.
log2_max_pic_order_cnt_lsb_minus4
()

public StdVideoH264SequenceParameterSet
log2_max_pic_order_cnt_lsb_minus4(byte value)

Sets the specified value to the log2_max_pic_order_cnt_lsb_minus4 field.

public static StdVideoH264SequenceParameterSet
malloc()

Returns a new StdVideoH264SequenceParameterSet instance allocated with memAlloc.

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

Returns a new StdVideoH264SequenceParameterSet.Buffer instance allocated with memAlloc.

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

Returns a new StdVideoH264SequenceParameterSet instance allocated on the specified MemoryStack.

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

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

public byte

Returns:

the value of the max_num_ref_frames field.
max_num_ref_frames
()

public StdVideoH264SequenceParameterSet
max_num_ref_frames(byte value)

Sets the specified value to the max_num_ref_frames field.

public static byte
nbit_depth_chroma_minus8(long struct)

Unsafe version of bit_depth_chroma_minus8.

public static void
nbit_depth_chroma_minus8(long struct, byte value)

Unsafe version of bit_depth_chroma_minus8.

public static byte
nbit_depth_luma_minus8(long struct)

Unsafe version of bit_depth_luma_minus8.

public static void
nbit_depth_luma_minus8(long struct, byte value)

Unsafe version of bit_depth_luma_minus8.

public static int
nchroma_format_idc(long struct)

Unsafe version of chroma_format_idc.

public static void
nchroma_format_idc(long struct, int value)

Unsafe version of chroma_format_idc.

public static StdVideoH264SpsFlags
nflags(long struct)

Unsafe version of flags.

public static void
nflags(long struct, StdVideoH264SpsFlags value)

Unsafe version of flags.

public static int
nframe_crop_bottom_offset(long struct)

Unsafe version of frame_crop_bottom_offset.

public static void
nframe_crop_bottom_offset(long struct, int value)

Unsafe version of frame_crop_bottom_offset.

public static int
nframe_crop_left_offset(long struct)

Unsafe version of frame_crop_left_offset.

public static void
nframe_crop_left_offset(long struct, int value)

Unsafe version of frame_crop_left_offset.

public static int
nframe_crop_right_offset(long struct)

Unsafe version of frame_crop_right_offset.

public static void
nframe_crop_right_offset(long struct, int value)

Unsafe version of frame_crop_right_offset.

public static int
nframe_crop_top_offset(long struct)

Unsafe version of frame_crop_top_offset.

public static void
nframe_crop_top_offset(long struct, int value)

Unsafe version of frame_crop_top_offset.

public static int
nlevel_idc(long struct)

Unsafe version of level_idc.

public static void
nlevel_idc(long struct, int value)

Unsafe version of level_idc.

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

Unsafe version of log2_max_frame_num_minus4.

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

Unsafe version of log2_max_pic_order_cnt_lsb_minus4.

public static byte
nmax_num_ref_frames(long struct)

Unsafe version of max_num_ref_frames.

public static void
nmax_num_ref_frames(long struct, byte value)

Unsafe version of max_num_ref_frames.

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

Sets the specified value to the num_ref_frames_in_pic_order_cnt_cycle field of the specified struct.

public static int
noffset_for_non_ref_pic(long struct)

Unsafe version of offset_for_non_ref_pic.

public static void
noffset_for_non_ref_pic(long struct, int value)

Unsafe version of offset_for_non_ref_pic.

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

Unsafe version of offset_for_top_to_bottom_field.

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

Unsafe version of pic_height_in_map_units_minus1.

public static int
npic_order_cnt_type(long struct)

Unsafe version of pic_order_cnt_type.

public static void
npic_order_cnt_type(long struct, int value)

Unsafe version of pic_order_cnt_type.

public static int
npic_width_in_mbs_minus1(long struct)

Unsafe version of pic_width_in_mbs_minus1.

public static void
npic_width_in_mbs_minus1(long struct, int value)

Unsafe version of pic_width_in_mbs_minus1.

public static IntBuffer
npOffsetForRefFrame(long struct)

Unsafe version of pOffsetForRefFrame.

public static void
npOffsetForRefFrame(long struct, IntBuffer value)

Unsafe version of pOffsetForRefFrame.

public static int
nprofile_idc(long struct)

Unsafe version of profile_idc.

public static void
nprofile_idc(long struct, int value)

Unsafe version of profile_idc.

public static StdVideoH264ScalingLists
npScalingLists(long struct)

Unsafe version of pScalingLists.

public static void
npScalingLists(long struct, StdVideoH264ScalingLists value)

Unsafe version of pScalingLists.

public static StdVideoH264SequenceParameterSetVui
npSequenceParameterSetVui(long struct)

Unsafe version of pSequenceParameterSetVui.

public static void
public static byte
nreserved1(long struct)

public static void
nreserved1(long struct, byte value)

public static int
nreserved2(long struct)

public static void
nreserved2(long struct, int value)

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_frames_in_pic_order_cnt_cycle field.
num_ref_frames_in_pic_order_cnt_cycle
()

public StdVideoH264SequenceParameterSet
num_ref_frames_in_pic_order_cnt_cycle(byte value)

Sets the specified value to the num_ref_frames_in_pic_order_cnt_cycle field.

public int

Returns:

the value of the offset_for_non_ref_pic field.
offset_for_non_ref_pic
()

public StdVideoH264SequenceParameterSet
offset_for_non_ref_pic(int value)

Sets the specified value to the offset_for_non_ref_pic field.

public int

Returns:

the value of the offset_for_top_to_bottom_field field.
offset_for_top_to_bottom_field
()

public StdVideoH264SequenceParameterSet
offset_for_top_to_bottom_field(int value)

Sets the specified value to the offset_for_top_to_bottom_field field.

public int

Returns:

the value of the pic_height_in_map_units_minus1 field.
pic_height_in_map_units_minus1
()

public StdVideoH264SequenceParameterSet
pic_height_in_map_units_minus1(int value)

Sets the specified value to the pic_height_in_map_units_minus1 field.

public int

Returns:

the value of the pic_order_cnt_type field.
pic_order_cnt_type
()

public StdVideoH264SequenceParameterSet
pic_order_cnt_type(int value)

Sets the specified value to the pic_order_cnt_type field.

public int

Returns:

the value of the pic_width_in_mbs_minus1 field.
pic_width_in_mbs_minus1
()

public StdVideoH264SequenceParameterSet
pic_width_in_mbs_minus1(int value)

Sets the specified value to the pic_width_in_mbs_minus1 field.

public IntBuffer
pOffsetForRefFrame()

a pointer representing the offset_for_ref_frame array with num_ref_frames_in_pic_order_cnt_cycle number of elements.

public StdVideoH264SequenceParameterSet
pOffsetForRefFrame(IntBuffer value)

Sets the address of the specified IntBuffer to the pOffsetForRefFrame field.

public int

Returns:

the value of the profile_idc field.
profile_idc
()

public StdVideoH264SequenceParameterSet
profile_idc(int value)

Sets the specified value to the profile_idc field.

public StdVideoH264ScalingLists
pScalingLists()

must be a valid pointer if scaling_matrix_present_flag is set

public StdVideoH264SequenceParameterSet
pScalingLists(StdVideoH264ScalingLists value)

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

public StdVideoH264SequenceParameterSetVui
pSequenceParameterSetVui()

must be a valid pointer if StdVideoH264SpsFlags:vui_parameters_present_flag is set

public StdVideoH264SequenceParameterSet
public byte

Returns:

the value of the seq_parameter_set_id field.
seq_parameter_set_id
()

public StdVideoH264SequenceParameterSet
seq_parameter_set_id(byte value)

Sets the specified value to the seq_parameter_set_id field.

public StdVideoH264SequenceParameterSet
set(StdVideoH264SpsFlags flags, int profile_idc, int level_idc, int chroma_format_idc, byte seq_parameter_set_id, byte bit_depth_luma_minus8, byte bit_depth_chroma_minus8, byte log2_max_frame_num_minus4, int pic_order_cnt_type, int offset_for_non_ref_pic, int offset_for_top_to_bottom_field, byte log2_max_pic_order_cnt_lsb_minus4, byte num_ref_frames_in_pic_order_cnt_cycle, byte max_num_ref_frames, int pic_width_in_mbs_minus1, int pic_height_in_map_units_minus1, int frame_crop_left_offset, int frame_crop_right_offset, int frame_crop_top_offset, int frame_crop_bottom_offset, IntBuffer pOffsetForRefFrame, StdVideoH264ScalingLists pScalingLists, StdVideoH264SequenceParameterSetVui pSequenceParameterSetVui)

Initializes this struct with the specified values.

public StdVideoH264SequenceParameterSet

Returns:

this struct
set
(StdVideoH264SequenceParameterSet
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.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate