Package org.lwjgl.vulkan.video
Class StdVideoH265ScalingLists
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<StdVideoH265ScalingLists>
org.lwjgl.vulkan.video.StdVideoH265ScalingLists
- All Implemented Interfaces:
AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class StdVideoH265ScalingLists
extends org.lwjgl.system.Struct<StdVideoH265ScalingLists>
implements org.lwjgl.system.NativeResource
Layout
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
org.lwjgl.system.Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
org.lwjgl.system.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, org.lwjgl.system.MemoryStack stack) Returns a newStdVideoH265ScalingLists.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoH265ScalingListscalloc(org.lwjgl.system.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, org.lwjgl.system.MemoryStack stack) Returns a newStdVideoH265ScalingLists.Bufferinstance allocated on the specifiedMemoryStack.static StdVideoH265ScalingListsmalloc(org.lwjgl.system.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.scalingList[ 2 ][ MatrixID ][ i ] (sizeID = 2)byteScalingList16x16(int index) scalingList[ 2 ][ MatrixID ][ i ] (sizeID = 2)ScalingList16x16(int index, byte value) Sets the specified value at the specified index of theScalingList16x16()field.ScalingList16x16(ByteBuffer value) Copies the specifiedByteBufferto theScalingList16x16()field.scalingList[ 3 ][ MatrixID ][ i ] (sizeID = 3)byteScalingList32x32(int index) scalingList[ 3 ][ MatrixID ][ i ] (sizeID = 3)ScalingList32x32(int index, byte value) Sets the specified value at the specified index of theScalingList32x32()field.ScalingList32x32(ByteBuffer value) Copies the specifiedByteBufferto theScalingList32x32()field.scalingList[ 0 ][ MatrixID ][ i ] (sizeID = 0)byteScalingList4x4(int index) scalingList[ 0 ][ MatrixID ][ i ] (sizeID = 0)ScalingList4x4(int index, byte value) Sets the specified value at the specified index of theScalingList4x4()field.ScalingList4x4(ByteBuffer value) Copies the specifiedByteBufferto theScalingList4x4()field.scalingList[ 1 ][ MatrixID ][ i ] (sizeID = 1)byteScalingList8x8(int index) scalingList[ 1 ][ MatrixID ][ i ] (sizeID = 1)ScalingList8x8(int index, byte value) Sets the specified value at the specified index of theScalingList8x8()field.ScalingList8x8(ByteBuffer value) Copies the specifiedByteBufferto theScalingList8x8()field.scaling_list_dc_coef_minus8[ sizeID - 2 ][ matrixID ] + 8, sizeID = 2byteScalingListDCCoef16x16(int index) scaling_list_dc_coef_minus8[ sizeID - 2 ][ matrixID ] + 8, sizeID = 2ScalingListDCCoef16x16(int index, byte value) Sets the specified value at the specified index of theScalingListDCCoef16x16()field.ScalingListDCCoef16x16(ByteBuffer value) Copies the specifiedByteBufferto theScalingListDCCoef16x16()field.scaling_list_dc_coef_minus8[ sizeID - 2 ][ matrixID ] + 8. sizeID = 3byteScalingListDCCoef32x32(int index) scaling_list_dc_coef_minus8[ sizeID - 2 ][ matrixID ] + 8. sizeID = 3ScalingListDCCoef32x32(int index, byte value) Sets the specified value at the specified index of theScalingListDCCoef32x32()field.ScalingListDCCoef32x32(ByteBuffer value) Copies the specifiedByteBufferto 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.intsizeof()Methods inherited from class org.lwjgl.system.Struct
clear, free, isNull, validate, validateMethods 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()- Specified by:
sizeofin classorg.lwjgl.system.Struct<StdVideoH265ScalingLists>
-
ScalingList4x4
scalingList[ 0 ][ MatrixID ][ i ] (sizeID = 0) -
ScalingList4x4
public byte ScalingList4x4(int index) scalingList[ 0 ][ MatrixID ][ i ] (sizeID = 0) -
ScalingList8x8
scalingList[ 1 ][ MatrixID ][ i ] (sizeID = 1) -
ScalingList8x8
public byte ScalingList8x8(int index) scalingList[ 1 ][ MatrixID ][ i ] (sizeID = 1) -
ScalingList16x16
scalingList[ 2 ][ MatrixID ][ i ] (sizeID = 2) -
ScalingList16x16
public byte ScalingList16x16(int index) scalingList[ 2 ][ MatrixID ][ i ] (sizeID = 2) -
ScalingList32x32
scalingList[ 3 ][ MatrixID ][ i ] (sizeID = 3) -
ScalingList32x32
public byte ScalingList32x32(int index) scalingList[ 3 ][ MatrixID ][ i ] (sizeID = 3) -
ScalingListDCCoef16x16
scaling_list_dc_coef_minus8[ sizeID - 2 ][ matrixID ] + 8, sizeID = 2 -
ScalingListDCCoef16x16
public byte ScalingListDCCoef16x16(int index) scaling_list_dc_coef_minus8[ sizeID - 2 ][ matrixID ] + 8, sizeID = 2 -
ScalingListDCCoef32x32
scaling_list_dc_coef_minus8[ sizeID - 2 ][ matrixID ] + 8. sizeID = 3 -
ScalingListDCCoef32x32
public byte ScalingListDCCoef32x32(int index) scaling_list_dc_coef_minus8[ sizeID - 2 ][ matrixID ] + 8. sizeID = 3 -
ScalingList4x4
Copies the specifiedByteBufferto theScalingList4x4()field. -
ScalingList4x4
Sets the specified value at the specified index of theScalingList4x4()field. -
ScalingList8x8
Copies the specifiedByteBufferto theScalingList8x8()field. -
ScalingList8x8
Sets the specified value at the specified index of theScalingList8x8()field. -
ScalingList16x16
Copies the specifiedByteBufferto theScalingList16x16()field. -
ScalingList16x16
Sets the specified value at the specified index of theScalingList16x16()field. -
ScalingList32x32
Copies the specifiedByteBufferto theScalingList32x32()field. -
ScalingList32x32
Sets the specified value at the specified index of theScalingList32x32()field. -
ScalingListDCCoef16x16
Copies the specifiedByteBufferto theScalingListDCCoef16x16()field. -
ScalingListDCCoef16x16
Sets the specified value at the specified index of theScalingListDCCoef16x16()field. -
ScalingListDCCoef32x32
Copies the specifiedByteBufferto 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 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
public static StdVideoH265ScalingLists.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newStdVideoH265ScalingLists.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
public static StdVideoH265ScalingLists.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack) 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.
-