Class StdVideoEncodeH265SliceSegmentHeaderFlags

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class StdVideoEncodeH265SliceSegmentHeaderFlags extends Struct<StdVideoEncodeH265SliceSegmentHeaderFlags> implements NativeResource

 struct StdVideoEncodeH265SliceSegmentHeaderFlags {
     uint32_t first_slice_segment_in_pic_flag : 1;
     uint32_t dependent_slice_segment_flag : 1;
     uint32_t slice_sao_luma_flag : 1;
     uint32_t slice_sao_chroma_flag : 1;
     uint32_t num_ref_idx_active_override_flag : 1;
     uint32_t mvd_l1_zero_flag : 1;
     uint32_t cabac_init_flag : 1;
     uint32_t cu_chroma_qp_offset_enabled_flag : 1;
     uint32_t deblocking_filter_override_flag : 1;
     uint32_t slice_deblocking_filter_disabled_flag : 1;
     uint32_t collocated_from_l0_flag : 1;
     uint32_t slice_loop_filter_across_slices_enabled_flag : 1;
     uint32_t reserved : 20;
 }
  • Field Details

    • SIZEOF

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

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

      public static final int BITFIELD0
      The struct member offsets.
    • BITFIELD1

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

    • StdVideoEncodeH265SliceSegmentHeaderFlags

      public StdVideoEncodeH265SliceSegmentHeaderFlags(ByteBuffer container)
      Creates a StdVideoEncodeH265SliceSegmentHeaderFlags 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()
      Description copied from class: Struct
      Returns sizeof(struct).
      Specified by:
      sizeof in class Struct<StdVideoEncodeH265SliceSegmentHeaderFlags>
    • first_slice_segment_in_pic_flag

      public boolean first_slice_segment_in_pic_flag()
      Returns:
      the value of the first_slice_segment_in_pic_flag field.
    • dependent_slice_segment_flag

      public boolean dependent_slice_segment_flag()
      Returns:
      the value of the dependent_slice_segment_flag field.
    • slice_sao_luma_flag

      public boolean slice_sao_luma_flag()
      Returns:
      the value of the slice_sao_luma_flag field.
    • slice_sao_chroma_flag

      public boolean slice_sao_chroma_flag()
      Returns:
      the value of the slice_sao_chroma_flag field.
    • num_ref_idx_active_override_flag

      public boolean num_ref_idx_active_override_flag()
      Returns:
      the value of the num_ref_idx_active_override_flag field.
    • mvd_l1_zero_flag

      public boolean mvd_l1_zero_flag()
      Returns:
      the value of the mvd_l1_zero_flag field.
    • cabac_init_flag

      public boolean cabac_init_flag()
      Returns:
      the value of the cabac_init_flag field.
    • cu_chroma_qp_offset_enabled_flag

      public boolean cu_chroma_qp_offset_enabled_flag()
      Returns:
      the value of the cu_chroma_qp_offset_enabled_flag field.
    • deblocking_filter_override_flag

      public boolean deblocking_filter_override_flag()
      Returns:
      the value of the deblocking_filter_override_flag field.
    • slice_deblocking_filter_disabled_flag

      public boolean slice_deblocking_filter_disabled_flag()
      Returns:
      the value of the slice_deblocking_filter_disabled_flag field.
    • collocated_from_l0_flag

      public boolean collocated_from_l0_flag()
      Returns:
      the value of the collocated_from_l0_flag field.
    • slice_loop_filter_across_slices_enabled_flag

      public boolean slice_loop_filter_across_slices_enabled_flag()
      Returns:
      the value of the slice_loop_filter_across_slices_enabled_flag field.
    • first_slice_segment_in_pic_flag

      public StdVideoEncodeH265SliceSegmentHeaderFlags first_slice_segment_in_pic_flag(boolean value)
      Sets the specified value to the first_slice_segment_in_pic_flag field.
    • dependent_slice_segment_flag

      public StdVideoEncodeH265SliceSegmentHeaderFlags dependent_slice_segment_flag(boolean value)
      Sets the specified value to the dependent_slice_segment_flag field.
    • slice_sao_luma_flag

      public StdVideoEncodeH265SliceSegmentHeaderFlags slice_sao_luma_flag(boolean value)
      Sets the specified value to the slice_sao_luma_flag field.
    • slice_sao_chroma_flag

      public StdVideoEncodeH265SliceSegmentHeaderFlags slice_sao_chroma_flag(boolean value)
      Sets the specified value to the slice_sao_chroma_flag field.
    • num_ref_idx_active_override_flag

      public StdVideoEncodeH265SliceSegmentHeaderFlags num_ref_idx_active_override_flag(boolean value)
      Sets the specified value to the num_ref_idx_active_override_flag field.
    • mvd_l1_zero_flag

      public StdVideoEncodeH265SliceSegmentHeaderFlags mvd_l1_zero_flag(boolean value)
      Sets the specified value to the mvd_l1_zero_flag field.
    • cabac_init_flag

      public StdVideoEncodeH265SliceSegmentHeaderFlags cabac_init_flag(boolean value)
      Sets the specified value to the cabac_init_flag field.
    • cu_chroma_qp_offset_enabled_flag

      public StdVideoEncodeH265SliceSegmentHeaderFlags cu_chroma_qp_offset_enabled_flag(boolean value)
      Sets the specified value to the cu_chroma_qp_offset_enabled_flag field.
    • deblocking_filter_override_flag

      public StdVideoEncodeH265SliceSegmentHeaderFlags deblocking_filter_override_flag(boolean value)
      Sets the specified value to the deblocking_filter_override_flag field.
    • slice_deblocking_filter_disabled_flag

      public StdVideoEncodeH265SliceSegmentHeaderFlags slice_deblocking_filter_disabled_flag(boolean value)
      Sets the specified value to the slice_deblocking_filter_disabled_flag field.
    • collocated_from_l0_flag

      public StdVideoEncodeH265SliceSegmentHeaderFlags collocated_from_l0_flag(boolean value)
      Sets the specified value to the collocated_from_l0_flag field.
    • slice_loop_filter_across_slices_enabled_flag

      public StdVideoEncodeH265SliceSegmentHeaderFlags slice_loop_filter_across_slices_enabled_flag(boolean value)
      Sets the specified value to the slice_loop_filter_across_slices_enabled_flag field.
    • set

      public StdVideoEncodeH265SliceSegmentHeaderFlags set(boolean first_slice_segment_in_pic_flag, boolean dependent_slice_segment_flag, boolean slice_sao_luma_flag, boolean slice_sao_chroma_flag, boolean num_ref_idx_active_override_flag, boolean mvd_l1_zero_flag, boolean cabac_init_flag, boolean cu_chroma_qp_offset_enabled_flag, boolean deblocking_filter_override_flag, boolean slice_deblocking_filter_disabled_flag, boolean collocated_from_l0_flag, boolean slice_loop_filter_across_slices_enabled_flag)
      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

      Returns a new StdVideoEncodeH265SliceSegmentHeaderFlags instance allocated with memAlloc. The instance must be explicitly freed.
    • calloc

      Returns a new StdVideoEncodeH265SliceSegmentHeaderFlags instance allocated with memCalloc. The instance must be explicitly freed.
    • create

      Returns a new StdVideoEncodeH265SliceSegmentHeaderFlags instance allocated with BufferUtils.
    • create

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

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

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

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

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

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

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

      Returns a new StdVideoEncodeH265SliceSegmentHeaderFlags instance allocated on the specified MemoryStack.
      Parameters:
      stack - the stack from which to allocate
    • calloc

      Returns a new StdVideoEncodeH265SliceSegmentHeaderFlags instance allocated on the specified MemoryStack and initializes all its bits to zero.
      Parameters:
      stack - the stack from which to allocate
    • malloc

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

      public static StdVideoEncodeH265SliceSegmentHeaderFlags.Buffer calloc(int capacity, MemoryStack stack)
      Returns a new StdVideoEncodeH265SliceSegmentHeaderFlags.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
    • nbitfield0

      public static int nbitfield0(long struct)
    • nfirst_slice_segment_in_pic_flag

      public static int nfirst_slice_segment_in_pic_flag(long struct)
    • ndependent_slice_segment_flag

      public static int ndependent_slice_segment_flag(long struct)
    • nslice_sao_luma_flag

      public static int nslice_sao_luma_flag(long struct)
      Unsafe version of slice_sao_luma_flag().
    • nslice_sao_chroma_flag

      public static int nslice_sao_chroma_flag(long struct)
      Unsafe version of slice_sao_chroma_flag().
    • nnum_ref_idx_active_override_flag

      public static int nnum_ref_idx_active_override_flag(long struct)
    • nmvd_l1_zero_flag

      public static int nmvd_l1_zero_flag(long struct)
      Unsafe version of mvd_l1_zero_flag().
    • ncabac_init_flag

      public static int ncabac_init_flag(long struct)
      Unsafe version of cabac_init_flag().
    • ncu_chroma_qp_offset_enabled_flag

      public static int ncu_chroma_qp_offset_enabled_flag(long struct)
    • ndeblocking_filter_override_flag

      public static int ndeblocking_filter_override_flag(long struct)
    • nslice_deblocking_filter_disabled_flag

      public static int nslice_deblocking_filter_disabled_flag(long struct)
    • ncollocated_from_l0_flag

      public static int ncollocated_from_l0_flag(long struct)
      Unsafe version of collocated_from_l0_flag().
    • nslice_loop_filter_across_slices_enabled_flag

      public static int nslice_loop_filter_across_slices_enabled_flag(long struct)
    • nbitfield1

      public static int nbitfield1(long struct)
    • nreserved

      public static int nreserved(long struct)
    • nbitfield0

      public static void nbitfield0(long struct, int value)
    • nfirst_slice_segment_in_pic_flag

      public static void nfirst_slice_segment_in_pic_flag(long struct, int value)
    • ndependent_slice_segment_flag

      public static void ndependent_slice_segment_flag(long struct, int value)
      Unsafe version of dependent_slice_segment_flag.
    • nslice_sao_luma_flag

      public static void nslice_sao_luma_flag(long struct, int value)
      Unsafe version of slice_sao_luma_flag.
    • nslice_sao_chroma_flag

      public static void nslice_sao_chroma_flag(long struct, int value)
      Unsafe version of slice_sao_chroma_flag.
    • nnum_ref_idx_active_override_flag

      public static void nnum_ref_idx_active_override_flag(long struct, int value)
    • nmvd_l1_zero_flag

      public static void nmvd_l1_zero_flag(long struct, int value)
      Unsafe version of mvd_l1_zero_flag.
    • ncabac_init_flag

      public static void ncabac_init_flag(long struct, int value)
      Unsafe version of cabac_init_flag.
    • ncu_chroma_qp_offset_enabled_flag

      public static void ncu_chroma_qp_offset_enabled_flag(long struct, int value)
    • ndeblocking_filter_override_flag

      public static void ndeblocking_filter_override_flag(long struct, int value)
    • nslice_deblocking_filter_disabled_flag

      public static void nslice_deblocking_filter_disabled_flag(long struct, int value)
    • ncollocated_from_l0_flag

      public static void ncollocated_from_l0_flag(long struct, int value)
      Unsafe version of collocated_from_l0_flag.
    • nslice_loop_filter_across_slices_enabled_flag

      public static void nslice_loop_filter_across_slices_enabled_flag(long struct, int value)
    • nbitfield1

      public static void nbitfield1(long struct, int value)
    • nreserved

      public static void nreserved(long struct, int value)