pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia/libva Update to 2.3.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/72c060be3033
branches: trunk
changeset: 325658:72c060be3033
user: ryoon <ryoon%pkgsrc.org@localhost>
date: Fri Nov 23 08:05:04 2018 +0000
description:
Update to 2.3.0
Changelog:
version 2.3.0 - 30.Sep.2018
* Bump VA-API version to 1.3.0 and libva to 2.3.0
* Add max frame size parameters for multiple pass case in legacy mode
* Add new BRC mode AVBR
* Add new interface for High Dynamic Range tone mapping
* Add missing enum to string conversions
* Add hevc subsets parameters structure
* Add Customized Noise Reduction (HVS) interfaces
* Add new BRC mode definition QVBR
* Add more complete colour properties for use in VPP
Version 2.2.0 - DD.July.2018
* Bump VA-API version to 1.2.0 and libva to 2.2.0
* Add support for hevc range extension decoding
* Add support for fast intra prediction in HEVC FEI
* Add 10/12-bit YUV render target formats
* Add fourcc code for Y210/Y216/Y410/Y416/RGB565/BGR565
* Add VA_STATUS_ERROR_NOT_ENOUGH_BUFFER
* Add VA_SURFACE_ATTRIB_USAGE_HINT_EXPORT
* Improve documentation
Version 2.1.0 - 12.Feb.2018
* Bump VA-API version to 1.1.0 and libva to 2.1.0
* Add API for multi-frame processing
* Add entrypoint VAEntrypointStats for Statistics
* Add data structures for HEVC FEI support
* Add new attributes for decoding/encoding/video processing
* Add new VPP filter for Total Color Correction
* Add blending interface in VPP
* Add rotation interface in VPP
* Add mirroring interface in VPP
* Add Chroma siting flags in VPP
* Add new color standard definitions
* Add new interface for exporting surface
* Add message callbacks for drivers to use
Version 2.0.0 - 21.Oct.2017
* Bump VA-API version to 1.0.0 and libva to 2.0.0
* Add new API for H264 FEI support
* Add definition of VA_FOURCC_I420
* Add functions for converting common enums to strings
* Deprecate H.264 baseline profile and FMO support
* Deprecate packed misc packed header flag
* Delete libva-tpi and libva-egl backends
* Refine VASliceParameterBufferHEVC, VAEncMiscParameterBuffer
* Fix errors in VAConfigAttribValEncROI, VAEncMacroblockParameterBufferH264
* Fix race condition in wayland support
* Rename vaMessageCallback to VAMessageCallback
* Make logging callbacks library-safe
diffstat:
multimedia/libva/Makefile | 4 +-
multimedia/libva/PLIST | 10 ++++---
multimedia/libva/distinfo | 14 +++++-----
multimedia/libva/patches/patch-va_Makefile.am | 34 +++++++-------------------
multimedia/libva/patches/patch-va_va__trace.c | 32 +++++++-----------------
5 files changed, 34 insertions(+), 60 deletions(-)
diffs (229 lines):
diff -r 58ef7a41bc1f -r 72c060be3033 multimedia/libva/Makefile
--- a/multimedia/libva/Makefile Fri Nov 23 07:32:51 2018 +0000
+++ b/multimedia/libva/Makefile Fri Nov 23 08:05:04 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.18 2017/09/14 11:33:33 adam Exp $
+# $NetBSD: Makefile,v 1.19 2018/11/23 08:05:04 ryoon Exp $
-DISTNAME= libva-1.8.3
+DISTNAME= libva-2.3.0
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_GITHUB:=01org/}
EXTRACT_SUFX= .tar.bz2
diff -r 58ef7a41bc1f -r 72c060be3033 multimedia/libva/PLIST
--- a/multimedia/libva/PLIST Fri Nov 23 07:32:51 2018 +0000
+++ b/multimedia/libva/PLIST Fri Nov 23 08:05:04 2018 +0000
@@ -1,7 +1,6 @@
-@comment $NetBSD: PLIST,v 1.8 2017/02/24 19:14:17 maya Exp $
+@comment $NetBSD: PLIST,v 1.9 2018/11/23 08:05:04 ryoon Exp $
include/va/va.h
include/va/va_backend.h
-include/va/va_backend_tpi.h
include/va/va_backend_vpp.h
include/va/va_compat.h
include/va/va_dec_hevc.h
@@ -12,21 +11,24 @@
include/va/va_dricommon.h
include/va/va_drm.h
include/va/va_drmcommon.h
+include/va/va_egl.h
include/va/va_enc_h264.h
include/va/va_enc_hevc.h
include/va/va_enc_jpeg.h
include/va/va_enc_mpeg2.h
include/va/va_enc_vp8.h
include/va/va_enc_vp9.h
+include/va/va_fei.h
+include/va/va_fei_h264.h
+include/va/va_fei_hevc.h
+include/va/va_str.h
include/va/va_tpi.h
include/va/va_version.h
include/va/va_vpp.h
include/va/va_x11.h
lib/libva-drm.la
-lib/libva-tpi.la
lib/libva-x11.la
lib/libva.la
lib/pkgconfig/libva-drm.pc
-lib/pkgconfig/libva-tpi.pc
lib/pkgconfig/libva-x11.pc
lib/pkgconfig/libva.pc
diff -r 58ef7a41bc1f -r 72c060be3033 multimedia/libva/distinfo
--- a/multimedia/libva/distinfo Fri Nov 23 07:32:51 2018 +0000
+++ b/multimedia/libva/distinfo Fri Nov 23 08:05:04 2018 +0000
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.11 2017/09/14 11:33:33 adam Exp $
+$NetBSD: distinfo,v 1.12 2018/11/23 08:05:04 ryoon Exp $
-SHA1 (libva-1.8.3.tar.bz2) = 8eee9e28b0ae3bfbe8cd44a91396207714967204
-RMD160 (libva-1.8.3.tar.bz2) = c29b15bb81573962c2855a2a6526bce1a82d01ee
-SHA512 (libva-1.8.3.tar.bz2) = 870cfaa5c4487f4cb4b01c11379484e3884aa5e9026c3836cc7681804a5e08a0b245b2aa788984a24a3094bd64068fbd0406e66cb4c5e30fc84e31095eb4a3e1
-Size (libva-1.8.3.tar.bz2) = 453242 bytes
+SHA1 (libva-2.3.0.tar.bz2) = e1138529355cce78fa2edc7c5b1c5aeb40dd0ce5
+RMD160 (libva-2.3.0.tar.bz2) = e2e1b68d59006cf2d0d2b3761b8181e2021f2691
+SHA512 (libva-2.3.0.tar.bz2) = e6e8b5e5c3dcfc4ad11560828c849ff522e3cd8db6763fe8d2fcec41c05461b3f354aaba82c7c78b8623f3d1c842851209fbbd046d027a0b88c6d9861e2ecfd3
+Size (libva-2.3.0.tar.bz2) = 509537 bytes
SHA1 (patch-aa) = 3e4966037c46fada25cc869b672a7e78dda5b04b
-SHA1 (patch-va_Makefile.am) = 0bf9bb930bce79994ef060e6ad44cb1bf9eb0773
+SHA1 (patch-va_Makefile.am) = af963e8279aacf706b6442372ce7cb1436395c74
SHA1 (patch-va_glx_va__glx__private.h) = daf6552189295a86f1f073ef107b7449e4098251
-SHA1 (patch-va_va__trace.c) = 4dfdc200e9e34625929612e594d880cff1f6271d
+SHA1 (patch-va_va__trace.c) = 3947615333d00cf2b84c255ac85cbc97eda6652d
diff -r 58ef7a41bc1f -r 72c060be3033 multimedia/libva/patches/patch-va_Makefile.am
--- a/multimedia/libva/patches/patch-va_Makefile.am Fri Nov 23 07:32:51 2018 +0000
+++ b/multimedia/libva/patches/patch-va_Makefile.am Fri Nov 23 08:05:04 2018 +0000
@@ -1,26 +1,19 @@
-$NetBSD: patch-va_Makefile.am,v 1.1 2017/02/24 16:44:03 maya Exp $
+$NetBSD: patch-va_Makefile.am,v 1.2 2018/11/23 08:05:04 ryoon Exp $
Don't hardcore -ldl
---- va/Makefile.am.orig 2016-11-10 00:34:35.000000000 +0000
+--- va/Makefile.am.orig 2018-10-23 13:50:59.000000000 +0000
+++ va/Makefile.am
-@@ -76,13 +76,13 @@ noinst_HEADERS = $(libva_source_h_priv
- libva_la_SOURCES = $(libva_source_c)
+@@ -91,7 +91,7 @@ libva_la_SOURCES = $(libva_source_c)
+ libva_la_CFLAGS = $(libva_cflags)
libva_la_LDFLAGS = $(libva_ldflags)
libva_la_DEPENDENCIES = libva.syms
-libva_la_LIBADD = $(LIBVA_LIBS) -ldl
+libva_la_LIBADD = $(LIBVA_LIBS)
- lib_LTLIBRARIES += libva-tpi.la
- libva_tpi_la_SOURCES = va_tpi.c
- libva_tpi_la_LDFLAGS = $(LDADD) -no-undefined
- libva_tpi_la_DEPENDENCIES = libva.la
--libva_tpi_la_LIBADD = libva.la -ldl
-+libva_tpi_la_LIBADD = libva.la
-
if USE_DRM
SUBDIRS += drm
-@@ -91,7 +91,7 @@ libva_drm_la_SOURCES =
+@@ -101,7 +101,7 @@ libva_drm_la_CFLAGS = $(libva_cflags)
libva_drm_la_LDFLAGS = $(LDADD)
libva_drm_la_DEPENDENCIES = libva.la drm/libva_drm.la
libva_drm_la_LIBADD = libva.la drm/libva_drm.la \
@@ -29,7 +22,7 @@
endif
if USE_X11
-@@ -102,7 +102,7 @@ libva_x11_la_SOURCES =
+@@ -113,7 +113,7 @@ libva_x11_la_CFLAGS = $(libva_cflags)
libva_x11_la_LDFLAGS = $(LDADD)
libva_x11_la_DEPENDENCIES = libva.la x11/libva_x11.la
libva_x11_la_LIBADD = libva.la x11/libva_x11.la \
@@ -38,7 +31,7 @@
endif
if USE_GLX
-@@ -112,7 +112,7 @@ libva_glx_la_SOURCES =
+@@ -124,7 +124,7 @@ libva_glx_la_CFLAGS = $(libva_cflags)
libva_glx_la_LDFLAGS = $(LDADD)
libva_glx_la_DEPENDENCIES = libva.la glx/libva_glx.la libva-x11.la
libva_glx_la_LIBADD = libva.la glx/libva_glx.la libva-x11.la \
@@ -46,17 +39,8 @@
+ $(GLX_LIBS)
endif
- if USE_EGL
-@@ -122,7 +122,7 @@ libva_egl_la_SOURCES =
- libva_egl_la_LDFLAGS = $(LDADD)
- libva_egl_la_DEPENDENCIES = libva.la egl/libva_egl.la
- libva_egl_la_LIBADD = libva.la egl/libva_egl.la \
-- $(EGL_LIBS) -ldl
-+ $(EGL_LIBS)
- endif
-
if USE_WAYLAND
-@@ -132,7 +132,7 @@ libva_wayland_la_SOURCES =
+@@ -135,7 +135,7 @@ libva_wayland_la_CFLAGS = $(libva_cflag
libva_wayland_la_LDFLAGS = $(LDADD)
libva_wayland_la_DEPENDENCIES = libva.la wayland/libva_wayland.la
libva_wayland_la_LIBADD = libva.la wayland/libva_wayland.la \
@@ -64,4 +48,4 @@
+ $(WAYLAND_LIBS) $(DRM_LIBS)
endif
- DIST_SUBDIRS = x11 glx egl drm wayland
+ DIST_SUBDIRS = x11 glx drm wayland
diff -r 58ef7a41bc1f -r 72c060be3033 multimedia/libva/patches/patch-va_va__trace.c
--- a/multimedia/libva/patches/patch-va_va__trace.c Fri Nov 23 07:32:51 2018 +0000
+++ b/multimedia/libva/patches/patch-va_va__trace.c Fri Nov 23 08:05:04 2018 +0000
@@ -1,11 +1,11 @@
-$NetBSD: patch-va_va__trace.c,v 1.2 2017/02/24 16:44:03 maya Exp $
+$NetBSD: patch-va_va__trace.c,v 1.3 2018/11/23 08:05:04 ryoon Exp $
attempt to provide syscall(__NR_gettid) for most
systems. inspired by lldb Host.cpp
---- va/va_trace.c.orig 2016-11-10 00:34:35.000000000 +0000
+--- va/va_trace.c.orig 2018-10-23 13:50:59.000000000 +0000
+++ va/va_trace.c
-@@ -48,6 +48,12 @@
+@@ -50,10 +50,31 @@
#include <sys/stat.h>
#include <sys/syscall.h>
#include <pthread.h>
@@ -18,9 +18,6 @@
#include <unistd.h>
#include <time.h>
#include <errno.h>
-@@ -235,6 +241,21 @@ struct va_trace {
-
- /* Prototype declarations (functions defined in va.c) */
+pid_t get_tid() {
+#if defined(__linux__)
@@ -37,19 +34,10 @@
+#endif
+}
+
- void va_errorMessage(const char *msg, ...);
- void va_infoMessage(const char *msg, ...);
-
-@@ -294,7 +315,7 @@ static void add_trace_config_info(
- {
- struct trace_config_info *pconfig_info;
- int idx = 0;
-- pid_t thd_id = syscall(__NR_gettid);
-+ pid_t thd_id = get_tid();
-
- LOCK_RESOURCE(pva_trace);
-
-@@ -318,7 +339,7 @@ static void delete_trace_config_info(
+ /*
+ * Env. to debug some issue, e.g. the decode/encode issue in a video conference scenerio:
+ * .LIBVA_TRACE=log_file: general VA parameters saved into log_file
+@@ -290,7 +311,7 @@ static void add_trace_config_info(
{
struct trace_config_info *pconfig_info;
int idx = 0;
@@ -58,7 +46,7 @@
LOCK_RESOURCE(pva_trace);
-@@ -665,7 +686,7 @@ static struct trace_log_file *start_trac
+@@ -668,7 +689,7 @@ static struct trace_log_file *start_trac
{
struct trace_log_files_manager *plog_files_mgr = NULL;
struct trace_log_file *plog_file = NULL;
@@ -67,7 +55,7 @@
int i = 0;
LOCK_RESOURCE(pva_trace);
-@@ -704,7 +725,7 @@ static void refresh_log_file(
+@@ -707,7 +728,7 @@ static void refresh_log_file(
struct trace_context *ptra_ctx)
{
struct trace_log_file *plog_file = NULL;
@@ -76,7 +64,7 @@
int i = 0;
plog_file = ptra_ctx->plog_file;
-@@ -1226,7 +1247,7 @@ static void internal_TraceUpdateContext
+@@ -1230,7 +1251,7 @@ static void internal_TraceUpdateContext
{
struct trace_context *trace_ctx = NULL;
int i = 0, delete = 1;
Home |
Main Index |
Thread Index |
Old Index