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.