Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan.video

public Class StdVideoH264ScalingLists

extends Struct<StdVideoH264ScalingLists>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Layout


struct StdVideoH264ScalingLists {
    uint16_t scaling_list_present_mask;
    uint16_t use_default_scaling_matrix_mask;
    uint8_t ScalingList4x4[STD_VIDEO_H264_SCALING_LIST_4X4_NUM_ELEMENTS];
    uint8_t ScalingList8x8[STD_VIDEO_H264_SCALING_LIST_8X8_NUM_ELEMENTS];
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
SCALING_LIST_PRESENT_MASK

The struct member offsets.

public static final int
SCALINGLIST4X4

The struct member offsets.

public static final int
SCALINGLIST8X8

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
USE_DEFAULT_SCALING_MATRIX_MASK

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
StdVideoH264ScalingLists(long address, ByteBuffer container)

public
StdVideoH264ScalingLists(ByteBuffer container)

Creates a StdVideoH264ScalingLists instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public static StdVideoH264ScalingLists
calloc()

Returns a new StdVideoH264ScalingLists instance allocated with memCalloc.

public static StdVideoH264ScalingLists.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new StdVideoH264ScalingLists.Buffer instance allocated with memCalloc.

public static StdVideoH264ScalingLists
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new StdVideoH264ScalingLists instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static StdVideoH264ScalingLists.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new StdVideoH264ScalingLists.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

protected StdVideoH264ScalingLists
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static StdVideoH264ScalingLists
create()

Returns a new StdVideoH264ScalingLists instance allocated with BufferUtils.

public static StdVideoH264ScalingLists
create(long address)

Returns a new StdVideoH264ScalingLists instance for the specified memory address.

public static StdVideoH264ScalingLists.Buffer
create(int
the buffer capacity
capacity
)

Returns a new StdVideoH264ScalingLists.Buffer instance allocated with BufferUtils.

public static StdVideoH264ScalingLists.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a StdVideoH264ScalingLists.Buffer instance at the specified memory.

public static StdVideoH264ScalingLists
createSafe(long address)

Like create, but returns null if address is NULL.

public static StdVideoH264ScalingLists.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public static StdVideoH264ScalingLists
malloc()

Returns a new StdVideoH264ScalingLists instance allocated with memAlloc.

public static StdVideoH264ScalingLists.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new StdVideoH264ScalingLists.Buffer instance allocated with memAlloc.

public static StdVideoH264ScalingLists
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new StdVideoH264ScalingLists instance allocated on the specified MemoryStack.

public static StdVideoH264ScalingLists.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new StdVideoH264ScalingLists.Buffer instance allocated on the specified MemoryStack.

public static short
public static void
nscaling_list_present_mask(long struct, short value)

Unsafe version of scaling_list_present_mask.

public static ByteBuffer
nScalingList4x4(long struct)

Unsafe version of ScalingList4x4.

public static byte
nScalingList4x4(long struct, int index)

Unsafe version of ScalingList4x4.

public static void
nScalingList4x4(long struct, ByteBuffer value)

Unsafe version of ScalingList4x4.

public static void
nScalingList4x4(long struct, int index, byte value)

Unsafe version of ScalingList4x4.

public static ByteBuffer
nScalingList8x8(long struct)

Unsafe version of ScalingList8x8.

public static byte
nScalingList8x8(long struct, int index)

Unsafe version of ScalingList8x8.

public static void
nScalingList8x8(long struct, ByteBuffer value)

Unsafe version of ScalingList8x8.

public static void
nScalingList8x8(long struct, int index, byte value)

Unsafe version of ScalingList8x8.

public static short
public static void
nuse_default_scaling_matrix_mask(long struct, short value)

Unsafe version of use_default_scaling_matrix_mask.

public short
scaling_list_present_mask()

scaling_list_present_mask has one bit for each seq_scaling_list_present_flag[i] for SPS OR pic_scaling_list_present_flag[i] for PPS, bit 0 - 5 are for each entry of ScalingList4x4 bit 6 - 7 are for each entry plus 6 for ScalingList8x8

public StdVideoH264ScalingLists
scaling_list_present_mask(short value)

Sets the specified value to the scaling_list_present_mask field.

public ByteBuffer

Returns:

a ByteBuffer view of the ScalingList4x4 field.
ScalingList4x4
()

public byte

Returns:

the value at the specified index of the ScalingList4x4 field.
ScalingList4x4
(int index)

public StdVideoH264ScalingLists
ScalingList4x4(ByteBuffer value)

Copies the specified ByteBuffer to the ScalingList4x4 field.

public StdVideoH264ScalingLists
ScalingList4x4(int index, byte value)

Sets the specified value at the specified index of the ScalingList4x4 field.

public ByteBuffer

Returns:

a ByteBuffer view of the ScalingList8x8 field.
ScalingList8x8
()

public byte

Returns:

the value at the specified index of the ScalingList8x8 field.
ScalingList8x8
(int index)

public StdVideoH264ScalingLists
ScalingList8x8(ByteBuffer value)

Copies the specified ByteBuffer to the ScalingList8x8 field.

public StdVideoH264ScalingLists
ScalingList8x8(int index, byte value)

Sets the specified value at the specified index of the ScalingList8x8 field.

public StdVideoH264ScalingLists
set(short scaling_list_present_mask, short use_default_scaling_matrix_mask, ByteBuffer ScalingList4x4, ByteBuffer ScalingList8x8)

Initializes this struct with the specified values.

public StdVideoH264ScalingLists

Returns:

this struct
set
(StdVideoH264ScalingLists
the source struct
src
)

Copies the specified struct data to this struct.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public short
use_default_scaling_matrix_mask()

use_default_scaling_matrix_mask has one bit for each UseDefaultScalingMatrix4x4Flag[ i ] and UseDefaultScalingMatrix8x8Flag[ i - 6 ] for SPS OR PPS bit 0 - 5 are for each entry of ScalingList4x4 bit 6 - 7 are for each entry plus 6 for ScalingList8x8

public StdVideoH264ScalingLists
use_default_scaling_matrix_mask(short value)

Sets the specified value to the use_default_scaling_matrix_mask field.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate

Field Detail

ALIGNOFback to summary
public static final int ALIGNOF

The struct alignment in bytes.

SCALING_LIST_PRESENT_MASKback to summary
public static final int SCALING_LIST_PRESENT_MASK

The struct member offsets.

SCALINGLIST4X4back to summary
public static final int SCALINGLIST4X4

The struct member offsets.

SCALINGLIST8X8back to summary
public static final int SCALINGLIST8X8

The struct member offsets.

SIZEOFback to summary
public static final int SIZEOF

The struct size in bytes.

USE_DEFAULT_SCALING_MATRIX_MASKback to summary
public static final int USE_DEFAULT_SCALING_MATRIX_MASK

The struct member offsets.

Constructor Detail

StdVideoH264ScalingListsback to summary
protected StdVideoH264ScalingLists(long address, ByteBuffer container)
StdVideoH264ScalingListsback to summary
public StdVideoH264ScalingLists(ByteBuffer container)

Creates a StdVideoH264ScalingLists instance at the current position of the specified ByteBuffer 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 Detail

callocback to summary
public static StdVideoH264ScalingLists calloc()

Returns a new StdVideoH264ScalingLists instance allocated with memCalloc. The instance must be explicitly freed.

callocback to summary
public static StdVideoH264ScalingLists.Buffer calloc(int capacity)

Returns a new StdVideoH264ScalingLists.Buffer instance allocated with memCalloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

callocback to summary
public static StdVideoH264ScalingLists calloc(MemoryStack stack)

Returns a new StdVideoH264ScalingLists instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
stack:MemoryStack

the stack from which to allocate

callocback to summary
public static StdVideoH264ScalingLists.Buffer calloc(int capacity, MemoryStack stack)

Returns a new StdVideoH264ScalingLists.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

createback to summary
protected StdVideoH264ScalingLists create(long address, ByteBuffer container)

Implements abstract org.lwjgl.system.Struct.create.

Doc from org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.

Effectively, every Struct instance is a factory for more instances of the same type. This is used by StructBuffer.

Parameters
address:long

the struct memory address

container:ByteBuffer

an optional container buffer, to be referenced strongly by the struct instance.

Annotations
@Override
createback to summary
public static StdVideoH264ScalingLists create()

Returns a new StdVideoH264ScalingLists instance allocated with BufferUtils.

createback to summary
public static StdVideoH264ScalingLists create(long address)

Returns a new StdVideoH264ScalingLists instance for the specified memory address.

createback to summary
public static StdVideoH264ScalingLists.Buffer create(int capacity)

Returns a new StdVideoH264ScalingLists.Buffer instance allocated with BufferUtils.

Parameters
capacity:int

the buffer capacity

createback to summary
public static StdVideoH264ScalingLists.Buffer create(long address, int capacity)

Create a StdVideoH264ScalingLists.Buffer instance at the specified memory.

Parameters
address:long

the memory address

capacity:int

the buffer capacity

createSafeback to summary
public static StdVideoH264ScalingLists createSafe(long address)

Like create, but returns null if address is NULL.

Annotations
@Nullable
createSafeback to summary
public static StdVideoH264ScalingLists.Buffer createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

Annotations
@Nullable
mallocback to summary
public static StdVideoH264ScalingLists malloc()

Returns a new StdVideoH264ScalingLists instance allocated with memAlloc. The instance must be explicitly freed.

mallocback to summary
public static StdVideoH264ScalingLists.Buffer malloc(int capacity)

Returns a new StdVideoH264ScalingLists.Buffer instance allocated with memAlloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

mallocback to summary
public static StdVideoH264ScalingLists malloc(MemoryStack stack)

Returns a new StdVideoH264ScalingLists instance allocated on the specified MemoryStack.

Parameters
stack:MemoryStack

the stack from which to allocate

mallocback to summary
public static StdVideoH264ScalingLists.Buffer malloc(int capacity, MemoryStack stack)

Returns a new StdVideoH264ScalingLists.Buffer instance allocated on the specified MemoryStack.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

nscaling_list_present_maskback to summary
public static short nscaling_list_present_mask(long struct)

Unsafe version of scaling_list_present_mask.

nscaling_list_present_maskback to summary
public static void nscaling_list_present_mask(long struct, short value)

Unsafe version of scaling_list_present_mask.

nScalingList4x4back to summary
public static ByteBuffer nScalingList4x4(long struct)

Unsafe version of ScalingList4x4.

nScalingList4x4back to summary
public static byte nScalingList4x4(long struct, int index)

Unsafe version of ScalingList4x4.

nScalingList4x4back to summary
public static void nScalingList4x4(long struct, ByteBuffer value)

Unsafe version of ScalingList4x4.

nScalingList4x4back to summary
public static void nScalingList4x4(long struct, int index, byte value)

Unsafe version of ScalingList4x4.

nScalingList8x8back to summary
public static ByteBuffer nScalingList8x8(long struct)

Unsafe version of ScalingList8x8.

nScalingList8x8back to summary
public static byte nScalingList8x8(long struct, int index)

Unsafe version of ScalingList8x8.

nScalingList8x8back to summary
public static void nScalingList8x8(long struct, ByteBuffer value)

Unsafe version of ScalingList8x8.

nScalingList8x8back to summary
public static void nScalingList8x8(long struct, int index, byte value)

Unsafe version of ScalingList8x8.

nuse_default_scaling_matrix_maskback to summary
public static short nuse_default_scaling_matrix_mask(long struct)

Unsafe version of use_default_scaling_matrix_mask.

nuse_default_scaling_matrix_maskback to summary
public static void nuse_default_scaling_matrix_mask(long struct, short value)

Unsafe version of use_default_scaling_matrix_mask.

scaling_list_present_maskback to summary
public short scaling_list_present_mask()

scaling_list_present_mask has one bit for each seq_scaling_list_present_flag[i] for SPS OR pic_scaling_list_present_flag[i] for PPS, bit 0 - 5 are for each entry of ScalingList4x4 bit 6 - 7 are for each entry plus 6 for ScalingList8x8

Annotations
@NativeType:uint16_t
scaling_list_present_maskback to summary
public StdVideoH264ScalingLists scaling_list_present_mask(short value)

Sets the specified value to the scaling_list_present_mask field.

ScalingList4x4back to summary
public ByteBuffer ScalingList4x4()
Returns:ByteBuffer

a ByteBuffer view of the ScalingList4x4 field.

Annotations
@NativeType:uint8_t[STD_VIDEO_H264_SCALING_LIST_4X4_NUM_ELEMENTS]
ScalingList4x4back to summary
public byte ScalingList4x4(int index)
Returns:byte

the value at the specified index of the ScalingList4x4 field.

Annotations
@NativeType:uint8_t
ScalingList4x4back to summary
public StdVideoH264ScalingLists ScalingList4x4(ByteBuffer value)

Copies the specified ByteBuffer to the ScalingList4x4 field.

ScalingList4x4back to summary
public StdVideoH264ScalingLists ScalingList4x4(int index, byte value)

Sets the specified value at the specified index of the ScalingList4x4 field.

ScalingList8x8back to summary
public ByteBuffer ScalingList8x8()
Returns:ByteBuffer

a ByteBuffer view of the ScalingList8x8 field.

Annotations
@NativeType:uint8_t[STD_VIDEO_H264_SCALING_LIST_8X8_NUM_ELEMENTS]
ScalingList8x8back to summary
public byte ScalingList8x8(int index)
Returns:byte

the value at the specified index of the ScalingList8x8 field.

Annotations
@NativeType:uint8_t
ScalingList8x8back to summary
public StdVideoH264ScalingLists ScalingList8x8(ByteBuffer value)

Copies the specified ByteBuffer to the ScalingList8x8 field.

ScalingList8x8back to summary
public StdVideoH264ScalingLists ScalingList8x8(int index, byte value)

Sets the specified value at the specified index of the ScalingList8x8 field.

setback to summary
public StdVideoH264ScalingLists set(short scaling_list_present_mask, short use_default_scaling_matrix_mask, ByteBuffer ScalingList4x4, ByteBuffer ScalingList8x8)

Initializes this struct with the specified values.

setback to summary
public StdVideoH264ScalingLists set(StdVideoH264ScalingLists src)

Copies the specified struct data to this struct.

Parameters
src:StdVideoH264ScalingLists

the source struct

Returns:StdVideoH264ScalingLists

this struct

sizeofback to summary
public int sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Doc from org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).

