Package org.lwjgl.vulkan.video
Class StdVideoH264SequenceParameterSet
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.video.StdVideoH264SequenceParameterSet
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class StdVideoH264SequenceParameterSet extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceLayout
struct StdVideoH264SequenceParameterSet { StdVideoH264ProfileIdc profile_idc; StdVideoH264Level level_idc; uint8_t seq_parameter_set_id; StdVideoH264ChromaFormatIdc chroma_format_idc; uint8_t bit_depth_luma_minus8; uint8_t bit_depth_chroma_minus8; uint8_t log2_max_frame_num_minus4; StdVideoH264PocType pic_order_cnt_type; uint8_t log2_max_pic_order_cnt_lsb_minus4; int32_t offset_for_non_ref_pic; int32_t offset_for_top_to_bottom_field; uint8_t num_ref_frames_in_pic_order_cnt_cycle; uint8_t max_num_ref_frames; 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;StdVideoH264SpsFlagsflags; int32_t *pOffsetForRefFrame();StdVideoH264ScalingLists*pScalingLists();StdVideoH264SequenceParameterSetVui*pSequenceParameterSetVui(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStdVideoH264SequenceParameterSet.BufferAn array ofStdVideoH264SequenceParameterSetstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intBIT_DEPTH_CHROMA_MINUS8
BIT_DEPTH_LUMA_MINUS8
CHROMA_FORMAT_IDC
FLAGS
FRAME_CROP_BOTTOM_OFFSET
FRAME_CROP_LEFT_OFFSET
FRAME_CROP_RIGHT_OFFSET
FRAME_CROP_TOP_OFFSET
LEVEL_IDC
LOG2_MAX_FRAME_NUM_MINUS4
LOG2_MAX_PIC_ORDER_CNT_LSB_MINUS4
MAX_NUM_REF_FRAMES
NUM_REF_FRAMES_IN_PIC_ORDER_CNT_CYCLE
OFFSET_FOR_NON_REF_PIC
OFFSET_FOR_TOP_TO_BOTTOM_FIELD
PIC_HEIGHT_IN_MAP_UNITS_MINUS1
PIC_ORDER_CNT_TYPE
PIC_WIDTH_IN_MBS_MINUS1
POFFSETFORREFFRAME
PROFILE_IDC
PSCALINGLISTS
PSEQUENCEPARAMETERSETVUI
SEQ_PARAMETER_SET_IDThe struct member offsets.static intSIZEOFThe struct size in bytes.
-
Constructor Summary
Constructors Constructor Description StdVideoH264SequenceParameterSet(java.nio.ByteBuffer container)Creates aStdVideoH264SequenceParameterSetinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description bytebit_depth_chroma_minus8()StdVideoH264SequenceParameterSetbit_depth_chroma_minus8(byte value)Sets the specified value to thebit_depth_chroma_minus8field.bytebit_depth_luma_minus8()StdVideoH264SequenceParameterSetbit_depth_luma_minus8(byte value)Sets the specified value to thebit_depth_luma_minus8field.static StdVideoH264SequenceParameterSetcalloc()Returns a newStdVideoH264SequenceParameterSetinstance allocated withmemCalloc.static StdVideoH264SequenceParameterSet.Buffercalloc(int capacity)Returns a newStdVideoH264SequenceParameterSet.Bufferinstance allocated withmemCalloc.static StdVideoH264SequenceParameterSet.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newStdVideoH264SequenceParameterSet.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoH264SequenceParameterSetcalloc(org.lwjgl.system.MemoryStack stack)Returns a newStdVideoH264SequenceParameterSetinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.intchroma_format_idc()StdVideoH264SequenceParameterSetchroma_format_idc(int value)Sets the specified value to thechroma_format_idcfield.static StdVideoH264SequenceParameterSetcreate()Returns a newStdVideoH264SequenceParameterSetinstance allocated withBufferUtils.static StdVideoH264SequenceParameterSet.Buffercreate(int capacity)Returns a newStdVideoH264SequenceParameterSet.Bufferinstance allocated withBufferUtils.static StdVideoH264SequenceParameterSetcreate(long address)Returns a newStdVideoH264SequenceParameterSetinstance for the specified memory address.static StdVideoH264SequenceParameterSet.Buffercreate(long address, int capacity)Create aStdVideoH264SequenceParameterSet.Bufferinstance at the specified memory.static StdVideoH264SequenceParameterSetcreateSafe(long address)static StdVideoH264SequenceParameterSet.BuffercreateSafe(long address, int capacity)StdVideoH264SpsFlagsflags()StdVideoH264SequenceParameterSetflags(java.util.function.Consumer<StdVideoH264SpsFlags> consumer)Passes theflagsfield to the specifiedConsumer.StdVideoH264SequenceParameterSetflags(StdVideoH264SpsFlags value)Copies the specifiedStdVideoH264SpsFlagsto theflagsfield.intframe_crop_bottom_offset()StdVideoH264SequenceParameterSetframe_crop_bottom_offset(int value)Sets the specified value to theframe_crop_bottom_offsetfield.intframe_crop_left_offset()StdVideoH264SequenceParameterSetframe_crop_left_offset(int value)Sets the specified value to theframe_crop_left_offsetfield.intframe_crop_right_offset()StdVideoH264SequenceParameterSetframe_crop_right_offset(int value)Sets the specified value to theframe_crop_right_offsetfield.intframe_crop_top_offset()StdVideoH264SequenceParameterSetframe_crop_top_offset(int value)Sets the specified value to theframe_crop_top_offsetfield.intlevel_idc()StdVideoH264SequenceParameterSetlevel_idc(int value)Sets the specified value to thelevel_idcfield.bytelog2_max_frame_num_minus4()StdVideoH264SequenceParameterSetlog2_max_frame_num_minus4(byte value)Sets the specified value to thelog2_max_frame_num_minus4field.bytelog2_max_pic_order_cnt_lsb_minus4()StdVideoH264SequenceParameterSetlog2_max_pic_order_cnt_lsb_minus4(byte value)Sets the specified value to thelog2_max_pic_order_cnt_lsb_minus4field.static StdVideoH264SequenceParameterSetmalloc()Returns a newStdVideoH264SequenceParameterSetinstance allocated withmemAlloc.static StdVideoH264SequenceParameterSet.Buffermalloc(int capacity)Returns a newStdVideoH264SequenceParameterSet.Bufferinstance allocated withmemAlloc.static StdVideoH264SequenceParameterSet.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newStdVideoH264SequenceParameterSet.Bufferinstance allocated on the specifiedMemoryStack.static StdVideoH264SequenceParameterSetmalloc(org.lwjgl.system.MemoryStack stack)Returns a newStdVideoH264SequenceParameterSetinstance allocated on the specifiedMemoryStack.bytemax_num_ref_frames()StdVideoH264SequenceParameterSetmax_num_ref_frames(byte value)Sets the specified value to themax_num_ref_framesfield.static bytenbit_depth_chroma_minus8(long struct)Unsafe version ofbit_depth_chroma_minus8().static voidnbit_depth_chroma_minus8(long struct, byte value)Unsafe version ofbit_depth_chroma_minus8.static bytenbit_depth_luma_minus8(long struct)Unsafe version ofbit_depth_luma_minus8().static voidnbit_depth_luma_minus8(long struct, byte value)Unsafe version ofbit_depth_luma_minus8.static intnchroma_format_idc(long struct)Unsafe version ofchroma_format_idc().static voidnchroma_format_idc(long struct, int value)Unsafe version ofchroma_format_idc.static StdVideoH264SpsFlagsnflags(long struct)Unsafe version offlags().static voidnflags(long struct, StdVideoH264SpsFlags value)Unsafe version offlags.static intnframe_crop_bottom_offset(long struct)Unsafe version offrame_crop_bottom_offset().static voidnframe_crop_bottom_offset(long struct, int value)Unsafe version offrame_crop_bottom_offset.static intnframe_crop_left_offset(long struct)Unsafe version offrame_crop_left_offset().static voidnframe_crop_left_offset(long struct, int value)Unsafe version offrame_crop_left_offset.static intnframe_crop_right_offset(long struct)Unsafe version offrame_crop_right_offset().static voidnframe_crop_right_offset(long struct, int value)Unsafe version offrame_crop_right_offset.static intnframe_crop_top_offset(long struct)Unsafe version offrame_crop_top_offset().static voidnframe_crop_top_offset(long struct, int value)Unsafe version offrame_crop_top_offset.static intnlevel_idc(long struct)Unsafe version oflevel_idc().static voidnlevel_idc(long struct, int value)Unsafe version oflevel_idc.static bytenlog2_max_frame_num_minus4(long struct)Unsafe version oflog2_max_frame_num_minus4().static voidnlog2_max_frame_num_minus4(long struct, byte value)Unsafe version oflog2_max_frame_num_minus4.static bytenlog2_max_pic_order_cnt_lsb_minus4(long struct)Unsafe version oflog2_max_pic_order_cnt_lsb_minus4().static voidnlog2_max_pic_order_cnt_lsb_minus4(long struct, byte value)Unsafe version oflog2_max_pic_order_cnt_lsb_minus4.static bytenmax_num_ref_frames(long struct)Unsafe version ofmax_num_ref_frames().static voidnmax_num_ref_frames(long struct, byte value)Unsafe version ofmax_num_ref_frames.static bytennum_ref_frames_in_pic_order_cnt_cycle(long struct)Unsafe version ofnum_ref_frames_in_pic_order_cnt_cycle().static voidnnum_ref_frames_in_pic_order_cnt_cycle(long struct, byte value)Sets the specified value to thenum_ref_frames_in_pic_order_cnt_cyclefield of the specifiedstruct.static intnoffset_for_non_ref_pic(long struct)Unsafe version ofoffset_for_non_ref_pic().static voidnoffset_for_non_ref_pic(long struct, int value)Unsafe version ofoffset_for_non_ref_pic.static intnoffset_for_top_to_bottom_field(long struct)Unsafe version ofoffset_for_top_to_bottom_field().static voidnoffset_for_top_to_bottom_field(long struct, int value)Unsafe version ofoffset_for_top_to_bottom_field.static intnpic_height_in_map_units_minus1(long struct)Unsafe version ofpic_height_in_map_units_minus1().static voidnpic_height_in_map_units_minus1(long struct, int value)Unsafe version ofpic_height_in_map_units_minus1.static intnpic_order_cnt_type(long struct)Unsafe version ofpic_order_cnt_type().static voidnpic_order_cnt_type(long struct, int value)Unsafe version ofpic_order_cnt_type.static intnpic_width_in_mbs_minus1(long struct)Unsafe version ofpic_width_in_mbs_minus1().static voidnpic_width_in_mbs_minus1(long struct, int value)Unsafe version ofpic_width_in_mbs_minus1.static java.nio.IntBuffernpOffsetForRefFrame(long struct)Unsafe version ofpOffsetForRefFrame.static voidnpOffsetForRefFrame(long struct, java.nio.IntBuffer value)Unsafe version ofpOffsetForRefFrame.static intnprofile_idc(long struct)Unsafe version ofprofile_idc().static voidnprofile_idc(long struct, int value)Unsafe version ofprofile_idc.static StdVideoH264ScalingListsnpScalingLists(long struct)Unsafe version ofpScalingLists().static voidnpScalingLists(long struct, StdVideoH264ScalingLists value)Unsafe version ofpScalingLists.static StdVideoH264SequenceParameterSetVuinpSequenceParameterSetVui(long struct)Unsafe version ofpSequenceParameterSetVui().static voidnpSequenceParameterSetVui(long struct, StdVideoH264SequenceParameterSetVui value)Unsafe version ofpSequenceParameterSetVui.static bytenseq_parameter_set_id(long struct)Unsafe version ofseq_parameter_set_id().static voidnseq_parameter_set_id(long struct, byte value)Unsafe version ofseq_parameter_set_id.bytenum_ref_frames_in_pic_order_cnt_cycle()StdVideoH264SequenceParameterSetnum_ref_frames_in_pic_order_cnt_cycle(byte value)Sets the specified value to thenum_ref_frames_in_pic_order_cnt_cyclefield.intoffset_for_non_ref_pic()StdVideoH264SequenceParameterSetoffset_for_non_ref_pic(int value)Sets the specified value to theoffset_for_non_ref_picfield.intoffset_for_top_to_bottom_field()StdVideoH264SequenceParameterSetoffset_for_top_to_bottom_field(int value)Sets the specified value to theoffset_for_top_to_bottom_fieldfield.intpic_height_in_map_units_minus1()StdVideoH264SequenceParameterSetpic_height_in_map_units_minus1(int value)Sets the specified value to thepic_height_in_map_units_minus1field.intpic_order_cnt_type()StdVideoH264SequenceParameterSetpic_order_cnt_type(int value)Sets the specified value to thepic_order_cnt_typefield.intpic_width_in_mbs_minus1()StdVideoH264SequenceParameterSetpic_width_in_mbs_minus1(int value)Sets the specified value to thepic_width_in_mbs_minus1field.java.nio.IntBufferpOffsetForRefFrame()a pointer representing theoffset_for_ref_framearray withnum_ref_frames_in_pic_order_cnt_cyclenumber of elements.StdVideoH264SequenceParameterSetpOffsetForRefFrame(java.nio.IntBuffer value)Sets the address of the specifiedIntBufferto thepOffsetForRefFrame()field.intprofile_idc()StdVideoH264SequenceParameterSetprofile_idc(int value)Sets the specified value to theprofile_idcfield.StdVideoH264ScalingListspScalingLists()must be a valid pointer if scaling_matrix_present_flag is setStdVideoH264SequenceParameterSetpScalingLists(StdVideoH264ScalingLists value)Sets the address of the specifiedStdVideoH264ScalingListsto thepScalingLists()field.StdVideoH264SequenceParameterSetVuipSequenceParameterSetVui()must be a valid pointer if StdVideoH264SpsFlags:vui_parameters_present_flag is setStdVideoH264SequenceParameterSetpSequenceParameterSetVui(StdVideoH264SequenceParameterSetVui value)Sets the address of the specifiedStdVideoH264SequenceParameterSetVuito thepSequenceParameterSetVui()field.byteseq_parameter_set_id()StdVideoH264SequenceParameterSetseq_parameter_set_id(byte value)Sets the specified value to theseq_parameter_set_idfield.StdVideoH264SequenceParameterSetset(int profile_idc, int level_idc, byte seq_parameter_set_id, int chroma_format_idc, byte bit_depth_luma_minus8, byte bit_depth_chroma_minus8, byte log2_max_frame_num_minus4, int pic_order_cnt_type, byte log2_max_pic_order_cnt_lsb_minus4, int offset_for_non_ref_pic, int offset_for_top_to_bottom_field, 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, StdVideoH264SpsFlags flags, java.nio.IntBuffer pOffsetForRefFrame, StdVideoH264ScalingLists pScalingLists, StdVideoH264SequenceParameterSetVui pSequenceParameterSetVui)Initializes this struct with the specified values.StdVideoH264SequenceParameterSetset(StdVideoH264SequenceParameterSet src)Copies the specified struct data to this struct.intsizeof()static voidvalidate(long struct)Validates pointer members that should not beNULL.
-
-
-
Field Detail
-
SIZEOF
The struct size in bytes.
-
ALIGNOF
The struct alignment in bytes.
-
PROFILE_IDC, LEVEL_IDC, SEQ_PARAMETER_SET_ID, CHROMA_FORMAT_IDC, BIT_DEPTH_LUMA_MINUS8, BIT_DEPTH_CHROMA_MINUS8, LOG2_MAX_FRAME_NUM_MINUS4, PIC_ORDER_CNT_TYPE, LOG2_MAX_PIC_ORDER_CNT_LSB_MINUS4, OFFSET_FOR_NON_REF_PIC, OFFSET_FOR_TOP_TO_BOTTOM_FIELD, NUM_REF_FRAMES_IN_PIC_ORDER_CNT_CYCLE, MAX_NUM_REF_FRAMES, PIC_WIDTH_IN_MBS_MINUS1, PIC_HEIGHT_IN_MAP_UNITS_MINUS1, FRAME_CROP_LEFT_OFFSET, FRAME_CROP_RIGHT_OFFSET, FRAME_CROP_TOP_OFFSET, FRAME_CROP_BOTTOM_OFFSET, FLAGS, POFFSETFORREFFRAME, PSCALINGLISTS, PSEQUENCEPARAMETERSETVUI
The struct member offsets.
-
-
Constructor Detail
-
StdVideoH264SequenceParameterSet
public StdVideoH264SequenceParameterSet(java.nio.ByteBuffer container)
Creates aStdVideoH264SequenceParameterSetinstance at the current position of the specifiedByteBuffercontainer. 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 Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
profile_idc
public int profile_idc()
- Returns:
- the value of the
profile_idcfield.
-
level_idc
public int level_idc()
- Returns:
- the value of the
level_idcfield.
-
seq_parameter_set_id
public byte seq_parameter_set_id()
- Returns:
- the value of the
seq_parameter_set_idfield.
-
chroma_format_idc
public int chroma_format_idc()
- Returns:
- the value of the
chroma_format_idcfield.
-
bit_depth_luma_minus8
public byte bit_depth_luma_minus8()
- Returns:
- the value of the
bit_depth_luma_minus8field.
-
bit_depth_chroma_minus8
public byte bit_depth_chroma_minus8()
- Returns:
- the value of the
bit_depth_chroma_minus8field.
-
log2_max_frame_num_minus4
public byte log2_max_frame_num_minus4()
- Returns:
- the value of the
log2_max_frame_num_minus4field.
-
pic_order_cnt_type
public int pic_order_cnt_type()
- Returns:
- the value of the
pic_order_cnt_typefield.
-
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_minus4field.
-
offset_for_non_ref_pic
public int offset_for_non_ref_pic()
- Returns:
- the value of the
offset_for_non_ref_picfield.
-
offset_for_top_to_bottom_field
public int offset_for_top_to_bottom_field()
- Returns:
- the value of the
offset_for_top_to_bottom_fieldfield.
-
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_cyclefield.
-
max_num_ref_frames
public byte max_num_ref_frames()
- Returns:
- the value of the
max_num_ref_framesfield.
-
pic_width_in_mbs_minus1
public int pic_width_in_mbs_minus1()
- Returns:
- the value of the
pic_width_in_mbs_minus1field.
-
pic_height_in_map_units_minus1
public int pic_height_in_map_units_minus1()
- Returns:
- the value of the
pic_height_in_map_units_minus1field.
-
frame_crop_left_offset
public int frame_crop_left_offset()
- Returns:
- the value of the
frame_crop_left_offsetfield.
-
frame_crop_right_offset
public int frame_crop_right_offset()
- Returns:
- the value of the
frame_crop_right_offsetfield.
-
frame_crop_top_offset
public int frame_crop_top_offset()
- Returns:
- the value of the
frame_crop_top_offsetfield.
-
frame_crop_bottom_offset
public int frame_crop_bottom_offset()
- Returns:
- the value of the
frame_crop_bottom_offsetfield.
-
flags
public StdVideoH264SpsFlags flags()
- Returns:
- a
StdVideoH264SpsFlagsview of theflagsfield.
-
pOffsetForRefFrame
@Nullable public java.nio.IntBuffer pOffsetForRefFrame()
a pointer representing theoffset_for_ref_framearray withnum_ref_frames_in_pic_order_cnt_cyclenumber of elements.If
pOffsetForRefFramehasnullptrvalue, thennum_ref_frames_in_pic_order_cnt_cyclemust also be "0".
-
pScalingLists
public StdVideoH264ScalingLists pScalingLists()
must be a valid pointer if scaling_matrix_present_flag is set
-
pSequenceParameterSetVui
public StdVideoH264SequenceParameterSetVui pSequenceParameterSetVui()
must be a valid pointer if StdVideoH264SpsFlags:vui_parameters_present_flag is set
-
profile_idc
public StdVideoH264SequenceParameterSet profile_idc(int value)
Sets the specified value to theprofile_idcfield.
-
level_idc
public StdVideoH264SequenceParameterSet level_idc(int value)
Sets the specified value to thelevel_idcfield.
-
seq_parameter_set_id
public StdVideoH264SequenceParameterSet seq_parameter_set_id(byte value)
Sets the specified value to theseq_parameter_set_idfield.
-
chroma_format_idc
public StdVideoH264SequenceParameterSet chroma_format_idc(int value)
Sets the specified value to thechroma_format_idcfield.
-
bit_depth_luma_minus8
public StdVideoH264SequenceParameterSet bit_depth_luma_minus8(byte value)
Sets the specified value to thebit_depth_luma_minus8field.
-
bit_depth_chroma_minus8
public StdVideoH264SequenceParameterSet bit_depth_chroma_minus8(byte value)
Sets the specified value to thebit_depth_chroma_minus8field.
-
log2_max_frame_num_minus4
public StdVideoH264SequenceParameterSet log2_max_frame_num_minus4(byte value)
Sets the specified value to thelog2_max_frame_num_minus4field.
-
pic_order_cnt_type
public StdVideoH264SequenceParameterSet pic_order_cnt_type(int value)
Sets the specified value to thepic_order_cnt_typefield.
-
log2_max_pic_order_cnt_lsb_minus4
public StdVideoH264SequenceParameterSet log2_max_pic_order_cnt_lsb_minus4(byte value)
Sets the specified value to thelog2_max_pic_order_cnt_lsb_minus4field.
-
offset_for_non_ref_pic
public StdVideoH264SequenceParameterSet offset_for_non_ref_pic(int value)
Sets the specified value to theoffset_for_non_ref_picfield.
-
offset_for_top_to_bottom_field
public StdVideoH264SequenceParameterSet offset_for_top_to_bottom_field(int value)
Sets the specified value to theoffset_for_top_to_bottom_fieldfield.
-
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 thenum_ref_frames_in_pic_order_cnt_cyclefield.
-
max_num_ref_frames
public StdVideoH264SequenceParameterSet max_num_ref_frames(byte value)
Sets the specified value to themax_num_ref_framesfield.
-
pic_width_in_mbs_minus1
public StdVideoH264SequenceParameterSet pic_width_in_mbs_minus1(int value)
Sets the specified value to thepic_width_in_mbs_minus1field.
-
pic_height_in_map_units_minus1
public StdVideoH264SequenceParameterSet pic_height_in_map_units_minus1(int value)
Sets the specified value to thepic_height_in_map_units_minus1field.
-
frame_crop_left_offset
public StdVideoH264SequenceParameterSet frame_crop_left_offset(int value)
Sets the specified value to theframe_crop_left_offsetfield.
-
frame_crop_right_offset
public StdVideoH264SequenceParameterSet frame_crop_right_offset(int value)
Sets the specified value to theframe_crop_right_offsetfield.
-
frame_crop_top_offset
public StdVideoH264SequenceParameterSet frame_crop_top_offset(int value)
Sets the specified value to theframe_crop_top_offsetfield.
-
frame_crop_bottom_offset
public StdVideoH264SequenceParameterSet frame_crop_bottom_offset(int value)
Sets the specified value to theframe_crop_bottom_offsetfield.
-
flags
public StdVideoH264SequenceParameterSet flags(StdVideoH264SpsFlags value)
Copies the specifiedStdVideoH264SpsFlagsto theflagsfield.
-
flags
public StdVideoH264SequenceParameterSet flags(java.util.function.Consumer<StdVideoH264SpsFlags> consumer)
Passes theflagsfield to the specifiedConsumer.
-
pOffsetForRefFrame
public StdVideoH264SequenceParameterSet pOffsetForRefFrame(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto thepOffsetForRefFrame()field.
-
pScalingLists
public StdVideoH264SequenceParameterSet pScalingLists(StdVideoH264ScalingLists value)
Sets the address of the specifiedStdVideoH264ScalingListsto thepScalingLists()field.
-
pSequenceParameterSetVui
public StdVideoH264SequenceParameterSet pSequenceParameterSetVui(StdVideoH264SequenceParameterSetVui value)
Sets the address of the specifiedStdVideoH264SequenceParameterSetVuito thepSequenceParameterSetVui()field.
-
set
public StdVideoH264SequenceParameterSet set(int profile_idc, int level_idc, byte seq_parameter_set_id, int chroma_format_idc, byte bit_depth_luma_minus8, byte bit_depth_chroma_minus8, byte log2_max_frame_num_minus4, int pic_order_cnt_type, byte log2_max_pic_order_cnt_lsb_minus4, int offset_for_non_ref_pic, int offset_for_top_to_bottom_field, 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, StdVideoH264SpsFlags flags, @Nullable java.nio.IntBuffer pOffsetForRefFrame, StdVideoH264ScalingLists pScalingLists, StdVideoH264SequenceParameterSetVui pSequenceParameterSetVui)
Initializes this struct with the specified values.
-
set
public StdVideoH264SequenceParameterSet set(StdVideoH264SequenceParameterSet src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static StdVideoH264SequenceParameterSet malloc()
Returns a newStdVideoH264SequenceParameterSetinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static StdVideoH264SequenceParameterSet calloc()
Returns a newStdVideoH264SequenceParameterSetinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static StdVideoH264SequenceParameterSet create()
Returns a newStdVideoH264SequenceParameterSetinstance allocated withBufferUtils.
-
create
public static StdVideoH264SequenceParameterSet create(long address)
Returns a newStdVideoH264SequenceParameterSetinstance for the specified memory address.
-
createSafe
@Nullable public static StdVideoH264SequenceParameterSet createSafe(long address)
-
malloc
public static StdVideoH264SequenceParameterSet.Buffer malloc(int capacity)
Returns a newStdVideoH264SequenceParameterSet.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static StdVideoH264SequenceParameterSet.Buffer calloc(int capacity)
Returns a newStdVideoH264SequenceParameterSet.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static StdVideoH264SequenceParameterSet.Buffer create(int capacity)
Returns a newStdVideoH264SequenceParameterSet.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static StdVideoH264SequenceParameterSet.Buffer create(long address, int capacity)
Create aStdVideoH264SequenceParameterSet.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static StdVideoH264SequenceParameterSet.Buffer createSafe(long address, int capacity)
-
malloc
public static StdVideoH264SequenceParameterSet malloc(org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoH264SequenceParameterSetinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static StdVideoH264SequenceParameterSet calloc(org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoH264SequenceParameterSetinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static StdVideoH264SequenceParameterSet.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoH264SequenceParameterSet.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static StdVideoH264SequenceParameterSet.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoH264SequenceParameterSet.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
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().
-
nseq_parameter_set_id
public static byte nseq_parameter_set_id(long struct)
Unsafe version ofseq_parameter_set_id().
-
nchroma_format_idc
public static int nchroma_format_idc(long struct)
Unsafe version ofchroma_format_idc().
-
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().
-
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().
-
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().
-
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().
-
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().
-
nflags
public static StdVideoH264SpsFlags nflags(long struct)
Unsafe version offlags().
-
npOffsetForRefFrame
@Nullable public static java.nio.IntBuffer npOffsetForRefFrame(long struct)
Unsafe version ofpOffsetForRefFrame.
-
npScalingLists
public static StdVideoH264ScalingLists npScalingLists(long struct)
Unsafe version ofpScalingLists().
-
npSequenceParameterSetVui
public static StdVideoH264SequenceParameterSetVui npSequenceParameterSetVui(long struct)
Unsafe version ofpSequenceParameterSetVui().
-
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.
-
nseq_parameter_set_id
public static void nseq_parameter_set_id(long struct, byte value)Unsafe version ofseq_parameter_set_id.
-
nchroma_format_idc
public static void nchroma_format_idc(long struct, int value)Unsafe version ofchroma_format_idc.
-
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.
-
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.
-
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.
-
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_cyclefield of the specifiedstruct.
-
nmax_num_ref_frames
public static void nmax_num_ref_frames(long struct, byte value)Unsafe version ofmax_num_ref_frames.
-
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.
-
nflags
public static void nflags(long struct, StdVideoH264SpsFlags value)Unsafe version offlags.
-
npOffsetForRefFrame
public static void npOffsetForRefFrame(long struct, @Nullable java.nio.IntBuffer value)Unsafe version ofpOffsetForRefFrame.
-
npScalingLists
public static void npScalingLists(long struct, StdVideoH264ScalingLists value)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
-
-