• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

hardware/intel/common/libva


Commit MetaInfo

Revisiondd20f1c5f67e2392abd5a0f07c883aaefe8401f4 (tree)
Time2018-08-15 18:06:27
AuthorZhengguo.Xu <zhengguo.xu@inte...>
CommiterXinfengZhang

Log Message

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>

Change Summary

Incremental Difference

--- a/va/va.h
+++ b/va/va.h
@@ -1640,6 +1640,19 @@ typedef enum
16401640 /** decode stream out buffer, intermedia data of decode, it may include MV, MB mode etc.
16411641 * it can be used to detect motion and analyze the frame contain */
16421642 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+
16431656 VABufferTypeMax
16441657 } VABufferType;
16451658
--- a/va/va_dec_hevc.h
+++ b/va/va_dec_hevc.h
@@ -481,10 +481,14 @@ typedef struct _VASliceParameterBufferHEVC
481481 int8_t ChromaOffsetL1[15][2];
482482 /** HEVC syntax element. */
483483 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;
484488 /**@}*/
485489
486490 /** \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];
488492 } VASliceParameterBufferHEVC;
489493
490494 /**