Package org.lwjgl.vulkan.video
Class StdVideoEncodeH265SliceSegmentHeaderFlags
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<StdVideoEncodeH265SliceSegmentHeaderFlags>
org.lwjgl.vulkan.video.StdVideoEncodeH265SliceSegmentHeaderFlags
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
public class StdVideoEncodeH265SliceSegmentHeaderFlags
extends Struct<StdVideoEncodeH265SliceSegmentHeaderFlags>
implements NativeResource
struct StdVideoEncodeH265SliceSegmentHeaderFlags {
uint32_t first_slice_segment_in_pic_flag : 1;
uint32_t dependent_slice_segment_flag : 1;
uint32_t slice_sao_luma_flag : 1;
uint32_t slice_sao_chroma_flag : 1;
uint32_t num_ref_idx_active_override_flag : 1;
uint32_t mvd_l1_zero_flag : 1;
uint32_t cabac_init_flag : 1;
uint32_t cu_chroma_qp_offset_enabled_flag : 1;
uint32_t deblocking_filter_override_flag : 1;
uint32_t slice_deblocking_filter_disabled_flag : 1;
uint32_t collocated_from_l0_flag : 1;
uint32_t slice_loop_filter_across_slices_enabled_flag : 1;
uint32_t reserved : 20;
}
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
An array ofStdVideoEncodeH265SliceSegmentHeaderFlags
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 size in bytes.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionCreates aStdVideoEncodeH265SliceSegmentHeaderFlags
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionboolean
cabac_init_flag
(boolean value) Sets the specified value to thecabac_init_flag
field.calloc()
Returns a newStdVideoEncodeH265SliceSegmentHeaderFlags
instance allocated withmemCalloc
.calloc
(int capacity) Returns a newStdVideoEncodeH265SliceSegmentHeaderFlags.Buffer
instance allocated withmemCalloc
.calloc
(int capacity, MemoryStack stack) Returns a newStdVideoEncodeH265SliceSegmentHeaderFlags.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.calloc
(MemoryStack stack) Returns a newStdVideoEncodeH265SliceSegmentHeaderFlags
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.boolean
collocated_from_l0_flag
(boolean value) Sets the specified value to thecollocated_from_l0_flag
field.create()
Returns a newStdVideoEncodeH265SliceSegmentHeaderFlags
instance allocated withBufferUtils
.create
(int capacity) Returns a newStdVideoEncodeH265SliceSegmentHeaderFlags.Buffer
instance allocated withBufferUtils
.create
(long address) Returns a newStdVideoEncodeH265SliceSegmentHeaderFlags
instance for the specified memory address.create
(long address, int capacity) Create aStdVideoEncodeH265SliceSegmentHeaderFlags.Buffer
instance at the specified memory.static @Nullable StdVideoEncodeH265SliceSegmentHeaderFlags
createSafe
(long address) static @Nullable StdVideoEncodeH265SliceSegmentHeaderFlags.Buffer
createSafe
(long address, int capacity) boolean
cu_chroma_qp_offset_enabled_flag
(boolean value) Sets the specified value to thecu_chroma_qp_offset_enabled_flag
field.boolean
deblocking_filter_override_flag
(boolean value) Sets the specified value to thedeblocking_filter_override_flag
field.boolean
dependent_slice_segment_flag
(boolean value) Sets the specified value to thedependent_slice_segment_flag
field.boolean
first_slice_segment_in_pic_flag
(boolean value) Sets the specified value to thefirst_slice_segment_in_pic_flag
field.malloc()
Returns a newStdVideoEncodeH265SliceSegmentHeaderFlags
instance allocated withmemAlloc
.malloc
(int capacity) Returns a newStdVideoEncodeH265SliceSegmentHeaderFlags.Buffer
instance allocated withmemAlloc
.malloc
(int capacity, MemoryStack stack) Returns a newStdVideoEncodeH265SliceSegmentHeaderFlags.Buffer
instance allocated on the specifiedMemoryStack
.malloc
(MemoryStack stack) Returns a newStdVideoEncodeH265SliceSegmentHeaderFlags
instance allocated on the specifiedMemoryStack
.boolean
mvd_l1_zero_flag
(boolean value) Sets the specified value to themvd_l1_zero_flag
field.static int
nbitfield0
(long struct) static void
nbitfield0
(long struct, int value) static int
nbitfield1
(long struct) static void
nbitfield1
(long struct, int value) static int
ncabac_init_flag
(long struct) Unsafe version ofcabac_init_flag()
.static void
ncabac_init_flag
(long struct, int value) Unsafe version ofcabac_init_flag
.static int
ncollocated_from_l0_flag
(long struct) Unsafe version ofcollocated_from_l0_flag()
.static void
ncollocated_from_l0_flag
(long struct, int value) Unsafe version ofcollocated_from_l0_flag
.static int
ncu_chroma_qp_offset_enabled_flag
(long struct) Unsafe version ofcu_chroma_qp_offset_enabled_flag()
.static void
ncu_chroma_qp_offset_enabled_flag
(long struct, int value) Unsafe version ofcu_chroma_qp_offset_enabled_flag
.static int
ndeblocking_filter_override_flag
(long struct) Unsafe version ofdeblocking_filter_override_flag()
.static void
ndeblocking_filter_override_flag
(long struct, int value) Unsafe version ofdeblocking_filter_override_flag
.static int
ndependent_slice_segment_flag
(long struct) Unsafe version ofdependent_slice_segment_flag()
.static void
ndependent_slice_segment_flag
(long struct, int value) Unsafe version ofdependent_slice_segment_flag
.static int
nfirst_slice_segment_in_pic_flag
(long struct) Unsafe version offirst_slice_segment_in_pic_flag()
.static void
nfirst_slice_segment_in_pic_flag
(long struct, int value) Unsafe version offirst_slice_segment_in_pic_flag
.static int
nmvd_l1_zero_flag
(long struct) Unsafe version ofmvd_l1_zero_flag()
.static void
nmvd_l1_zero_flag
(long struct, int value) Unsafe version ofmvd_l1_zero_flag
.static int
nnum_ref_idx_active_override_flag
(long struct) Unsafe version ofnum_ref_idx_active_override_flag()
.static void
nnum_ref_idx_active_override_flag
(long struct, int value) Unsafe version ofnum_ref_idx_active_override_flag
.static int
nreserved
(long struct) static void
nreserved
(long struct, int value) static int
nslice_deblocking_filter_disabled_flag
(long struct) Unsafe version ofslice_deblocking_filter_disabled_flag()
.static void
nslice_deblocking_filter_disabled_flag
(long struct, int value) Unsafe version ofslice_deblocking_filter_disabled_flag
.static int
nslice_loop_filter_across_slices_enabled_flag
(long struct) Unsafe version ofslice_loop_filter_across_slices_enabled_flag()
.static void
nslice_loop_filter_across_slices_enabled_flag
(long struct, int value) Unsafe version ofslice_loop_filter_across_slices_enabled_flag
.static int
nslice_sao_chroma_flag
(long struct) Unsafe version ofslice_sao_chroma_flag()
.static void
nslice_sao_chroma_flag
(long struct, int value) Unsafe version ofslice_sao_chroma_flag
.static int
nslice_sao_luma_flag
(long struct) Unsafe version ofslice_sao_luma_flag()
.static void
nslice_sao_luma_flag
(long struct, int value) Unsafe version ofslice_sao_luma_flag
.boolean
num_ref_idx_active_override_flag
(boolean value) Sets the specified value to thenum_ref_idx_active_override_flag
field.set
(boolean first_slice_segment_in_pic_flag, boolean dependent_slice_segment_flag, boolean slice_sao_luma_flag, boolean slice_sao_chroma_flag, boolean num_ref_idx_active_override_flag, boolean mvd_l1_zero_flag, boolean cabac_init_flag, boolean cu_chroma_qp_offset_enabled_flag, boolean deblocking_filter_override_flag, boolean slice_deblocking_filter_disabled_flag, boolean collocated_from_l0_flag, boolean slice_loop_filter_across_slices_enabled_flag) Initializes this struct with the specified values.Copies the specified struct data to this struct.int
sizeof()
Returnssizeof(struct)
.boolean
slice_deblocking_filter_disabled_flag
(boolean value) Sets the specified value to theslice_deblocking_filter_disabled_flag
field.boolean
slice_loop_filter_across_slices_enabled_flag
(boolean value) Sets the specified value to theslice_loop_filter_across_slices_enabled_flag
field.boolean
slice_sao_chroma_flag
(boolean value) Sets the specified value to theslice_sao_chroma_flag
field.boolean
slice_sao_luma_flag
(boolean value) Sets the specified value to theslice_sao_luma_flag
field.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. -
BITFIELD0
public static final int BITFIELD0The struct member offsets. -
BITFIELD1
public static final int BITFIELD1The struct member offsets.
-
-
Constructor Details
-
StdVideoEncodeH265SliceSegmentHeaderFlags
Creates aStdVideoEncodeH265SliceSegmentHeaderFlags
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<StdVideoEncodeH265SliceSegmentHeaderFlags>
-
first_slice_segment_in_pic_flag
public boolean first_slice_segment_in_pic_flag()- Returns:
- the value of the
first_slice_segment_in_pic_flag
field.
-
dependent_slice_segment_flag
public boolean dependent_slice_segment_flag()- Returns:
- the value of the
dependent_slice_segment_flag
field.
-
slice_sao_luma_flag
public boolean slice_sao_luma_flag()- Returns:
- the value of the
slice_sao_luma_flag
field.
-
slice_sao_chroma_flag
public boolean slice_sao_chroma_flag()- Returns:
- the value of the
slice_sao_chroma_flag
field.
-
num_ref_idx_active_override_flag
public boolean num_ref_idx_active_override_flag()- Returns:
- the value of the
num_ref_idx_active_override_flag
field.
-
mvd_l1_zero_flag
public boolean mvd_l1_zero_flag()- Returns:
- the value of the
mvd_l1_zero_flag
field.
-
cabac_init_flag
public boolean cabac_init_flag()- Returns:
- the value of the
cabac_init_flag
field.
-
cu_chroma_qp_offset_enabled_flag
public boolean cu_chroma_qp_offset_enabled_flag()- Returns:
- the value of the
cu_chroma_qp_offset_enabled_flag
field.
-
deblocking_filter_override_flag
public boolean deblocking_filter_override_flag()- Returns:
- the value of the
deblocking_filter_override_flag
field.
-
slice_deblocking_filter_disabled_flag
public boolean slice_deblocking_filter_disabled_flag()- Returns:
- the value of the
slice_deblocking_filter_disabled_flag
field.
-
collocated_from_l0_flag
public boolean collocated_from_l0_flag()- Returns:
- the value of the
collocated_from_l0_flag
field.
-
slice_loop_filter_across_slices_enabled_flag
public boolean slice_loop_filter_across_slices_enabled_flag()- Returns:
- the value of the
slice_loop_filter_across_slices_enabled_flag
field.
-
first_slice_segment_in_pic_flag
Sets the specified value to thefirst_slice_segment_in_pic_flag
field. -
dependent_slice_segment_flag
Sets the specified value to thedependent_slice_segment_flag
field. -
slice_sao_luma_flag
Sets the specified value to theslice_sao_luma_flag
field. -
slice_sao_chroma_flag
Sets the specified value to theslice_sao_chroma_flag
field. -
num_ref_idx_active_override_flag
Sets the specified value to thenum_ref_idx_active_override_flag
field. -
mvd_l1_zero_flag
Sets the specified value to themvd_l1_zero_flag
field. -
cabac_init_flag
Sets the specified value to thecabac_init_flag
field. -
cu_chroma_qp_offset_enabled_flag
Sets the specified value to thecu_chroma_qp_offset_enabled_flag
field. -
deblocking_filter_override_flag
Sets the specified value to thedeblocking_filter_override_flag
field. -
slice_deblocking_filter_disabled_flag
public StdVideoEncodeH265SliceSegmentHeaderFlags slice_deblocking_filter_disabled_flag(boolean value) Sets the specified value to theslice_deblocking_filter_disabled_flag
field. -
collocated_from_l0_flag
Sets the specified value to thecollocated_from_l0_flag
field. -
slice_loop_filter_across_slices_enabled_flag
public StdVideoEncodeH265SliceSegmentHeaderFlags slice_loop_filter_across_slices_enabled_flag(boolean value) Sets the specified value to theslice_loop_filter_across_slices_enabled_flag
field. -
set
public StdVideoEncodeH265SliceSegmentHeaderFlags set(boolean first_slice_segment_in_pic_flag, boolean dependent_slice_segment_flag, boolean slice_sao_luma_flag, boolean slice_sao_chroma_flag, boolean num_ref_idx_active_override_flag, boolean mvd_l1_zero_flag, boolean cabac_init_flag, boolean cu_chroma_qp_offset_enabled_flag, boolean deblocking_filter_override_flag, boolean slice_deblocking_filter_disabled_flag, boolean collocated_from_l0_flag, boolean slice_loop_filter_across_slices_enabled_flag) 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 newStdVideoEncodeH265SliceSegmentHeaderFlags
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newStdVideoEncodeH265SliceSegmentHeaderFlags
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newStdVideoEncodeH265SliceSegmentHeaderFlags
instance allocated withBufferUtils
. -
create
Returns a newStdVideoEncodeH265SliceSegmentHeaderFlags
instance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoEncodeH265SliceSegmentHeaderFlags.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newStdVideoEncodeH265SliceSegmentHeaderFlags.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newStdVideoEncodeH265SliceSegmentHeaderFlags.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aStdVideoEncodeH265SliceSegmentHeaderFlags.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
public static @Nullable StdVideoEncodeH265SliceSegmentHeaderFlags.Buffer createSafe(long address, int capacity) -
malloc
Returns a newStdVideoEncodeH265SliceSegmentHeaderFlags
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newStdVideoEncodeH265SliceSegmentHeaderFlags
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
public static StdVideoEncodeH265SliceSegmentHeaderFlags.Buffer malloc(int capacity, MemoryStack stack) Returns a newStdVideoEncodeH265SliceSegmentHeaderFlags.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
public static StdVideoEncodeH265SliceSegmentHeaderFlags.Buffer calloc(int capacity, MemoryStack stack) Returns a newStdVideoEncodeH265SliceSegmentHeaderFlags.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
nbitfield0
public static int nbitfield0(long struct) -
nfirst_slice_segment_in_pic_flag
public static int nfirst_slice_segment_in_pic_flag(long struct) Unsafe version offirst_slice_segment_in_pic_flag()
. -
ndependent_slice_segment_flag
public static int ndependent_slice_segment_flag(long struct) Unsafe version ofdependent_slice_segment_flag()
. -
nslice_sao_luma_flag
public static int nslice_sao_luma_flag(long struct) Unsafe version ofslice_sao_luma_flag()
. -
nslice_sao_chroma_flag
public static int nslice_sao_chroma_flag(long struct) Unsafe version ofslice_sao_chroma_flag()
. -
nnum_ref_idx_active_override_flag
public static int nnum_ref_idx_active_override_flag(long struct) Unsafe version ofnum_ref_idx_active_override_flag()
. -
nmvd_l1_zero_flag
public static int nmvd_l1_zero_flag(long struct) Unsafe version ofmvd_l1_zero_flag()
. -
ncabac_init_flag
public static int ncabac_init_flag(long struct) Unsafe version ofcabac_init_flag()
. -
ncu_chroma_qp_offset_enabled_flag
public static int ncu_chroma_qp_offset_enabled_flag(long struct) Unsafe version ofcu_chroma_qp_offset_enabled_flag()
. -
ndeblocking_filter_override_flag
public static int ndeblocking_filter_override_flag(long struct) Unsafe version ofdeblocking_filter_override_flag()
. -
nslice_deblocking_filter_disabled_flag
public static int nslice_deblocking_filter_disabled_flag(long struct) Unsafe version ofslice_deblocking_filter_disabled_flag()
. -
ncollocated_from_l0_flag
public static int ncollocated_from_l0_flag(long struct) Unsafe version ofcollocated_from_l0_flag()
. -
nslice_loop_filter_across_slices_enabled_flag
public static int nslice_loop_filter_across_slices_enabled_flag(long struct) Unsafe version ofslice_loop_filter_across_slices_enabled_flag()
. -
nbitfield1
public static int nbitfield1(long struct) -
nreserved
public static int nreserved(long struct) -
nbitfield0
public static void nbitfield0(long struct, int value) -
nfirst_slice_segment_in_pic_flag
public static void nfirst_slice_segment_in_pic_flag(long struct, int value) Unsafe version offirst_slice_segment_in_pic_flag
. -
ndependent_slice_segment_flag
public static void ndependent_slice_segment_flag(long struct, int value) Unsafe version ofdependent_slice_segment_flag
. -
nslice_sao_luma_flag
public static void nslice_sao_luma_flag(long struct, int value) Unsafe version ofslice_sao_luma_flag
. -
nslice_sao_chroma_flag
public static void nslice_sao_chroma_flag(long struct, int value) Unsafe version ofslice_sao_chroma_flag
. -
nnum_ref_idx_active_override_flag
public static void nnum_ref_idx_active_override_flag(long struct, int value) Unsafe version ofnum_ref_idx_active_override_flag
. -
nmvd_l1_zero_flag
public static void nmvd_l1_zero_flag(long struct, int value) Unsafe version ofmvd_l1_zero_flag
. -
ncabac_init_flag
public static void ncabac_init_flag(long struct, int value) Unsafe version ofcabac_init_flag
. -
ncu_chroma_qp_offset_enabled_flag
public static void ncu_chroma_qp_offset_enabled_flag(long struct, int value) Unsafe version ofcu_chroma_qp_offset_enabled_flag
. -
ndeblocking_filter_override_flag
public static void ndeblocking_filter_override_flag(long struct, int value) Unsafe version ofdeblocking_filter_override_flag
. -
nslice_deblocking_filter_disabled_flag
public static void nslice_deblocking_filter_disabled_flag(long struct, int value) Unsafe version ofslice_deblocking_filter_disabled_flag
. -
ncollocated_from_l0_flag
public static void ncollocated_from_l0_flag(long struct, int value) Unsafe version ofcollocated_from_l0_flag
. -
nslice_loop_filter_across_slices_enabled_flag
public static void nslice_loop_filter_across_slices_enabled_flag(long struct, int value) Unsafe version ofslice_loop_filter_across_slices_enabled_flag
. -
nbitfield1
public static void nbitfield1(long struct, int value) -
nreserved
public static void nreserved(long struct, int value)
-