Added patch file.
This commit is contained in:
parent
a7521caf3c
commit
ad75b29e0a
32
libva-slice.patch
Normal file
32
libva-slice.patch
Normal file
@ -0,0 +1,32 @@
|
||||
From bc7802d8ae34c3af02c85df3166aafcdd92707fb Mon Sep 17 00:00:00 2001
|
||||
From: "Xu, Zhengguo" <zhengguo.xu@intel.com>
|
||||
Date: Thu, 19 Sep 2019 21:09:19 -0400
|
||||
Subject: [PATCH] Add missed slice parameter 'slice_data_num_emu_prevn_bytes'
|
||||
|
||||
Signed-off-by: Xu, Zhengguo <zhengguo.xu@intel.com>
|
||||
---
|
||||
va/va_dec_hevc.h | 4 +++-
|
||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/va/va_dec_hevc.h b/va/va_dec_hevc.h
|
||||
index 25234f1..a9f48fb 100644
|
||||
--- a/va/va_dec_hevc.h
|
||||
+++ b/va/va_dec_hevc.h
|
||||
@@ -381,6 +381,8 @@ typedef struct _VASliceParameterBufferHEVC
|
||||
uint32_t slice_data_offset;
|
||||
/** \brief Slice data buffer flags. See \c VA_SLICE_DATA_FLAG_XXX. */
|
||||
uint32_t slice_data_flag;
|
||||
+ /** \brief Number of emulation prevention bytes in slice head. */
|
||||
+ uint16_t slice_data_num_emu_prevn_bytes;
|
||||
/**
|
||||
* \brief Byte offset from NAL unit header to the begining of slice_data().
|
||||
*
|
||||
@@ -488,7 +490,7 @@ typedef struct _VASliceParameterBufferHEVC
|
||||
/**@}*/
|
||||
|
||||
/** \brief Reserved bytes for future use, must be zero */
|
||||
- uint32_t va_reserved[VA_PADDING_LOW - 1];
|
||||
+ uint32_t va_reserved[VA_PADDING_LOW - 2];
|
||||
} VASliceParameterBufferHEVC;
|
||||
|
||||
/**
|
||||
Loading…
Reference in New Issue
Block a user