multimedia/libva-intel-media-driver: update to 19.4.p1

Changes:	https://github.com/intel/media-driver/compare/intel-media-19.3.0...intel-media-19.4.pre1
Reported by:	GitHub (watch releases)
This commit is contained in:
Jan Beich 2019-10-21 18:56:59 +00:00
parent 0e33fbd6db
commit 730c182eb1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=515120
5 changed files with 41 additions and 8 deletions

View file

@ -2,7 +2,7 @@
PORTNAME= cmrtlib
DISTVERSIONPREFIX= intel-media-
DISTVERSION= 19.3.0
DISTVERSION= 19.4.pre1
CATEGORIES= multimedia
MAINTAINER= jbeich@FreeBSD.org

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1568272878
SHA256 (intel-media-driver-intel-media-19.3.0_GH0.tar.gz) = 43e679ae2023558a2f440e826688b225ffd0fec47371fc18b93bdfe0e480b7c9
SIZE (intel-media-driver-intel-media-19.3.0_GH0.tar.gz) = 15714417
TIMESTAMP = 1571323883
SHA256 (intel-media-driver-intel-media-19.4.pre1_GH0.tar.gz) = 713517a69a493166d64d90b60aff2b905a181c5ecab4e290ef34a17a50a59032
SIZE (intel-media-driver-intel-media-19.4.pre1_GH0.tar.gz) = 15739399

View file

@ -2,7 +2,7 @@
PORTNAME= media-driver
DISTVERSIONPREFIX= intel-media-
DISTVERSION= 19.3.0
DISTVERSION= 19.4.pre1
CATEGORIES= multimedia
PKGNAMEPREFIX= libva-intel-

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1568272878
SHA256 (intel-media-driver-intel-media-19.3.0_GH0.tar.gz) = 43e679ae2023558a2f440e826688b225ffd0fec47371fc18b93bdfe0e480b7c9
SIZE (intel-media-driver-intel-media-19.3.0_GH0.tar.gz) = 15714417
TIMESTAMP = 1571323883
SHA256 (intel-media-driver-intel-media-19.4.pre1_GH0.tar.gz) = 713517a69a493166d64d90b60aff2b905a181c5ecab4e290ef34a17a50a59032
SIZE (intel-media-driver-intel-media-19.4.pre1_GH0.tar.gz) = 15739399

View file

@ -0,0 +1,33 @@
media_driver/linux/common/codec/ddi/media_ddi_encode_hevc.cpp:472:84: error: no member named 'low_delay_seq' in '_VAEncSequenceParameterBufferHEVC::(anonymous struct at /usr/local/include/va/va_enc_hevc.h:202:9)'
hevcSeqParams->LowDelayMode = seqParams->seq_fields.bits.low_delay_seq;
~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
media_driver/linux/common/codec/ddi/media_ddi_encode_hevc.cpp:473:84: error: no member named 'hierachical_flag' in '_VAEncSequenceParameterBufferHEVC::(anonymous struct at /usr/local/include/va/va_enc_hevc.h:202:9)'
hevcSeqParams->HierarchicalFlag = seqParams->seq_fields.bits.hierachical_flag;
~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
media_driver/linux/common/codec/ddi/media_ddi_encode_hevc.cpp:559:52: error: no member named 'hierarchical_level_plus1' in '_VAEncPictureParameterBufferHEVC'
hevcPicParams->HierarchLevelPlus1 = picParams->hierarchical_level_plus1;
~~~~~~~~~ ^
--- media_driver/linux/common/codec/ddi/media_ddi_encode_hevc.cpp.orig 2019-10-17 14:51:23 UTC
+++ media_driver/linux/common/codec/ddi/media_ddi_encode_hevc.cpp
@@ -469,8 +469,10 @@ VAStatus DdiEncodeHevc::ParseSeqParams(void *ptr)
hevcSeqParams->SAO_enabled_flag = seqParams->seq_fields.bits.sample_adaptive_offset_enabled_flag;
hevcSeqParams->pcm_enabled_flag = seqParams->seq_fields.bits.pcm_enabled_flag;
hevcSeqParams->pcm_loop_filter_disable_flag = seqParams->seq_fields.bits.pcm_loop_filter_disabled_flag;
+#if VA_CHECK_VERSION(1, 6, 0)
hevcSeqParams->LowDelayMode = seqParams->seq_fields.bits.low_delay_seq;
hevcSeqParams->HierarchicalFlag = seqParams->seq_fields.bits.hierachical_flag;
+#endif
hevcSeqParams->log2_max_coding_block_size_minus3 = seqParams->log2_diff_max_min_luma_coding_block_size +
seqParams->log2_min_luma_coding_block_size_minus3;
@@ -556,7 +558,9 @@ VAStatus DdiEncodeHevc::ParsePicParams(
/* picParams->coding_type; App is always setting this to 0 */
hevcPicParams->CodingType = picParams->pic_fields.bits.coding_type;
+#if VA_CHECK_VERSION(1, 6, 0)
hevcPicParams->HierarchLevelPlus1 = picParams->hierarchical_level_plus1;
+#endif
/* Reset it to zero now */
hevcPicParams->NumSlices = 0;