File tree Expand file tree Collapse file tree 2 files changed +29
-2
lines changed
Expand file tree Collapse file tree 2 files changed +29
-2
lines changed Original file line number Diff line number Diff line change @@ -666,7 +666,8 @@ typedef struct _VAEncPictureParameterBufferAV1 {
666666 * 0: 16x16 block size, default value;
667667 * 1: 32x32 block size;
668668 * 2: 64x64 block size;
669- * 3: 8x8 block size.
669+ * 3: 8x8 block size;
670+ * 4: 4x4 block size.
670671 */
671672 uint8_t seg_id_block_size ;
672673
Original file line number Diff line number Diff line change @@ -507,8 +507,19 @@ typedef struct _VAEncPictureParameterBufferVP9 {
507507 */
508508 uint32_t skip_frames_size ;
509509
510+ /** \brief Block size for each Segment ID in Segment Map.
511+ * This specify the granularity of media driver of reading and processing the segment map.
512+ * 0: 16x16 block size, default value;
513+ * 1: 32x32 block size;
514+ * 2: 64x64 block size;
515+ * 3: 8x8 block size.
516+ */
517+ uint8_t seg_id_block_size ;
518+
519+ uint8_t va_reserved8 [3 ];
520+
510521 /** \brief Reserved bytes for future use, must be zero */
511- uint32_t va_reserved [VA_PADDING_MEDIUM ];
522+ uint32_t va_reserved [7 ];
512523} VAEncPictureParameterBufferVP9 ;
513524
514525
@@ -594,6 +605,21 @@ typedef struct _VAEncMiscParameterTypeVP9PerSegmantParam {
594605 */
595606
596607
608+ /** \brief Attribute value for VAConfigAttribEncVP9. */
609+ typedef union _VAConfigAttribValEncVP9 {
610+ struct {
611+ /**
612+ * \brief Min segmentId block size accepted.
613+ * This is the granularity of segmentation map.
614+ */
615+ uint32_t min_segid_block_size_accepted : 8 ;
616+
617+ /** \brief Reserved bits for future, must be zero. */
618+ uint32_t reserved : 24 ;
619+ } bits ;
620+ uint32_t value ;
621+ } VAConfigAttribValEncVP9 ;
622+
597623/**@}*/
598624
599625#ifdef __cplusplus
You can’t perform that action at this time.
0 commit comments