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

public Class StdVideoEncodeH264SliceHeader

extends Struct<StdVideoEncodeH264SliceHeader>
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 StdVideoEncodeH264SliceHeader {
    StdVideoEncodeH264SliceHeaderFlags flags;
    uint32_t first_mb_in_slice;
    StdVideoH264SliceType slice_type;
    int8_t slice_alpha_c0_offset_div2;
    int8_t slice_beta_offset_div2;
    int8_t slice_qp_delta;
    uint8_t reserved1;
    StdVideoH264CabacInitIdc cabac_init_idc;
    StdVideoH264DisableDeblockingFilterIdc disable_deblocking_filter_idc;
    StdVideoEncodeH264WeightTable const * pWeightTable;
}

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
CABAC_INIT_IDC

The struct member offsets.

public static final int
DISABLE_DEBLOCKING_FILTER_IDC

The struct member offsets.

public static final int
FIRST_MB_IN_SLICE

The struct member offsets.

public static final int
FLAGS

The struct member offsets.

public static final int
PWEIGHTTABLE

The struct member offsets.

public static final int
RESERVED1

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
SLICE_ALPHA_C0_OFFSET_DIV2

The struct member offsets.

public static final int
SLICE_BETA_OFFSET_DIV2

The struct member offsets.

public static final int
SLICE_QP_DELTA

The struct member offsets.

public static final int
SLICE_TYPE

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

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

public
StdVideoEncodeH264SliceHeader(ByteBuffer container)

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

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

the value of the cabac_init_idc field.
cabac_init_idc
()

public StdVideoEncodeH264SliceHeader
cabac_init_idc(int value)

Sets the specified value to the cabac_init_idc field.

public static StdVideoEncodeH264SliceHeader
calloc()

Returns a new StdVideoEncodeH264SliceHeader instance allocated with memCalloc.

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

Returns a new StdVideoEncodeH264SliceHeader.Buffer instance allocated with memCalloc.

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

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

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

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

protected StdVideoEncodeH264SliceHeader
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 StdVideoEncodeH264SliceHeader
create()

Returns a new StdVideoEncodeH264SliceHeader instance allocated with BufferUtils.

public static StdVideoEncodeH264SliceHeader
create(long address)

Returns a new StdVideoEncodeH264SliceHeader instance for the specified memory address.

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

Returns a new StdVideoEncodeH264SliceHeader.Buffer instance allocated with BufferUtils.

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

Create a StdVideoEncodeH264SliceHeader.Buffer instance at the specified memory.

public static StdVideoEncodeH264SliceHeader
createSafe(long address)

Like create, but returns null if address is NULL.

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

Like create, but returns null if address is NULL.

public int

Returns:

the value of the disable_deblocking_filter_idc field.
disable_deblocking_filter_idc
()

public StdVideoEncodeH264SliceHeader
disable_deblocking_filter_idc(int value)

Sets the specified value to the disable_deblocking_filter_idc field.

public int

Returns:

the value of the first_mb_in_slice field.
first_mb_in_slice
()

public StdVideoEncodeH264SliceHeader
first_mb_in_slice(int value)

Sets the specified value to the first_mb_in_slice field.

public StdVideoEncodeH264SliceHeaderFlags

Returns:

a StdVideoEncodeH264SliceHeaderFlags view of the flags field.
flags
()

public StdVideoEncodeH264SliceHeader
flags(StdVideoEncodeH264SliceHeaderFlags value)

Copies the specified StdVideoEncodeH264SliceHeaderFlags to the flags field.

public StdVideoEncodeH264SliceHeader
flags(Consumer<StdVideoEncodeH264SliceHeaderFlags> consumer)

Passes the flags field to the specified Consumer.

public static StdVideoEncodeH264SliceHeader
malloc()

Returns a new StdVideoEncodeH264SliceHeader instance allocated with memAlloc.

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

Returns a new StdVideoEncodeH264SliceHeader.Buffer instance allocated with memAlloc.

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

Returns a new StdVideoEncodeH264SliceHeader instance allocated on the specified MemoryStack.

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

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

public static int
ncabac_init_idc(long struct)

Unsafe version of cabac_init_idc.

public static void
ncabac_init_idc(long struct, int value)

Unsafe version of cabac_init_idc.

public static int
public static void
ndisable_deblocking_filter_idc(long struct, int value)

Unsafe version of disable_deblocking_filter_idc.

