Class StdVideoH265HrdParameters

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<StdVideoH265HrdParameters>
org.lwjgl.vulkan.video.StdVideoH265HrdParameters
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class StdVideoH265HrdParameters extends org.lwjgl.system.Struct<StdVideoH265HrdParameters> implements org.lwjgl.system.NativeResource

Layout


 struct StdVideoH265HrdParameters {
     StdVideoH265HrdFlags flags;
     uint8_t tick_divisor_minus2;
     uint8_t du_cpb_removal_delay_increment_length_minus1;
     uint8_t dpb_output_delay_du_length_minus1;
     uint8_t bit_rate_scale;
     uint8_t cpb_size_scale;
     uint8_t cpb_size_du_scale;
     uint8_t initial_cpb_removal_delay_length_minus1;
     uint8_t au_cpb_removal_delay_length_minus1;
     uint8_t dpb_output_delay_length_minus1;
     uint8_t cpb_cnt_minus1[STD_VIDEO_H265_SUBLAYERS_LIST_SIZE];
     uint16_t elemental_duration_in_tc_minus1[STD_VIDEO_H265_SUBLAYERS_LIST_SIZE];
     uint16_t reserved[3];
     StdVideoH265SubLayerHrdParameters const * pSubLayerHrdParametersNal();
     StdVideoH265SubLayerHrdParameters const * pSubLayerHrdParametersVcl();
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • FLAGS

      public static final int FLAGS
      The struct member offsets.
    • TICK_DIVISOR_MINUS2

      public static final int TICK_DIVISOR_MINUS2
      The struct member offsets.
    • DU_CPB_REMOVAL_DELAY_INCREMENT_LENGTH_MINUS1

      public static final int DU_CPB_REMOVAL_DELAY_INCREMENT_LENGTH_MINUS1
      The struct member offsets.
    • DPB_OUTPUT_DELAY_DU_LENGTH_MINUS1

      public static final int DPB_OUTPUT_DELAY_DU_LENGTH_MINUS1
      The struct member offsets.
    • BIT_RATE_SCALE

      public static final int BIT_RATE_SCALE
      The struct member offsets.
    • CPB_SIZE_SCALE

      public static final int CPB_SIZE_SCALE
      The struct member offsets.
    • CPB_SIZE_DU_SCALE

      public static final int CPB_SIZE_DU_SCALE
      The struct member offsets.
    • INITIAL_CPB_REMOVAL_DELAY_LENGTH_MINUS1

      public static final int INITIAL_CPB_REMOVAL_DELAY_LENGTH_MINUS1
      The struct member offsets.
    • AU_CPB_REMOVAL_DELAY_LENGTH_MINUS1

      public static final int AU_CPB_REMOVAL_DELAY_LENGTH_MINUS1
      The struct member offsets.
    • DPB_OUTPUT_DELAY_LENGTH_MINUS1

      public static final int DPB_OUTPUT_DELAY_LENGTH_MINUS1
      The struct member offsets.
    • CPB_CNT_MINUS1

      public static final int CPB_CNT_MINUS1
      The struct member offsets.
    • ELEMENTAL_DURATION_IN_TC_MINUS1

      public static final int ELEMENTAL_DURATION_IN_TC_MINUS1
      The struct member offsets.
    • RESERVED

      public static final int RESERVED
      The struct member offsets.
    • PSUBLAYERHRDPARAMETERSNAL

      public static final int PSUBLAYERHRDPARAMETERSNAL
      The struct member offsets.
    • PSUBLAYERHRDPARAMETERSVCL

      public static final int PSUBLAYERHRDPARAMETERSVCL
      The struct member offsets.
  • Constructor Details

    • StdVideoH265HrdParameters

      public StdVideoH265HrdParameters(ByteBuffer container)
      Creates a StdVideoH265HrdParameters 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 Details

    • sizeof

      public int sizeof()
      Specified by:
      sizeof in class org.lwjgl.system.Struct<StdVideoH265HrdParameters>
    • flags

      public StdVideoH265HrdFlags flags()
      Returns:
      a StdVideoH265HrdFlags view of the flags field.
    • tick_divisor_minus2

      public byte tick_divisor_minus2()
      Returns:
      the value of the tick_divisor_minus2 field.
    • du_cpb_removal_delay_increment_length_minus1

      public byte du_cpb_removal_delay_increment_length_minus1()
      Returns:
      the value of the du_cpb_removal_delay_increment_length_minus1 field.
    • dpb_output_delay_du_length_minus1

      public byte dpb_output_delay_du_length_minus1()
      Returns:
      the value of the dpb_output_delay_du_length_minus1 field.
    • bit_rate_scale

      public byte bit_rate_scale()
      Returns:
      the value of the bit_rate_scale field.
    • cpb_size_scale

      public byte cpb_size_scale()
      Returns:
      the value of the cpb_size_scale field.
    • cpb_size_du_scale

      public byte cpb_size_du_scale()
      Returns:
      the value of the cpb_size_du_scale field.
    • initial_cpb_removal_delay_length_minus1

      public byte initial_cpb_removal_delay_length_minus1()
      Returns:
      the value of the initial_cpb_removal_delay_length_minus1 field.
    • au_cpb_removal_delay_length_minus1

      public byte au_cpb_removal_delay_length_minus1()
      Returns:
      the value of the au_cpb_removal_delay_length_minus1 field.
    • dpb_output_delay_length_minus1

      public byte dpb_output_delay_length_minus1()
      Returns:
      the value of the dpb_output_delay_length_minus1 field.
    • cpb_cnt_minus1

      public ByteBuffer cpb_cnt_minus1()
      Returns:
      a ByteBuffer view of the cpb_cnt_minus1 field.
    • cpb_cnt_minus1

      public byte cpb_cnt_minus1(int index)
      Returns:
      the value at the specified index of the cpb_cnt_minus1 field.
    • elemental_duration_in_tc_minus1

      public ShortBuffer elemental_duration_in_tc_minus1()
      Returns:
      a ShortBuffer view of the elemental_duration_in_tc_minus1 field.
    • elemental_duration_in_tc_minus1

      public short elemental_duration_in_tc_minus1(int index)
      Returns:
      the value at the specified index of the elemental_duration_in_tc_minus1 field.
    • pSubLayerHrdParametersNal

      public StdVideoH265SubLayerHrdParameters pSubLayerHrdParametersNal()
      NAL per layer ptr to sub_layer_hrd_parameters
    • pSubLayerHrdParametersVcl

      public StdVideoH265SubLayerHrdParameters pSubLayerHrdParametersVcl()
      VCL per layer ptr to sub_layer_hrd_parameters
    • flags

      Copies the specified StdVideoH265HrdFlags to the flags field.
    • flags

      Passes the flags field to the specified Consumer.
    • tick_divisor_minus2

      public StdVideoH265HrdParameters tick_divisor_minus2(byte value)
      Sets the specified value to the tick_divisor_minus2 field.
    • du_cpb_removal_delay_increment_length_minus1

      public StdVideoH265HrdParameters du_cpb_removal_delay_increment_length_minus1(byte value)
      Sets the specified value to the du_cpb_removal_delay_increment_length_minus1 field.
    • dpb_output_delay_du_length_minus1

      public StdVideoH265HrdParameters dpb_output_delay_du_length_minus1(byte value)
      Sets the specified value to the dpb_output_delay_du_length_minus1 field.
    • bit_rate_scale

      public StdVideoH265HrdParameters bit_rate_scale(byte value)
      Sets the specified value to the bit_rate_scale field.
    • cpb_size_scale

      public StdVideoH265HrdParameters cpb_size_scale(byte value)
      Sets the specified value to the cpb_size_scale field.
    • cpb_size_du_scale

      public StdVideoH265HrdParameters cpb_size_du_scale(byte value)
      Sets the specified value to the cpb_size_du_scale field.
    • initial_cpb_removal_delay_length_minus1

      public StdVideoH265HrdParameters initial_cpb_removal_delay_length_minus1(byte value)
      Sets the specified value to the initial_cpb_removal_delay_length_minus1 field.
    • au_cpb_removal_delay_length_minus1

      public StdVideoH265HrdParameters au_cpb_removal_delay_length_minus1(byte value)
      Sets the specified value to the au_cpb_removal_delay_length_minus1 field.
    • dpb_output_delay_length_minus1

      public StdVideoH265HrdParameters dpb_output_delay_length_minus1(byte value)
      Sets the specified value to the dpb_output_delay_length_minus1 field.
    • cpb_cnt_minus1

      public StdVideoH265HrdParameters cpb_cnt_minus1(ByteBuffer value)
      Copies the specified ByteBuffer to the cpb_cnt_minus1 field.
    • cpb_cnt_minus1

      public StdVideoH265HrdParameters cpb_cnt_minus1(int index, byte value)
      Sets the specified value at the specified index of the cpb_cnt_minus1 field.
    • elemental_duration_in_tc_minus1

      public StdVideoH265HrdParameters elemental_duration_in_tc_minus1(ShortBuffer value)
      Copies the specified ShortBuffer to the elemental_duration_in_tc_minus1 field.
    • elemental_duration_in_tc_minus1

      public StdVideoH265HrdParameters elemental_duration_in_tc_minus1(int index, short value)
      Sets the specified value at the specified index of the elemental_duration_in_tc_minus1 field.
    • pSubLayerHrdParametersNal

      public StdVideoH265HrdParameters pSubLayerHrdParametersNal(StdVideoH265SubLayerHrdParameters value)
      Sets the address of the specified StdVideoH265SubLayerHrdParameters to the pSubLayerHrdParametersNal() field.
    • pSubLayerHrdParametersVcl

      public StdVideoH265HrdParameters pSubLayerHrdParametersVcl(StdVideoH265SubLayerHrdParameters value)
      Sets the address of the specified StdVideoH265SubLayerHrdParameters to the pSubLayerHrdParametersVcl() field.
    • set

      public StdVideoH265HrdParameters set(StdVideoH265HrdFlags flags, byte tick_divisor_minus2, byte du_cpb_removal_delay_increment_length_minus1, byte dpb_output_delay_du_length_minus1, byte bit_rate_scale, byte cpb_size_scale, byte cpb_size_du_scale, byte initial_cpb_removal_delay_length_minus1, byte au_cpb_removal_delay_length_minus1, byte dpb_output_delay_length_minus1, ByteBuffer cpb_cnt_minus1, ShortBuffer elemental_duration_in_tc_minus1, StdVideoH265SubLayerHrdParameters pSubLayerHrdParametersNal, StdVideoH265SubLayerHrdParameters pSubLayerHrdParametersVcl)
      Initializes this struct with the specified values.
    • set

      Copies the specified struct data to this struct.
      Parameters:
      src - the source struct
      Returns:
      this struct
    • malloc

      public static StdVideoH265HrdParameters malloc()
      Returns a new StdVideoH265HrdParameters instance allocated with memAlloc. The instance must be explicitly freed.
    • calloc

      public static StdVideoH265HrdParameters calloc()
      Returns a new StdVideoH265HrdParameters instance allocated with memCalloc. The instance must be explicitly freed.
    • create

      public static StdVideoH265HrdParameters create()
      Returns a new StdVideoH265HrdParameters instance allocated with BufferUtils.
    • create

      public static StdVideoH265HrdParameters create(long address)
      Returns a new StdVideoH265HrdParameters instance for the specified memory address.
    • createSafe

      public static @Nullable StdVideoH265HrdParameters createSafe(long address)
      Like create, but returns null if address is NULL.
    • malloc

      public static StdVideoH265HrdParameters.Buffer malloc(int capacity)
      Returns a new StdVideoH265HrdParameters.Buffer instance allocated with memAlloc. The instance must be explicitly freed.
      Parameters:
      capacity - the buffer capacity
    • calloc

      public static StdVideoH265HrdParameters.Buffer calloc(int capacity)
      Returns a new StdVideoH265HrdParameters.Buffer instance allocated with memCalloc. The instance must be explicitly freed.
      Parameters:
      capacity - the buffer capacity
    • create

      public static StdVideoH265HrdParameters.Buffer create(int capacity)
      Returns a new StdVideoH265HrdParameters.Buffer instance allocated with BufferUtils.
      Parameters:
      capacity - the buffer capacity
    • create

      public static StdVideoH265HrdParameters.Buffer create(long address, int capacity)
      Create a StdVideoH265HrdParameters.Buffer instance at the specified memory.
      Parameters:
      address - the memory address
      capacity - the buffer capacity
    • createSafe

      public static @Nullable StdVideoH265HrdParameters.Buffer createSafe(long address, int capacity)
      Like create, but returns null if address is NULL.
    • malloc

      public static StdVideoH265HrdParameters malloc(org.lwjgl.system.MemoryStack stack)
      Returns a new StdVideoH265HrdParameters instance allocated on the specified MemoryStack.
      Parameters:
      stack - the stack from which to allocate
    • calloc

      public static StdVideoH265HrdParameters calloc(org.lwjgl.system.MemoryStack stack)
      Returns a new StdVideoH265HrdParameters instance allocated on the specified MemoryStack and initializes all its bits to zero.
      Parameters:
      stack - the stack from which to allocate
    • malloc

      public static StdVideoH265HrdParameters.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
      Returns a new StdVideoH265HrdParameters.Buffer instance allocated on the specified MemoryStack.
      Parameters:
      capacity - the buffer capacity
      stack - the stack from which to allocate
    • calloc

      public static StdVideoH265HrdParameters.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
      Returns a new StdVideoH265HrdParameters.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.
      Parameters:
      capacity - the buffer capacity
      stack - the stack from which to allocate
    • nflags

      public static StdVideoH265HrdFlags nflags(long struct)
      Unsafe version of flags().
    • ntick_divisor_minus2

      public static byte ntick_divisor_minus2(long struct)
      Unsafe version of tick_divisor_minus2().
    • ndu_cpb_removal_delay_increment_length_minus1

      public static byte ndu_cpb_removal_delay_increment_length_minus1(long struct)
    • ndpb_output_delay_du_length_minus1

      public static byte ndpb_output_delay_du_length_minus1(long struct)
    • nbit_rate_scale

      public static byte nbit_rate_scale(long struct)
      Unsafe version of bit_rate_scale().
    • ncpb_size_scale

      public static byte ncpb_size_scale(long struct)
      Unsafe version of cpb_size_scale().
    • ncpb_size_du_scale

      public static byte ncpb_size_du_scale(long struct)
      Unsafe version of cpb_size_du_scale().
    • ninitial_cpb_removal_delay_length_minus1

      public static byte ninitial_cpb_removal_delay_length_minus1(long struct)
    • nau_cpb_removal_delay_length_minus1

      public static byte nau_cpb_removal_delay_length_minus1(long struct)
    • ndpb_output_delay_length_minus1

      public static byte ndpb_output_delay_length_minus1(long struct)
    • ncpb_cnt_minus1

      public static ByteBuffer ncpb_cnt_minus1(long struct)
      Unsafe version of cpb_cnt_minus1().
    • ncpb_cnt_minus1

      public static byte ncpb_cnt_minus1(long struct, int index)
      Unsafe version of cpb_cnt_minus1.
    • nelemental_duration_in_tc_minus1

      public static ShortBuffer nelemental_duration_in_tc_minus1(long struct)
    • nelemental_duration_in_tc_minus1

      public static short nelemental_duration_in_tc_minus1(long struct, int index)
    • nreserved

      public static ShortBuffer nreserved(long struct)
    • nreserved

      public static short nreserved(long struct, int index)
    • npSubLayerHrdParametersNal

      public static StdVideoH265SubLayerHrdParameters npSubLayerHrdParametersNal(long struct)
      Unsafe version of pSubLayerHrdParametersNal().
    • npSubLayerHrdParametersVcl

      public static StdVideoH265SubLayerHrdParameters npSubLayerHrdParametersVcl(long struct)
      Unsafe version of pSubLayerHrdParametersVcl().
    • nflags

      public static void nflags(long struct, StdVideoH265HrdFlags value)
      Unsafe version of flags.
    • ntick_divisor_minus2

      public static void ntick_divisor_minus2(long struct, byte value)
      Unsafe version of tick_divisor_minus2.
    • ndu_cpb_removal_delay_increment_length_minus1

      public static void ndu_cpb_removal_delay_increment_length_minus1(long struct, byte value)
    • ndpb_output_delay_du_length_minus1

      public static void ndpb_output_delay_du_length_minus1(long struct, byte value)
    • nbit_rate_scale

      public static void nbit_rate_scale(long struct, byte value)
      Unsafe version of bit_rate_scale.
    • ncpb_size_scale

      public static void ncpb_size_scale(long struct, byte value)
      Unsafe version of cpb_size_scale.
    • ncpb_size_du_scale

      public static void ncpb_size_du_scale(long struct, byte value)
      Unsafe version of cpb_size_du_scale.
    • ninitial_cpb_removal_delay_length_minus1

      public static void ninitial_cpb_removal_delay_length_minus1(long struct, byte value)
    • nau_cpb_removal_delay_length_minus1

      public static void nau_cpb_removal_delay_length_minus1(long struct, byte value)
    • ndpb_output_delay_length_minus1

      public static void ndpb_output_delay_length_minus1(long struct, byte value)
    • ncpb_cnt_minus1

      public static void ncpb_cnt_minus1(long struct, ByteBuffer value)
      Unsafe version of cpb_cnt_minus1.
    • ncpb_cnt_minus1

      public static void ncpb_cnt_minus1(long struct, int index, byte value)
      Unsafe version of cpb_cnt_minus1.
    • nelemental_duration_in_tc_minus1

      public static void nelemental_duration_in_tc_minus1(long struct, ShortBuffer value)
    • nelemental_duration_in_tc_minus1

      public static void nelemental_duration_in_tc_minus1(long struct, int index, short value)
    • nreserved

      public static void nreserved(long struct, ShortBuffer value)
    • nreserved

      public static void nreserved(long struct, int index, short value)
    • npSubLayerHrdParametersNal

      public static void npSubLayerHrdParametersNal(long struct, StdVideoH265SubLayerHrdParameters value)
      Unsafe version of pSubLayerHrdParametersNal.
    • npSubLayerHrdParametersVcl

      public static void npSubLayerHrdParametersVcl(long struct, StdVideoH265SubLayerHrdParameters value)
      Unsafe version of pSubLayerHrdParametersVcl.
    • validate

      public static void validate(long struct)
      Validates pointer members that should not be NULL.
      Parameters:
      struct - the struct to validate