Record Class StdVideoDecodeAV1PictureInfo
java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.StdVideoDecodeAV1PictureInfo
- All Implemented Interfaces:
IPointer
,IStdVideoDecodeAV1PictureInfo
@ValueBasedCandidate
@UnsafeConstructor
public record StdVideoDecodeAV1PictureInfo(@NotNull MemorySegment segment)
extends Record
implements IStdVideoDecodeAV1PictureInfo
Represents a pointer to a StdVideoDecodeAV1PictureInfo
structure in native memory.
Structure
typedef struct StdVideoDecodeAV1PictureInfo {
StdVideoDecodeAV1PictureInfoFlags
flags
;
StdVideoAV1FrameType
frame_type
;
uint32_t current_frame_id
;
uint8_t OrderHint
;
uint8_t primary_ref_frame
;
uint8_t refresh_frame_flags
;
uint8_t reserved1;
StdVideoAV1InterpolationFilter
interpolation_filter
;
StdVideoAV1
TxMode
TxMode
;
uint8_t delta_q_res
;
uint8_t delta_lf_res
;
uint8_t[STD_VIDEO_AV1_SKIP_MODE_FRAMES] SkipModeFrame
;
uint8_t coded_denom
;
uint8_t[3] reserved2;
uint8_t[STD_VIDEO_AV1_NUM_REF_FRAMES] OrderHints
;
uint32_t[STD_VIDEO_AV1_NUM_REF_FRAMES] expectedFrameId
;
StdVideoAV1TileInfo
const* pTileInfo
;
StdVideoAV1Quantization
const* pQuantization
;
StdVideoAV1Segmentation
const* pSegmentation
;
StdVideoAV1LoopFilter
const* pLoopFilter
;
StdVideoAV1CDEF
const* pCDEF
;
StdVideoAV1LoopRestoration
const* pLoopRestoration
;
StdVideoAV1GlobalMotion
const* pGlobalMotion
;
StdVideoAV1FilmGrain
const* pFilmGrain
;
} StdVideoDecodeAV1PictureInfo;
Contracts
The property segment()
should always be not-null
(segment != NULL && !segment.equals(MemorySegment.NULL)
), and properly aligned to
LAYOUT.byteAlignment()
bytes. To represent null pointer, you may use a Java
null
instead. See the documentation of IPointer.segment()
for more details.
The constructor of this class is marked as UnsafeConstructor
, because it does not
perform any runtime check. The constructor can be useful for automatic code generators.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final record
Represents a pointer to / an array of null structure(s) in native memory. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final long
static final StructLayout
static final ValueLayout.OfByte
static final ValueLayout.OfInt
static final ValueLayout.OfByte
static final ValueLayout.OfByte
static final SequenceLayout
static final StructLayout
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfByte
static final SequenceLayout
static final AddressLayout
static final AddressLayout
static final AddressLayout
static final AddressLayout
static final AddressLayout
static final AddressLayout
static final ValueLayout.OfByte
static final AddressLayout
static final AddressLayout
static final ValueLayout.OfByte
static final SequenceLayout
static final ValueLayout.OfInt
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
-
Constructor Summary
ConstructorsConstructorDescriptionStdVideoDecodeAV1PictureInfo
(@NotNull MemorySegment segment) Creates an instance of aStdVideoDecodeAV1PictureInfo
record class. -
Method Summary
Modifier and TypeMethodDescriptionstatic StdVideoDecodeAV1PictureInfo
static StdVideoDecodeAV1PictureInfo
clone
(Arena arena, StdVideoDecodeAV1PictureInfo src) byte
coded_denom
(byte value) int
current_frame_id
(int value) byte
delta_lf_res
(byte value) byte
delta_q_res
(byte value) final boolean
Indicates whether some other object is "equal to" this one.expectedFrameId
(IntPtr value) @NotNull StdVideoDecodeAV1PictureInfoFlags
flags()
flags
(@NotNull StdVideoDecodeAV1PictureInfoFlags value) flags
(Consumer<@NotNull StdVideoDecodeAV1PictureInfoFlags> consumer) int
frame_type
(int value) final int
hashCode()
Returns a hash code value for this object.int
interpolation_filter
(int value) byte
OrderHint
(byte value) OrderHints
(BytePtr value) @Nullable StdVideoAV1CDEF
pCDEF()
pCDEF
(int assumedCount) pCDEF
(@Nullable IStdVideoAV1CDEF value) pCDEFRaw()
void
pCDEFRaw
(MemorySegment value) @Nullable StdVideoAV1FilmGrain
pFilmGrain
(int assumedCount) pFilmGrain
(@Nullable IStdVideoAV1FilmGrain value) void
pFilmGrainRaw
(MemorySegment value) @Nullable StdVideoAV1GlobalMotion
pGlobalMotion
(int assumedCount) pGlobalMotion
(@Nullable IStdVideoAV1GlobalMotion value) void
pGlobalMotionRaw
(MemorySegment value) @Nullable StdVideoAV1LoopFilter
pLoopFilter
(int assumedCount) pLoopFilter
(@Nullable IStdVideoAV1LoopFilter value) void
pLoopFilterRaw
(MemorySegment value) @Nullable StdVideoAV1LoopRestoration
pLoopRestoration
(int assumedCount) pLoopRestoration
(@Nullable IStdVideoAV1LoopRestoration value) void
pLoopRestorationRaw
(MemorySegment value) @Nullable StdVideoAV1Quantization
pQuantization
(int assumedCount) pQuantization
(@Nullable IStdVideoAV1Quantization value) void
pQuantizationRaw
(MemorySegment value) byte
primary_ref_frame
(byte value) @Nullable StdVideoAV1Segmentation
pSegmentation
(int assumedCount) pSegmentation
(@Nullable IStdVideoAV1Segmentation value) void
pSegmentationRaw
(MemorySegment value) @Nullable StdVideoAV1TileInfo
pTileInfo
(int assumedCount) pTileInfo
(@Nullable IStdVideoAV1TileInfo value) void
pTileInfoRaw
(MemorySegment value) byte
refresh_frame_flags
(byte value) @NotNull MemorySegment
segment()
Returns the value of thesegment
record component.SkipModeFrame
(BytePtr value) final String
toString()
Returns a string representation of this record class.int
TxMode()
TxMode
(int value)
-
Field Details
-
LAYOUT
-
BYTES
public static final long BYTES -
PATH$flags
-
PATH$frame_type
-
PATH$current_frame_id
-
PATH$OrderHint
-
PATH$primary_ref_frame
-
PATH$refresh_frame_flags
-
PATH$interpolation_filter
-
PATH$TxMode
-
PATH$delta_q_res
-
PATH$delta_lf_res
-
PATH$SkipModeFrame
-
PATH$coded_denom
-
PATH$OrderHints
-
PATH$expectedFrameId
-
PATH$pTileInfo
-
PATH$pQuantization
-
PATH$pSegmentation
-
PATH$pLoopFilter
-
PATH$pCDEF
-
PATH$pLoopRestoration
-
PATH$pGlobalMotion
-
PATH$pFilmGrain
-
LAYOUT$flags
-
LAYOUT$frame_type
-
LAYOUT$current_frame_id
-
LAYOUT$OrderHint
-
LAYOUT$primary_ref_frame
-
LAYOUT$refresh_frame_flags
-
LAYOUT$interpolation_filter
-
LAYOUT$TxMode
-
LAYOUT$delta_q_res
-
LAYOUT$delta_lf_res
-
LAYOUT$SkipModeFrame
-
LAYOUT$coded_denom
-
LAYOUT$OrderHints
-
LAYOUT$expectedFrameId
-
LAYOUT$pTileInfo
-
LAYOUT$pQuantization
-
LAYOUT$pSegmentation
-
LAYOUT$pLoopFilter
-
LAYOUT$pCDEF
-
LAYOUT$pLoopRestoration
-
LAYOUT$pGlobalMotion
-
LAYOUT$pFilmGrain
-
SIZE$flags
public static final long SIZE$flags -
SIZE$frame_type
public static final long SIZE$frame_type -
SIZE$current_frame_id
public static final long SIZE$current_frame_id -
SIZE$OrderHint
public static final long SIZE$OrderHint -
SIZE$primary_ref_frame
public static final long SIZE$primary_ref_frame -
SIZE$refresh_frame_flags
public static final long SIZE$refresh_frame_flags -
SIZE$interpolation_filter
public static final long SIZE$interpolation_filter -
SIZE$TxMode
public static final long SIZE$TxMode -
SIZE$delta_q_res
public static final long SIZE$delta_q_res -
SIZE$delta_lf_res
public static final long SIZE$delta_lf_res -
SIZE$SkipModeFrame
public static final long SIZE$SkipModeFrame -
SIZE$coded_denom
public static final long SIZE$coded_denom -
SIZE$OrderHints
public static final long SIZE$OrderHints -
SIZE$expectedFrameId
public static final long SIZE$expectedFrameId -
SIZE$pTileInfo
public static final long SIZE$pTileInfo -
SIZE$pQuantization
public static final long SIZE$pQuantization -
SIZE$pSegmentation
public static final long SIZE$pSegmentation -
SIZE$pLoopFilter
public static final long SIZE$pLoopFilter -
SIZE$pCDEF
public static final long SIZE$pCDEF -
SIZE$pLoopRestoration
public static final long SIZE$pLoopRestoration -
SIZE$pGlobalMotion
public static final long SIZE$pGlobalMotion -
SIZE$pFilmGrain
public static final long SIZE$pFilmGrain -
OFFSET$flags
public static final long OFFSET$flags -
OFFSET$frame_type
public static final long OFFSET$frame_type -
OFFSET$current_frame_id
public static final long OFFSET$current_frame_id -
OFFSET$OrderHint
public static final long OFFSET$OrderHint -
OFFSET$primary_ref_frame
public static final long OFFSET$primary_ref_frame -
OFFSET$refresh_frame_flags
public static final long OFFSET$refresh_frame_flags -
OFFSET$interpolation_filter
public static final long OFFSET$interpolation_filter -
OFFSET$TxMode
public static final long OFFSET$TxMode -
OFFSET$delta_q_res
public static final long OFFSET$delta_q_res -
OFFSET$delta_lf_res
public static final long OFFSET$delta_lf_res -
OFFSET$SkipModeFrame
public static final long OFFSET$SkipModeFrame -
OFFSET$coded_denom
public static final long OFFSET$coded_denom -
OFFSET$OrderHints
public static final long OFFSET$OrderHints -
OFFSET$expectedFrameId
public static final long OFFSET$expectedFrameId -
OFFSET$pTileInfo
public static final long OFFSET$pTileInfo -
OFFSET$pQuantization
public static final long OFFSET$pQuantization -
OFFSET$pSegmentation
public static final long OFFSET$pSegmentation -
OFFSET$pLoopFilter
public static final long OFFSET$pLoopFilter -
OFFSET$pCDEF
public static final long OFFSET$pCDEF -
OFFSET$pLoopRestoration
public static final long OFFSET$pLoopRestoration -
OFFSET$pGlobalMotion
public static final long OFFSET$pGlobalMotion -
OFFSET$pFilmGrain
public static final long OFFSET$pFilmGrain
-
-
Constructor Details
-
StdVideoDecodeAV1PictureInfo
Creates an instance of aStdVideoDecodeAV1PictureInfo
record class.- Parameters:
segment
- the value for thesegment
record component
-
-
Method Details
-
allocate
-
allocate
-
clone
-
flags
-
flags
public StdVideoDecodeAV1PictureInfo flags(@NotNull @NotNull StdVideoDecodeAV1PictureInfoFlags value) -
flags
public StdVideoDecodeAV1PictureInfo flags(Consumer<@NotNull StdVideoDecodeAV1PictureInfoFlags> consumer) -
frame_type
-
frame_type
-
current_frame_id
-
current_frame_id
-
OrderHint
-
OrderHint
-
-
primary_ref_frame
-
refresh_frame_flags
-
refresh_frame_flags
-
interpolation_filter
-
interpolation_filter
public StdVideoDecodeAV1PictureInfo interpolation_filter(@EnumType(StdVideoAV1InterpolationFilter.class) int value) -
TxMode
-
TxMode
-
delta_q_res
-
delta_q_res
-
delta_lf_res
-
delta_lf_res
-
SkipModeFrame
-
SkipModeFrame
-
SkipModeFrameRaw
-
coded_denom
-
coded_denom
-
OrderHints
-
OrderHints
-
OrderHintsRaw
-
expectedFrameId
-
expectedFrameId
-
expectedFrameIdRaw
-
pTileInfo
-
pTileInfo
-
pTileInfo
-
pTileInfoRaw
-
pTileInfoRaw
-
pQuantization
public StdVideoDecodeAV1PictureInfo pQuantization(@Nullable @Nullable IStdVideoAV1Quantization value) -
pQuantization
-
pQuantization
-
pQuantizationRaw
-
pQuantizationRaw
-
pSegmentation
public StdVideoDecodeAV1PictureInfo pSegmentation(@Nullable @Nullable IStdVideoAV1Segmentation value) -
pSegmentation
-
pSegmentation
-
pSegmentationRaw
-
pSegmentationRaw
-
pLoopFilter
-
pLoopFilter
-
pLoopFilter
-
pLoopFilterRaw
-
pLoopFilterRaw
-
pCDEF
-
pCDEF
-
pCDEF
-
pCDEFRaw
-
pCDEFRaw
-
pLoopRestoration
public StdVideoDecodeAV1PictureInfo pLoopRestoration(@Nullable @Nullable IStdVideoAV1LoopRestoration value) -
pLoopRestoration
-
pLoopRestoration
-
pLoopRestorationRaw
-
pLoopRestorationRaw
public void pLoopRestorationRaw(@Pointer(target=StdVideoAV1LoopRestoration.class) MemorySegment value) -
pGlobalMotion
public StdVideoDecodeAV1PictureInfo pGlobalMotion(@Nullable @Nullable IStdVideoAV1GlobalMotion value) -
pGlobalMotion
-
pGlobalMotion
-
pGlobalMotionRaw
-
pGlobalMotionRaw
-
pFilmGrain
-
pFilmGrain
-
pFilmGrain
-
pFilmGrainRaw
-
pFilmGrainRaw
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
segment
Returns the value of thesegment
record component.
-