Annotations
@Override
use_default_scaling_matrix_maskback to summary
public short use_default_scaling_matrix_mask()

use_default_scaling_matrix_mask has one bit for each UseDefaultScalingMatrix4x4Flag[ i ] and UseDefaultScalingMatrix8x8Flag[ i - 6 ] for SPS OR PPS bit 0 - 5 are for each entry of ScalingList4x4 bit 6 - 7 are for each entry plus 6 for ScalingList8x8

Annotations
@NativeType:uint16_t
use_default_scaling_matrix_maskback to summary
public StdVideoH264ScalingLists use_default_scaling_matrix_mask(short value)

Sets the specified value to the use_default_scaling_matrix_mask field.

org.lwjgl.vulkan.video back to summary

public Class StdVideoH264ScalingLists.Buffer

extends StructBuffer<StdVideoH264ScalingLists, StdVideoH264ScalingLists.Buffer>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable

An array of StdVideoH264ScalingLists structs.

Field Summary

Modifier and TypeField and Description
private static final StdVideoH264ScalingLists

Constructor Summary

AccessConstructor and Description
public
Buffer(ByteBuffer container)

Creates a new StdVideoH264ScalingLists.Buffer instance backed by the specified container.

public
Buffer(long address, int cap)

pack-priv
Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Summary

