Package org.lwjgl.vulkan.video
Class StdVideoDecodeH264PictureInfoFlags
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.video.StdVideoDecodeH264PictureInfoFlags
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class StdVideoDecodeH264PictureInfoFlags extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceLayout
struct StdVideoDecodeH264PictureInfoFlags { uint32_tfield_pic_flag(): 1; uint32_tis_intra(): 1; uint32_tIdrPicFlag(): 1; uint32_tbottom_field_flag(): 1; uint32_tis_reference(): 1; uint32_tcomplementary_field_pair(): 1; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStdVideoDecodeH264PictureInfoFlags.BufferAn array ofStdVideoDecodeH264PictureInfoFlagsstructs.
-
Constructor Summary
Constructors Constructor Description StdVideoDecodeH264PictureInfoFlags(java.nio.ByteBuffer container)Creates aStdVideoDecodeH264PictureInfoFlagsinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanbottom_field_flag()bottom (true) or top (false) field if field_pic_flag is setStdVideoDecodeH264PictureInfoFlagsbottom_field_flag(boolean value)Sets the specified value to thebottom_field_flag()field.static StdVideoDecodeH264PictureInfoFlagscalloc()Returns a newStdVideoDecodeH264PictureInfoFlagsinstance allocated withmemCalloc.static StdVideoDecodeH264PictureInfoFlags.Buffercalloc(int capacity)Returns a newStdVideoDecodeH264PictureInfoFlags.Bufferinstance allocated withmemCalloc.static StdVideoDecodeH264PictureInfoFlags.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newStdVideoDecodeH264PictureInfoFlags.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoDecodeH264PictureInfoFlagscalloc(org.lwjgl.system.MemoryStack stack)Returns a newStdVideoDecodeH264PictureInfoFlagsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.booleancomplementary_field_pair()complementary field pair, complementary non-reference field pair, complementary reference field pairStdVideoDecodeH264PictureInfoFlagscomplementary_field_pair(boolean value)Sets the specified value to thecomplementary_field_pair()field.static StdVideoDecodeH264PictureInfoFlagscreate()Returns a newStdVideoDecodeH264PictureInfoFlagsinstance allocated withBufferUtils.static StdVideoDecodeH264PictureInfoFlags.Buffercreate(int capacity)Returns a newStdVideoDecodeH264PictureInfoFlags.Bufferinstance allocated withBufferUtils.static StdVideoDecodeH264PictureInfoFlagscreate(long address)Returns a newStdVideoDecodeH264PictureInfoFlagsinstance for the specified memory address.static StdVideoDecodeH264PictureInfoFlags.Buffercreate(long address, int capacity)Create aStdVideoDecodeH264PictureInfoFlags.Bufferinstance at the specified memory.static StdVideoDecodeH264PictureInfoFlagscreateSafe(long address)static StdVideoDecodeH264PictureInfoFlags.BuffercreateSafe(long address, int capacity)booleanfield_pic_flag()is field pictureStdVideoDecodeH264PictureInfoFlagsfield_pic_flag(boolean value)Sets the specified value to thefield_pic_flag()field.booleanIdrPicFlag()instantaneous decoding refresh (IDR) pictureStdVideoDecodeH264PictureInfoFlagsIdrPicFlag(boolean value)Sets the specified value to theIdrPicFlag()field.booleanis_intra()is intra pictureStdVideoDecodeH264PictureInfoFlagsis_intra(boolean value)Sets the specified value to theis_intra()field.booleanis_reference()this only applies to picture info, and not to the DPB listsStdVideoDecodeH264PictureInfoFlagsis_reference(boolean value)Sets the specified value to theis_reference()field.static StdVideoDecodeH264PictureInfoFlagsmalloc()Returns a newStdVideoDecodeH264PictureInfoFlagsinstance allocated withmemAlloc.static StdVideoDecodeH264PictureInfoFlags.Buffermalloc(int capacity)Returns a newStdVideoDecodeH264PictureInfoFlags.Bufferinstance allocated withmemAlloc.static StdVideoDecodeH264PictureInfoFlags.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newStdVideoDecodeH264PictureInfoFlags.Bufferinstance allocated on the specifiedMemoryStack.static StdVideoDecodeH264PictureInfoFlagsmalloc(org.lwjgl.system.MemoryStack stack)Returns a newStdVideoDecodeH264PictureInfoFlagsinstance allocated on the specifiedMemoryStack.static intnbitfield0(long struct)static voidnbitfield0(long struct, int value)static intnbottom_field_flag(long struct)Unsafe version ofbottom_field_flag().static voidnbottom_field_flag(long struct, int value)Unsafe version ofbottom_field_flag.static intncomplementary_field_pair(long struct)Unsafe version ofcomplementary_field_pair().static voidncomplementary_field_pair(long struct, int value)Unsafe version ofcomplementary_field_pair.static intnfield_pic_flag(long struct)Unsafe version offield_pic_flag().static voidnfield_pic_flag(long struct, int value)Unsafe version offield_pic_flag.static intnIdrPicFlag(long struct)Unsafe version ofIdrPicFlag().static voidnIdrPicFlag(long struct, int value)Unsafe version ofIdrPicFlag.static intnis_intra(long struct)Unsafe version ofis_intra().static voidnis_intra(long struct, int value)Unsafe version ofis_intra.static intnis_reference(long struct)Unsafe version ofis_reference().static voidnis_reference(long struct, int value)Unsafe version ofis_reference.StdVideoDecodeH264PictureInfoFlagsset(boolean field_pic_flag, boolean is_intra, boolean IdrPicFlag, boolean bottom_field_flag, boolean is_reference, boolean complementary_field_pair)Initializes this struct with the specified values.StdVideoDecodeH264PictureInfoFlagsset(StdVideoDecodeH264PictureInfoFlags src)Copies the specified struct data to this struct.intsizeof()
-
-
-
Constructor Detail
-
StdVideoDecodeH264PictureInfoFlags
public StdVideoDecodeH264PictureInfoFlags(java.nio.ByteBuffer container)
Creates aStdVideoDecodeH264PictureInfoFlagsinstance 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
-
field_pic_flag
public boolean field_pic_flag()
is field picture
-
is_intra
public boolean is_intra()
is intra picture
-
IdrPicFlag
public boolean IdrPicFlag()
instantaneous decoding refresh (IDR) picture
-
bottom_field_flag
public boolean bottom_field_flag()
bottom (true) or top (false) field if field_pic_flag is set
-
is_reference
public boolean is_reference()
this only applies to picture info, and not to the DPB lists
-
complementary_field_pair
public boolean complementary_field_pair()
complementary field pair, complementary non-reference field pair, complementary reference field pair
-
field_pic_flag
public StdVideoDecodeH264PictureInfoFlags field_pic_flag(boolean value)
Sets the specified value to thefield_pic_flag()field.
-
is_intra
public StdVideoDecodeH264PictureInfoFlags is_intra(boolean value)
Sets the specified value to theis_intra()field.
-
IdrPicFlag
public StdVideoDecodeH264PictureInfoFlags IdrPicFlag(boolean value)
Sets the specified value to theIdrPicFlag()field.
-
bottom_field_flag
public StdVideoDecodeH264PictureInfoFlags bottom_field_flag(boolean value)
Sets the specified value to thebottom_field_flag()field.
-
is_reference
public StdVideoDecodeH264PictureInfoFlags is_reference(boolean value)
Sets the specified value to theis_reference()field.
-
complementary_field_pair
public StdVideoDecodeH264PictureInfoFlags complementary_field_pair(boolean value)
Sets the specified value to thecomplementary_field_pair()field.
-
set
public StdVideoDecodeH264PictureInfoFlags set(boolean field_pic_flag, boolean is_intra, boolean IdrPicFlag, boolean bottom_field_flag, boolean is_reference, boolean complementary_field_pair)
Initializes this struct with the specified values.
-
set
public StdVideoDecodeH264PictureInfoFlags set(StdVideoDecodeH264PictureInfoFlags src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static StdVideoDecodeH264PictureInfoFlags malloc()
Returns a newStdVideoDecodeH264PictureInfoFlagsinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static StdVideoDecodeH264PictureInfoFlags calloc()
Returns a newStdVideoDecodeH264PictureInfoFlagsinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static StdVideoDecodeH264PictureInfoFlags create()
Returns a newStdVideoDecodeH264PictureInfoFlagsinstance allocated withBufferUtils.
-
create
public static StdVideoDecodeH264PictureInfoFlags create(long address)
Returns a newStdVideoDecodeH264PictureInfoFlagsinstance for the specified memory address.
-
createSafe
@Nullable public static StdVideoDecodeH264PictureInfoFlags createSafe(long address)
-
malloc
public static StdVideoDecodeH264PictureInfoFlags.Buffer malloc(int capacity)
Returns a newStdVideoDecodeH264PictureInfoFlags.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static StdVideoDecodeH264PictureInfoFlags.Buffer calloc(int capacity)
Returns a newStdVideoDecodeH264PictureInfoFlags.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static StdVideoDecodeH264PictureInfoFlags.Buffer create(int capacity)
Returns a newStdVideoDecodeH264PictureInfoFlags.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static StdVideoDecodeH264PictureInfoFlags.Buffer create(long address, int capacity)
Create aStdVideoDecodeH264PictureInfoFlags.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static StdVideoDecodeH264PictureInfoFlags.Buffer createSafe(long address, int capacity)
-
malloc
public static StdVideoDecodeH264PictureInfoFlags malloc(org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoDecodeH264PictureInfoFlagsinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static StdVideoDecodeH264PictureInfoFlags calloc(org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoDecodeH264PictureInfoFlagsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static StdVideoDecodeH264PictureInfoFlags.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoDecodeH264PictureInfoFlags.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static StdVideoDecodeH264PictureInfoFlags.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoDecodeH264PictureInfoFlags.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)
-
nfield_pic_flag
public static int nfield_pic_flag(long struct)
Unsafe version offield_pic_flag().
-
nis_intra
public static int nis_intra(long struct)
Unsafe version ofis_intra().
-
nIdrPicFlag
public static int nIdrPicFlag(long struct)
Unsafe version ofIdrPicFlag().
-
nbottom_field_flag
public static int nbottom_field_flag(long struct)
Unsafe version ofbottom_field_flag().
-
nis_reference
public static int nis_reference(long struct)
Unsafe version ofis_reference().
-
ncomplementary_field_pair
public static int ncomplementary_field_pair(long struct)
Unsafe version ofcomplementary_field_pair().
-
nbitfield0
public static void nbitfield0(long struct, int value)
-
nfield_pic_flag
public static void nfield_pic_flag(long struct, int value)Unsafe version offield_pic_flag.
-
nis_intra
public static void nis_intra(long struct, int value)Unsafe version ofis_intra.
-
nIdrPicFlag
public static void nIdrPicFlag(long struct, int value)Unsafe version ofIdrPicFlag.
-
nbottom_field_flag
public static void nbottom_field_flag(long struct, int value)Unsafe version ofbottom_field_flag.
-
nis_reference
public static void nis_reference(long struct, int value)Unsafe version ofis_reference.
-
ncomplementary_field_pair
public static void ncomplementary_field_pair(long struct, int value)Unsafe version ofcomplementary_field_pair.
-
-