Package org.lwjgl.vulkan.video
Class StdVideoH265ScalingLists
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
public class StdVideoH265ScalingLists
extends Struct<StdVideoH265ScalingLists>
implements NativeResource
struct StdVideoH265ScalingLists {
uint8_t ScalingList4x4[STD_VIDEO_H265_SCALING_LIST_4X4_NUM_ELEMENTS];
uint8_t ScalingList8x8[STD_VIDEO_H265_SCALING_LIST_8X8_NUM_ELEMENTS];
uint8_t ScalingList16x16[STD_VIDEO_H265_SCALING_LIST_16X16_NUM_ELEMENTS];
uint8_t ScalingList32x32[STD_VIDEO_H265_SCALING_LIST_32X32_NUM_ELEMENTS];
uint8_t ScalingListDCCoef16x16[STD_VIDEO_H265_SCALING_LIST_16X16_NUM_LISTS];
uint8_t ScalingListDCCoef32x32[STD_VIDEO_H265_SCALING_LIST_32X32_NUM_LISTS];
}
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The struct alignment in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct size in bytes.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionStdVideoH265ScalingLists
(ByteBuffer container) Creates aStdVideoH265ScalingLists
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionstatic StdVideoH265ScalingLists
calloc()
Returns a newStdVideoH265ScalingLists
instance allocated withmemCalloc
.calloc
(int capacity) Returns a newStdVideoH265ScalingLists.Buffer
instance allocated withmemCalloc
.calloc
(int capacity, MemoryStack stack) Returns a newStdVideoH265ScalingLists.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static StdVideoH265ScalingLists
calloc
(MemoryStack stack) Returns a newStdVideoH265ScalingLists
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static StdVideoH265ScalingLists
create()
Returns a newStdVideoH265ScalingLists
instance allocated withBufferUtils
.create
(int capacity) Returns a newStdVideoH265ScalingLists.Buffer
instance allocated withBufferUtils
.static StdVideoH265ScalingLists
create
(long address) Returns a newStdVideoH265ScalingLists
instance for the specified memory address.create
(long address, int capacity) Create aStdVideoH265ScalingLists.Buffer
instance at the specified memory.static @Nullable StdVideoH265ScalingLists
createSafe
(long address) static @Nullable StdVideoH265ScalingLists.Buffer
createSafe
(long address, int capacity) static StdVideoH265ScalingLists
malloc()
Returns a newStdVideoH265ScalingLists
instance allocated withmemAlloc
.malloc
(int capacity) Returns a newStdVideoH265ScalingLists.Buffer
instance allocated withmemAlloc
.malloc
(int capacity, MemoryStack stack) Returns a newStdVideoH265ScalingLists.Buffer
instance allocated on the specifiedMemoryStack
.static StdVideoH265ScalingLists
malloc
(MemoryStack stack) Returns a newStdVideoH265ScalingLists
instance allocated on the specifiedMemoryStack
.static ByteBuffer
nScalingList16x16
(long struct) Unsafe version ofScalingList16x16()
.static byte
nScalingList16x16
(long struct, int index) Unsafe version ofScalingList16x16
.static void
nScalingList16x16
(long struct, int index, byte value) Unsafe version ofScalingList16x16
.static void
nScalingList16x16
(long struct, ByteBuffer value) Unsafe version ofScalingList16x16
.static ByteBuffer
nScalingList32x32
(long struct) Unsafe version ofScalingList32x32()
.static byte
nScalingList32x32
(long struct, int index) Unsafe version ofScalingList32x32
.static void
nScalingList32x32
(long struct, int index, byte value) Unsafe version ofScalingList32x32
.static void
nScalingList32x32
(long struct, ByteBuffer value) Unsafe version ofScalingList32x32
.static ByteBuffer
nScalingList4x4
(long struct) Unsafe version ofScalingList4x4()
.static byte
nScalingList4x4
(long struct, int index) Unsafe version ofScalingList4x4
.static void
nScalingList4x4
(long struct, int index, byte value) Unsafe version ofScalingList4x4
.static void
nScalingList4x4
(long struct, ByteBuffer value) Unsafe version ofScalingList4x4
.static ByteBuffer
nScalingList8x8
(long struct) Unsafe version ofScalingList8x8()
.static byte
nScalingList8x8
(long struct, int index) Unsafe version ofScalingList8x8
.static void
nScalingList8x8
(long struct, int index, byte value) Unsafe version ofScalingList8x8
.static void
nScalingList8x8
(long struct, ByteBuffer value) Unsafe version ofScalingList8x8
.static ByteBuffer
nScalingListDCCoef16x16
(long struct) Unsafe version ofScalingListDCCoef16x16()
.static byte
nScalingListDCCoef16x16
(long struct, int index) Unsafe version ofScalingListDCCoef16x16
.static void
nScalingListDCCoef16x16
(long struct, int index, byte value) Unsafe version ofScalingListDCCoef16x16
.static void
nScalingListDCCoef16x16
(long struct, ByteBuffer value) Unsafe version ofScalingListDCCoef16x16
.static ByteBuffer
nScalingListDCCoef32x32
(long struct) Unsafe version ofScalingListDCCoef32x32()
.static byte
nScalingListDCCoef32x32
(long struct, int index) Unsafe version ofScalingListDCCoef32x32
.static void
nScalingListDCCoef32x32
(long struct, int index, byte value) Unsafe version ofScalingListDCCoef32x32
.static void
nScalingListDCCoef32x32
(long struct, ByteBuffer value) Unsafe version ofScalingListDCCoef32x32
.byte
ScalingList16x16
(int index) ScalingList16x16
(int index, byte value) Sets the specified value at the specified index of theScalingList16x16
field.ScalingList16x16
(ByteBuffer value) Copies the specifiedByteBuffer
to theScalingList16x16
field.byte
ScalingList32x32
(int index) ScalingList32x32
(int index, byte value) Sets the specified value at the specified index of theScalingList32x32
field.ScalingList32x32
(ByteBuffer value) Copies the specifiedByteBuffer
to theScalingList32x32
field.byte
ScalingList4x4
(int index) ScalingList4x4
(int index, byte value) Sets the specified value at the specified index of theScalingList4x4
field.ScalingList4x4
(ByteBuffer value) Copies the specifiedByteBuffer
to theScalingList4x4
field.byte
ScalingList8x8
(int index) ScalingList8x8
(int index, byte value) Sets the specified value at the specified index of theScalingList8x8
field.ScalingList8x8
(ByteBuffer value) Copies the specifiedByteBuffer
to theScalingList8x8
field.byte
ScalingListDCCoef16x16
(int index) ScalingListDCCoef16x16
(int index, byte value) Sets the specified value at the specified index of theScalingListDCCoef16x16
field.ScalingListDCCoef16x16
(ByteBuffer value) Copies the specifiedByteBuffer
to theScalingListDCCoef16x16
field.byte
ScalingListDCCoef32x32
(int index) ScalingListDCCoef32x32
(int index, byte value) Sets the specified value at the specified index of theScalingListDCCoef32x32
field.ScalingListDCCoef32x32
(ByteBuffer value) Copies the specifiedByteBuffer
to theScalingListDCCoef32x32
field.set
(ByteBuffer ScalingList4x4, ByteBuffer ScalingList8x8, ByteBuffer ScalingList16x16, ByteBuffer ScalingList32x32, ByteBuffer ScalingListDCCoef16x16, ByteBuffer ScalingListDCCoef32x32) Initializes this struct with the specified values.Copies the specified struct data to this struct.int
sizeof()
Returnssizeof(struct)
.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
SCALINGLIST4X4
public static final int SCALINGLIST4X4The struct member offsets. -
SCALINGLIST8X8
public static final int SCALINGLIST8X8The struct member offsets. -
SCALINGLIST16X16
public static final int SCALINGLIST16X16The struct member offsets. -
SCALINGLIST32X32
public static final int SCALINGLIST32X32The struct member offsets. -
SCALINGLISTDCCOEF16X16
public static final int SCALINGLISTDCCOEF16X16The struct member offsets. -
SCALINGLISTDCCOEF32X32
public static final int SCALINGLISTDCCOEF32X32The struct member offsets.
-
-
Constructor Details
-
StdVideoH265ScalingLists
Creates aStdVideoH265ScalingLists
instance at the current position of the specifiedByteBuffer
container. 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 Details
-
sizeof
public int sizeof()Description copied from class:Struct
Returnssizeof(struct)
.- Specified by:
sizeof
in classStruct<StdVideoH265ScalingLists>
-
ScalingList4x4
- Returns:
- a
ByteBuffer
view of theScalingList4x4
field.
-
ScalingList4x4
public byte ScalingList4x4(int index) - Returns:
- the value at the specified index of the
ScalingList4x4
field.
-
ScalingList8x8
- Returns:
- a
ByteBuffer
view of theScalingList8x8
field.
-
ScalingList8x8
public byte ScalingList8x8(int index) - Returns:
- the value at the specified index of the
ScalingList8x8
field.
-
ScalingList16x16
- Returns:
- a
ByteBuffer
view of theScalingList16x16
field.
-
ScalingList16x16
public byte ScalingList16x16(int index) - Returns:
- the value at the specified index of the
ScalingList16x16
field.
-
ScalingList32x32
- Returns:
- a
ByteBuffer
view of theScalingList32x32
field.
-
ScalingList32x32
public byte ScalingList32x32(int index) - Returns:
- the value at the specified index of the
ScalingList32x32
field.
-
ScalingListDCCoef16x16
- Returns:
- a
ByteBuffer
view of theScalingListDCCoef16x16
field.
-
ScalingListDCCoef16x16
public byte ScalingListDCCoef16x16(int index) - Returns:
- the value at the specified index of the
ScalingListDCCoef16x16
field.
-
ScalingListDCCoef32x32
- Returns:
- a
ByteBuffer
view of theScalingListDCCoef32x32
field.
-
ScalingListDCCoef32x32
public byte ScalingListDCCoef32x32(int index) - Returns:
- the value at the specified index of the
ScalingListDCCoef32x32
field.
-
ScalingList4x4
Copies the specifiedByteBuffer
to theScalingList4x4
field. -
ScalingList4x4
Sets the specified value at the specified index of theScalingList4x4
field. -
ScalingList8x8
Copies the specifiedByteBuffer
to theScalingList8x8
field. -
ScalingList8x8
Sets the specified value at the specified index of theScalingList8x8
field. -
ScalingList16x16
Copies the specifiedByteBuffer
to theScalingList16x16
field. -
ScalingList16x16
Sets the specified value at the specified index of theScalingList16x16
field. -
ScalingList32x32
Copies the specifiedByteBuffer
to theScalingList32x32
field. -
ScalingList32x32
Sets the specified value at the specified index of theScalingList32x32
field. -
ScalingListDCCoef16x16
Copies the specifiedByteBuffer
to theScalingListDCCoef16x16
field. -
ScalingListDCCoef16x16
Sets the specified value at the specified index of theScalingListDCCoef16x16
field. -
ScalingListDCCoef32x32
Copies the specifiedByteBuffer
to theScalingListDCCoef32x32
field. -
ScalingListDCCoef32x32
Sets the specified value at the specified index of theScalingListDCCoef32x32
field. -
set
public StdVideoH265ScalingLists set(ByteBuffer ScalingList4x4, ByteBuffer ScalingList8x8, ByteBuffer ScalingList16x16, ByteBuffer ScalingList32x32, ByteBuffer ScalingListDCCoef16x16, ByteBuffer ScalingListDCCoef32x32) Initializes this struct with the specified values. -
set
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
Returns a newStdVideoH265ScalingLists
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newStdVideoH265ScalingLists
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newStdVideoH265ScalingLists
instance allocated withBufferUtils
. -
create
Returns a newStdVideoH265ScalingLists
instance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoH265ScalingLists.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newStdVideoH265ScalingLists.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newStdVideoH265ScalingLists.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aStdVideoH265ScalingLists.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
malloc
Returns a newStdVideoH265ScalingLists
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newStdVideoH265ScalingLists
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newStdVideoH265ScalingLists.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newStdVideoH265ScalingLists.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
nScalingList4x4
Unsafe version ofScalingList4x4()
. -
nScalingList4x4
public static byte nScalingList4x4(long struct, int index) Unsafe version ofScalingList4x4
. -
nScalingList8x8
Unsafe version ofScalingList8x8()
. -
nScalingList8x8
public static byte nScalingList8x8(long struct, int index) Unsafe version ofScalingList8x8
. -
nScalingList16x16
Unsafe version ofScalingList16x16()
. -
nScalingList16x16
public static byte nScalingList16x16(long struct, int index) Unsafe version ofScalingList16x16
. -
nScalingList32x32
Unsafe version ofScalingList32x32()
. -
nScalingList32x32
public static byte nScalingList32x32(long struct, int index) Unsafe version ofScalingList32x32
. -
nScalingListDCCoef16x16
Unsafe version ofScalingListDCCoef16x16()
. -
nScalingListDCCoef16x16
public static byte nScalingListDCCoef16x16(long struct, int index) Unsafe version ofScalingListDCCoef16x16
. -
nScalingListDCCoef32x32
Unsafe version ofScalingListDCCoef32x32()
. -
nScalingListDCCoef32x32
public static byte nScalingListDCCoef32x32(long struct, int index) Unsafe version ofScalingListDCCoef32x32
. -
nScalingList4x4
Unsafe version ofScalingList4x4
. -
nScalingList4x4
public static void nScalingList4x4(long struct, int index, byte value) Unsafe version ofScalingList4x4
. -
nScalingList8x8
Unsafe version ofScalingList8x8
. -
nScalingList8x8
public static void nScalingList8x8(long struct, int index, byte value) Unsafe version ofScalingList8x8
. -
nScalingList16x16
Unsafe version ofScalingList16x16
. -
nScalingList16x16
public static void nScalingList16x16(long struct, int index, byte value) Unsafe version ofScalingList16x16
. -
nScalingList32x32
Unsafe version ofScalingList32x32
. -
nScalingList32x32
public static void nScalingList32x32(long struct, int index, byte value) Unsafe version ofScalingList32x32
. -
nScalingListDCCoef16x16
Unsafe version ofScalingListDCCoef16x16
. -
nScalingListDCCoef16x16
public static void nScalingListDCCoef16x16(long struct, int index, byte value) Unsafe version ofScalingListDCCoef16x16
. -
nScalingListDCCoef32x32
Unsafe version ofScalingListDCCoef32x32
. -
nScalingListDCCoef32x32
public static void nScalingListDCCoef32x32(long struct, int index, byte value) Unsafe version ofScalingListDCCoef32x32
.
-