Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Oct 2019 18:56:59 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r515120 - in head/multimedia: cmrtlib libva-intel-media-driver libva-intel-media-driver/files
Message-ID:  <201910211856.x9LIux2p097424@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Mon Oct 21 18:56:59 2019
New Revision: 515120
URL: https://svnweb.freebsd.org/changeset/ports/515120

Log:
  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)

Added:
  head/multimedia/libva-intel-media-driver/files/patch-libva-2.5-compat   (contents, props changed)
Modified:
  head/multimedia/cmrtlib/Makefile   (contents, props changed)
  head/multimedia/cmrtlib/distinfo   (contents, props changed)
  head/multimedia/libva-intel-media-driver/Makefile   (contents, props changed)
  head/multimedia/libva-intel-media-driver/distinfo   (contents, props changed)

Modified: head/multimedia/cmrtlib/Makefile
==============================================================================
--- head/multimedia/cmrtlib/Makefile	Mon Oct 21 18:39:29 2019	(r515119)
+++ head/multimedia/cmrtlib/Makefile	Mon Oct 21 18:56:59 2019	(r515120)
@@ -2,7 +2,7 @@
 
 PORTNAME=	cmrtlib
 DISTVERSIONPREFIX=	intel-media-
-DISTVERSION=	19.3.0
+DISTVERSION=	19.4.pre1
 CATEGORIES=	multimedia
 
 MAINTAINER=	jbeich@FreeBSD.org

Modified: head/multimedia/cmrtlib/distinfo
==============================================================================
--- head/multimedia/cmrtlib/distinfo	Mon Oct 21 18:39:29 2019	(r515119)
+++ head/multimedia/cmrtlib/distinfo	Mon Oct 21 18:56:59 2019	(r515120)
@@ -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

Modified: head/multimedia/libva-intel-media-driver/Makefile
==============================================================================
--- head/multimedia/libva-intel-media-driver/Makefile	Mon Oct 21 18:39:29 2019	(r515119)
+++ head/multimedia/libva-intel-media-driver/Makefile	Mon Oct 21 18:56:59 2019	(r515120)
@@ -2,7 +2,7 @@
 
 PORTNAME=	media-driver
 DISTVERSIONPREFIX=	intel-media-
-DISTVERSION=	19.3.0
+DISTVERSION=	19.4.pre1
 CATEGORIES=	multimedia
 PKGNAMEPREFIX=	libva-intel-
 

Modified: head/multimedia/libva-intel-media-driver/distinfo
==============================================================================
--- head/multimedia/libva-intel-media-driver/distinfo	Mon Oct 21 18:39:29 2019	(r515119)
+++ head/multimedia/libva-intel-media-driver/distinfo	Mon Oct 21 18:56:59 2019	(r515120)
@@ -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

Added: head/multimedia/libva-intel-media-driver/files/patch-libva-2.5-compat
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/libva-intel-media-driver/files/patch-libva-2.5-compat	Mon Oct 21 18:56:59 2019	(r515120)
@@ -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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910211856.x9LIux2p097424>