Package org.lwjgl.vulkan
Class VkVideoEncodeH265NaluSliceSegmentEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkVideoEncodeH265NaluSliceSegmentEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkVideoEncodeH265NaluSliceSegmentEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifies H.265 encode slice segment NALU parameters.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_VIDEO_ENCODE_H265_NALU_SLICE_SEGMENT_EXTpNextmust beNULL- If
pReferenceFinalListsis notNULL,pReferenceFinalListsmust be a valid pointer to a validVkVideoEncodeH265ReferenceListsEXTstructure pSliceSegmentHeaderStdmust be a valid pointer to a validStdVideoEncodeH265SliceSegmentHeadervalue
See Also
VkVideoEncodeH265ReferenceListsEXT,VkVideoEncodeH265VclFrameInfoEXTLayout
struct VkVideoEncodeH265NaluSliceSegmentEXT { VkStructureTypesType(); void const *pNext(); uint32_tctbCount();VkVideoEncodeH265ReferenceListsEXTconst *pReferenceFinalLists();StdVideoEncodeH265SliceSegmentHeaderconst *pSliceSegmentHeaderStd(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkVideoEncodeH265NaluSliceSegmentEXT.BufferAn array ofVkVideoEncodeH265NaluSliceSegmentEXTstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intCTBCOUNT
PNEXT
PREFERENCEFINALLISTS
PSLICESEGMENTHEADERSTDThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkVideoEncodeH265NaluSliceSegmentEXT(java.nio.ByteBuffer container)Creates aVkVideoEncodeH265NaluSliceSegmentEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkVideoEncodeH265NaluSliceSegmentEXTcalloc()Returns a newVkVideoEncodeH265NaluSliceSegmentEXTinstance allocated withmemCalloc.static VkVideoEncodeH265NaluSliceSegmentEXT.Buffercalloc(int capacity)Returns a newVkVideoEncodeH265NaluSliceSegmentEXT.Bufferinstance allocated withmemCalloc.static VkVideoEncodeH265NaluSliceSegmentEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH265NaluSliceSegmentEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoEncodeH265NaluSliceSegmentEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH265NaluSliceSegmentEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoEncodeH265NaluSliceSegmentEXTcreate()Returns a newVkVideoEncodeH265NaluSliceSegmentEXTinstance allocated withBufferUtils.static VkVideoEncodeH265NaluSliceSegmentEXT.Buffercreate(int capacity)Returns a newVkVideoEncodeH265NaluSliceSegmentEXT.Bufferinstance allocated withBufferUtils.static VkVideoEncodeH265NaluSliceSegmentEXTcreate(long address)Returns a newVkVideoEncodeH265NaluSliceSegmentEXTinstance for the specified memory address.static VkVideoEncodeH265NaluSliceSegmentEXT.Buffercreate(long address, int capacity)Create aVkVideoEncodeH265NaluSliceSegmentEXT.Bufferinstance at the specified memory.static VkVideoEncodeH265NaluSliceSegmentEXTcreateSafe(long address)static VkVideoEncodeH265NaluSliceSegmentEXT.BuffercreateSafe(long address, int capacity)intctbCount()the number of CTBs in this slice segment.VkVideoEncodeH265NaluSliceSegmentEXTctbCount(int value)Sets the specified value to thectbCount()field.static VkVideoEncodeH265NaluSliceSegmentEXTmalloc()Returns a newVkVideoEncodeH265NaluSliceSegmentEXTinstance allocated withmemAlloc.static VkVideoEncodeH265NaluSliceSegmentEXT.Buffermalloc(int capacity)Returns a newVkVideoEncodeH265NaluSliceSegmentEXT.Bufferinstance allocated withmemAlloc.static VkVideoEncodeH265NaluSliceSegmentEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH265NaluSliceSegmentEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkVideoEncodeH265NaluSliceSegmentEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH265NaluSliceSegmentEXTinstance allocated on the specifiedMemoryStack.static intnctbCount(long struct)Unsafe version ofctbCount().static voidnctbCount(long struct, int value)Unsafe version ofctbCount.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static VkVideoEncodeH265ReferenceListsEXTnpReferenceFinalLists(long struct)Unsafe version ofpReferenceFinalLists().static voidnpReferenceFinalLists(long struct, VkVideoEncodeH265ReferenceListsEXT value)Unsafe version ofpReferenceFinalLists.static StdVideoEncodeH265SliceSegmentHeadernpSliceSegmentHeaderStd(long struct)Unsafe version ofpSliceSegmentHeaderStd().static voidnpSliceSegmentHeaderStd(long struct, StdVideoEncodeH265SliceSegmentHeader value)Unsafe version ofpSliceSegmentHeaderStd.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.longpNext()NULLor a pointer to a structure extending this structure.VkVideoEncodeH265NaluSliceSegmentEXTpNext(long value)Sets the specified value to thepNext()field.VkVideoEncodeH265ReferenceListsEXTpReferenceFinalLists()NULLor a pointer to aVkVideoEncodeH265ReferenceListsEXTstructure specifying the reference lists to be used for the current slice segment.VkVideoEncodeH265NaluSliceSegmentEXTpReferenceFinalLists(VkVideoEncodeH265ReferenceListsEXT value)Sets the address of the specifiedVkVideoEncodeH265ReferenceListsEXTto thepReferenceFinalLists()field.StdVideoEncodeH265SliceSegmentHeaderpSliceSegmentHeaderStd()a pointer to aStdVideoEncodeH265SliceSegmentHeaderstructure specifying the slice segment header for the current slice segment.VkVideoEncodeH265NaluSliceSegmentEXTpSliceSegmentHeaderStd(StdVideoEncodeH265SliceSegmentHeader value)Sets the address of the specifiedStdVideoEncodeH265SliceSegmentHeaderto thepSliceSegmentHeaderStd()field.VkVideoEncodeH265NaluSliceSegmentEXTset(int sType, long pNext, int ctbCount, VkVideoEncodeH265ReferenceListsEXT pReferenceFinalLists, StdVideoEncodeH265SliceSegmentHeader pSliceSegmentHeaderStd)Initializes this struct with the specified values.VkVideoEncodeH265NaluSliceSegmentEXTset(VkVideoEncodeH265NaluSliceSegmentEXT src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkVideoEncodeH265NaluSliceSegmentEXTsType(int value)Sets the specified value to thesType()field.VkVideoEncodeH265NaluSliceSegmentEXTsType$Default()Sets theSTRUCTURE_TYPE_VIDEO_ENCODE_H265_NALU_SLICE_SEGMENT_EXTvalue to thesType()field.static voidvalidate(long struct)Validates pointer members that should not beNULL.
-
-
-
Constructor Detail
-
VkVideoEncodeH265NaluSliceSegmentEXT
public VkVideoEncodeH265NaluSliceSegmentEXT(java.nio.ByteBuffer container)
Creates aVkVideoEncodeH265NaluSliceSegmentEXTinstance 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
-
sType
public int sType()
the type of this structure.
-
pNext
public long pNext()
NULLor a pointer to a structure extending this structure.
-
ctbCount
public int ctbCount()
the number of CTBs in this slice segment.
-
pReferenceFinalLists
@Nullable public VkVideoEncodeH265ReferenceListsEXT pReferenceFinalLists()
NULLor a pointer to aVkVideoEncodeH265ReferenceListsEXTstructure specifying the reference lists to be used for the current slice segment. IfpReferenceFinalListsis notNULL, these reference lists override the reference lists provided inVkVideoEncodeH265VclFrameInfoEXT::pReferenceFinalLists.
-
pSliceSegmentHeaderStd
public StdVideoEncodeH265SliceSegmentHeader pSliceSegmentHeaderStd()
a pointer to aStdVideoEncodeH265SliceSegmentHeaderstructure specifying the slice segment header for the current slice segment.
-
sType
public VkVideoEncodeH265NaluSliceSegmentEXT sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkVideoEncodeH265NaluSliceSegmentEXT sType$Default()
Sets theSTRUCTURE_TYPE_VIDEO_ENCODE_H265_NALU_SLICE_SEGMENT_EXTvalue to thesType()field.
-
pNext
public VkVideoEncodeH265NaluSliceSegmentEXT pNext(long value)
Sets the specified value to thepNext()field.
-
ctbCount
public VkVideoEncodeH265NaluSliceSegmentEXT ctbCount(int value)
Sets the specified value to thectbCount()field.
-
pReferenceFinalLists
public VkVideoEncodeH265NaluSliceSegmentEXT pReferenceFinalLists(@Nullable VkVideoEncodeH265ReferenceListsEXT value)
Sets the address of the specifiedVkVideoEncodeH265ReferenceListsEXTto thepReferenceFinalLists()field.
-
pSliceSegmentHeaderStd
public VkVideoEncodeH265NaluSliceSegmentEXT pSliceSegmentHeaderStd(StdVideoEncodeH265SliceSegmentHeader value)
Sets the address of the specifiedStdVideoEncodeH265SliceSegmentHeaderto thepSliceSegmentHeaderStd()field.
-
set
public VkVideoEncodeH265NaluSliceSegmentEXT set(int sType, long pNext, int ctbCount, @Nullable VkVideoEncodeH265ReferenceListsEXT pReferenceFinalLists, StdVideoEncodeH265SliceSegmentHeader pSliceSegmentHeaderStd)
Initializes this struct with the specified values.
-
set
public VkVideoEncodeH265NaluSliceSegmentEXT set(VkVideoEncodeH265NaluSliceSegmentEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkVideoEncodeH265NaluSliceSegmentEXT malloc()
Returns a newVkVideoEncodeH265NaluSliceSegmentEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkVideoEncodeH265NaluSliceSegmentEXT calloc()
Returns a newVkVideoEncodeH265NaluSliceSegmentEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkVideoEncodeH265NaluSliceSegmentEXT create()
Returns a newVkVideoEncodeH265NaluSliceSegmentEXTinstance allocated withBufferUtils.
-
create
public static VkVideoEncodeH265NaluSliceSegmentEXT create(long address)
Returns a newVkVideoEncodeH265NaluSliceSegmentEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkVideoEncodeH265NaluSliceSegmentEXT createSafe(long address)
-
malloc
public static VkVideoEncodeH265NaluSliceSegmentEXT.Buffer malloc(int capacity)
Returns a newVkVideoEncodeH265NaluSliceSegmentEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkVideoEncodeH265NaluSliceSegmentEXT.Buffer calloc(int capacity)
Returns a newVkVideoEncodeH265NaluSliceSegmentEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoEncodeH265NaluSliceSegmentEXT.Buffer create(int capacity)
Returns a newVkVideoEncodeH265NaluSliceSegmentEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoEncodeH265NaluSliceSegmentEXT.Buffer create(long address, int capacity)
Create aVkVideoEncodeH265NaluSliceSegmentEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkVideoEncodeH265NaluSliceSegmentEXT.Buffer createSafe(long address, int capacity)
-
malloc
public static VkVideoEncodeH265NaluSliceSegmentEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH265NaluSliceSegmentEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkVideoEncodeH265NaluSliceSegmentEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH265NaluSliceSegmentEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkVideoEncodeH265NaluSliceSegmentEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH265NaluSliceSegmentEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkVideoEncodeH265NaluSliceSegmentEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH265NaluSliceSegmentEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nsType
public static int nsType(long struct)
Unsafe version ofsType().
-
npNext
public static long npNext(long struct)
Unsafe version ofpNext().
-
nctbCount
public static int nctbCount(long struct)
Unsafe version ofctbCount().
-
npReferenceFinalLists
@Nullable public static VkVideoEncodeH265ReferenceListsEXT npReferenceFinalLists(long struct)
Unsafe version ofpReferenceFinalLists().
-
npSliceSegmentHeaderStd
public static StdVideoEncodeH265SliceSegmentHeader npSliceSegmentHeaderStd(long struct)
Unsafe version ofpSliceSegmentHeaderStd().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nctbCount
public static void nctbCount(long struct, int value)Unsafe version ofctbCount.
-
npReferenceFinalLists
public static void npReferenceFinalLists(long struct, @Nullable VkVideoEncodeH265ReferenceListsEXT value)Unsafe version ofpReferenceFinalLists.
-
npSliceSegmentHeaderStd
public static void npSliceSegmentHeaderStd(long struct, StdVideoEncodeH265SliceSegmentHeader value)Unsafe version ofpSliceSegmentHeaderStd.
-
validate
public static void validate(long struct)
Validates pointer members that should not beNULL.- Parameters:
struct- the struct to validate
-
-