Skip to content

Commit

Permalink
Add sample depth related parameters for AV1e
Browse files Browse the repository at this point in the history
Add depth related params(bit_depth_minus8/subsampling_x/subsampling_y).
  • Loading branch information
Xuhenry1 authored and XinfengZhang committed Apr 27, 2022
1 parent 2aa18e3 commit 395e502
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion va/va_enc_av1.h
Expand Up @@ -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;
Expand Down

0 comments on commit 395e502

Please sign in to comment.