Modifier and TypeMethod and Description
protected StdVideoH264ScalingLists
public short
public StdVideoH264ScalingLists.Buffer
scaling_list_present_mask(short value)

Sets the specified value to the StdVideoH264ScalingLists#scaling_list_present_mask field.

public ByteBuffer

Returns:

a ByteBuffer view of the ScalingList4x4 field.
ScalingList4x4
()

public byte

Returns:

the value at the specified index of the ScalingList4x4 field.
ScalingList4x4
(int index)

public StdVideoH264ScalingLists.Buffer
ScalingList4x4(ByteBuffer value)

Copies the specified ByteBuffer to the ScalingList4x4 field.

public StdVideoH264ScalingLists.Buffer
ScalingList4x4(int index, byte value)

Sets the specified value at the specified index of the ScalingList4x4 field.

public ByteBuffer

Returns:

a ByteBuffer view of the ScalingList8x8 field.
ScalingList8x8
()

public byte

Returns:

the value at the specified index of the ScalingList8x8 field.
ScalingList8x8
(int index)

public StdVideoH264ScalingLists.Buffer
ScalingList8x8(ByteBuffer value)

Copies the specified ByteBuffer to the ScalingList8x8 field.

public StdVideoH264ScalingLists.Buffer
ScalingList8x8(int index, byte value)

