Package org.lwjgl.vulkan.video
Class StdVideoDecodeH264MvcElementFlags
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.video.StdVideoDecodeH264MvcElementFlags
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class StdVideoDecodeH264MvcElementFlags extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceLayout
struct StdVideoDecodeH264MvcElementFlags { uint32_t non_idr : 1; uint32_t anchor_pic : 1; uint32_t inter_view : 1; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStdVideoDecodeH264MvcElementFlags.BufferAn array ofStdVideoDecodeH264MvcElementFlagsstructs.
-
Constructor Summary
Constructors Constructor Description StdVideoDecodeH264MvcElementFlags(java.nio.ByteBuffer container)Creates aStdVideoDecodeH264MvcElementFlagsinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleananchor_pic()StdVideoDecodeH264MvcElementFlagsanchor_pic(boolean value)Sets the specified value to theanchor_picfield.static StdVideoDecodeH264MvcElementFlagscalloc()Returns a newStdVideoDecodeH264MvcElementFlagsinstance allocated withmemCalloc.static StdVideoDecodeH264MvcElementFlags.Buffercalloc(int capacity)Returns a newStdVideoDecodeH264MvcElementFlags.Bufferinstance allocated withmemCalloc.static StdVideoDecodeH264MvcElementFlags.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newStdVideoDecodeH264MvcElementFlags.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoDecodeH264MvcElementFlagscalloc(org.lwjgl.system.MemoryStack stack)Returns a newStdVideoDecodeH264MvcElementFlagsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoDecodeH264MvcElementFlagscreate()Returns a newStdVideoDecodeH264MvcElementFlagsinstance allocated withBufferUtils.static StdVideoDecodeH264MvcElementFlags.Buffercreate(int capacity)Returns a newStdVideoDecodeH264MvcElementFlags.Bufferinstance allocated withBufferUtils.static StdVideoDecodeH264MvcElementFlagscreate(long address)Returns a newStdVideoDecodeH264MvcElementFlagsinstance for the specified memory address.static StdVideoDecodeH264MvcElementFlags.Buffercreate(long address, int capacity)Create aStdVideoDecodeH264MvcElementFlags.Bufferinstance at the specified memory.static StdVideoDecodeH264MvcElementFlagscreateSafe(long address)static StdVideoDecodeH264MvcElementFlags.BuffercreateSafe(long address, int capacity)booleaninter_view()StdVideoDecodeH264MvcElementFlagsinter_view(boolean value)Sets the specified value to theinter_viewfield.static StdVideoDecodeH264MvcElementFlagsmalloc()Returns a newStdVideoDecodeH264MvcElementFlagsinstance allocated withmemAlloc.static StdVideoDecodeH264MvcElementFlags.Buffermalloc(int capacity)Returns a newStdVideoDecodeH264MvcElementFlags.Bufferinstance allocated withmemAlloc.static StdVideoDecodeH264MvcElementFlags.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newStdVideoDecodeH264MvcElementFlags.Bufferinstance allocated on the specifiedMemoryStack.static StdVideoDecodeH264MvcElementFlagsmalloc(org.lwjgl.system.MemoryStack stack)Returns a newStdVideoDecodeH264MvcElementFlagsinstance allocated on the specifiedMemoryStack.static intnanchor_pic(long struct)Unsafe version ofanchor_pic().static voidnanchor_pic(long struct, int value)Unsafe version ofanchor_pic.static intnbitfield0(long struct)static voidnbitfield0(long struct, int value)static intninter_view(long struct)Unsafe version ofinter_view().static voidninter_view(long struct, int value)Unsafe version ofinter_view.static intnnon_idr(long struct)Unsafe version ofnon_idr().static voidnnon_idr(long struct, int value)Unsafe version ofnon_idr.booleannon_idr()StdVideoDecodeH264MvcElementFlagsnon_idr(boolean value)Sets the specified value to thenon_idrfield.StdVideoDecodeH264MvcElementFlagsset(boolean non_idr, boolean anchor_pic, boolean inter_view)Initializes this struct with the specified values.StdVideoDecodeH264MvcElementFlagsset(StdVideoDecodeH264MvcElementFlags src)Copies the specified struct data to this struct.intsizeof()
-
-
-
Constructor Detail
-
StdVideoDecodeH264MvcElementFlags
public StdVideoDecodeH264MvcElementFlags(java.nio.ByteBuffer container)
Creates aStdVideoDecodeH264MvcElementFlagsinstance 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
-
non_idr
public boolean non_idr()
- Returns:
- the value of the
non_idrfield.
-
anchor_pic
public boolean anchor_pic()
- Returns:
- the value of the
anchor_picfield.
-
inter_view
public boolean inter_view()
- Returns:
- the value of the
inter_viewfield.
-
non_idr
public StdVideoDecodeH264MvcElementFlags non_idr(boolean value)
Sets the specified value to thenon_idrfield.
-
anchor_pic
public StdVideoDecodeH264MvcElementFlags anchor_pic(boolean value)
Sets the specified value to theanchor_picfield.
-
inter_view
public StdVideoDecodeH264MvcElementFlags inter_view(boolean value)
Sets the specified value to theinter_viewfield.
-
set
public StdVideoDecodeH264MvcElementFlags set(boolean non_idr, boolean anchor_pic, boolean inter_view)
Initializes this struct with the specified values.
-
set
public StdVideoDecodeH264MvcElementFlags set(StdVideoDecodeH264MvcElementFlags src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static StdVideoDecodeH264MvcElementFlags malloc()
Returns a newStdVideoDecodeH264MvcElementFlagsinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static StdVideoDecodeH264MvcElementFlags calloc()
Returns a newStdVideoDecodeH264MvcElementFlagsinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static StdVideoDecodeH264MvcElementFlags create()
Returns a newStdVideoDecodeH264MvcElementFlagsinstance allocated withBufferUtils.
-
create
public static StdVideoDecodeH264MvcElementFlags create(long address)
Returns a newStdVideoDecodeH264MvcElementFlagsinstance for the specified memory address.
-
createSafe
@Nullable public static StdVideoDecodeH264MvcElementFlags createSafe(long address)
-
malloc
public static StdVideoDecodeH264MvcElementFlags.Buffer malloc(int capacity)
Returns a newStdVideoDecodeH264MvcElementFlags.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static StdVideoDecodeH264MvcElementFlags.Buffer calloc(int capacity)
Returns a newStdVideoDecodeH264MvcElementFlags.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static StdVideoDecodeH264MvcElementFlags.Buffer create(int capacity)
Returns a newStdVideoDecodeH264MvcElementFlags.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static StdVideoDecodeH264MvcElementFlags.Buffer create(long address, int capacity)
Create aStdVideoDecodeH264MvcElementFlags.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static StdVideoDecodeH264MvcElementFlags.Buffer createSafe(long address, int capacity)
-
malloc
public static StdVideoDecodeH264MvcElementFlags malloc(org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoDecodeH264MvcElementFlagsinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static StdVideoDecodeH264MvcElementFlags calloc(org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoDecodeH264MvcElementFlagsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static StdVideoDecodeH264MvcElementFlags.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoDecodeH264MvcElementFlags.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static StdVideoDecodeH264MvcElementFlags.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoDecodeH264MvcElementFlags.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nbitfield0
public static int nbitfield0(long struct)
-
nnon_idr
public static int nnon_idr(long struct)
Unsafe version ofnon_idr().
-
nanchor_pic
public static int nanchor_pic(long struct)
Unsafe version ofanchor_pic().
-
ninter_view
public static int ninter_view(long struct)
Unsafe version ofinter_view().
-
nbitfield0
public static void nbitfield0(long struct, int value)
-
nnon_idr
public static void nnon_idr(long struct, int value)Unsafe version ofnon_idr.
-
nanchor_pic
public static void nanchor_pic(long struct, int value)Unsafe version ofanchor_pic.
-
ninter_view
public static void ninter_view(long struct, int value)Unsafe version ofinter_view.
-
-