Skip to content

Commit 97d750f

Browse files
RachelChengRJXinfengZhang
authored andcommitted
Add HierarchicalFlag & hierarchical_level_plus1 for AV1e.
Signed-off-by: Cheng, Rachel <[email protected]>
1 parent 710e0c2 commit 97d750f

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

va/va_enc_av1.h

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,10 @@ typedef struct _VAEncSequenceParameterBufferAV1 {
249249
*/
250250
uint8_t seq_tier;
251251

252-
uint8_t reserved8b;
252+
/** \brief Indicates whether or not the encoding is in dyadic hierarchical GOP structure.
253+
* value range [0..1].
254+
*/
255+
uint8_t HierarchicalFlag;
253256

254257
/** \brief Period between intra_only frames. */
255258
uint32_t intra_period;
@@ -581,7 +584,11 @@ typedef struct _VAEncPictureParameterBufferAV1
581584
*/
582585
uint8_t ref_frame_idx[7];
583586

584-
uint8_t reserved8bits0;
587+
/** \brief When hierarchical_level_plus1 > 0, hierarchical_level_plus1-1 indicates
588+
* the current frame's level. If VAEncMiscParameterTemporalLayerStructure
589+
* is valid (number_of_layers >0), hierarchical_level_plus1 shouldn't larger than number_of_layers.
590+
*/
591+
uint8_t hierarchical_level_plus1;
585592

586593
/** \brief primary reference frame.
587594
* Index into reference_frames[]

0 commit comments

Comments
 (0)