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.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe 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 aStdVideoH265ScalingListsinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic StdVideoH265ScalingListscalloc()Returns a newStdVideoH265ScalingListsinstance allocated withmemCalloc.calloc(int capacity) Returns a newStdVideoH265ScalingLists.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newStdVideoH265ScalingLists.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoH265ScalingListscalloc(MemoryStack stack) Returns a newStdVideoH265ScalingListsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoH265ScalingListscreate()Returns a newStdVideoH265ScalingListsinstance allocated withBufferUtils.create(int capacity) Returns a newStdVideoH265ScalingLists.Bufferinstance allocated withBufferUtils.static StdVideoH265ScalingListscreate(long address) Returns a newStdVideoH265ScalingListsinstance for the specified memory address.create(long address, int capacity) Create aStdVideoH265ScalingLists.Bufferinstance at the specified memory.static @Nullable StdVideoH265ScalingListscreateSafe(long address) static @Nullable StdVideoH265ScalingLists.BuffercreateSafe(long address, int capacity) static StdVideoH265ScalingListsmalloc()Returns a newStdVideoH265ScalingListsinstance allocated withmemAlloc.malloc(int capacity) Returns a newStdVideoH265ScalingLists.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newStdVideoH265ScalingLists.Bufferinstance allocated on the specifiedMemoryStack.static StdVideoH265ScalingListsmalloc(MemoryStack stack) Returns a newStdVideoH265ScalingListsinstance allocated on the specifiedMemoryStack.static ByteBuffernScalingList16x16(long struct) Unsafe version ofScalingList16x16().static bytenScalingList16x16(long struct, int index) Unsafe version ofScalingList16x16.static voidnScalingList16x16(long struct, int index, byte value) Unsafe version ofScalingList16x16.static voidnScalingList16x16(long struct, ByteBuffer value) Unsafe version ofScalingList16x16.static ByteBuffernScalingList32x32(long struct) Unsafe version ofScalingList32x32().static bytenScalingList32x32(long struct, int index) Unsafe version ofScalingList32x32.static voidnScalingList32x32(long struct, int index, byte value) Unsafe version ofScalingList32x32.static voidnScalingList32x32(long struct, ByteBuffer value) Unsafe version ofScalingList32x32.static ByteBuffernScalingList4x4(long struct) Unsafe version ofScalingList4x4().static bytenScalingList4x4(long struct, int index) Unsafe version ofScalingList4x4.static voidnScalingList4x4(long struct, int index, byte value) Unsafe version ofScalingList4x4.static voidnScalingList4x4(long struct, ByteBuffer value) Unsafe version ofScalingList4x4.static ByteBuffernScalingList8x8(long struct) Unsafe version ofScalingList8x8().static bytenScalingList8x8(long struct, int index) Unsafe version ofScalingList8x8.static voidnScalingList8x8(long struct, int index, byte value) Unsafe version ofScalingList8x8.static voidnScalingList8x8(long struct, ByteBuffer value) Unsafe version ofScalingList8x8.static ByteBuffernScalingListDCCoef16x16(long struct) Unsafe version ofScalingListDCCoef16x16().static bytenScalingListDCCoef16x16(long struct, int index) Unsafe version ofScalingListDCCoef16x16.static voidnScalingListDCCoef16x16(long struct, int index, byte value) Unsafe version ofScalingListDCCoef16x16.static voidnScalingListDCCoef16x16(long struct, ByteBuffer value) Unsafe version ofScalingListDCCoef16x16.static ByteBuffernScalingListDCCoef32x32(long struct) Unsafe version ofScalingListDCCoef32x32().static bytenScalingListDCCoef32x32(long struct, int index) Unsafe version ofScalingListDCCoef32x32.static voidnScalingListDCCoef32x32(long struct, int index, byte value) Unsafe version ofScalingListDCCoef32x32.static voidnScalingListDCCoef32x32(long struct, ByteBuffer value) Unsafe version ofScalingListDCCoef32x32.byteScalingList16x16(int index) ScalingList16x16(int index, byte value) Sets the specified value at the specified index of theScalingList16x16field.ScalingList16x16(ByteBuffer value) Copies the specifiedByteBufferto theScalingList16x16field.byteScalingList32x32(int index) ScalingList32x32(int index, byte value) Sets the specified value at the specified index of theScalingList32x32field.ScalingList32x32(ByteBuffer value) Copies the specifiedByteBufferto theScalingList32x32field.byteScalingList4x4(int index) ScalingList4x4(int index, byte value) Sets the specified value at the specified index of theScalingList4x4field.ScalingList4x4(ByteBuffer value) Copies the specifiedByteBufferto theScalingList4x4field.byteScalingList8x8(int index) ScalingList8x8(int index, byte value) Sets the specified value at the specified index of theScalingList8x8field.ScalingList8x8(ByteBuffer value) Copies the specifiedByteBufferto theScalingList8x8field.byteScalingListDCCoef16x16(int index) ScalingListDCCoef16x16(int index, byte value) Sets the specified value at the specified index of theScalingListDCCoef16x16field.ScalingListDCCoef16x16(ByteBuffer value) Copies the specifiedByteBufferto theScalingListDCCoef16x16field.byteScalingListDCCoef32x32(int index) ScalingListDCCoef32x32(int index, byte value) Sets the specified value at the specified index of theScalingListDCCoef32x32field.ScalingListDCCoef32x32(ByteBuffer value) Copies the specifiedByteBufferto theScalingListDCCoef32x32field.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.intsizeof()Returnssizeof(struct).Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods 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 aStdVideoH265ScalingListsinstance 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 Details
-
sizeof
public int sizeof()Description copied from class:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<StdVideoH265ScalingLists>
-
ScalingList4x4
- Returns:
- a
ByteBufferview of theScalingList4x4field.
-
ScalingList4x4
public byte ScalingList4x4(int index) - Returns:
- the value at the specified index of the
ScalingList4x4field.
-
ScalingList8x8
- Returns:
- a
ByteBufferview of theScalingList8x8field.
-
ScalingList8x8
public byte ScalingList8x8(int index) - Returns:
- the value at the specified index of the
ScalingList8x8field.
-
ScalingList16x16
- Returns:
- a
ByteBufferview of theScalingList16x16field.
-
ScalingList16x16
public byte ScalingList16x16(int index) - Returns:
- the value at the specified index of the
ScalingList16x16field.
-
ScalingList32x32
- Returns:
- a
ByteBufferview of theScalingList32x32field.
-
ScalingList32x32
public byte ScalingList32x32(int index) - Returns:
- the value at the specified index of the
ScalingList32x32field.
-
ScalingListDCCoef16x16
- Returns:
- a
ByteBufferview of theScalingListDCCoef16x16field.
-
ScalingListDCCoef16x16
public byte ScalingListDCCoef16x16(int index) - Returns:
- the value at the specified index of the
ScalingListDCCoef16x16field.
-
ScalingListDCCoef32x32
- Returns:
- a
ByteBufferview of theScalingListDCCoef32x32field.
-
ScalingListDCCoef32x32
public byte ScalingListDCCoef32x32(int index) - Returns:
- the value at the specified index of the
ScalingListDCCoef32x32field.
-
ScalingList4x4
Copies the specifiedByteBufferto theScalingList4x4field. -
ScalingList4x4
Sets the specified value at the specified index of theScalingList4x4field. -
ScalingList8x8
Copies the specifiedByteBufferto theScalingList8x8field. -
ScalingList8x8
Sets the specified value at the specified index of theScalingList8x8field. -
ScalingList16x16
Copies the specifiedByteBufferto theScalingList16x16field. -
ScalingList16x16
Sets the specified value at the specified index of theScalingList16x16field. -
ScalingList32x32
Copies the specifiedByteBufferto theScalingList32x32field. -
ScalingList32x32
Sets the specified value at the specified index of theScalingList32x32field. -
ScalingListDCCoef16x16
Copies the specifiedByteBufferto theScalingListDCCoef16x16field. -
ScalingListDCCoef16x16
Sets the specified value at the specified index of theScalingListDCCoef16x16field. -
ScalingListDCCoef32x32
Copies the specifiedByteBufferto theScalingListDCCoef32x32field. -
ScalingListDCCoef32x32
Sets the specified value at the specified index of theScalingListDCCoef32x32field. -
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 newStdVideoH265ScalingListsinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newStdVideoH265ScalingListsinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newStdVideoH265ScalingListsinstance allocated withBufferUtils. -
create
Returns a newStdVideoH265ScalingListsinstance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoH265ScalingLists.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newStdVideoH265ScalingLists.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newStdVideoH265ScalingLists.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aStdVideoH265ScalingLists.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newStdVideoH265ScalingListsinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newStdVideoH265ScalingListsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newStdVideoH265ScalingLists.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newStdVideoH265ScalingLists.Bufferinstance allocated on the specifiedMemoryStackand 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.
-