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;
StdVideoAV1TxMode 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 recordRepresents a pointer to / an array of null structure(s) in native memory. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longstatic final StructLayoutstatic final ValueLayout.OfBytestatic final ValueLayout.OfIntstatic final ValueLayout.OfBytestatic final ValueLayout.OfBytestatic final SequenceLayoutstatic final StructLayoutstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfBytestatic final SequenceLayoutstatic final AddressLayoutstatic final AddressLayoutstatic final AddressLayoutstatic final AddressLayoutstatic final AddressLayoutstatic final AddressLayoutstatic final ValueLayout.OfBytestatic final AddressLayoutstatic final AddressLayoutstatic final ValueLayout.OfBytestatic final SequenceLayoutstatic final ValueLayout.OfIntstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final long -
Constructor Summary
ConstructorsConstructorDescriptionStdVideoDecodeAV1PictureInfo(@NotNull MemorySegment segment) Creates an instance of aStdVideoDecodeAV1PictureInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic StdVideoDecodeAV1PictureInfostatic StdVideoDecodeAV1PictureInfoclone(Arena arena, StdVideoDecodeAV1PictureInfo src) bytecoded_denom(byte value) intcurrent_frame_id(int value) bytedelta_lf_res(byte value) bytedelta_q_res(byte value) final booleanIndicates whether some other object is "equal to" this one.expectedFrameId(IntPtr value) expectedFrameId(@NotNull Consumer<IntPtr> consumer) @NotNull MemorySegment@NotNull StdVideoDecodeAV1PictureInfoFlagsflags()flags(@NotNull StdVideoDecodeAV1PictureInfoFlags value) flags(Consumer<@NotNull StdVideoDecodeAV1PictureInfoFlags> consumer) intframe_type(int value) final inthashCode()Returns a hash code value for this object.intinterpolation_filter(int value) byteOrderHint(byte value) OrderHints(BytePtr value) OrderHints(@NotNull Consumer<BytePtr> consumer) @NotNull MemorySegment@Nullable StdVideoAV1CDEFpCDEF()pCDEF(int assumedCount) pCDEF(@Nullable IStdVideoAV1CDEF value) @NotNull MemorySegmentpCDEFRaw()voidpCDEFRaw(@NotNull MemorySegment value) @Nullable StdVideoAV1FilmGrainpFilmGrain(int assumedCount) pFilmGrain(@Nullable IStdVideoAV1FilmGrain value) @NotNull MemorySegmentvoidpFilmGrainRaw(@NotNull MemorySegment value) @Nullable StdVideoAV1GlobalMotionpGlobalMotion(int assumedCount) pGlobalMotion(@Nullable IStdVideoAV1GlobalMotion value) @NotNull MemorySegmentvoidpGlobalMotionRaw(@NotNull MemorySegment value) @Nullable StdVideoAV1LoopFilterpLoopFilter(int assumedCount) pLoopFilter(@Nullable IStdVideoAV1LoopFilter value) @NotNull MemorySegmentvoidpLoopFilterRaw(@NotNull MemorySegment value) @Nullable StdVideoAV1LoopRestorationpLoopRestoration(int assumedCount) pLoopRestoration(@Nullable IStdVideoAV1LoopRestoration value) @NotNull MemorySegmentvoidpLoopRestorationRaw(@NotNull MemorySegment value) @Nullable StdVideoAV1QuantizationpQuantization(int assumedCount) pQuantization(@Nullable IStdVideoAV1Quantization value) @NotNull MemorySegmentvoidpQuantizationRaw(@NotNull MemorySegment value) byteprimary_ref_frame(byte value) @Nullable StdVideoAV1SegmentationpSegmentation(int assumedCount) pSegmentation(@Nullable IStdVideoAV1Segmentation value) @NotNull MemorySegmentvoidpSegmentationRaw(@NotNull MemorySegment value) @Nullable StdVideoAV1TileInfopTileInfo(int assumedCount) pTileInfo(@Nullable IStdVideoAV1TileInfo value) @NotNull MemorySegmentvoidpTileInfoRaw(@NotNull MemorySegment value) byterefresh_frame_flags(byte value) @NotNull MemorySegmentsegment()Returns the value of thesegmentrecord component.SkipModeFrame(BytePtr value) SkipModeFrame(@NotNull Consumer<BytePtr> consumer) @NotNull MemorySegmentfinal StringtoString()Returns a string representation of this record class.intTxMode()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 aStdVideoDecodeAV1PictureInforecord class.- Parameters:
segment- the value for thesegmentrecord 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
-
SkipModeFrame
-
SkipModeFrameRaw
-
coded_denom
-
coded_denom
-
OrderHints
-
OrderHints
-
OrderHints
-
OrderHintsRaw
-
expectedFrameId
-
expectedFrameId
-
expectedFrameId
-
expectedFrameIdRaw
-
pTileInfo
-
pTileInfo
-
pTileInfo
-
pTileInfoRaw
-
pTileInfoRaw
public void pTileInfoRaw(@Pointer(target=StdVideoAV1TileInfo.class) @NotNull @NotNull MemorySegment value) -
pQuantization
public StdVideoDecodeAV1PictureInfo pQuantization(@Nullable @Nullable IStdVideoAV1Quantization value) -
pQuantization
-
pQuantization
-
pQuantizationRaw
@Pointer(target=StdVideoAV1Quantization.class) @NotNull public @NotNull MemorySegment pQuantizationRaw() -
pQuantizationRaw
public void pQuantizationRaw(@Pointer(target=StdVideoAV1Quantization.class) @NotNull @NotNull MemorySegment value) -
pSegmentation
public StdVideoDecodeAV1PictureInfo pSegmentation(@Nullable @Nullable IStdVideoAV1Segmentation value) -
pSegmentation
-
pSegmentation
-
pSegmentationRaw
@Pointer(target=StdVideoAV1Segmentation.class) @NotNull public @NotNull MemorySegment pSegmentationRaw() -
pSegmentationRaw
public void pSegmentationRaw(@Pointer(target=StdVideoAV1Segmentation.class) @NotNull @NotNull MemorySegment value) -
pLoopFilter
-
pLoopFilter
-
pLoopFilter
-
pLoopFilterRaw
@Pointer(target=StdVideoAV1LoopFilter.class) @NotNull public @NotNull MemorySegment pLoopFilterRaw() -
pLoopFilterRaw
public void pLoopFilterRaw(@Pointer(target=StdVideoAV1LoopFilter.class) @NotNull @NotNull MemorySegment value) -
pCDEF
-
pCDEF
-
pCDEF
-
pCDEFRaw
-
pCDEFRaw
-
pLoopRestoration
public StdVideoDecodeAV1PictureInfo pLoopRestoration(@Nullable @Nullable IStdVideoAV1LoopRestoration value) -
pLoopRestoration
-
pLoopRestoration
-
pLoopRestorationRaw
@Pointer(target=StdVideoAV1LoopRestoration.class) @NotNull public @NotNull MemorySegment pLoopRestorationRaw() -
pLoopRestorationRaw
public void pLoopRestorationRaw(@Pointer(target=StdVideoAV1LoopRestoration.class) @NotNull @NotNull MemorySegment value) -
pGlobalMotion
public StdVideoDecodeAV1PictureInfo pGlobalMotion(@Nullable @Nullable IStdVideoAV1GlobalMotion value) -
pGlobalMotion
-
pGlobalMotion
-
pGlobalMotionRaw
@Pointer(target=StdVideoAV1GlobalMotion.class) @NotNull public @NotNull MemorySegment pGlobalMotionRaw() -
pGlobalMotionRaw
public void pGlobalMotionRaw(@Pointer(target=StdVideoAV1GlobalMotion.class) @NotNull @NotNull MemorySegment value) -
pFilmGrain
-
pFilmGrain
-
pFilmGrain
-
pFilmGrainRaw
-
pFilmGrainRaw
public void pFilmGrainRaw(@Pointer(target=StdVideoAV1FilmGrain.class) @NotNull @NotNull MemorySegment value) -
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 thesegmentrecord component.
-