This commit is contained in:
Ziyang Zhou
2022-07-16 10:18:13 +08:00
parent 829ddb19d3
commit a53c889571
43 changed files with 363 additions and 28 deletions

View File

@@ -305,8 +305,14 @@ typedef struct _VAEncSequenceParameterBufferAV1 {
uint32_t enable_cdef : 1;
/** \brief Corresponds to AV1 syntax element of the same name. */
uint32_t enable_restoration : 1;
/** \brief Sepcify number of bits for every channel(Y, U or V). */
uint32_t bit_depth_minus8 : 3;
/** \brief Corresponds to AV1 syntax element of the same name. */
uint32_t subsampling_x : 1;
/** \brief Corresponds to AV1 syntax element of the same name. */
uint32_t subsampling_y : 1;
/** \brief Reserved bytes for future use, must be zero. */
uint32_t reserved_bits : 18;
uint32_t reserved_bits : 13;
} bits;
uint32_t value;
} seq_fields;
@@ -588,7 +594,10 @@ typedef struct _VAEncPictureParameterBufferAV1
/** \brief Corresponds to AV1 syntax element of the same name. */
uint8_t order_hint;
uint16_t reserved16bits0;
/** \brief Corresponds to AV1 syntax element of the same name. */
uint8_t refresh_frame_flags;
uint8_t reserved8bits1;
/** \brief Suggest which frames to be used as references.
* see struct #VARefFrameCtrl for details.