public static int
nfirst_mb_in_slice(long struct)

Unsafe version of first_mb_in_slice.

public static void
nfirst_mb_in_slice(long struct, int value)

Unsafe version of first_mb_in_slice.

public static StdVideoEncodeH264SliceHeaderFlags
nflags(long struct)

Unsafe version of flags.

public static void
nflags(long struct, StdVideoEncodeH264SliceHeaderFlags value)

Unsafe version of flags.

public static StdVideoEncodeH264WeightTable
npWeightTable(long struct)

Unsafe version of pWeightTable.

public static void
npWeightTable(long struct, StdVideoEncodeH264WeightTable value)

Unsafe version of pWeightTable.

public static byte
nreserved1(long struct)

public static void
nreserved1(long struct, byte value)

public static byte
public static void
nslice_alpha_c0_offset_div2(long struct, byte value)

Unsafe version of slice_alpha_c0_offset_div2.

public static byte
nslice_beta_offset_div2(long struct)

Unsafe version of slice_beta_offset_div2.

public static void
nslice_beta_offset_div2(long struct, byte value)

Unsafe version of slice_beta_offset_div2.

public static byte
nslice_qp_delta(long struct)

Unsafe version of slice_qp_delta.

public static void
nslice_qp_delta(long struct, byte value)

Unsafe version of slice_qp_delta.

public static int
nslice_type(long struct)

Unsafe version of slice_type.

public static void
nslice_type(long struct, int value)

Unsafe version of slice_type.

public StdVideoEncodeH264WeightTable

Returns:

a StdVideoEncodeH264WeightTable view of the struct pointed to by the pWeightTable field.
pWeightTable
()

public StdVideoEncodeH264SliceHeader
pWeightTable(StdVideoEncodeH264WeightTable value)

Sets the address of the specified StdVideoEncodeH264WeightTable to the pWeightTable field.

public StdVideoEncodeH264SliceHeader
set(StdVideoEncodeH264SliceHeaderFlags flags, int first_mb_in_slice, int slice_type, byte slice_alpha_c0_offset_div2, byte slice_beta_offset_div2, byte slice_qp_delta, int cabac_init_idc, int disable_deblocking_filter_idc, StdVideoEncodeH264WeightTable pWeightTable)

Initializes this struct with the specified values.

public StdVideoEncodeH264SliceHeader

Returns:

