Package org.lwjgl.vulkan
Class VkVideoEncodeH264ProfileEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkVideoEncodeH264ProfileEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkVideoEncodeH264ProfileEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifying H.264 encode profile.Description
An H.264 encode profile is specified by including a
VkVideoEncodeH264ProfileEXTstructure in thepNextchain of theVkVideoProfileKHRstructure whenVkVideoProfileKHR::videoCodecOperationisVIDEO_CODEC_OPERATION_ENCODE_H264_BIT_EXT.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_VIDEO_ENCODE_H264_PROFILE_EXT
Layout
struct VkVideoEncodeH264ProfileEXT { VkStructureTypesType(); void const *pNext(); StdVideoH264ProfileIdcstdProfileIdc(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkVideoEncodeH264ProfileEXT.BufferAn array ofVkVideoEncodeH264ProfileEXTstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intPNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTDPROFILEIDC
STYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkVideoEncodeH264ProfileEXT(java.nio.ByteBuffer container)Creates aVkVideoEncodeH264ProfileEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkVideoEncodeH264ProfileEXTcalloc()Returns a newVkVideoEncodeH264ProfileEXTinstance allocated withmemCalloc.static VkVideoEncodeH264ProfileEXT.Buffercalloc(int capacity)Returns a newVkVideoEncodeH264ProfileEXT.Bufferinstance allocated withmemCalloc.static VkVideoEncodeH264ProfileEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH264ProfileEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoEncodeH264ProfileEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH264ProfileEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoEncodeH264ProfileEXTcreate()Returns a newVkVideoEncodeH264ProfileEXTinstance allocated withBufferUtils.static VkVideoEncodeH264ProfileEXT.Buffercreate(int capacity)Returns a newVkVideoEncodeH264ProfileEXT.Bufferinstance allocated withBufferUtils.static VkVideoEncodeH264ProfileEXTcreate(long address)Returns a newVkVideoEncodeH264ProfileEXTinstance for the specified memory address.static VkVideoEncodeH264ProfileEXT.Buffercreate(long address, int capacity)Create aVkVideoEncodeH264ProfileEXT.Bufferinstance at the specified memory.static VkVideoEncodeH264ProfileEXTcreateSafe(long address)static VkVideoEncodeH264ProfileEXT.BuffercreateSafe(long address, int capacity)static VkVideoEncodeH264ProfileEXTmalloc()Returns a newVkVideoEncodeH264ProfileEXTinstance allocated withmemAlloc.static VkVideoEncodeH264ProfileEXT.Buffermalloc(int capacity)Returns a newVkVideoEncodeH264ProfileEXT.Bufferinstance allocated withmemAlloc.static VkVideoEncodeH264ProfileEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH264ProfileEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkVideoEncodeH264ProfileEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH264ProfileEXTinstance allocated on the specifiedMemoryStack.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnstdProfileIdc(long struct)Unsafe version ofstdProfileIdc().static voidnstdProfileIdc(long struct, int value)Unsafe version ofstdProfileIdc.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.VkVideoEncodeH264ProfileEXTpNext(long value)Sets the specified value to thepNext()field.VkVideoEncodeH264ProfileEXTset(int sType, long pNext, int stdProfileIdc)Initializes this struct with the specified values.VkVideoEncodeH264ProfileEXTset(VkVideoEncodeH264ProfileEXT src)Copies the specified struct data to this struct.intsizeof()intstdProfileIdc()aStdVideoH264ProfileIdcvalue specifying the H.264 codec profile IDC.VkVideoEncodeH264ProfileEXTstdProfileIdc(int value)Sets the specified value to thestdProfileIdc()field.intsType()the type of this structure.VkVideoEncodeH264ProfileEXTsType(int value)Sets the specified value to thesType()field.VkVideoEncodeH264ProfileEXTsType$Default()Sets theSTRUCTURE_TYPE_VIDEO_ENCODE_H264_PROFILE_EXTvalue to thesType()field.
-
-
-
Constructor Detail
-
VkVideoEncodeH264ProfileEXT
public VkVideoEncodeH264ProfileEXT(java.nio.ByteBuffer container)
Creates aVkVideoEncodeH264ProfileEXTinstance 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.
-
stdProfileIdc
public int stdProfileIdc()
aStdVideoH264ProfileIdcvalue specifying the H.264 codec profile IDC.
-
sType
public VkVideoEncodeH264ProfileEXT sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkVideoEncodeH264ProfileEXT sType$Default()
Sets theSTRUCTURE_TYPE_VIDEO_ENCODE_H264_PROFILE_EXTvalue to thesType()field.
-
pNext
public VkVideoEncodeH264ProfileEXT pNext(long value)
Sets the specified value to thepNext()field.
-
stdProfileIdc
public VkVideoEncodeH264ProfileEXT stdProfileIdc(int value)
Sets the specified value to thestdProfileIdc()field.
-
set
public VkVideoEncodeH264ProfileEXT set(int sType, long pNext, int stdProfileIdc)
Initializes this struct with the specified values.
-
set
public VkVideoEncodeH264ProfileEXT set(VkVideoEncodeH264ProfileEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkVideoEncodeH264ProfileEXT malloc()
Returns a newVkVideoEncodeH264ProfileEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkVideoEncodeH264ProfileEXT calloc()
Returns a newVkVideoEncodeH264ProfileEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkVideoEncodeH264ProfileEXT create()
Returns a newVkVideoEncodeH264ProfileEXTinstance allocated withBufferUtils.
-
create
public static VkVideoEncodeH264ProfileEXT create(long address)
Returns a newVkVideoEncodeH264ProfileEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkVideoEncodeH264ProfileEXT createSafe(long address)
-
malloc
public static VkVideoEncodeH264ProfileEXT.Buffer malloc(int capacity)
Returns a newVkVideoEncodeH264ProfileEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkVideoEncodeH264ProfileEXT.Buffer calloc(int capacity)
Returns a newVkVideoEncodeH264ProfileEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoEncodeH264ProfileEXT.Buffer create(int capacity)
Returns a newVkVideoEncodeH264ProfileEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoEncodeH264ProfileEXT.Buffer create(long address, int capacity)
Create aVkVideoEncodeH264ProfileEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkVideoEncodeH264ProfileEXT.Buffer createSafe(long address, int capacity)
-
malloc
public static VkVideoEncodeH264ProfileEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH264ProfileEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkVideoEncodeH264ProfileEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH264ProfileEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkVideoEncodeH264ProfileEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH264ProfileEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkVideoEncodeH264ProfileEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH264ProfileEXT.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().
-
nstdProfileIdc
public static int nstdProfileIdc(long struct)
Unsafe version ofstdProfileIdc().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nstdProfileIdc
public static void nstdProfileIdc(long struct, int value)Unsafe version ofstdProfileIdc.
-
-