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 {
666
666
* 0: 16x16 block size, default value;
667
667
* 1: 32x32 block size;
668
668
* 2: 64x64 block size;
669
- * 3: 8x8 block size.
669
+ * 3: 8x8 block size;
670
+ * 4: 4x4 block size.
670
671
*/
671
672
uint8_t seg_id_block_size ;
672
673
Original file line number Diff line number Diff line change @@ -507,8 +507,19 @@ typedef struct _VAEncPictureParameterBufferVP9 {
507
507
*/
508
508
uint32_t skip_frames_size ;
509
509
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
+
510
521
/** \brief Reserved bytes for future use, must be zero */
511
- uint32_t va_reserved [VA_PADDING_MEDIUM ];
522
+ uint32_t va_reserved [7 ];
512
523
} VAEncPictureParameterBufferVP9 ;
513
524
514
525
@@ -594,6 +605,21 @@ typedef struct _VAEncMiscParameterTypeVP9PerSegmantParam {
594
605
*/
595
606
596
607
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
+
597
623
/**@}*/
598
624
599
625
#ifdef __cplusplus
You can’t perform that action at this time.
0 commit comments