org.lwjgl.vulkan.VkVideoEncodeH265SessionParametersAddInfoEXT Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lwjgl-vulkan Show documentation
Show all versions of lwjgl-vulkan Show documentation
A new generation graphics and compute API that provides high-efficiency, cross-platform access to modern GPUs used in a wide variety of devices from PCs and consoles to mobile phones and embedded platforms.
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.vulkan;
import javax.annotation.*;
import java.nio.*;
import org.lwjgl.*;
import org.lwjgl.system.*;
import static org.lwjgl.system.MemoryUtil.*;
import static org.lwjgl.system.MemoryStack.*;
import org.lwjgl.vulkan.video.*;
/**
* Structure specifies H.265 encoder parameter set info.
*
* Valid Usage (Implicit)
*
*
* - {@code sType} must be {@link EXTVideoEncodeH265#VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_PARAMETERS_ADD_INFO_EXT STRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_PARAMETERS_ADD_INFO_EXT}
* - If {@code pVpsStd} is not {@code NULL}, {@code pVpsStd} must be a valid pointer to an array of {@code vpsStdCount} {@code StdVideoH265VideoParameterSet} values
* - If {@code pSpsStd} is not {@code NULL}, {@code pSpsStd} must be a valid pointer to an array of {@code spsStdCount} {@code StdVideoH265SequenceParameterSet} values
* - If {@code pPpsStd} is not {@code NULL}, {@code pPpsStd} must be a valid pointer to an array of {@code ppsStdCount} {@code StdVideoH265PictureParameterSet} values
* - {@code vpsStdCount} must be greater than 0
* - {@code spsStdCount} must be greater than 0
* - {@code ppsStdCount} must be greater than 0
*
*
* Valid Usage
*
*
* - The values of {@code vpsStdCount}, {@code spsStdCount} and {@code ppsStdCount} must be less than or equal to the values of {@link VkVideoEncodeH265SessionParametersCreateInfoEXT}{@code ::maxVpsStdCount}, {@link VkVideoEncodeH265SessionParametersCreateInfoEXT}:{@code maxSpsStdCount}, and {@link VkVideoEncodeH265SessionParametersCreateInfoEXT}:{@code maxPpsStdCount}, respectively
* - Each {@code StdVideoH265VideoParameterSet} entry in {@code pVpsStd} must have a unique H.265 VPS ID
* - Each {@code StdVideoH265SequenceParameterSet} entry in {@code pSpsStd} must have a unique H.265 VPS-SPS ID pair
* - Each {@code StdVideoH265PictureParameterSet} entry in {@code pPpsStd} must have a unique H.265 VPS-SPS-PPS ID tuple
* - Each entry to be added must have a unique, to the rest of the parameter array entries and the existing parameters in the Video Session Parameters Object that is being updated, VPS-SPS-PPS IDs
* - Parameter entries that already exist in Video Session Parameters object with a particular VPS-SPS-PPS IDs must not be replaced nor updated
* - When creating a new object using a Video Session Parameters as a template, the array’s parameters with the same VPS-SPS-PPS IDs as the ones from the template take precedence
* - VPS/SPS/PPS parameters must comply with the limits specified in {@link VkVideoSessionCreateInfoKHR} during Video Session creation
*
*
* See Also
*
* {@link VkVideoEncodeH265SessionParametersCreateInfoEXT}
*
* Layout
*
*
* struct VkVideoEncodeH265SessionParametersAddInfoEXT {
* VkStructureType {@link #sType};
* void const * {@link #pNext};
* uint32_t {@link #vpsStdCount};
* {@link StdVideoH265VideoParameterSet StdVideoH265VideoParameterSet} const * {@link #pVpsStd};
* uint32_t {@link #spsStdCount};
* {@link StdVideoH265SequenceParameterSet StdVideoH265SequenceParameterSet} const * {@link #pSpsStd};
* uint32_t {@link #ppsStdCount};
* {@link StdVideoH265PictureParameterSet StdVideoH265PictureParameterSet} const * {@link #pPpsStd};
* }
*/
public class VkVideoEncodeH265SessionParametersAddInfoEXT extends Struct implements NativeResource {
/** The struct size in bytes. */
public static final int SIZEOF;
/** The struct alignment in bytes. */
public static final int ALIGNOF;
/** The struct member offsets. */
public static final int
STYPE,
PNEXT,
VPSSTDCOUNT,
PVPSSTD,
SPSSTDCOUNT,
PSPSSTD,
PPSSTDCOUNT,
PPPSSTD;
static {
Layout layout = __struct(
__member(4),
__member(POINTER_SIZE),
__member(4),
__member(POINTER_SIZE),
__member(4),
__member(POINTER_SIZE),
__member(4),
__member(POINTER_SIZE)
);
SIZEOF = layout.getSize();
ALIGNOF = layout.getAlignment();
STYPE = layout.offsetof(0);
PNEXT = layout.offsetof(1);
VPSSTDCOUNT = layout.offsetof(2);
PVPSSTD = layout.offsetof(3);
SPSSTDCOUNT = layout.offsetof(4);
PSPSSTD = layout.offsetof(5);
PPSSTDCOUNT = layout.offsetof(6);
PPPSSTD = layout.offsetof(7);
}
/**
* Creates a {@code VkVideoEncodeH265SessionParametersAddInfoEXT} instance at the current position of the specified {@link 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.
*/
public VkVideoEncodeH265SessionParametersAddInfoEXT(ByteBuffer container) {
super(memAddress(container), __checkContainer(container, SIZEOF));
}
@Override
public int sizeof() { return SIZEOF; }
/** the type of this structure. */
@NativeType("VkStructureType")
public int sType() { return nsType(address()); }
/** {@code NULL} or a pointer to a structure extending this structure. */
@NativeType("void const *")
public long pNext() { return npNext(address()); }
/** the number of VPS elements in {@code pVpsStd}. */
@NativeType("uint32_t")
public int vpsStdCount() { return nvpsStdCount(address()); }
/** a pointer to an array of {@code vpsStdCount} {@code StdVideoH265VideoParameterSet} structures representing H.265 video parameter sets. */
@Nullable
@NativeType("StdVideoH265VideoParameterSet const *")
public StdVideoH265VideoParameterSet.Buffer pVpsStd() { return npVpsStd(address()); }
/** the number of SPS elements in {@code pSpsStd}. */
@NativeType("uint32_t")
public int spsStdCount() { return nspsStdCount(address()); }
/** a pointer to an array of {@code spsStdCount} {@code StdVideoH265SequenceParameterSet} structures representing H.265 sequence parameter sets. */
@Nullable
@NativeType("StdVideoH265SequenceParameterSet const *")
public StdVideoH265SequenceParameterSet.Buffer pSpsStd() { return npSpsStd(address()); }
/** the number of PPS elements in {@code pPpsStd}. */
@NativeType("uint32_t")
public int ppsStdCount() { return nppsStdCount(address()); }
/** a pointer to an array of {@code ppsStdCount} {@code StdVideoH265PictureParameterSet} structures representing H.265 picture parameter sets. */
@Nullable
@NativeType("StdVideoH265PictureParameterSet const *")
public StdVideoH265PictureParameterSet.Buffer pPpsStd() { return npPpsStd(address()); }
/** Sets the specified value to the {@link #sType} field. */
public VkVideoEncodeH265SessionParametersAddInfoEXT sType(@NativeType("VkStructureType") int value) { nsType(address(), value); return this; }
/** Sets the {@link EXTVideoEncodeH265#VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_PARAMETERS_ADD_INFO_EXT STRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_PARAMETERS_ADD_INFO_EXT} value to the {@link #sType} field. */
public VkVideoEncodeH265SessionParametersAddInfoEXT sType$Default() { return sType(EXTVideoEncodeH265.VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_PARAMETERS_ADD_INFO_EXT); }
/** Sets the specified value to the {@link #pNext} field. */
public VkVideoEncodeH265SessionParametersAddInfoEXT pNext(@NativeType("void const *") long value) { npNext(address(), value); return this; }
/** Sets the specified value to the {@link #vpsStdCount} field. */
public VkVideoEncodeH265SessionParametersAddInfoEXT vpsStdCount(@NativeType("uint32_t") int value) { nvpsStdCount(address(), value); return this; }
/** Sets the address of the specified {@link StdVideoH265VideoParameterSet.Buffer} to the {@link #pVpsStd} field. */
public VkVideoEncodeH265SessionParametersAddInfoEXT pVpsStd(@Nullable @NativeType("StdVideoH265VideoParameterSet const *") StdVideoH265VideoParameterSet.Buffer value) { npVpsStd(address(), value); return this; }
/** Sets the specified value to the {@link #spsStdCount} field. */
public VkVideoEncodeH265SessionParametersAddInfoEXT spsStdCount(@NativeType("uint32_t") int value) { nspsStdCount(address(), value); return this; }
/** Sets the address of the specified {@link StdVideoH265SequenceParameterSet.Buffer} to the {@link #pSpsStd} field. */
public VkVideoEncodeH265SessionParametersAddInfoEXT pSpsStd(@Nullable @NativeType("StdVideoH265SequenceParameterSet const *") StdVideoH265SequenceParameterSet.Buffer value) { npSpsStd(address(), value); return this; }
/** Sets the specified value to the {@link #ppsStdCount} field. */
public VkVideoEncodeH265SessionParametersAddInfoEXT ppsStdCount(@NativeType("uint32_t") int value) { nppsStdCount(address(), value); return this; }
/** Sets the address of the specified {@link StdVideoH265PictureParameterSet.Buffer} to the {@link #pPpsStd} field. */
public VkVideoEncodeH265SessionParametersAddInfoEXT pPpsStd(@Nullable @NativeType("StdVideoH265PictureParameterSet const *") StdVideoH265PictureParameterSet.Buffer value) { npPpsStd(address(), value); return this; }
/** Initializes this struct with the specified values. */
public VkVideoEncodeH265SessionParametersAddInfoEXT set(
int sType,
long pNext,
int vpsStdCount,
@Nullable StdVideoH265VideoParameterSet.Buffer pVpsStd,
int spsStdCount,
@Nullable StdVideoH265SequenceParameterSet.Buffer pSpsStd,
int ppsStdCount,
@Nullable StdVideoH265PictureParameterSet.Buffer pPpsStd
) {
sType(sType);
pNext(pNext);
vpsStdCount(vpsStdCount);
pVpsStd(pVpsStd);
spsStdCount(spsStdCount);
pSpsStd(pSpsStd);
ppsStdCount(ppsStdCount);
pPpsStd(pPpsStd);
return this;
}
/**
* Copies the specified struct data to this struct.
*
* @param src the source struct
*
* @return this struct
*/
public VkVideoEncodeH265SessionParametersAddInfoEXT set(VkVideoEncodeH265SessionParametersAddInfoEXT src) {
memCopy(src.address(), address(), SIZEOF);
return this;
}
// -----------------------------------
/** Returns a new {@code VkVideoEncodeH265SessionParametersAddInfoEXT} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed. */
public static VkVideoEncodeH265SessionParametersAddInfoEXT malloc() {
return wrap(VkVideoEncodeH265SessionParametersAddInfoEXT.class, nmemAllocChecked(SIZEOF));
}
/** Returns a new {@code VkVideoEncodeH265SessionParametersAddInfoEXT} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed. */
public static VkVideoEncodeH265SessionParametersAddInfoEXT calloc() {
return wrap(VkVideoEncodeH265SessionParametersAddInfoEXT.class, nmemCallocChecked(1, SIZEOF));
}
/** Returns a new {@code VkVideoEncodeH265SessionParametersAddInfoEXT} instance allocated with {@link BufferUtils}. */
public static VkVideoEncodeH265SessionParametersAddInfoEXT create() {
ByteBuffer container = BufferUtils.createByteBuffer(SIZEOF);
return wrap(VkVideoEncodeH265SessionParametersAddInfoEXT.class, memAddress(container), container);
}
/** Returns a new {@code VkVideoEncodeH265SessionParametersAddInfoEXT} instance for the specified memory address. */
public static VkVideoEncodeH265SessionParametersAddInfoEXT create(long address) {
return wrap(VkVideoEncodeH265SessionParametersAddInfoEXT.class, address);
}
/** Like {@link #create(long) create}, but returns {@code null} if {@code address} is {@code NULL}. */
@Nullable
public static VkVideoEncodeH265SessionParametersAddInfoEXT createSafe(long address) {
return address == NULL ? null : wrap(VkVideoEncodeH265SessionParametersAddInfoEXT.class, address);
}
/**
* Returns a new {@link VkVideoEncodeH265SessionParametersAddInfoEXT.Buffer} instance allocated with {@link MemoryUtil#memAlloc memAlloc}. The instance must be explicitly freed.
*
* @param capacity the buffer capacity
*/
public static VkVideoEncodeH265SessionParametersAddInfoEXT.Buffer malloc(int capacity) {
return wrap(Buffer.class, nmemAllocChecked(__checkMalloc(capacity, SIZEOF)), capacity);
}
/**
* Returns a new {@link VkVideoEncodeH265SessionParametersAddInfoEXT.Buffer} instance allocated with {@link MemoryUtil#memCalloc memCalloc}. The instance must be explicitly freed.
*
* @param capacity the buffer capacity
*/
public static VkVideoEncodeH265SessionParametersAddInfoEXT.Buffer calloc(int capacity) {
return wrap(Buffer.class, nmemCallocChecked(capacity, SIZEOF), capacity);
}
/**
* Returns a new {@link VkVideoEncodeH265SessionParametersAddInfoEXT.Buffer} instance allocated with {@link BufferUtils}.
*
* @param capacity the buffer capacity
*/
public static VkVideoEncodeH265SessionParametersAddInfoEXT.Buffer create(int capacity) {
ByteBuffer container = __create(capacity, SIZEOF);
return wrap(Buffer.class, memAddress(container), capacity, container);
}
/**
* Create a {@link VkVideoEncodeH265SessionParametersAddInfoEXT.Buffer} instance at the specified memory.
*
* @param address the memory address
* @param capacity the buffer capacity
*/
public static VkVideoEncodeH265SessionParametersAddInfoEXT.Buffer create(long address, int capacity) {
return wrap(Buffer.class, address, capacity);
}
/** Like {@link #create(long, int) create}, but returns {@code null} if {@code address} is {@code NULL}. */
@Nullable
public static VkVideoEncodeH265SessionParametersAddInfoEXT.Buffer createSafe(long address, int capacity) {
return address == NULL ? null : wrap(Buffer.class, address, capacity);
}
/**
* Returns a new {@code VkVideoEncodeH265SessionParametersAddInfoEXT} instance allocated on the specified {@link MemoryStack}.
*
* @param stack the stack from which to allocate
*/
public static VkVideoEncodeH265SessionParametersAddInfoEXT malloc(MemoryStack stack) {
return wrap(VkVideoEncodeH265SessionParametersAddInfoEXT.class, stack.nmalloc(ALIGNOF, SIZEOF));
}
/**
* Returns a new {@code VkVideoEncodeH265SessionParametersAddInfoEXT} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero.
*
* @param stack the stack from which to allocate
*/
public static VkVideoEncodeH265SessionParametersAddInfoEXT calloc(MemoryStack stack) {
return wrap(VkVideoEncodeH265SessionParametersAddInfoEXT.class, stack.ncalloc(ALIGNOF, 1, SIZEOF));
}
/**
* Returns a new {@link VkVideoEncodeH265SessionParametersAddInfoEXT.Buffer} instance allocated on the specified {@link MemoryStack}.
*
* @param stack the stack from which to allocate
* @param capacity the buffer capacity
*/
public static VkVideoEncodeH265SessionParametersAddInfoEXT.Buffer malloc(int capacity, MemoryStack stack) {
return wrap(Buffer.class, stack.nmalloc(ALIGNOF, capacity * SIZEOF), capacity);
}
/**
* Returns a new {@link VkVideoEncodeH265SessionParametersAddInfoEXT.Buffer} instance allocated on the specified {@link MemoryStack} and initializes all its bits to zero.
*
* @param stack the stack from which to allocate
* @param capacity the buffer capacity
*/
public static VkVideoEncodeH265SessionParametersAddInfoEXT.Buffer calloc(int capacity, MemoryStack stack) {
return wrap(Buffer.class, stack.ncalloc(ALIGNOF, capacity, SIZEOF), capacity);
}
// -----------------------------------
/** Unsafe version of {@link #sType}. */
public static int nsType(long struct) { return UNSAFE.getInt(null, struct + VkVideoEncodeH265SessionParametersAddInfoEXT.STYPE); }
/** Unsafe version of {@link #pNext}. */
public static long npNext(long struct) { return memGetAddress(struct + VkVideoEncodeH265SessionParametersAddInfoEXT.PNEXT); }
/** Unsafe version of {@link #vpsStdCount}. */
public static int nvpsStdCount(long struct) { return UNSAFE.getInt(null, struct + VkVideoEncodeH265SessionParametersAddInfoEXT.VPSSTDCOUNT); }
/** Unsafe version of {@link #pVpsStd}. */
@Nullable public static StdVideoH265VideoParameterSet.Buffer npVpsStd(long struct) { return StdVideoH265VideoParameterSet.createSafe(memGetAddress(struct + VkVideoEncodeH265SessionParametersAddInfoEXT.PVPSSTD), nvpsStdCount(struct)); }
/** Unsafe version of {@link #spsStdCount}. */
public static int nspsStdCount(long struct) { return UNSAFE.getInt(null, struct + VkVideoEncodeH265SessionParametersAddInfoEXT.SPSSTDCOUNT); }
/** Unsafe version of {@link #pSpsStd}. */
@Nullable public static StdVideoH265SequenceParameterSet.Buffer npSpsStd(long struct) { return StdVideoH265SequenceParameterSet.createSafe(memGetAddress(struct + VkVideoEncodeH265SessionParametersAddInfoEXT.PSPSSTD), nspsStdCount(struct)); }
/** Unsafe version of {@link #ppsStdCount}. */
public static int nppsStdCount(long struct) { return UNSAFE.getInt(null, struct + VkVideoEncodeH265SessionParametersAddInfoEXT.PPSSTDCOUNT); }
/** Unsafe version of {@link #pPpsStd}. */
@Nullable public static StdVideoH265PictureParameterSet.Buffer npPpsStd(long struct) { return StdVideoH265PictureParameterSet.createSafe(memGetAddress(struct + VkVideoEncodeH265SessionParametersAddInfoEXT.PPPSSTD), nppsStdCount(struct)); }
/** Unsafe version of {@link #sType(int) sType}. */
public static void nsType(long struct, int value) { UNSAFE.putInt(null, struct + VkVideoEncodeH265SessionParametersAddInfoEXT.STYPE, value); }
/** Unsafe version of {@link #pNext(long) pNext}. */
public static void npNext(long struct, long value) { memPutAddress(struct + VkVideoEncodeH265SessionParametersAddInfoEXT.PNEXT, value); }
/** Sets the specified value to the {@code vpsStdCount} field of the specified {@code struct}. */
public static void nvpsStdCount(long struct, int value) { UNSAFE.putInt(null, struct + VkVideoEncodeH265SessionParametersAddInfoEXT.VPSSTDCOUNT, value); }
/** Unsafe version of {@link #pVpsStd(StdVideoH265VideoParameterSet.Buffer) pVpsStd}. */
public static void npVpsStd(long struct, @Nullable StdVideoH265VideoParameterSet.Buffer value) { memPutAddress(struct + VkVideoEncodeH265SessionParametersAddInfoEXT.PVPSSTD, memAddressSafe(value)); if (value != null) { nvpsStdCount(struct, value.remaining()); } }
/** Sets the specified value to the {@code spsStdCount} field of the specified {@code struct}. */
public static void nspsStdCount(long struct, int value) { UNSAFE.putInt(null, struct + VkVideoEncodeH265SessionParametersAddInfoEXT.SPSSTDCOUNT, value); }
/** Unsafe version of {@link #pSpsStd(StdVideoH265SequenceParameterSet.Buffer) pSpsStd}. */
public static void npSpsStd(long struct, @Nullable StdVideoH265SequenceParameterSet.Buffer value) { memPutAddress(struct + VkVideoEncodeH265SessionParametersAddInfoEXT.PSPSSTD, memAddressSafe(value)); if (value != null) { nspsStdCount(struct, value.remaining()); } }
/** Sets the specified value to the {@code ppsStdCount} field of the specified {@code struct}. */
public static void nppsStdCount(long struct, int value) { UNSAFE.putInt(null, struct + VkVideoEncodeH265SessionParametersAddInfoEXT.PPSSTDCOUNT, value); }
/** Unsafe version of {@link #pPpsStd(StdVideoH265PictureParameterSet.Buffer) pPpsStd}. */
public static void npPpsStd(long struct, @Nullable StdVideoH265PictureParameterSet.Buffer value) { memPutAddress(struct + VkVideoEncodeH265SessionParametersAddInfoEXT.PPPSSTD, memAddressSafe(value)); if (value != null) { nppsStdCount(struct, value.remaining()); } }
// -----------------------------------
/** An array of {@link VkVideoEncodeH265SessionParametersAddInfoEXT} structs. */
public static class Buffer extends StructBuffer implements NativeResource {
private static final VkVideoEncodeH265SessionParametersAddInfoEXT ELEMENT_FACTORY = VkVideoEncodeH265SessionParametersAddInfoEXT.create(-1L);
/**
* Creates a new {@code VkVideoEncodeH265SessionParametersAddInfoEXT.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 {@link VkVideoEncodeH265SessionParametersAddInfoEXT#SIZEOF}, and its mark will be undefined.
*
* The created buffer instance holds a strong reference to the container object.
*/
public Buffer(ByteBuffer container) {
super(container, container.remaining() / SIZEOF);
}
public Buffer(long address, int cap) {
super(address, null, -1, 0, cap, cap);
}
Buffer(long address, @Nullable ByteBuffer container, int mark, int pos, int lim, int cap) {
super(address, container, mark, pos, lim, cap);
}
@Override
protected Buffer self() {
return this;
}
@Override
protected VkVideoEncodeH265SessionParametersAddInfoEXT getElementFactory() {
return ELEMENT_FACTORY;
}
/** @return the value of the {@link VkVideoEncodeH265SessionParametersAddInfoEXT#sType} field. */
@NativeType("VkStructureType")
public int sType() { return VkVideoEncodeH265SessionParametersAddInfoEXT.nsType(address()); }
/** @return the value of the {@link VkVideoEncodeH265SessionParametersAddInfoEXT#pNext} field. */
@NativeType("void const *")
public long pNext() { return VkVideoEncodeH265SessionParametersAddInfoEXT.npNext(address()); }
/** @return the value of the {@link VkVideoEncodeH265SessionParametersAddInfoEXT#vpsStdCount} field. */
@NativeType("uint32_t")
public int vpsStdCount() { return VkVideoEncodeH265SessionParametersAddInfoEXT.nvpsStdCount(address()); }
/** @return a {@link StdVideoH265VideoParameterSet.Buffer} view of the struct array pointed to by the {@link VkVideoEncodeH265SessionParametersAddInfoEXT#pVpsStd} field. */
@Nullable
@NativeType("StdVideoH265VideoParameterSet const *")
public StdVideoH265VideoParameterSet.Buffer pVpsStd() { return VkVideoEncodeH265SessionParametersAddInfoEXT.npVpsStd(address()); }
/** @return the value of the {@link VkVideoEncodeH265SessionParametersAddInfoEXT#spsStdCount} field. */
@NativeType("uint32_t")
public int spsStdCount() { return VkVideoEncodeH265SessionParametersAddInfoEXT.nspsStdCount(address()); }
/** @return a {@link StdVideoH265SequenceParameterSet.Buffer} view of the struct array pointed to by the {@link VkVideoEncodeH265SessionParametersAddInfoEXT#pSpsStd} field. */
@Nullable
@NativeType("StdVideoH265SequenceParameterSet const *")
public StdVideoH265SequenceParameterSet.Buffer pSpsStd() { return VkVideoEncodeH265SessionParametersAddInfoEXT.npSpsStd(address()); }
/** @return the value of the {@link VkVideoEncodeH265SessionParametersAddInfoEXT#ppsStdCount} field. */
@NativeType("uint32_t")
public int ppsStdCount() { return VkVideoEncodeH265SessionParametersAddInfoEXT.nppsStdCount(address()); }
/** @return a {@link StdVideoH265PictureParameterSet.Buffer} view of the struct array pointed to by the {@link VkVideoEncodeH265SessionParametersAddInfoEXT#pPpsStd} field. */
@Nullable
@NativeType("StdVideoH265PictureParameterSet const *")
public StdVideoH265PictureParameterSet.Buffer pPpsStd() { return VkVideoEncodeH265SessionParametersAddInfoEXT.npPpsStd(address()); }
/** Sets the specified value to the {@link VkVideoEncodeH265SessionParametersAddInfoEXT#sType} field. */
public VkVideoEncodeH265SessionParametersAddInfoEXT.Buffer sType(@NativeType("VkStructureType") int value) { VkVideoEncodeH265SessionParametersAddInfoEXT.nsType(address(), value); return this; }
/** Sets the {@link EXTVideoEncodeH265#VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_PARAMETERS_ADD_INFO_EXT STRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_PARAMETERS_ADD_INFO_EXT} value to the {@link VkVideoEncodeH265SessionParametersAddInfoEXT#sType} field. */
public VkVideoEncodeH265SessionParametersAddInfoEXT.Buffer sType$Default() { return sType(EXTVideoEncodeH265.VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_PARAMETERS_ADD_INFO_EXT); }
/** Sets the specified value to the {@link VkVideoEncodeH265SessionParametersAddInfoEXT#pNext} field. */
public VkVideoEncodeH265SessionParametersAddInfoEXT.Buffer pNext(@NativeType("void const *") long value) { VkVideoEncodeH265SessionParametersAddInfoEXT.npNext(address(), value); return this; }
/** Sets the specified value to the {@link VkVideoEncodeH265SessionParametersAddInfoEXT#vpsStdCount} field. */
public VkVideoEncodeH265SessionParametersAddInfoEXT.Buffer vpsStdCount(@NativeType("uint32_t") int value) { VkVideoEncodeH265SessionParametersAddInfoEXT.nvpsStdCount(address(), value); return this; }
/** Sets the address of the specified {@link StdVideoH265VideoParameterSet.Buffer} to the {@link VkVideoEncodeH265SessionParametersAddInfoEXT#pVpsStd} field. */
public VkVideoEncodeH265SessionParametersAddInfoEXT.Buffer pVpsStd(@Nullable @NativeType("StdVideoH265VideoParameterSet const *") StdVideoH265VideoParameterSet.Buffer value) { VkVideoEncodeH265SessionParametersAddInfoEXT.npVpsStd(address(), value); return this; }
/** Sets the specified value to the {@link VkVideoEncodeH265SessionParametersAddInfoEXT#spsStdCount} field. */
public VkVideoEncodeH265SessionParametersAddInfoEXT.Buffer spsStdCount(@NativeType("uint32_t") int value) { VkVideoEncodeH265SessionParametersAddInfoEXT.nspsStdCount(address(), value); return this; }
/** Sets the address of the specified {@link StdVideoH265SequenceParameterSet.Buffer} to the {@link VkVideoEncodeH265SessionParametersAddInfoEXT#pSpsStd} field. */
public VkVideoEncodeH265SessionParametersAddInfoEXT.Buffer pSpsStd(@Nullable @NativeType("StdVideoH265SequenceParameterSet const *") StdVideoH265SequenceParameterSet.Buffer value) { VkVideoEncodeH265SessionParametersAddInfoEXT.npSpsStd(address(), value); return this; }
/** Sets the specified value to the {@link VkVideoEncodeH265SessionParametersAddInfoEXT#ppsStdCount} field. */
public VkVideoEncodeH265SessionParametersAddInfoEXT.Buffer ppsStdCount(@NativeType("uint32_t") int value) { VkVideoEncodeH265SessionParametersAddInfoEXT.nppsStdCount(address(), value); return this; }
/** Sets the address of the specified {@link StdVideoH265PictureParameterSet.Buffer} to the {@link VkVideoEncodeH265SessionParametersAddInfoEXT#pPpsStd} field. */
public VkVideoEncodeH265SessionParametersAddInfoEXT.Buffer pPpsStd(@Nullable @NativeType("StdVideoH265PictureParameterSet const *") StdVideoH265PictureParameterSet.Buffer value) { VkVideoEncodeH265SessionParametersAddInfoEXT.npPpsStd(address(), value); return this; }
}
}