hardware/intel/common/libva
リビジョン | dd20f1c5f67e2392abd5a0f07c883aaefe8401f4 (tree) |
---|---|
日時 | 2018-08-15 18:06:27 |
作者 | Zhengguo.Xu <zhengguo.xu@inte...> |
コミッター | XinfengZhang |
add hevc subsets parameters structure
add hevc decoding subsets parameter buffer and syntax element related with entry point in hevc picture parameter structure
Signed-off-by: Zhengguo.Xu <zhengguo.xu@intel.com>
@@ -1640,6 +1640,19 @@ typedef enum | ||
1640 | 1640 | /** decode stream out buffer, intermedia data of decode, it may include MV, MB mode etc. |
1641 | 1641 | * it can be used to detect motion and analyze the frame contain */ |
1642 | 1642 | VADecodeStreamoutBufferType = 56, |
1643 | + | |
1644 | + /** \brief HEVC Decoding Subset Parameter buffer type | |
1645 | + * | |
1646 | + * The subsets parameter buffer is concatenation with one or multiple | |
1647 | + * subset entry point offsets. All the offset values are layed out one | |
1648 | + * by one according to slice order with first slice segment first, second | |
1649 | + * slice segment second, etc... The entry number is indicated by parameter | |
1650 | + * \ref num_entry_point_offsets. And the first entry position of the entry | |
1651 | + * point offsets for any slice segment is indicated by parameter | |
1652 | + * entry_offset_to_subset_array in VAPictureParameterBufferHEVC data structure. | |
1653 | + */ | |
1654 | + VASubsetsParameterBufferType = 57, | |
1655 | + | |
1643 | 1656 | VABufferTypeMax |
1644 | 1657 | } VABufferType; |
1645 | 1658 |
@@ -481,10 +481,14 @@ typedef struct _VASliceParameterBufferHEVC | ||
481 | 481 | int8_t ChromaOffsetL1[15][2]; |
482 | 482 | /** HEVC syntax element. */ |
483 | 483 | uint8_t five_minus_max_num_merge_cand; |
484 | + /** HEVC syntax element. */ | |
485 | + uint16_t num_entry_point_offsets; | |
486 | + /** HEVC syntax element. */ | |
487 | + uint16_t entry_offset_to_subset_array; | |
484 | 488 | /**@}*/ |
485 | 489 | |
486 | 490 | /** \brief Reserved bytes for future use, must be zero */ |
487 | - uint32_t va_reserved[VA_PADDING_LOW]; | |
491 | + uint32_t va_reserved[VA_PADDING_LOW - 1]; | |
488 | 492 | } VASliceParameterBufferHEVC; |
489 | 493 | |
490 | 494 | /** |