this struct
set
(StdVideoEncodeH264SliceHeader
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 byte

Returns:

the value of the slice_alpha_c0_offset_div2 field.
slice_alpha_c0_offset_div2
()

public StdVideoEncodeH264SliceHeader
slice_alpha_c0_offset_div2(byte value)

Sets the specified value to the slice_alpha_c0_offset_div2 field.

public byte

Returns:

the value of the slice_beta_offset_div2 field.
slice_beta_offset_div2
()

public StdVideoEncodeH264SliceHeader
slice_beta_offset_div2(byte value)

Sets the specified value to the slice_beta_offset_div2 field.

public byte

Returns:

the value of the slice_qp_delta field.
slice_qp_delta
()

public StdVideoEncodeH264SliceHeader
slice_qp_delta(byte value)

Sets the specified value to the slice_qp_delta field.

public int

Returns:

the value of the slice_type field.
slice_type
()

public StdVideoEncodeH264SliceHeader
slice_type(int value)

Sets the specified value to the slice_type field.

public static void
validate(long
the struct to validate
struct
)

Validates pointer members that should not be NULL.

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.

CABAC_INIT_IDCback to summary
public static final int CABAC_INIT_IDC

The struct member offsets.

DISABLE_DEBLOCKING_FILTER_IDCback to summary
public static final int DISABLE_DEBLOCKING_FILTER_IDC

The struct member offsets.

FIRST_MB_IN_SLICEback to summary
public static final int FIRST_MB_IN_SLICE

The struct member offsets.

FLAGSback to summary
public static final int FLAGS

The struct member offsets.

PWEIGHTTABLEback to summary
public static final int PWEIGHTTABLE

The struct member offsets.

RESERVED1back to summary
public static final int RESERVED1

The struct member offsets.

SIZEOFback to summary
public static final int SIZEOF

The struct size in bytes.

SLICE_ALPHA_C0_OFFSET_DIV2back to summary
public static final int SLICE_ALPHA_C0_OFFSET_DIV2

The struct member offsets.

SLICE_BETA_OFFSET_DIV2back to summary
public static final int SLICE_BETA_OFFSET_DIV2

The struct member offsets.

SLICE_QP_DELTAback to summary
public static final int SLICE_QP_DELTA

The struct member offsets.

SLICE_TYPEback to summary
public static final int SLICE_TYPE

The struct member offsets.

Constructor Detail

StdVideoEncodeH264SliceHeaderback to summary
protected StdVideoEncodeH264SliceHeader(long address, ByteBuffer container)
StdVideoEncodeH264SliceHeaderback to summary
public StdVideoEncodeH264SliceHeader(ByteBuffer container)

Creates a StdVideoEncodeH264SliceHeader 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

cabac_init_idcback to summary
public int cabac_init_idc()
Returns:int

the value of the cabac_init_idc field.

Annotations
@NativeType:StdVideoH264CabacInitIdc
cabac_init_idcback to summary
public StdVideoEncodeH264SliceHeader cabac_init_idc(int value)

Sets the specified value to the cabac_init_idc field.

callocback to summary
public static StdVideoEncodeH264SliceHeader calloc()

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

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

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

Parameters
capacity:int

the buffer capacity

callocback to summary
public static StdVideoEncodeH264SliceHeader calloc(MemoryStack stack)

Returns a new StdVideoEncodeH264SliceHeader 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 StdVideoEncodeH264SliceHeader.Buffer calloc(int capacity, MemoryStack stack)

Returns a new StdVideoEncodeH264SliceHeader.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 StdVideoEncodeH264SliceHeader 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 StdVideoEncodeH264SliceHeader create()

Returns a new StdVideoEncodeH264SliceHeader instance allocated with BufferUtils.

createback to summary
public static StdVideoEncodeH264SliceHeader create(long address)

Returns a new StdVideoEncodeH264SliceHeader instance for the specified memory address.

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

Returns a new StdVideoEncodeH264SliceHeader.Buffer instance allocated with BufferUtils.

Parameters
capacity:int

the buffer capacity

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

Create a StdVideoEncodeH264SliceHeader.Buffer instance at the specified memory.

Parameters
address:long

the memory address

capacity:int

the buffer capacity

createSafeback to summary
public static StdVideoEncodeH264SliceHeader createSafe(long address)

Like create, but returns null if address is NULL.

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

Like create, but returns null if address is NULL.

Annotations
@Nullable
disable_deblocking_filter_idcback to summary
public int disable_deblocking_filter_idc()
Returns:int

the value of the disable_deblocking_filter_idc field.

Annotations
@NativeType:StdVideoH264DisableDeblockingFilterIdc
disable_deblocking_filter_idcback to summary
public StdVideoEncodeH264SliceHeader disable_deblocking_filter_idc(int value)

Sets the specified value to the disable_deblocking_filter_idc field.

first_mb_in_sliceback to summary
public int first_mb_in_slice()
Returns:int

the value of the first_mb_in_slice field.

Annotations
@NativeType:uint32_t
first_mb_in_sliceback to summary
public StdVideoEncodeH264SliceHeader first_mb_in_slice(int value)

Sets the specified value to the first_mb_in_slice field.

flagsback to summary
public StdVideoEncodeH264SliceHeaderFlags flags()
Returns:StdVideoEncodeH264SliceHeaderFlags

a StdVideoEncodeH264SliceHeaderFlags view of the flags field.

flagsback to summary
public StdVideoEncodeH264SliceHeader flags(StdVideoEncodeH264SliceHeaderFlags value)

Copies the specified StdVideoEncodeH264SliceHeaderFlags to the flags field.

flagsback to summary
public StdVideoEncodeH264SliceHeader flags(Consumer<StdVideoEncodeH264SliceHeaderFlags> consumer)

Passes the flags field to the specified Consumer.

mallocback to summary
public static StdVideoEncodeH264SliceHeader malloc()

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

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

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

Parameters
capacity:int

the buffer capacity

mallocback to summary
public static StdVideoEncodeH264SliceHeader malloc(MemoryStack stack)

Returns a new StdVideoEncodeH264SliceHeader instance allocated on the specified MemoryStack.

Parameters
stack:MemoryStack

the stack from which to allocate

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

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

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

ncabac_init_idcback to summary
public static int ncabac_init_idc(long struct)

Unsafe version of cabac_init_idc.

ncabac_init_idcback to summary
public static void ncabac_init_idc(long struct, int value)

Unsafe version of cabac_init_idc.

ndisable_deblocking_filter_idcback to summary
public static int ndisable_deblocking_filter_idc(long struct)

Unsafe version of disable_deblocking_filter_idc.

ndisable_deblocking_filter_idcback to summary
public static void ndisable_deblocking_filter_idc(long struct, int value)

Unsafe version of disable_deblocking_filter_idc.

nfirst_mb_in_sliceback to summary
public static int nfirst_mb_in_slice(long struct)

Unsafe version of first_mb_in_slice.

nfirst_mb_in_sliceback to summary
public static void nfirst_mb_in_slice(long struct, int value)

Unsafe version of first_mb_in_slice.

nflagsback to summary
public static StdVideoEncodeH264SliceHeaderFlags nflags(long struct)

Unsafe version of flags.

nflagsback to summary
public static void nflags(long struct, StdVideoEncodeH264SliceHeaderFlags value)

Unsafe version of flags.

npWeightTableback to summary
public static StdVideoEncodeH264WeightTable npWeightTable(long struct)

Unsafe version of pWeightTable.

npWeightTableback to summary
public static void npWeightTable(long struct, StdVideoEncodeH264WeightTable value)

Unsafe version of pWeightTable.

nreserved1back to summary
public static byte nreserved1(long struct)
nreserved1back to summary
public static void nreserved1(long struct, byte value)
nslice_alpha_c0_offset_div2back to summary
public static byte nslice_alpha_c0_offset_div2(long struct)

Unsafe version of slice_alpha_c0_offset_div2.

nslice_alpha_c0_offset_div2back to summary
public static void nslice_alpha_c0_offset_div2(long struct, byte value)

Unsafe version of slice_alpha_c0_offset_div2.

nslice_beta_offset_div2back to summary
public static byte nslice_beta_offset_div2(long struct)

Unsafe version of slice_beta_offset_div2.

nslice_beta_offset_div2back to summary
public static void nslice_beta_offset_div2(long struct, byte value)

Unsafe version of slice_beta_offset_div2.

nslice_qp_deltaback to summary
public static byte nslice_qp_delta(long struct)

Unsafe version of slice_qp_delta.

nslice_qp_deltaback to summary
public static void nslice_qp_delta(long struct, byte value)

Unsafe version of slice_qp_delta.

nslice_typeback to summary
public static int nslice_type(long struct)

Unsafe version of slice_type.

nslice_typeback to summary
public static void nslice_type(long struct, int value)

Unsafe version of slice_type.

pWeightTableback to summary
public StdVideoEncodeH264WeightTable pWeightTable()
Returns:StdVideoEncodeH264WeightTable

a StdVideoEncodeH264WeightTable view of the struct pointed to by the pWeightTable field.

Annotations
@NativeType:StdVideoEncodeH264WeightTable const *
pWeightTableback to summary
public StdVideoEncodeH264SliceHeader pWeightTable(StdVideoEncodeH264WeightTable value)

Sets the address of the specified StdVideoEncodeH264WeightTable to the pWeightTable field.

setback to summary
public StdVideoEncodeH264SliceHeader set(StdVideoEncodeH264SliceHeaderFlags flags, int first_mb_in_slice, int slice_type, byte slice_alpha_c0_offset_div2, byte slice_beta_offset_div2, byte slice_qp_delta, int cabac_init_idc, int disable_deblocking_filter_idc, StdVideoEncodeH264WeightTable pWeightTable)

Initializes this struct with the specified values.

setback to summary
public StdVideoEncodeH264SliceHeader set(StdVideoEncodeH264SliceHeader src)

Copies the specified struct data to this struct.

Parameters
src:StdVideoEncodeH264SliceHeader

the source struct

Returns:StdVideoEncodeH264SliceHeader

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
slice_alpha_c0_offset_div2back to summary
public byte slice_alpha_c0_offset_div2()
Returns:byte

the value of the slice_alpha_c0_offset_div2 field.

Annotations
@NativeType:int8_t
slice_alpha_c0_offset_div2back to summary
public StdVideoEncodeH264SliceHeader slice_alpha_c0_offset_div2(byte value)

Sets the specified value to the slice_alpha_c0_offset_div2 field.

slice_beta_offset_div2back to summary
public byte slice_beta_offset_div2()
Returns:byte

the value of the slice_beta_offset_div2 field.

Annotations
@NativeType:int8_t
slice_beta_offset_div2back to summary
public StdVideoEncodeH264SliceHeader slice_beta_offset_div2(byte value)

Sets the specified value to the slice_beta_offset_div2 field.

slice_qp_deltaback to summary
public byte slice_qp_delta()
Returns:byte

the value of the slice_qp_delta field.

Annotations
@NativeType:int8_t
slice_qp_deltaback to summary
public StdVideoEncodeH264SliceHeader slice_qp_delta(byte value)

Sets the specified value to the slice_qp_delta field.

slice_typeback to summary
public int slice_type()
Returns:int

the value of the slice_type field.

Annotations
@NativeType:StdVideoH264SliceType
slice_typeback to summary
public StdVideoEncodeH264SliceHeader slice_type(int value)

Sets the specified value to the slice_type field.

validateback to summary
public static void validate(long struct)

Validates pointer members that should not be NULL.

Parameters
struct:long

the struct to validate

org.lwjgl.vulkan.video back to summary

public Class StdVideoEncodeH264SliceHeader.Buffer

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

An array of StdVideoEncodeH264SliceHeader structs.

Field Summary

Modifier and TypeField and Description
private static final StdVideoEncodeH264SliceHeader

Constructor Summary

AccessConstructor and Description
public
Buffer(ByteBuffer container)

Creates a new StdVideoEncodeH264SliceHeader.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
public int

Returns:

the value of the cabac_init_idc field.
cabac_init_idc
()

public StdVideoEncodeH264SliceHeader.Buffer
cabac_init_idc(int value)

Sets the specified value to the cabac_init_idc field.

public int

Returns:

the value of the disable_deblocking_filter_idc field.
disable_deblocking_filter_idc
()

public StdVideoEncodeH264SliceHeader.Buffer
disable_deblocking_filter_idc(int value)

Sets the specified value to the disable_deblocking_filter_idc field.

public int

Returns:

the value of the first_mb_in_slice field.
first_mb_in_slice
()

public StdVideoEncodeH264SliceHeader.Buffer
first_mb_in_slice(int value)

Sets the specified value to the first_mb_in_slice field.

public StdVideoEncodeH264SliceHeaderFlags

Returns:

a StdVideoEncodeH264SliceHeaderFlags view of the flags field.
flags
()

public StdVideoEncodeH264SliceHeader.Buffer
flags(StdVideoEncodeH264SliceHeaderFlags value)

Copies the specified StdVideoEncodeH264SliceHeaderFlags to the flags field.

public StdVideoEncodeH264SliceHeader.Buffer
flags(Consumer<StdVideoEncodeH264SliceHeaderFlags> consumer)

Passes the flags field to the specified Consumer.

protected StdVideoEncodeH264SliceHeader
public StdVideoEncodeH264WeightTable

Returns:

a StdVideoEncodeH264WeightTable view of the struct pointed to by the pWeightTable field.
pWeightTable
()

public StdVideoEncodeH264SliceHeader.Buffer
pWeightTable(StdVideoEncodeH264WeightTable value)

Sets the address of the specified StdVideoEncodeH264WeightTable to the pWeightTable field.

protected StdVideoEncodeH264SliceHeader.Buffer
public byte

Returns:

the value of the slice_alpha_c0_offset_div2 field.
slice_alpha_c0_offset_div2
()

public StdVideoEncodeH264SliceHeader.Buffer
slice_alpha_c0_offset_div2(byte value)

Sets the specified value to the slice_alpha_c0_offset_div2 field.

public byte

Returns:

the value of the slice_beta_offset_div2 field.
slice_beta_offset_div2
()

public StdVideoEncodeH264SliceHeader.Buffer
slice_beta_offset_div2(byte value)

Sets the specified value to the slice_beta_offset_div2 field.

public byte

Returns:

the value of the slice_qp_delta field.
slice_qp_delta
()

public StdVideoEncodeH264SliceHeader.Buffer
slice_qp_delta(byte value)

Sets the specified value to the slice_qp_delta field.

public int

Returns:

the value of the slice_type field.
slice_type
()

public StdVideoEncodeH264SliceHeader.Buffer
slice_type(int value)

Sets the specified value to the slice_type field.

Inherited from org.lwjgl.system.StructBuffer:
applyapplyforEachgetgetgetgetiteratorparallelStreamputputsizeofspliteratorstream

Field Detail

ELEMENT_FACTORYback to summary
private static final StdVideoEncodeH264SliceHeader ELEMENT_FACTORY

Constructor Detail

Bufferback to summary
public Buffer(ByteBuffer container)

Creates a new StdVideoEncodeH264SliceHeader.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 StdVideoEncodeH264SliceHeader#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

cabac_init_idcback to summary
public int cabac_init_idc()
Returns:int

the value of the cabac_init_idc field.

Annotations
@NativeType:StdVideoH264CabacInitIdc
cabac_init_idcback to summary
public StdVideoEncodeH264SliceHeader.Buffer cabac_init_idc(int value)

Sets the specified value to the cabac_init_idc field.

disable_deblocking_filter_idcback to summary
public int disable_deblocking_filter_idc()
Returns:int

the value of the disable_deblocking_filter_idc field.

Annotations
@NativeType:StdVideoH264DisableDeblockingFilterIdc
disable_deblocking_filter_idcback to summary
public StdVideoEncodeH264SliceHeader.Buffer disable_deblocking_filter_idc(int value)

Sets the specified value to the disable_deblocking_filter_idc field.

first_mb_in_sliceback to summary
public int first_mb_in_slice()
Returns:int

the value of the first_mb_in_slice field.

Annotations
@NativeType:uint32_t
first_mb_in_sliceback to summary
public StdVideoEncodeH264SliceHeader.Buffer first_mb_in_slice(int value)

Sets the specified value to the first_mb_in_slice field.

flagsback to summary
public StdVideoEncodeH264SliceHeaderFlags flags()
Returns:StdVideoEncodeH264SliceHeaderFlags

a StdVideoEncodeH264SliceHeaderFlags view of the flags field.

flagsback to summary
public StdVideoEncodeH264SliceHeader.Buffer flags(StdVideoEncodeH264SliceHeaderFlags value)

Copies the specified StdVideoEncodeH264SliceHeaderFlags to the flags field.

flagsback to summary
public StdVideoEncodeH264SliceHeader.Buffer flags(Consumer<StdVideoEncodeH264SliceHeaderFlags> consumer)

Passes the flags field to the specified Consumer.

getElementFactoryback to summary
protected StdVideoEncodeH264SliceHeader getElementFactory()

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

Annotations
@Override
pWeightTableback to summary
public StdVideoEncodeH264WeightTable pWeightTable()
Returns:StdVideoEncodeH264WeightTable

a StdVideoEncodeH264WeightTable view of the struct pointed to by the pWeightTable field.

Annotations
@NativeType:StdVideoEncodeH264WeightTable const *
pWeightTableback to summary
public StdVideoEncodeH264SliceHeader.Buffer pWeightTable(StdVideoEncodeH264WeightTable value)

Sets the address of the specified StdVideoEncodeH264WeightTable to the pWeightTable field.

selfback to summary
protected StdVideoEncodeH264SliceHeader.Buffer self()

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

Annotations
@Override
slice_alpha_c0_offset_div2back to summary
public byte slice_alpha_c0_offset_div2()
Returns:byte

the value of the slice_alpha_c0_offset_div2 field.

Annotations
@NativeType:int8_t
slice_alpha_c0_offset_div2back to summary
public StdVideoEncodeH264SliceHeader.Buffer slice_alpha_c0_offset_div2(byte value)

Sets the specified value to the slice_alpha_c0_offset_div2 field.

slice_beta_offset_div2back to summary
public byte slice_beta_offset_div2()
Returns:byte

the value of the slice_beta_offset_div2 field.

Annotations
@NativeType:int8_t
slice_beta_offset_div2back to summary
public StdVideoEncodeH264SliceHeader.Buffer slice_beta_offset_div2(byte value)

Sets the specified value to the slice_beta_offset_div2 field.

slice_qp_deltaback to summary
public byte slice_qp_delta()
Returns:byte

the value of the slice_qp_delta field.

Annotations
@NativeType:int8_t
slice_qp_deltaback to summary
public StdVideoEncodeH264SliceHeader.Buffer slice_qp_delta(byte value)

Sets the specified value to the slice_qp_delta field.

slice_typeback to summary
public int slice_type()
Returns:int

the value of the slice_type field.

Annotations
@NativeType:StdVideoH264SliceType
slice_typeback to summary
public StdVideoEncodeH264SliceHeader.Buffer slice_type(int value)

Sets the specified value to the slice_type field.