Package org.lwjgl.vulkan.video
Class StdVideoH264SequenceParameterSet
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<StdVideoH264SequenceParameterSet>
org.lwjgl.vulkan.video.StdVideoH264SequenceParameterSet
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
public class StdVideoH264SequenceParameterSet
extends Struct<StdVideoH264SequenceParameterSet>
implements NativeResource
struct StdVideoH264SequenceParameterSet {
{@link StdVideoH264SpsFlags 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;
{@link StdVideoH264ScalingLists StdVideoH264ScalingLists} const * pScalingLists;
{@link StdVideoH264SequenceParameterSetVui StdVideoH264SequenceParameterSetVui} const * pSequenceParameterSetVui;
}
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
An array ofStdVideoH264SequenceParameterSet
structs.Nested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The struct alignment in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct size in bytes.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionStdVideoH264SequenceParameterSet
(ByteBuffer container) Creates aStdVideoH264SequenceParameterSet
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionbyte
bit_depth_chroma_minus8
(byte value) Sets the specified value to thebit_depth_chroma_minus8
field.byte
bit_depth_luma_minus8
(byte value) Sets the specified value to thebit_depth_luma_minus8
field.calloc()
Returns a newStdVideoH264SequenceParameterSet
instance allocated withmemCalloc
.calloc
(int capacity) Returns a newStdVideoH264SequenceParameterSet.Buffer
instance allocated withmemCalloc
.calloc
(int capacity, MemoryStack stack) Returns a newStdVideoH264SequenceParameterSet.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.calloc
(MemoryStack stack) Returns a newStdVideoH264SequenceParameterSet
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.int
chroma_format_idc
(int value) Sets the specified value to thechroma_format_idc
field.create()
Returns a newStdVideoH264SequenceParameterSet
instance allocated withBufferUtils
.create
(int capacity) Returns a newStdVideoH264SequenceParameterSet.Buffer
instance allocated withBufferUtils
.create
(long address) Returns a newStdVideoH264SequenceParameterSet
instance for the specified memory address.create
(long address, int capacity) Create aStdVideoH264SequenceParameterSet.Buffer
instance at the specified memory.static @Nullable StdVideoH264SequenceParameterSet
createSafe
(long address) static @Nullable StdVideoH264SequenceParameterSet.Buffer
createSafe
(long address, int capacity) flags()
flags
(Consumer<StdVideoH264SpsFlags> consumer) Passes theflags
field to the specifiedConsumer
.flags
(StdVideoH264SpsFlags value) Copies the specifiedStdVideoH264SpsFlags
to theflags
field.int
frame_crop_bottom_offset
(int value) Sets the specified value to theframe_crop_bottom_offset
field.int
frame_crop_left_offset
(int value) Sets the specified value to theframe_crop_left_offset
field.int
frame_crop_right_offset
(int value) Sets the specified value to theframe_crop_right_offset
field.int
frame_crop_top_offset
(int value) Sets the specified value to theframe_crop_top_offset
field.int
level_idc
(int value) Sets the specified value to thelevel_idc
field.byte
log2_max_frame_num_minus4
(byte value) Sets the specified value to thelog2_max_frame_num_minus4
field.byte
log2_max_pic_order_cnt_lsb_minus4
(byte value) Sets the specified value to thelog2_max_pic_order_cnt_lsb_minus4
field.malloc()
Returns a newStdVideoH264SequenceParameterSet
instance allocated withmemAlloc
.malloc
(int capacity) Returns a newStdVideoH264SequenceParameterSet.Buffer
instance allocated withmemAlloc
.malloc
(int capacity, MemoryStack stack) Returns a newStdVideoH264SequenceParameterSet.Buffer
instance allocated on the specifiedMemoryStack
.malloc
(MemoryStack stack) Returns a newStdVideoH264SequenceParameterSet
instance allocated on the specifiedMemoryStack
.byte
max_num_ref_frames
(byte value) Sets the specified value to themax_num_ref_frames
field.static byte
nbit_depth_chroma_minus8
(long struct) Unsafe version ofbit_depth_chroma_minus8()
.static void
nbit_depth_chroma_minus8
(long struct, byte value) Unsafe version ofbit_depth_chroma_minus8
.static byte
nbit_depth_luma_minus8
(long struct) Unsafe version ofbit_depth_luma_minus8()
.static void
nbit_depth_luma_minus8
(long struct, byte value) Unsafe version ofbit_depth_luma_minus8
.static int
nchroma_format_idc
(long struct) Unsafe version ofchroma_format_idc()
.static void
nchroma_format_idc
(long struct, int value) Unsafe version ofchroma_format_idc
.static StdVideoH264SpsFlags
nflags
(long struct) Unsafe version offlags()
.static void
nflags
(long struct, StdVideoH264SpsFlags value) Unsafe version offlags
.static int
nframe_crop_bottom_offset
(long struct) Unsafe version offrame_crop_bottom_offset()
.static void
nframe_crop_bottom_offset
(long struct, int value) Unsafe version offrame_crop_bottom_offset
.static int
nframe_crop_left_offset
(long struct) Unsafe version offrame_crop_left_offset()
.static void
nframe_crop_left_offset
(long struct, int value) Unsafe version offrame_crop_left_offset
.static int
nframe_crop_right_offset
(long struct) Unsafe version offrame_crop_right_offset()
.static void
nframe_crop_right_offset
(long struct, int value) Unsafe version offrame_crop_right_offset
.static int
nframe_crop_top_offset
(long struct) Unsafe version offrame_crop_top_offset()
.static void
nframe_crop_top_offset
(long struct, int value) Unsafe version offrame_crop_top_offset
.static int
nlevel_idc
(long struct) Unsafe version oflevel_idc()
.static void
nlevel_idc
(long struct, int value) Unsafe version oflevel_idc
.static byte
nlog2_max_frame_num_minus4
(long struct) Unsafe version oflog2_max_frame_num_minus4()
.static void
nlog2_max_frame_num_minus4
(long struct, byte value) Unsafe version oflog2_max_frame_num_minus4
.static byte
nlog2_max_pic_order_cnt_lsb_minus4
(long struct) Unsafe version oflog2_max_pic_order_cnt_lsb_minus4()
.static void
nlog2_max_pic_order_cnt_lsb_minus4
(long struct, byte value) Unsafe version oflog2_max_pic_order_cnt_lsb_minus4
.static byte
nmax_num_ref_frames
(long struct) Unsafe version ofmax_num_ref_frames()
.static void
nmax_num_ref_frames
(long struct, byte value) Unsafe version ofmax_num_ref_frames
.static byte
nnum_ref_frames_in_pic_order_cnt_cycle
(long struct) Unsafe version ofnum_ref_frames_in_pic_order_cnt_cycle()
.static void
nnum_ref_frames_in_pic_order_cnt_cycle
(long struct, byte value) Sets the specified value to thenum_ref_frames_in_pic_order_cnt_cycle
field of the specifiedstruct
.static int
noffset_for_non_ref_pic
(long struct) Unsafe version ofoffset_for_non_ref_pic()
.static void
noffset_for_non_ref_pic
(long struct, int value) Unsafe version ofoffset_for_non_ref_pic
.static int
noffset_for_top_to_bottom_field
(long struct) Unsafe version ofoffset_for_top_to_bottom_field()
.static void
noffset_for_top_to_bottom_field
(long struct, int value) Unsafe version ofoffset_for_top_to_bottom_field
.static int
npic_height_in_map_units_minus1
(long struct) Unsafe version ofpic_height_in_map_units_minus1()
.static void
npic_height_in_map_units_minus1
(long struct, int value) Unsafe version ofpic_height_in_map_units_minus1
.static int
npic_order_cnt_type
(long struct) Unsafe version ofpic_order_cnt_type()
.static void
npic_order_cnt_type
(long struct, int value) Unsafe version ofpic_order_cnt_type
.static int
npic_width_in_mbs_minus1
(long struct) Unsafe version ofpic_width_in_mbs_minus1()
.static void
npic_width_in_mbs_minus1
(long struct, int value) Unsafe version ofpic_width_in_mbs_minus1
.static @Nullable IntBuffer
npOffsetForRefFrame
(long struct) Unsafe version ofpOffsetForRefFrame
.static void
npOffsetForRefFrame
(long struct, @Nullable IntBuffer value) Unsafe version ofpOffsetForRefFrame
.static int
nprofile_idc
(long struct) Unsafe version ofprofile_idc()
.static void
nprofile_idc
(long struct, int value) Unsafe version ofprofile_idc
.static StdVideoH264ScalingLists
npScalingLists
(long struct) Unsafe version ofpScalingLists()
.static void
npScalingLists
(long struct, StdVideoH264ScalingLists value) Unsafe version ofpScalingLists
.npSequenceParameterSetVui
(long struct) Unsafe version ofpSequenceParameterSetVui()
.static void
npSequenceParameterSetVui
(long struct, StdVideoH264SequenceParameterSetVui value) Unsafe version ofpSequenceParameterSetVui
.static byte
nreserved1
(long struct) static void
nreserved1
(long struct, byte value) static int
nreserved2
(long struct) static void
nreserved2
(long struct, int value) static byte
nseq_parameter_set_id
(long struct) Unsafe version ofseq_parameter_set_id()
.static void
nseq_parameter_set_id
(long struct, byte value) Unsafe version ofseq_parameter_set_id
.byte
num_ref_frames_in_pic_order_cnt_cycle
(byte value) Sets the specified value to thenum_ref_frames_in_pic_order_cnt_cycle
field.int
offset_for_non_ref_pic
(int value) Sets the specified value to theoffset_for_non_ref_pic
field.int
offset_for_top_to_bottom_field
(int value) Sets the specified value to theoffset_for_top_to_bottom_field
field.int
pic_height_in_map_units_minus1
(int value) Sets the specified value to thepic_height_in_map_units_minus1
field.int
pic_order_cnt_type
(int value) Sets the specified value to thepic_order_cnt_type
field.int
pic_width_in_mbs_minus1
(int value) Sets the specified value to thepic_width_in_mbs_minus1
field.@Nullable IntBuffer
pOffsetForRefFrame
(@Nullable IntBuffer value) Sets the address of the specifiedIntBuffer
to thepOffsetForRefFrame
field.int
profile_idc
(int value) Sets the specified value to theprofile_idc
field.Sets the address of the specifiedStdVideoH264ScalingLists
to thepScalingLists
field.Sets the address of the specifiedStdVideoH264SequenceParameterSetVui
to thepSequenceParameterSetVui
field.byte
seq_parameter_set_id
(byte value) Sets the specified value to theseq_parameter_set_id
field.Copies the specified struct data to this struct.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, @Nullable IntBuffer pOffsetForRefFrame, StdVideoH264ScalingLists pScalingLists, StdVideoH264SequenceParameterSetVui pSequenceParameterSetVui) Initializes this struct with the specified values.int
sizeof()
Returnssizeof(struct)
.static void
validate
(long struct) Validates pointer members that should not beNULL
.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
FLAGS
public static final int FLAGSThe struct member offsets. -
PROFILE_IDC
public static final int PROFILE_IDCThe struct member offsets. -
LEVEL_IDC
public static final int LEVEL_IDCThe struct member offsets. -
CHROMA_FORMAT_IDC
public static final int CHROMA_FORMAT_IDCThe struct member offsets. -
SEQ_PARAMETER_SET_ID
public static final int SEQ_PARAMETER_SET_IDThe struct member offsets. -
BIT_DEPTH_LUMA_MINUS8
public static final int BIT_DEPTH_LUMA_MINUS8The struct member offsets. -
BIT_DEPTH_CHROMA_MINUS8
public static final int BIT_DEPTH_CHROMA_MINUS8The struct member offsets. -
LOG2_MAX_FRAME_NUM_MINUS4
public static final int LOG2_MAX_FRAME_NUM_MINUS4The struct member offsets. -
PIC_ORDER_CNT_TYPE
public static final int PIC_ORDER_CNT_TYPEThe struct member offsets. -
OFFSET_FOR_NON_REF_PIC
public static final int OFFSET_FOR_NON_REF_PICThe struct member offsets. -
OFFSET_FOR_TOP_TO_BOTTOM_FIELD
public static final int OFFSET_FOR_TOP_TO_BOTTOM_FIELDThe struct member offsets. -
LOG2_MAX_PIC_ORDER_CNT_LSB_MINUS4
public static final int LOG2_MAX_PIC_ORDER_CNT_LSB_MINUS4The struct member offsets. -
NUM_REF_FRAMES_IN_PIC_ORDER_CNT_CYCLE
public static final int NUM_REF_FRAMES_IN_PIC_ORDER_CNT_CYCLEThe struct member offsets. -
MAX_NUM_REF_FRAMES
public static final int MAX_NUM_REF_FRAMESThe struct member offsets. -
RESERVED1
public static final int RESERVED1The struct member offsets. -
PIC_WIDTH_IN_MBS_MINUS1
public static final int PIC_WIDTH_IN_MBS_MINUS1The struct member offsets. -
PIC_HEIGHT_IN_MAP_UNITS_MINUS1
public static final int PIC_HEIGHT_IN_MAP_UNITS_MINUS1The struct member offsets. -
FRAME_CROP_LEFT_OFFSET
public static final int FRAME_CROP_LEFT_OFFSETThe struct member offsets. -
FRAME_CROP_RIGHT_OFFSET
public static final int FRAME_CROP_RIGHT_OFFSETThe struct member offsets. -
FRAME_CROP_TOP_OFFSET
public static final int FRAME_CROP_TOP_OFFSETThe struct member offsets. -
FRAME_CROP_BOTTOM_OFFSET
public static final int FRAME_CROP_BOTTOM_OFFSETThe struct member offsets. -
RESERVED2
public static final int RESERVED2The struct member offsets. -
POFFSETFORREFFRAME
public static final int POFFSETFORREFFRAMEThe struct member offsets. -
PSCALINGLISTS
public static final int PSCALINGLISTSThe struct member offsets. -
PSEQUENCEPARAMETERSETVUI
public static final int PSEQUENCEPARAMETERSETVUIThe struct member offsets.
-
-
Constructor Details
-
StdVideoH264SequenceParameterSet
Creates aStdVideoH264SequenceParameterSet
instance at the current position of the specifiedByteBuffer
container. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Details
-
sizeof
public int sizeof()Description copied from class:Struct
Returnssizeof(struct)
.- Specified by:
sizeof
in classStruct<StdVideoH264SequenceParameterSet>
-
flags
- Returns:
- a
StdVideoH264SpsFlags
view of theflags
field.
-
profile_idc
public int profile_idc()- Returns:
- the value of the
profile_idc
field.
-
level_idc
public int level_idc()- Returns:
- the value of the
level_idc
field.
-
chroma_format_idc
public int chroma_format_idc()- Returns:
- the value of the
chroma_format_idc
field.
-
seq_parameter_set_id
public byte seq_parameter_set_id()- Returns:
- the value of the
seq_parameter_set_id
field.
-
bit_depth_luma_minus8
public byte bit_depth_luma_minus8()- Returns:
- the value of the
bit_depth_luma_minus8
field.
-
bit_depth_chroma_minus8
public byte bit_depth_chroma_minus8()- Returns:
- the value of the
bit_depth_chroma_minus8
field.
-
log2_max_frame_num_minus4
public byte log2_max_frame_num_minus4()- Returns:
- the value of the
log2_max_frame_num_minus4
field.
-
pic_order_cnt_type
public int pic_order_cnt_type()- Returns:
- the value of the
pic_order_cnt_type
field.
-
offset_for_non_ref_pic
public int offset_for_non_ref_pic()- Returns:
- the value of the
offset_for_non_ref_pic
field.
-
offset_for_top_to_bottom_field
public int offset_for_top_to_bottom_field()- Returns:
- the value of the
offset_for_top_to_bottom_field
field.
-
log2_max_pic_order_cnt_lsb_minus4
public byte log2_max_pic_order_cnt_lsb_minus4()- Returns:
- the value of the
log2_max_pic_order_cnt_lsb_minus4
field.
-
num_ref_frames_in_pic_order_cnt_cycle
public byte num_ref_frames_in_pic_order_cnt_cycle()- Returns:
- the value of the
num_ref_frames_in_pic_order_cnt_cycle
field.
-
max_num_ref_frames
public byte max_num_ref_frames()- Returns:
- the value of the
max_num_ref_frames
field.
-
pic_width_in_mbs_minus1
public int pic_width_in_mbs_minus1()- Returns:
- the value of the
pic_width_in_mbs_minus1
field.
-
pic_height_in_map_units_minus1
public int pic_height_in_map_units_minus1()- Returns:
- the value of the
pic_height_in_map_units_minus1
field.
-
frame_crop_left_offset
public int frame_crop_left_offset()- Returns:
- the value of the
frame_crop_left_offset
field.
-
frame_crop_right_offset
public int frame_crop_right_offset()- Returns:
- the value of the
frame_crop_right_offset
field.
-
frame_crop_top_offset
public int frame_crop_top_offset()- Returns:
- the value of the
frame_crop_top_offset
field.
-
frame_crop_bottom_offset
public int frame_crop_bottom_offset()- Returns:
- the value of the
frame_crop_bottom_offset
field.
-
pOffsetForRefFrame
- Returns:
- a
IntBuffer
view of the data pointed to by thepOffsetForRefFrame
field.
-
pScalingLists
- Returns:
- a
StdVideoH264ScalingLists
view of the struct pointed to by thepScalingLists
field.
-
pSequenceParameterSetVui
- Returns:
- a
StdVideoH264SequenceParameterSetVui
view of the struct pointed to by thepSequenceParameterSetVui
field.
-
flags
Copies the specifiedStdVideoH264SpsFlags
to theflags
field. -
flags
Passes theflags
field to the specifiedConsumer
. -
profile_idc
Sets the specified value to theprofile_idc
field. -
level_idc
Sets the specified value to thelevel_idc
field. -
chroma_format_idc
Sets the specified value to thechroma_format_idc
field. -
seq_parameter_set_id
Sets the specified value to theseq_parameter_set_id
field. -
bit_depth_luma_minus8
Sets the specified value to thebit_depth_luma_minus8
field. -
bit_depth_chroma_minus8
Sets the specified value to thebit_depth_chroma_minus8
field. -
log2_max_frame_num_minus4
Sets the specified value to thelog2_max_frame_num_minus4
field. -
pic_order_cnt_type
Sets the specified value to thepic_order_cnt_type
field. -
offset_for_non_ref_pic
Sets the specified value to theoffset_for_non_ref_pic
field. -
offset_for_top_to_bottom_field
Sets the specified value to theoffset_for_top_to_bottom_field
field. -
log2_max_pic_order_cnt_lsb_minus4
Sets the specified value to thelog2_max_pic_order_cnt_lsb_minus4
field. -
num_ref_frames_in_pic_order_cnt_cycle
Sets the specified value to thenum_ref_frames_in_pic_order_cnt_cycle
field. -
max_num_ref_frames
Sets the specified value to themax_num_ref_frames
field. -
pic_width_in_mbs_minus1
Sets the specified value to thepic_width_in_mbs_minus1
field. -
pic_height_in_map_units_minus1
Sets the specified value to thepic_height_in_map_units_minus1
field. -
frame_crop_left_offset
Sets the specified value to theframe_crop_left_offset
field. -
frame_crop_right_offset
Sets the specified value to theframe_crop_right_offset
field. -
frame_crop_top_offset
Sets the specified value to theframe_crop_top_offset
field. -
frame_crop_bottom_offset
Sets the specified value to theframe_crop_bottom_offset
field. -
pOffsetForRefFrame
Sets the address of the specifiedIntBuffer
to thepOffsetForRefFrame
field. -
pScalingLists
Sets the address of the specifiedStdVideoH264ScalingLists
to thepScalingLists
field. -
pSequenceParameterSetVui
public StdVideoH264SequenceParameterSet pSequenceParameterSetVui(StdVideoH264SequenceParameterSetVui value) Sets the address of the specifiedStdVideoH264SequenceParameterSetVui
to thepSequenceParameterSetVui
field. -
set
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, @Nullable IntBuffer pOffsetForRefFrame, StdVideoH264ScalingLists pScalingLists, StdVideoH264SequenceParameterSetVui pSequenceParameterSetVui) Initializes this struct with the specified values. -
set
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
Returns a newStdVideoH264SequenceParameterSet
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newStdVideoH264SequenceParameterSet
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newStdVideoH264SequenceParameterSet
instance allocated withBufferUtils
. -
create
Returns a newStdVideoH264SequenceParameterSet
instance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoH264SequenceParameterSet.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newStdVideoH264SequenceParameterSet.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newStdVideoH264SequenceParameterSet.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aStdVideoH264SequenceParameterSet.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
public static @Nullable StdVideoH264SequenceParameterSet.Buffer createSafe(long address, int capacity) -
malloc
Returns a newStdVideoH264SequenceParameterSet
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newStdVideoH264SequenceParameterSet
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newStdVideoH264SequenceParameterSet.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newStdVideoH264SequenceParameterSet.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
nflags
Unsafe version offlags()
. -
nprofile_idc
public static int nprofile_idc(long struct) Unsafe version ofprofile_idc()
. -
nlevel_idc
public static int nlevel_idc(long struct) Unsafe version oflevel_idc()
. -
nchroma_format_idc
public static int nchroma_format_idc(long struct) Unsafe version ofchroma_format_idc()
. -
nseq_parameter_set_id
public static byte nseq_parameter_set_id(long struct) Unsafe version ofseq_parameter_set_id()
. -
nbit_depth_luma_minus8
public static byte nbit_depth_luma_minus8(long struct) Unsafe version ofbit_depth_luma_minus8()
. -
nbit_depth_chroma_minus8
public static byte nbit_depth_chroma_minus8(long struct) Unsafe version ofbit_depth_chroma_minus8()
. -
nlog2_max_frame_num_minus4
public static byte nlog2_max_frame_num_minus4(long struct) Unsafe version oflog2_max_frame_num_minus4()
. -
npic_order_cnt_type
public static int npic_order_cnt_type(long struct) Unsafe version ofpic_order_cnt_type()
. -
noffset_for_non_ref_pic
public static int noffset_for_non_ref_pic(long struct) Unsafe version ofoffset_for_non_ref_pic()
. -
noffset_for_top_to_bottom_field
public static int noffset_for_top_to_bottom_field(long struct) Unsafe version ofoffset_for_top_to_bottom_field()
. -
nlog2_max_pic_order_cnt_lsb_minus4
public static byte nlog2_max_pic_order_cnt_lsb_minus4(long struct) Unsafe version oflog2_max_pic_order_cnt_lsb_minus4()
. -
nnum_ref_frames_in_pic_order_cnt_cycle
public static byte nnum_ref_frames_in_pic_order_cnt_cycle(long struct) Unsafe version ofnum_ref_frames_in_pic_order_cnt_cycle()
. -
nmax_num_ref_frames
public static byte nmax_num_ref_frames(long struct) Unsafe version ofmax_num_ref_frames()
. -
nreserved1
public static byte nreserved1(long struct) -
npic_width_in_mbs_minus1
public static int npic_width_in_mbs_minus1(long struct) Unsafe version ofpic_width_in_mbs_minus1()
. -
npic_height_in_map_units_minus1
public static int npic_height_in_map_units_minus1(long struct) Unsafe version ofpic_height_in_map_units_minus1()
. -
nframe_crop_left_offset
public static int nframe_crop_left_offset(long struct) Unsafe version offrame_crop_left_offset()
. -
nframe_crop_right_offset
public static int nframe_crop_right_offset(long struct) Unsafe version offrame_crop_right_offset()
. -
nframe_crop_top_offset
public static int nframe_crop_top_offset(long struct) Unsafe version offrame_crop_top_offset()
. -
nframe_crop_bottom_offset
public static int nframe_crop_bottom_offset(long struct) Unsafe version offrame_crop_bottom_offset()
. -
nreserved2
public static int nreserved2(long struct) -
npOffsetForRefFrame
Unsafe version ofpOffsetForRefFrame
. -
npScalingLists
Unsafe version ofpScalingLists()
. -
npSequenceParameterSetVui
Unsafe version ofpSequenceParameterSetVui()
. -
nflags
Unsafe version offlags
. -
nprofile_idc
public static void nprofile_idc(long struct, int value) Unsafe version ofprofile_idc
. -
nlevel_idc
public static void nlevel_idc(long struct, int value) Unsafe version oflevel_idc
. -
nchroma_format_idc
public static void nchroma_format_idc(long struct, int value) Unsafe version ofchroma_format_idc
. -
nseq_parameter_set_id
public static void nseq_parameter_set_id(long struct, byte value) Unsafe version ofseq_parameter_set_id
. -
nbit_depth_luma_minus8
public static void nbit_depth_luma_minus8(long struct, byte value) Unsafe version ofbit_depth_luma_minus8
. -
nbit_depth_chroma_minus8
public static void nbit_depth_chroma_minus8(long struct, byte value) Unsafe version ofbit_depth_chroma_minus8
. -
nlog2_max_frame_num_minus4
public static void nlog2_max_frame_num_minus4(long struct, byte value) Unsafe version oflog2_max_frame_num_minus4
. -
npic_order_cnt_type
public static void npic_order_cnt_type(long struct, int value) Unsafe version ofpic_order_cnt_type
. -
noffset_for_non_ref_pic
public static void noffset_for_non_ref_pic(long struct, int value) Unsafe version ofoffset_for_non_ref_pic
. -
noffset_for_top_to_bottom_field
public static void noffset_for_top_to_bottom_field(long struct, int value) Unsafe version ofoffset_for_top_to_bottom_field
. -
nlog2_max_pic_order_cnt_lsb_minus4
public static void nlog2_max_pic_order_cnt_lsb_minus4(long struct, byte value) Unsafe version oflog2_max_pic_order_cnt_lsb_minus4
. -
nnum_ref_frames_in_pic_order_cnt_cycle
public static void nnum_ref_frames_in_pic_order_cnt_cycle(long struct, byte value) Sets the specified value to thenum_ref_frames_in_pic_order_cnt_cycle
field of the specifiedstruct
. -
nmax_num_ref_frames
public static void nmax_num_ref_frames(long struct, byte value) Unsafe version ofmax_num_ref_frames
. -
nreserved1
public static void nreserved1(long struct, byte value) -
npic_width_in_mbs_minus1
public static void npic_width_in_mbs_minus1(long struct, int value) Unsafe version ofpic_width_in_mbs_minus1
. -
npic_height_in_map_units_minus1
public static void npic_height_in_map_units_minus1(long struct, int value) Unsafe version ofpic_height_in_map_units_minus1
. -
nframe_crop_left_offset
public static void nframe_crop_left_offset(long struct, int value) Unsafe version offrame_crop_left_offset
. -
nframe_crop_right_offset
public static void nframe_crop_right_offset(long struct, int value) Unsafe version offrame_crop_right_offset
. -
nframe_crop_top_offset
public static void nframe_crop_top_offset(long struct, int value) Unsafe version offrame_crop_top_offset
. -
nframe_crop_bottom_offset
public static void nframe_crop_bottom_offset(long struct, int value) Unsafe version offrame_crop_bottom_offset
. -
nreserved2
public static void nreserved2(long struct, int value) -
npOffsetForRefFrame
Unsafe version ofpOffsetForRefFrame
. -
npScalingLists
Unsafe version ofpScalingLists
. -
npSequenceParameterSetVui
public static void npSequenceParameterSetVui(long struct, StdVideoH264SequenceParameterSetVui value) Unsafe version ofpSequenceParameterSetVui
. -
validate
public static void validate(long struct) Validates pointer members that should not beNULL
.- Parameters:
struct
- the struct to validate
-