Class StdVideoEncodeH264WeightTable

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class StdVideoEncodeH264WeightTable extends Struct<StdVideoEncodeH264WeightTable> implements NativeResource

 struct StdVideoEncodeH264WeightTable {
     {@link StdVideoEncodeH264WeightTableFlags StdVideoEncodeH264WeightTableFlags} flags;
     uint8_t luma_log2_weight_denom;
     uint8_t chroma_log2_weight_denom;
     int8_t luma_weight_l0[STD_VIDEO_H264_MAX_NUM_LIST_REF];
     int8_t luma_offset_l0[STD_VIDEO_H264_MAX_NUM_LIST_REF];
     int8_t chroma_weight_l0[STD_VIDEO_H264_MAX_CHROMA_PLANES];
     int8_t chroma_offset_l0[STD_VIDEO_H264_MAX_CHROMA_PLANES];
     int8_t luma_weight_l1[STD_VIDEO_H264_MAX_NUM_LIST_REF];
     int8_t luma_offset_l1[STD_VIDEO_H264_MAX_NUM_LIST_REF];
     int8_t chroma_weight_l1[STD_VIDEO_H264_MAX_CHROMA_PLANES];
     int8_t chroma_offset_l1[STD_VIDEO_H264_MAX_CHROMA_PLANES];
 }
  • 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.
    • LUMA_LOG2_WEIGHT_DENOM

      public static final int LUMA_LOG2_WEIGHT_DENOM
      The struct member offsets.
    • CHROMA_LOG2_WEIGHT_DENOM

      public static final int CHROMA_LOG2_WEIGHT_DENOM
      The struct member offsets.
    • LUMA_WEIGHT_L0

      public static final int LUMA_WEIGHT_L0
      The struct member offsets.
    • LUMA_OFFSET_L0

      public static final int LUMA_OFFSET_L0
      The struct member offsets.
    • CHROMA_WEIGHT_L0

      public static final int CHROMA_WEIGHT_L0
      The struct member offsets.
    • CHROMA_OFFSET_L0

      public static final int CHROMA_OFFSET_L0
      The struct member offsets.
    • LUMA_WEIGHT_L1

      public static final int LUMA_WEIGHT_L1
      The struct member offsets.
    • LUMA_OFFSET_L1

      public static final int LUMA_OFFSET_L1
      The struct member offsets.
    • CHROMA_WEIGHT_L1

      public static final int CHROMA_WEIGHT_L1
      The struct member offsets.
    • CHROMA_OFFSET_L1

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

    • StdVideoEncodeH264WeightTable

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