Package org.lwjgl.vulkan
Class VkVideoEncodeH265EmitPictureParametersEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkVideoEncodeH265EmitPictureParametersEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkVideoEncodeH265EmitPictureParametersEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifies H.265 encode VPS NALU insertion parameters.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_VIDEO_ENCODE_H265_EMIT_PICTURE_PARAMETERS_EXT- If
ppsIdEntryCountis not 0,ppsIdEntriesmust be a valid pointer to an array ofppsIdEntryCountuint8_tvalues
Layout
struct VkVideoEncodeH265EmitPictureParametersEXT { VkStructureTypesType(); void const *pNext(); uint8_tvpsId(); uint8_tspsId(); VkBool32emitVpsEnable(); VkBool32emitSpsEnable(); uint32_tppsIdEntryCount(); uint8_t const *ppsIdEntries(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkVideoEncodeH265EmitPictureParametersEXT.BufferAn array ofVkVideoEncodeH265EmitPictureParametersEXTstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intEMITSPSENABLE
EMITVPSENABLE
PNEXT
PPSIDENTRIES
PPSIDENTRYCOUNTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSPSID
STYPE
VPSIDThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkVideoEncodeH265EmitPictureParametersEXT(java.nio.ByteBuffer container)Creates aVkVideoEncodeH265EmitPictureParametersEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkVideoEncodeH265EmitPictureParametersEXTcalloc()Returns a newVkVideoEncodeH265EmitPictureParametersEXTinstance allocated withmemCalloc.static VkVideoEncodeH265EmitPictureParametersEXT.Buffercalloc(int capacity)Returns a newVkVideoEncodeH265EmitPictureParametersEXT.Bufferinstance allocated withmemCalloc.static VkVideoEncodeH265EmitPictureParametersEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH265EmitPictureParametersEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoEncodeH265EmitPictureParametersEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH265EmitPictureParametersEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoEncodeH265EmitPictureParametersEXTcreate()Returns a newVkVideoEncodeH265EmitPictureParametersEXTinstance allocated withBufferUtils.static VkVideoEncodeH265EmitPictureParametersEXT.Buffercreate(int capacity)Returns a newVkVideoEncodeH265EmitPictureParametersEXT.Bufferinstance allocated withBufferUtils.static VkVideoEncodeH265EmitPictureParametersEXTcreate(long address)Returns a newVkVideoEncodeH265EmitPictureParametersEXTinstance for the specified memory address.static VkVideoEncodeH265EmitPictureParametersEXT.Buffercreate(long address, int capacity)Create aVkVideoEncodeH265EmitPictureParametersEXT.Bufferinstance at the specified memory.static VkVideoEncodeH265EmitPictureParametersEXTcreateSafe(long address)static VkVideoEncodeH265EmitPictureParametersEXT.BuffercreateSafe(long address, int capacity)booleanemitSpsEnable()enables the emitting of the SPS structure with id ofspsId.VkVideoEncodeH265EmitPictureParametersEXTemitSpsEnable(boolean value)Sets the specified value to theemitSpsEnable()field.booleanemitVpsEnable()enables the emitting of the VPS structure with id ofvpsId.VkVideoEncodeH265EmitPictureParametersEXTemitVpsEnable(boolean value)Sets the specified value to theemitVpsEnable()field.static VkVideoEncodeH265EmitPictureParametersEXTmalloc()Returns a newVkVideoEncodeH265EmitPictureParametersEXTinstance allocated withmemAlloc.static VkVideoEncodeH265EmitPictureParametersEXT.Buffermalloc(int capacity)Returns a newVkVideoEncodeH265EmitPictureParametersEXT.Bufferinstance allocated withmemAlloc.static VkVideoEncodeH265EmitPictureParametersEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH265EmitPictureParametersEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkVideoEncodeH265EmitPictureParametersEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH265EmitPictureParametersEXTinstance allocated on the specifiedMemoryStack.static intnemitSpsEnable(long struct)Unsafe version ofemitSpsEnable().static voidnemitSpsEnable(long struct, int value)Unsafe version ofemitSpsEnable.static intnemitVpsEnable(long struct)Unsafe version ofemitVpsEnable().static voidnemitVpsEnable(long struct, int value)Unsafe version ofemitVpsEnable.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static java.nio.ByteBuffernppsIdEntries(long struct)Unsafe version ofppsIdEntries.static voidnppsIdEntries(long struct, java.nio.ByteBuffer value)Unsafe version ofppsIdEntries.static intnppsIdEntryCount(long struct)Unsafe version ofppsIdEntryCount().static voidnppsIdEntryCount(long struct, int value)Sets the specified value to theppsIdEntryCountfield of the specifiedstruct.static bytenspsId(long struct)Unsafe version ofspsId().static voidnspsId(long struct, byte value)Unsafe version ofspsId.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.static bytenvpsId(long struct)Unsafe version ofvpsId().static voidnvpsId(long struct, byte value)Unsafe version ofvpsId.longpNext()NULLor a pointer to a structure extending this structure.VkVideoEncodeH265EmitPictureParametersEXTpNext(long value)Sets the specified value to thepNext()field.java.nio.ByteBufferppsIdEntries()the H.265 PPS IDs for the H.265 PPS to insert in the bitstream.VkVideoEncodeH265EmitPictureParametersEXTppsIdEntries(java.nio.ByteBuffer value)Sets the address of the specifiedByteBufferto theppsIdEntries()field.intppsIdEntryCount()the number of entries in theppsIdEntries.VkVideoEncodeH265EmitPictureParametersEXTset(int sType, long pNext, byte vpsId, byte spsId, boolean emitVpsEnable, boolean emitSpsEnable, java.nio.ByteBuffer ppsIdEntries)Initializes this struct with the specified values.VkVideoEncodeH265EmitPictureParametersEXTset(VkVideoEncodeH265EmitPictureParametersEXT src)Copies the specified struct data to this struct.intsizeof()bytespsId()the H.265 SPS ID for the H.265 SPS to insert in the bitstream.VkVideoEncodeH265EmitPictureParametersEXTspsId(byte value)Sets the specified value to thespsId()field.intsType()the type of this structure.VkVideoEncodeH265EmitPictureParametersEXTsType(int value)Sets the specified value to thesType()field.VkVideoEncodeH265EmitPictureParametersEXTsType$Default()Sets theSTRUCTURE_TYPE_VIDEO_ENCODE_H265_EMIT_PICTURE_PARAMETERS_EXTvalue to thesType()field.static voidvalidate(long struct)Validates pointer members that should not beNULL.bytevpsId()the H.265 VPS ID for the H.265 VPS to insert in the bitstream.VkVideoEncodeH265EmitPictureParametersEXTvpsId(byte value)Sets the specified value to thevpsId()field.
-
-
-
Constructor Detail
-
VkVideoEncodeH265EmitPictureParametersEXT
public VkVideoEncodeH265EmitPictureParametersEXT(java.nio.ByteBuffer container)
Creates aVkVideoEncodeH265EmitPictureParametersEXTinstance 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.
-
vpsId
public byte vpsId()
the H.265 VPS ID for the H.265 VPS to insert in the bitstream. The VPS ID must match the VPS provided invpsStdofVkVideoEncodeH265SessionParametersCreateInfoEXT. This is retrieved from theVkVideoSessionParametersKHRobject provided inVkVideoBeginCodingInfoKHR.
-
spsId
public byte spsId()
the H.265 SPS ID for the H.265 SPS to insert in the bitstream. The SPS ID must match one of the IDs of the SPS(s) provided inpSpsStdofVkVideoEncodeH265SessionParametersCreateInfoEXTto identify the SPS parameter set to insert in the bitstream. This is retrieved from theVkVideoSessionParametersKHRobject provided inVkVideoBeginCodingInfoKHR.
-
emitVpsEnable
public boolean emitVpsEnable()
enables the emitting of the VPS structure with id ofvpsId.
-
emitSpsEnable
public boolean emitSpsEnable()
enables the emitting of the SPS structure with id ofspsId.
-
ppsIdEntryCount
public int ppsIdEntryCount()
the number of entries in theppsIdEntries. If this parameter is 0 then no pps entries are going to be emitted in the bitstream.
-
ppsIdEntries
@Nullable public java.nio.ByteBuffer ppsIdEntries()
the H.265 PPS IDs for the H.265 PPS to insert in the bitstream. The PPS IDs must match one of the IDs of the PPS(s) provided inpPpsStdofVkVideoEncodeH265SessionParametersCreateInfoEXTto identify the PPS parameter set to insert in the bitstream. This is retrieved from theVkVideoSessionParametersKHRobject provided inVkVideoBeginCodingInfoKHR.
-
sType
public VkVideoEncodeH265EmitPictureParametersEXT sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkVideoEncodeH265EmitPictureParametersEXT sType$Default()
Sets theSTRUCTURE_TYPE_VIDEO_ENCODE_H265_EMIT_PICTURE_PARAMETERS_EXTvalue to thesType()field.
-
pNext
public VkVideoEncodeH265EmitPictureParametersEXT pNext(long value)
Sets the specified value to thepNext()field.
-
vpsId
public VkVideoEncodeH265EmitPictureParametersEXT vpsId(byte value)
Sets the specified value to thevpsId()field.
-
spsId
public VkVideoEncodeH265EmitPictureParametersEXT spsId(byte value)
Sets the specified value to thespsId()field.
-
emitVpsEnable
public VkVideoEncodeH265EmitPictureParametersEXT emitVpsEnable(boolean value)
Sets the specified value to theemitVpsEnable()field.
-
emitSpsEnable
public VkVideoEncodeH265EmitPictureParametersEXT emitSpsEnable(boolean value)
Sets the specified value to theemitSpsEnable()field.
-
ppsIdEntries
public VkVideoEncodeH265EmitPictureParametersEXT ppsIdEntries(@Nullable java.nio.ByteBuffer value)
Sets the address of the specifiedByteBufferto theppsIdEntries()field.
-
set
public VkVideoEncodeH265EmitPictureParametersEXT set(int sType, long pNext, byte vpsId, byte spsId, boolean emitVpsEnable, boolean emitSpsEnable, @Nullable java.nio.ByteBuffer ppsIdEntries)
Initializes this struct with the specified values.
-
set
public VkVideoEncodeH265EmitPictureParametersEXT set(VkVideoEncodeH265EmitPictureParametersEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkVideoEncodeH265EmitPictureParametersEXT malloc()
Returns a newVkVideoEncodeH265EmitPictureParametersEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkVideoEncodeH265EmitPictureParametersEXT calloc()
Returns a newVkVideoEncodeH265EmitPictureParametersEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkVideoEncodeH265EmitPictureParametersEXT create()
Returns a newVkVideoEncodeH265EmitPictureParametersEXTinstance allocated withBufferUtils.
-
create
public static VkVideoEncodeH265EmitPictureParametersEXT create(long address)
Returns a newVkVideoEncodeH265EmitPictureParametersEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkVideoEncodeH265EmitPictureParametersEXT createSafe(long address)
-
malloc
public static VkVideoEncodeH265EmitPictureParametersEXT.Buffer malloc(int capacity)
Returns a newVkVideoEncodeH265EmitPictureParametersEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkVideoEncodeH265EmitPictureParametersEXT.Buffer calloc(int capacity)
Returns a newVkVideoEncodeH265EmitPictureParametersEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoEncodeH265EmitPictureParametersEXT.Buffer create(int capacity)
Returns a newVkVideoEncodeH265EmitPictureParametersEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoEncodeH265EmitPictureParametersEXT.Buffer create(long address, int capacity)
Create aVkVideoEncodeH265EmitPictureParametersEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkVideoEncodeH265EmitPictureParametersEXT.Buffer createSafe(long address, int capacity)
-
malloc
public static VkVideoEncodeH265EmitPictureParametersEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH265EmitPictureParametersEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkVideoEncodeH265EmitPictureParametersEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH265EmitPictureParametersEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkVideoEncodeH265EmitPictureParametersEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH265EmitPictureParametersEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkVideoEncodeH265EmitPictureParametersEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH265EmitPictureParametersEXT.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().
-
nvpsId
public static byte nvpsId(long struct)
Unsafe version ofvpsId().
-
nspsId
public static byte nspsId(long struct)
Unsafe version ofspsId().
-
nemitVpsEnable
public static int nemitVpsEnable(long struct)
Unsafe version ofemitVpsEnable().
-
nemitSpsEnable
public static int nemitSpsEnable(long struct)
Unsafe version ofemitSpsEnable().
-
nppsIdEntryCount
public static int nppsIdEntryCount(long struct)
Unsafe version ofppsIdEntryCount().
-
nppsIdEntries
@Nullable public static java.nio.ByteBuffer nppsIdEntries(long struct)
Unsafe version ofppsIdEntries.
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nvpsId
public static void nvpsId(long struct, byte value)Unsafe version ofvpsId.
-
nspsId
public static void nspsId(long struct, byte value)Unsafe version ofspsId.
-
nemitVpsEnable
public static void nemitVpsEnable(long struct, int value)Unsafe version ofemitVpsEnable.
-
nemitSpsEnable
public static void nemitSpsEnable(long struct, int value)Unsafe version ofemitSpsEnable.
-
nppsIdEntryCount
public static void nppsIdEntryCount(long struct, int value)Sets the specified value to theppsIdEntryCountfield of the specifiedstruct.
-
nppsIdEntries
public static void nppsIdEntries(long struct, @Nullable java.nio.ByteBuffer value)Unsafe version ofppsIdEntries.
-
validate
public static void validate(long struct)
Validates pointer members that should not beNULL.- Parameters:
struct- the struct to validate
-
-