Package org.lwjgl.vulkan.video
Class StdVideoH265ScalingLists
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.video.StdVideoH265ScalingLists
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class StdVideoH265ScalingLists extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceLayout
struct StdVideoH265ScalingLists { uint8_tScalingList4x4()[STD_VIDEO_H265_SCALING_LIST_4X4_NUM_ELEMENTS]; uint8_tScalingList8x8()[STD_VIDEO_H265_SCALING_LIST_8X8_NUM_ELEMENTS]; uint8_tScalingList16x16()[STD_VIDEO_H265_SCALING_LIST_16X16_NUM_ELEMENTS]; uint8_tScalingList32x32()[STD_VIDEO_H265_SCALING_LIST_32X32_NUM_ELEMENTS]; uint8_tScalingListDCCoef16x16()[STD_VIDEO_H265_SCALING_LIST_16X16_NUM_LISTS]; uint8_tScalingListDCCoef32x32()[STD_VIDEO_H265_SCALING_LIST_32X32_NUM_LISTS]; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStdVideoH265ScalingLists.BufferAn array ofStdVideoH265ScalingListsstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intSCALINGLIST16X16
SCALINGLIST32X32
SCALINGLIST4X4
SCALINGLIST8X8
SCALINGLISTDCCOEF16X16
SCALINGLISTDCCOEF32X32The struct member offsets.static intSIZEOFThe struct size in bytes.
-
Constructor Summary
Constructors Constructor Description StdVideoH265ScalingLists(java.nio.ByteBuffer container)Creates aStdVideoH265ScalingListsinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StdVideoH265ScalingListscalloc()Returns a newStdVideoH265ScalingListsinstance allocated withmemCalloc.static StdVideoH265ScalingLists.Buffercalloc(int capacity)Returns a newStdVideoH265ScalingLists.Bufferinstance allocated withmemCalloc.static StdVideoH265ScalingLists.Buffercalloc(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.static StdVideoH265ScalingLists.Buffercreate(int capacity)Returns a newStdVideoH265ScalingLists.Bufferinstance allocated withBufferUtils.static StdVideoH265ScalingListscreate(long address)Returns a newStdVideoH265ScalingListsinstance for the specified memory address.static StdVideoH265ScalingLists.Buffercreate(long address, int capacity)Create aStdVideoH265ScalingLists.Bufferinstance at the specified memory.static StdVideoH265ScalingListscreateSafe(long address)static StdVideoH265ScalingLists.BuffercreateSafe(long address, int capacity)static StdVideoH265ScalingListsmalloc()Returns a newStdVideoH265ScalingListsinstance allocated withmemAlloc.static StdVideoH265ScalingLists.Buffermalloc(int capacity)Returns a newStdVideoH265ScalingLists.Bufferinstance allocated withmemAlloc.static StdVideoH265ScalingLists.Buffermalloc(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 java.nio.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, java.nio.ByteBuffer value)Unsafe version ofScalingList16x16.static java.nio.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, java.nio.ByteBuffer value)Unsafe version ofScalingList32x32.static java.nio.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, java.nio.ByteBuffer value)Unsafe version ofScalingList4x4.static java.nio.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, java.nio.ByteBuffer value)Unsafe version ofScalingList8x8.static java.nio.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, java.nio.ByteBuffer value)Unsafe version ofScalingListDCCoef16x16.static java.nio.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, java.nio.ByteBuffer value)Unsafe version ofScalingListDCCoef32x32.java.nio.ByteBufferScalingList16x16()scalingList[ 2 ][ MatrixID ][ i ] (sizeID = 2)byteScalingList16x16(int index)scalingList[ 2 ][ MatrixID ][ i ] (sizeID = 2)StdVideoH265ScalingListsScalingList16x16(int index, byte value)Sets the specified value at the specified index of theScalingList16x16()field.StdVideoH265ScalingListsScalingList16x16(java.nio.ByteBuffer value)Copies the specifiedByteBufferto theScalingList16x16()field.java.nio.ByteBufferScalingList32x32()scalingList[ 3 ][ MatrixID ][ i ] (sizeID = 3)byteScalingList32x32(int index)scalingList[ 3 ][ MatrixID ][ i ] (sizeID = 3)StdVideoH265ScalingListsScalingList32x32(int index, byte value)Sets the specified value at the specified index of theScalingList32x32()field.StdVideoH265ScalingListsScalingList32x32(java.nio.ByteBuffer value)Copies the specifiedByteBufferto theScalingList32x32()field.java.nio.ByteBufferScalingList4x4()scalingList[ 0 ][ MatrixID ][ i ] (sizeID = 0)byteScalingList4x4(int index)scalingList[ 0 ][ MatrixID ][ i ] (sizeID = 0)StdVideoH265ScalingListsScalingList4x4(int index, byte value)Sets the specified value at the specified index of theScalingList4x4()field.StdVideoH265ScalingListsScalingList4x4(java.nio.ByteBuffer value)Copies the specifiedByteBufferto theScalingList4x4()field.java.nio.ByteBufferScalingList8x8()scalingList[ 1 ][ MatrixID ][ i ] (sizeID = 1)byteScalingList8x8(int index)scalingList[ 1 ][ MatrixID ][ i ] (sizeID = 1)StdVideoH265ScalingListsScalingList8x8(int index, byte value)Sets the specified value at the specified index of theScalingList8x8()field.StdVideoH265ScalingListsScalingList8x8(java.nio.ByteBuffer value)Copies the specifiedByteBufferto theScalingList8x8()field.java.nio.ByteBufferScalingListDCCoef16x16()scaling_list_dc_coef_minus8[ sizeID - 2 ][ matrixID ] + 8, sizeID = 2byteScalingListDCCoef16x16(int index)scaling_list_dc_coef_minus8[ sizeID - 2 ][ matrixID ] + 8, sizeID = 2StdVideoH265ScalingListsScalingListDCCoef16x16(int index, byte value)Sets the specified value at the specified index of theScalingListDCCoef16x16()field.StdVideoH265ScalingListsScalingListDCCoef16x16(java.nio.ByteBuffer value)Copies the specifiedByteBufferto theScalingListDCCoef16x16()field.java.nio.ByteBufferScalingListDCCoef32x32()scaling_list_dc_coef_minus8[ sizeID - 2 ][ matrixID ] + 8. sizeID = 3byteScalingListDCCoef32x32(int index)scaling_list_dc_coef_minus8[ sizeID - 2 ][ matrixID ] + 8. sizeID = 3StdVideoH265ScalingListsScalingListDCCoef32x32(int index, byte value)Sets the specified value at the specified index of theScalingListDCCoef32x32()field.StdVideoH265ScalingListsScalingListDCCoef32x32(java.nio.ByteBuffer value)Copies the specifiedByteBufferto theScalingListDCCoef32x32()field.StdVideoH265ScalingListsset(java.nio.ByteBuffer ScalingList4x4, java.nio.ByteBuffer ScalingList8x8, java.nio.ByteBuffer ScalingList16x16, java.nio.ByteBuffer ScalingList32x32, java.nio.ByteBuffer ScalingListDCCoef16x16, java.nio.ByteBuffer ScalingListDCCoef32x32)Initializes this struct with the specified values.StdVideoH265ScalingListsset(StdVideoH265ScalingLists src)Copies the specified struct data to this struct.intsizeof()
-
-
-
Constructor Detail
-
StdVideoH265ScalingLists
public StdVideoH265ScalingLists(java.nio.ByteBuffer container)
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 Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
ScalingList4x4
public java.nio.ByteBuffer ScalingList4x4() public byte ScalingList4x4(int index)
scalingList[ 0 ][ MatrixID ][ i ] (sizeID = 0)
-
ScalingList8x8
public java.nio.ByteBuffer ScalingList8x8() public byte ScalingList8x8(int index)
scalingList[ 1 ][ MatrixID ][ i ] (sizeID = 1)
-
ScalingList16x16
public java.nio.ByteBuffer ScalingList16x16() public byte ScalingList16x16(int index)
scalingList[ 2 ][ MatrixID ][ i ] (sizeID = 2)
-
ScalingList32x32
public java.nio.ByteBuffer ScalingList32x32() public byte ScalingList32x32(int index)
scalingList[ 3 ][ MatrixID ][ i ] (sizeID = 3)
-
ScalingListDCCoef16x16
public java.nio.ByteBuffer ScalingListDCCoef16x16() public byte ScalingListDCCoef16x16(int index)
scaling_list_dc_coef_minus8[ sizeID - 2 ][ matrixID ] + 8, sizeID = 2
-
ScalingListDCCoef32x32
public java.nio.ByteBuffer ScalingListDCCoef32x32() public byte ScalingListDCCoef32x32(int index)
scaling_list_dc_coef_minus8[ sizeID - 2 ][ matrixID ] + 8. sizeID = 3
-
ScalingList4x4
public StdVideoH265ScalingLists ScalingList4x4(java.nio.ByteBuffer value)
Copies the specifiedByteBufferto theScalingList4x4()field.
-
ScalingList4x4
public StdVideoH265ScalingLists ScalingList4x4(int index, byte value)
Sets the specified value at the specified index of theScalingList4x4()field.
-
ScalingList8x8
public StdVideoH265ScalingLists ScalingList8x8(java.nio.ByteBuffer value)
Copies the specifiedByteBufferto theScalingList8x8()field.
-
ScalingList8x8
public StdVideoH265ScalingLists ScalingList8x8(int index, byte value)
Sets the specified value at the specified index of theScalingList8x8()field.
-
ScalingList16x16
public StdVideoH265ScalingLists ScalingList16x16(java.nio.ByteBuffer value)
Copies the specifiedByteBufferto theScalingList16x16()field.
-
ScalingList16x16
public StdVideoH265ScalingLists ScalingList16x16(int index, byte value)
Sets the specified value at the specified index of theScalingList16x16()field.
-
ScalingList32x32
public StdVideoH265ScalingLists ScalingList32x32(java.nio.ByteBuffer value)
Copies the specifiedByteBufferto theScalingList32x32()field.
-
ScalingList32x32
public StdVideoH265ScalingLists ScalingList32x32(int index, byte value)
Sets the specified value at the specified index of theScalingList32x32()field.
-
ScalingListDCCoef16x16
public StdVideoH265ScalingLists ScalingListDCCoef16x16(java.nio.ByteBuffer value)
Copies the specifiedByteBufferto theScalingListDCCoef16x16()field.
-
ScalingListDCCoef16x16
public StdVideoH265ScalingLists ScalingListDCCoef16x16(int index, byte value)
Sets the specified value at the specified index of theScalingListDCCoef16x16()field.
-
ScalingListDCCoef32x32
public StdVideoH265ScalingLists ScalingListDCCoef32x32(java.nio.ByteBuffer value)
Copies the specifiedByteBufferto theScalingListDCCoef32x32()field.
-
ScalingListDCCoef32x32
public StdVideoH265ScalingLists ScalingListDCCoef32x32(int index, byte value)
Sets the specified value at the specified index of theScalingListDCCoef32x32()field.
-
set
public StdVideoH265ScalingLists set(java.nio.ByteBuffer ScalingList4x4, java.nio.ByteBuffer ScalingList8x8, java.nio.ByteBuffer ScalingList16x16, java.nio.ByteBuffer ScalingList32x32, java.nio.ByteBuffer ScalingListDCCoef16x16, java.nio.ByteBuffer ScalingListDCCoef32x32)
Initializes this struct with the specified values.
-
set
public StdVideoH265ScalingLists set(StdVideoH265ScalingLists src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static StdVideoH265ScalingLists malloc()
Returns a newStdVideoH265ScalingListsinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static StdVideoH265ScalingLists calloc()
Returns a newStdVideoH265ScalingListsinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static StdVideoH265ScalingLists create()
Returns a newStdVideoH265ScalingListsinstance allocated withBufferUtils.
-
create
public static StdVideoH265ScalingLists create(long address)
Returns a newStdVideoH265ScalingListsinstance for the specified memory address.
-
createSafe
@Nullable public static StdVideoH265ScalingLists createSafe(long address)
-
malloc
public static StdVideoH265ScalingLists.Buffer malloc(int capacity)
Returns a newStdVideoH265ScalingLists.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static StdVideoH265ScalingLists.Buffer calloc(int capacity)
Returns a newStdVideoH265ScalingLists.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static StdVideoH265ScalingLists.Buffer create(int capacity)
Returns a newStdVideoH265ScalingLists.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static StdVideoH265ScalingLists.Buffer create(long address, int capacity)
Create aStdVideoH265ScalingLists.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static StdVideoH265ScalingLists.Buffer createSafe(long address, int capacity)
-
malloc
public static StdVideoH265ScalingLists malloc(org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoH265ScalingListsinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static StdVideoH265ScalingLists calloc(org.lwjgl.system.MemoryStack stack)
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:
stack- the stack from which to allocatecapacity- the buffer capacity
-
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:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nScalingList4x4
public static java.nio.ByteBuffer nScalingList4x4(long struct)
Unsafe version ofScalingList4x4().
-
nScalingList4x4
public static byte nScalingList4x4(long struct, int index)Unsafe version ofScalingList4x4.
-
nScalingList8x8
public static java.nio.ByteBuffer nScalingList8x8(long struct)
Unsafe version ofScalingList8x8().
-
nScalingList8x8
public static byte nScalingList8x8(long struct, int index)Unsafe version ofScalingList8x8.
-
nScalingList16x16
public static java.nio.ByteBuffer nScalingList16x16(long struct)
Unsafe version ofScalingList16x16().
-
nScalingList16x16
public static byte nScalingList16x16(long struct, int index)Unsafe version ofScalingList16x16.
-
nScalingList32x32
public static java.nio.ByteBuffer nScalingList32x32(long struct)
Unsafe version ofScalingList32x32().
-
nScalingList32x32
public static byte nScalingList32x32(long struct, int index)Unsafe version ofScalingList32x32.
-
nScalingListDCCoef16x16
public static java.nio.ByteBuffer nScalingListDCCoef16x16(long struct)
Unsafe version ofScalingListDCCoef16x16().
-
nScalingListDCCoef16x16
public static byte nScalingListDCCoef16x16(long struct, int index)Unsafe version ofScalingListDCCoef16x16.
-
nScalingListDCCoef32x32
public static java.nio.ByteBuffer nScalingListDCCoef32x32(long struct)
Unsafe version ofScalingListDCCoef32x32().
-
nScalingListDCCoef32x32
public static byte nScalingListDCCoef32x32(long struct, int index)Unsafe version ofScalingListDCCoef32x32.
-
nScalingList4x4
public static void nScalingList4x4(long struct, java.nio.ByteBuffer value)Unsafe version ofScalingList4x4.
-
nScalingList4x4
public static void nScalingList4x4(long struct, int index, byte value)Unsafe version ofScalingList4x4.
-
nScalingList8x8
public static void nScalingList8x8(long struct, java.nio.ByteBuffer value)Unsafe version ofScalingList8x8.
-
nScalingList8x8
public static void nScalingList8x8(long struct, int index, byte value)Unsafe version ofScalingList8x8.
-
nScalingList16x16
public static void nScalingList16x16(long struct, java.nio.ByteBuffer value)Unsafe version ofScalingList16x16.
-
nScalingList16x16
public static void nScalingList16x16(long struct, int index, byte value)Unsafe version ofScalingList16x16.
-
nScalingList32x32
public static void nScalingList32x32(long struct, java.nio.ByteBuffer value)Unsafe version ofScalingList32x32.
-
nScalingList32x32
public static void nScalingList32x32(long struct, int index, byte value)Unsafe version ofScalingList32x32.
-
nScalingListDCCoef16x16
public static void nScalingListDCCoef16x16(long struct, java.nio.ByteBuffer value)Unsafe version ofScalingListDCCoef16x16.
-
nScalingListDCCoef16x16
public static void nScalingListDCCoef16x16(long struct, int index, byte value)Unsafe version ofScalingListDCCoef16x16.
-
nScalingListDCCoef32x32
public static void nScalingListDCCoef32x32(long struct, java.nio.ByteBuffer value)Unsafe version ofScalingListDCCoef32x32.
-
nScalingListDCCoef32x32
public static void nScalingListDCCoef32x32(long struct, int index, byte value)Unsafe version ofScalingListDCCoef32x32.
-
-