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 {
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 Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAn array ofStdVideoH264SequenceParameterSetstructs.Nested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe 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 aStdVideoH264SequenceParameterSetinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionbytebit_depth_chroma_minus8(byte value) Sets the specified value to thebit_depth_chroma_minus8field.bytebit_depth_luma_minus8(byte value) Sets the specified value to thebit_depth_luma_minus8field.calloc()Returns a newStdVideoH264SequenceParameterSetinstance allocated withmemCalloc.calloc(int capacity) Returns a newStdVideoH264SequenceParameterSet.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newStdVideoH264SequenceParameterSet.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(MemoryStack stack) Returns a newStdVideoH264SequenceParameterSetinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.intchroma_format_idc(int value) Sets the specified value to thechroma_format_idcfield.create()Returns a newStdVideoH264SequenceParameterSetinstance allocated withBufferUtils.create(int capacity) Returns a newStdVideoH264SequenceParameterSet.Bufferinstance allocated withBufferUtils.create(long address) Returns a newStdVideoH264SequenceParameterSetinstance for the specified memory address.create(long address, int capacity) Create aStdVideoH264SequenceParameterSet.Bufferinstance at the specified memory.static @Nullable StdVideoH264SequenceParameterSetcreateSafe(long address) static @Nullable StdVideoH264SequenceParameterSet.BuffercreateSafe(long address, int capacity) flags()flags(Consumer<StdVideoH264SpsFlags> consumer) Passes theflagsfield to the specifiedConsumer.flags(StdVideoH264SpsFlags value) Copies the specifiedStdVideoH264SpsFlagsto theflagsfield.intframe_crop_bottom_offset(int value) Sets the specified value to theframe_crop_bottom_offsetfield.intframe_crop_left_offset(int value) Sets the specified value to theframe_crop_left_offsetfield.intframe_crop_right_offset(int value) Sets the specified value to theframe_crop_right_offsetfield.intframe_crop_top_offset(int value) Sets the specified value to theframe_crop_top_offsetfield.intlevel_idc(int value) Sets the specified value to thelevel_idcfield.bytelog2_max_frame_num_minus4(byte value) Sets the specified value to thelog2_max_frame_num_minus4field.bytelog2_max_pic_order_cnt_lsb_minus4(byte value) Sets the specified value to thelog2_max_pic_order_cnt_lsb_minus4field.malloc()Returns a newStdVideoH264SequenceParameterSetinstance allocated withmemAlloc.malloc(int capacity) Returns a newStdVideoH264SequenceParameterSet.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newStdVideoH264SequenceParameterSet.Bufferinstance allocated on the specifiedMemoryStack.malloc(MemoryStack stack) Returns a newStdVideoH264SequenceParameterSetinstance allocated on the specifiedMemoryStack.bytemax_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 @Nullable IntBuffernpOffsetForRefFrame(long struct) Unsafe version ofpOffsetForRefFrame.static voidnpOffsetForRefFrame(long struct, @Nullable 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.npSequenceParameterSetVui(long struct) Unsafe version ofpSequenceParameterSetVui().static voidnpSequenceParameterSetVui(long struct, StdVideoH264SequenceParameterSetVui value) Unsafe version ofpSequenceParameterSetVui.static bytenreserved1(long struct) static voidnreserved1(long struct, byte value) static intnreserved2(long struct) static voidnreserved2(long struct, int value) 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(byte value) Sets the specified value to thenum_ref_frames_in_pic_order_cnt_cyclefield.intoffset_for_non_ref_pic(int value) Sets the specified value to theoffset_for_non_ref_picfield.intoffset_for_top_to_bottom_field(int value) Sets the specified value to theoffset_for_top_to_bottom_fieldfield.intpic_height_in_map_units_minus1(int value) Sets the specified value to thepic_height_in_map_units_minus1field.intpic_order_cnt_type(int value) Sets the specified value to thepic_order_cnt_typefield.intpic_width_in_mbs_minus1(int value) Sets the specified value to thepic_width_in_mbs_minus1field.@Nullable IntBufferpOffsetForRefFrame(@Nullable IntBuffer value) Sets the address of the specifiedIntBufferto thepOffsetForRefFramefield.intprofile_idc(int value) Sets the specified value to theprofile_idcfield.Sets the address of the specifiedStdVideoH264ScalingListsto thepScalingListsfield.Sets the address of the specifiedStdVideoH264SequenceParameterSetVuito thepSequenceParameterSetVuifield.byteseq_parameter_set_id(byte value) Sets the specified value to theseq_parameter_set_idfield.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.intsizeof()Returnssizeof(struct).static voidvalidate(long struct) Validates pointer members that should not beNULL.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods 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 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 Details
-
sizeof
public int sizeof()Description copied from class:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<StdVideoH264SequenceParameterSet>
-
flags
- Returns:
- a
StdVideoH264SpsFlagsview of theflagsfield.
-
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.
-
chroma_format_idc
public int chroma_format_idc()- Returns:
- the value of the
chroma_format_idcfield.
-
seq_parameter_set_id
public byte seq_parameter_set_id()- Returns:
- the value of the
seq_parameter_set_idfield.
-
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.
-
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.
-
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.
-
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.
-
pOffsetForRefFrame
- Returns:
- a
IntBufferview of the data pointed to by thepOffsetForRefFramefield.
-
pScalingLists
- Returns:
- a
StdVideoH264ScalingListsview of the struct pointed to by thepScalingListsfield.
-
pSequenceParameterSetVui
- Returns:
- a
StdVideoH264SequenceParameterSetVuiview of the struct pointed to by thepSequenceParameterSetVuifield.
-
flags
Copies the specifiedStdVideoH264SpsFlagsto theflagsfield. -
flags
Passes theflagsfield to the specifiedConsumer. -
profile_idc
Sets the specified value to theprofile_idcfield. -
level_idc
Sets the specified value to thelevel_idcfield. -
chroma_format_idc
Sets the specified value to thechroma_format_idcfield. -
seq_parameter_set_id
Sets the specified value to theseq_parameter_set_idfield. -
bit_depth_luma_minus8
Sets the specified value to thebit_depth_luma_minus8field. -
bit_depth_chroma_minus8
Sets the specified value to thebit_depth_chroma_minus8field. -
log2_max_frame_num_minus4
Sets the specified value to thelog2_max_frame_num_minus4field. -
pic_order_cnt_type
Sets the specified value to thepic_order_cnt_typefield. -
offset_for_non_ref_pic
Sets the specified value to theoffset_for_non_ref_picfield. -
offset_for_top_to_bottom_field
Sets the specified value to theoffset_for_top_to_bottom_fieldfield. -
log2_max_pic_order_cnt_lsb_minus4
Sets the specified value to thelog2_max_pic_order_cnt_lsb_minus4field. -
num_ref_frames_in_pic_order_cnt_cycle
Sets the specified value to thenum_ref_frames_in_pic_order_cnt_cyclefield. -
max_num_ref_frames
Sets the specified value to themax_num_ref_framesfield. -
pic_width_in_mbs_minus1
Sets the specified value to thepic_width_in_mbs_minus1field. -
pic_height_in_map_units_minus1
Sets the specified value to thepic_height_in_map_units_minus1field. -
frame_crop_left_offset
Sets the specified value to theframe_crop_left_offsetfield. -
frame_crop_right_offset
Sets the specified value to theframe_crop_right_offsetfield. -
frame_crop_top_offset
Sets the specified value to theframe_crop_top_offsetfield. -
frame_crop_bottom_offset
Sets the specified value to theframe_crop_bottom_offsetfield. -
pOffsetForRefFrame
Sets the address of the specifiedIntBufferto thepOffsetForRefFramefield. -
pScalingLists
Sets the address of the specifiedStdVideoH264ScalingListsto thepScalingListsfield. -
pSequenceParameterSetVui
public StdVideoH264SequenceParameterSet pSequenceParameterSetVui(StdVideoH264SequenceParameterSetVui value) Sets the address of the specifiedStdVideoH264SequenceParameterSetVuito thepSequenceParameterSetVuifield. -
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 newStdVideoH264SequenceParameterSetinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newStdVideoH264SequenceParameterSetinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newStdVideoH264SequenceParameterSetinstance allocated withBufferUtils. -
create
Returns a newStdVideoH264SequenceParameterSetinstance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoH264SequenceParameterSet.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newStdVideoH264SequenceParameterSet.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newStdVideoH264SequenceParameterSet.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aStdVideoH264SequenceParameterSet.Bufferinstance 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 newStdVideoH264SequenceParameterSetinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newStdVideoH264SequenceParameterSetinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newStdVideoH264SequenceParameterSet.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newStdVideoH264SequenceParameterSet.Bufferinstance allocated on the specifiedMemoryStackand 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_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. -
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
-