Sets the specified value at the specified index of the ScalingList8x8 field.

protected StdVideoH264ScalingLists.Buffer
public short
public StdVideoH264ScalingLists.Buffer
Inherited from org.lwjgl.system.StructBuffer:
applyapplyforEachgetgetgetgetiteratorparallelStreamputputsizeofspliteratorstream

Field Detail

ELEMENT_FACTORYback to summary
private static final StdVideoH264ScalingLists ELEMENT_FACTORY

Constructor Detail

Bufferback to summary
public Buffer(ByteBuffer container)

Creates a new StdVideoH264ScalingLists.Buffer instance backed by the specified container.

Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by StdVideoH264ScalingLists#SIZEOF, and its mark will be undefined.

The created buffer instance holds a strong reference to the container object.

Bufferback to summary
public Buffer(long address, int cap)
Bufferback to summary
pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Detail

getElementFactoryback to summary
protected StdVideoH264ScalingLists getElementFactory()

Implements abstract org.lwjgl.system.StructBuffer.getElementFactory.

Annotations
@Override
scaling_list_present_maskback to summary
public short scaling_list_present_mask()
Returns:short

the value of the StdVideoH264ScalingLists#scaling_list_present_mask field.

Annotations
@NativeType:uint16_t
scaling_list_present_maskback to summary
public StdVideoH264ScalingLists.Buffer scaling_list_present_mask(short value)

Sets the specified value to the StdVideoH264ScalingLists#scaling_list_present_mask field.

ScalingList4x4back to summary
public ByteBuffer ScalingList4x4()
Returns:ByteBuffer

a ByteBuffer view of the ScalingList4x4 field.

Annotations
@NativeType:uint8_t[STD_VIDEO_H264_SCALING_LIST_4X4_NUM_ELEMENTS]
ScalingList4x4back to summary
public byte ScalingList4x4(int index)
Returns:byte

the value at the specified index of the ScalingList4x4 field.

Annotations
@NativeType:uint8_t
ScalingList4x4back to summary
public StdVideoH264ScalingLists.Buffer ScalingList4x4(ByteBuffer value)

Copies the specified ByteBuffer to the ScalingList4x4 field.

ScalingList4x4back to summary
public StdVideoH264ScalingLists.Buffer ScalingList4x4(int index, byte value)

Sets the specified value at the specified index of the ScalingList4x4 field.

ScalingList8x8back to summary
public ByteBuffer ScalingList8x8()
Returns:ByteBuffer

a ByteBuffer view of the ScalingList8x8 field.

Annotations
@NativeType:uint8_t[STD_VIDEO_H264_SCALING_LIST_8X8_NUM_ELEMENTS]
ScalingList8x8back to summary
public byte ScalingList8x8(int index)
Returns:byte

the value at the specified index of the ScalingList8x8 field.

Annotations
@NativeType:uint8_t
ScalingList8x8back to summary
public StdVideoH264ScalingLists.Buffer ScalingList8x8(ByteBuffer value)

Copies the specified ByteBuffer to the ScalingList8x8 field.

ScalingList8x8back to summary
public StdVideoH264ScalingLists.Buffer ScalingList8x8(int index, byte value)

Sets the specified value at the specified index of the ScalingList8x8 field.

selfback to summary
protected StdVideoH264ScalingLists.Buffer self()

Implements abstract org.lwjgl.system.CustomBuffer.self.

Annotations
@Override
use_default_scaling_matrix_maskback to summary
public short use_default_scaling_matrix_mask()
Returns:short

the value of the StdVideoH264ScalingLists#use_default_scaling_matrix_mask field.

Annotations
@NativeType:uint16_t
use_default_scaling_matrix_maskback to summary
public StdVideoH264ScalingLists.Buffer use_default_scaling_matrix_mask(short value)

Sets the specified value to the StdVideoH264ScalingLists#use_default_scaling_matrix_mask field.