Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[xsrc/trunk]: xsrc/external/mit/libvdpau/dist initial import of libvdpau-1.2
details: https://anonhg.NetBSD.org/xsrc/rev/a69cb7424a77
branches: trunk
changeset: 10306:a69cb7424a77
user: mrg <mrg%NetBSD.org@localhost>
date: Mon Jul 08 20:03:03 2019 +0000
description:
initial import of libvdpau-1.2
diffstat:
external/mit/libvdpau/dist/ChangeLog | 114 +++
external/mit/libvdpau/dist/Makefile.in | 27 +-
external/mit/libvdpau/dist/aclocal.m4 | 611 ++++++++++------
external/mit/libvdpau/dist/compile | 13 +-
external/mit/libvdpau/dist/config.guess | 679 ++++++++++---------
external/mit/libvdpau/dist/config.sub | 304 ++++----
external/mit/libvdpau/dist/configure | 346 +++++----
external/mit/libvdpau/dist/configure.ac | 2 +-
external/mit/libvdpau/dist/depcomp | 10 +-
external/mit/libvdpau/dist/doc/Makefile.in | 13 +-
external/mit/libvdpau/dist/include/vdpau/vdpau.h | 187 +++++-
external/mit/libvdpau/dist/install-sh | 47 +-
external/mit/libvdpau/dist/ltmain.sh | 790 ++++++++++++++--------
external/mit/libvdpau/dist/missing | 16 +-
external/mit/libvdpau/dist/src/Makefile.in | 39 +-
external/mit/libvdpau/dist/test-driver | 10 +-
external/mit/libvdpau/dist/test/Makefile.in | 50 +-
external/mit/libvdpau/dist/trace/Makefile.in | 51 +-
18 files changed, 2051 insertions(+), 1258 deletions(-)
diffs (truncated from 6469 to 300 lines):
diff -r 8d2ae54cad9b -r a69cb7424a77 external/mit/libvdpau/dist/ChangeLog
--- a/external/mit/libvdpau/dist/ChangeLog Mon Jul 08 19:58:13 2019 +0000
+++ b/external/mit/libvdpau/dist/ChangeLog Mon Jul 08 20:03:03 2019 +0000
@@ -1,3 +1,117 @@
+commit 1b468dea984207a3fad4fdf4f6648f62300b2936
+Author: ManojGuptaBonda <mbonda%nvidia.com@localhost>
+Date: Mon Dec 31 17:02:30 2018 +0530
+
+ Add HEVC 444 support in VDPAU API
+
+ Added new VdpPictureInfoHEVC444 structure for HEVC444 support.
+ having the SPS,PPS range extension variables that are defined for HEVC
+ 444. VdpPictureInfoHEVC is part of VdpPictureInfoHEVC444.
+
+ New VdpYCbCr Formats are added to be used in get/putbits for YUV 4:4:4
+ surfaces.
+
+ Added the capability bits for chromatypes supported.
+
+ Add support to return the supported chroma types in
+ VdpDecoderQueryProfileCapability API. The supported chroma types
+ are returned in a bitmask.
+
+ Signed-off-by: Aaron Plattner <aplattner%nvidia.com@localhost>
+
+commit 52a6ea26bae0c4b2c5bace65dd7cc09c8e677bda
+Author: Aaron Plattner <aplattner%nvidia.com@localhost>
+Date: Tue Nov 20 11:10:36 2018 -0800
+
+ Fix typos from commit 53eeb07f68d483fee86ad872884aee890d5aa393
+
+ Signed-off-by: Aaron Plattner <aplattner%nvidia.com@localhost>
+
+commit 53eeb07f68d483fee86ad872884aee890d5aa393
+Author: ManojGuptaBonda <mbonda%nvidia.com@localhost>
+Date: Tue Nov 20 13:29:37 2018 +0530
+
+ Add new frame and field mode chroma types. Add VdpDecoderQueryProfileCapability API
+
+ Chroma types :
+ VDP_CHROMA_TYPE_420
+ VDP_CHROMA_TYPE_422
+ VDP_CHROMA_TYPE_444
+
+ already exist, surfaces of these types could be transparently used with
+ any VdpVideoDecoder. The implementation is free to internally convert
+ the surface between frame/field(NV12/NV24) as required by
+ VdpVideoDecoder operation. The interop API would allow registration of
+ these surfaces for either field or frame based interop.
+
+ This change adds new enums for frame and field chroma types:
+ VDP_CHROMA_TYPE_420_FIELD
+ VDP_CHROMA_TYPE_422_FIELD
+ VDP_CHROMA_TYPE_444_FIELD
+ VDP_CHROMA_TYPE_420_FRAME
+ VDP_CHROMA_TYPE_422_FRAME
+ VDP_CHROMA_TYPE_444_FRAME
+
+ So that frame/field based video surfaces can be created and exposed via
+ VDPAU OpenGL interop.
+
+ The new chroma types could only be used by a VdpVideoDecoder that
+ supports output to field/frame surfaces respectively. Internal surface
+ convertion is not allowed. The interop API would allow registration
+ of these surfaces to field/frame based interop only. This will avoid
+ implicit conversions and allocation of shadow surface.
+
+ Existing VdpDecoderQueryCapabilities() returns maxlevel, maxwidth,
+ height and macro blocks for a given decoder profile. Since it is not
+ possible to extend this API to return more capabilities, adding new API
+ VdpDecoderQueryProfileCapability(). In this change, new API will be able
+ to return supported picture structure along with other existing
+ capabilities.
+
+ VdpDecoderQueryProfileCapability() can be extended in future to query
+ newer capabilities exposed. VdpDecoderCapabilities defines the
+ capabilities that can be queried.
+
+ This function returns queried capability of the requested profile on the
+ underlying h/w. By design, only one capability can be queried at a time.
+
+ Signed-off-by: Manoj Bonda <mbonda%nvidia.com@localhost>
+ Signed-off-by: Aaron Plattner <aplattner%nvidia.com@localhost>
+
+commit a21bf7aa438f5dd40d0a300a3167aa3d6f26dccc
+Author: José Hiram Soltren <jsoltren%nvidia.com@localhost>
+Date: Wed Sep 9 15:05:01 2015 -0500
+
+ Fix doc error on displayable surface types
+
+ VdpVideoSurface is not directly displayable in the current
+ implementation of VDPAU. VdpOutputSurface is. Make the documentation
+ consistent with reality.
+
+ Signed-off-by: Aaron Plattner <aplattner%nvidia.com@localhost>
+
+commit fb5362be7a6d6f89f76c5e171c339f5fa1916d38
+Author: Aaron Plattner <aplattner%nvidia.com@localhost>
+Date: Mon Sep 7 21:16:58 2015 -0700
+
+ util.h: Make getenv_wrapper() static inline
+
+ Otherwise, GCC generates a "â??getenv_wrapperâ?? defined but not used" warning.
+
+ Signed-off-by: Aaron Plattner <aplattner%nvidia.com@localhost>
+
+commit 1cda354bdfd0c9ca107293b84b52f4464fdbedcc
+Author: Rico Tzschichholz <ricotz%ubuntu.com@localhost>
+Date: Tue Sep 1 10:45:11 2015 +0200
+
+ mesa_dri2: Add missing include of config.h to define _GNU_SOURCE
+
+ Fix build with -Wimplicit-function-declaration while secure_getenv() is
+ guarded by __USE_GNU.
+
+ Reviewed-by: Aaron Plattner <aplattner%nvidia.com@localhost>
+ Tested-by: Stefan Dirsch <sndirsch%suse.de@localhost>
+
commit af517f56d64118520aa0c8456318dd9ec3307e94
Author: Aaron Plattner <aplattner%nvidia.com@localhost>
Date: Mon Aug 31 13:59:50 2015 -0700
diff -r 8d2ae54cad9b -r a69cb7424a77 external/mit/libvdpau/dist/Makefile.in
--- a/external/mit/libvdpau/dist/Makefile.in Mon Jul 08 19:58:13 2019 +0000
+++ b/external/mit/libvdpau/dist/Makefile.in Mon Jul 08 20:03:03 2019 +0000
@@ -1,7 +1,7 @@
-# Makefile.in generated by automake 1.15 from Makefile.am.
+# Makefile.in generated by automake 1.16.1 from Makefile.am.
# @configure_input@
-# Copyright (C) 1994-2014 Free Software Foundation, Inc.
+# Copyright (C) 1994-2018 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -165,7 +165,7 @@
$(RECURSIVE_CLEAN_TARGETS) \
$(am__extra_recursive_targets)
AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
- cscope distdir dist dist-all distcheck
+ cscope distdir distdir-am dist dist-all distcheck
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
$(LISP)config.h.in
# Read a list of newline-separated strings from the standard input,
@@ -190,8 +190,8 @@
DIST_SUBDIRS = $(SUBDIRS)
am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
$(srcdir)/vdpau.pc.in AUTHORS COPYING ChangeLog INSTALL NEWS \
- README compile config.guess config.sub install-sh ltmain.sh \
- missing
+ README compile config.guess config.sub depcomp install-sh \
+ ltmain.sh missing
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
@@ -398,8 +398,8 @@
echo ' $(SHELL) ./config.status'; \
$(SHELL) ./config.status;; \
*) \
- echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
- cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
esac;
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
@@ -564,7 +564,10 @@
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
-distdir: $(DISTFILES)
+distdir: $(BUILT_SOURCES)
+ $(MAKE) $(AM_MAKEFLAGS) distdir-am
+
+distdir-am: $(DISTFILES)
$(am__remove_distdir)
test -d "$(distdir)" || mkdir "$(distdir)"
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
@@ -632,7 +635,7 @@
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
|| chmod -R a+r "$(distdir)"
dist-gzip: distdir
- tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
+ tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
$(am__post_remove_distdir)
dist-bzip2: distdir
tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
@@ -657,7 +660,7 @@
@echo WARNING: "Support for shar distribution archives is" \
"deprecated." >&2
@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
- shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
+ shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
$(am__post_remove_distdir)
dist-zip: distdir
@@ -675,7 +678,7 @@
distcheck: dist
case '$(DIST_ARCHIVES)' in \
*.tar.gz*) \
- GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
+ eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
*.tar.bz2*) \
bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
*.tar.lz*) \
@@ -685,7 +688,7 @@
*.tar.Z*) \
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
*.shar.gz*) \
- GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
+ eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
*.zip*) \
unzip $(distdir).zip ;;\
esac
diff -r 8d2ae54cad9b -r a69cb7424a77 external/mit/libvdpau/dist/aclocal.m4
--- a/external/mit/libvdpau/dist/aclocal.m4 Mon Jul 08 19:58:13 2019 +0000
+++ b/external/mit/libvdpau/dist/aclocal.m4 Mon Jul 08 20:03:03 2019 +0000
@@ -1,6 +1,6 @@
-# generated automatically by aclocal 1.15 -*- Autoconf -*-
-
-# Copyright (C) 1996-2014 Free Software Foundation, Inc.
+# generated automatically by aclocal 1.16.1 -*- Autoconf -*-
+
+# Copyright (C) 1996-2018 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -22,7 +22,7 @@
# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
#
-# Copyright (C) 1996-2001, 2003-2015 Free Software Foundation, Inc.
+# Copyright (C) 1996-2001, 2003-2018 Free Software Foundation, Inc.
# Written by Gordon Matzigkeit, 1996
#
# This file is free software; the Free Software Foundation gives
@@ -241,8 +241,8 @@
ofile=libtool
can_build_shared=yes
-# All known linkers require a '.a' archive for static linking (except MSVC,
-# which needs '.lib').
+# All known linkers require a '.a' archive for static linking (except MSVC and
+# ICC, which need '.lib').
libext=a
with_gnu_ld=$lt_cv_prog_gnu_ld
@@ -1056,8 +1056,8 @@
_LT_EOF
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
- echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
- $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
+ echo "$AR $AR_FLAGS libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
+ $AR $AR_FLAGS libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD
$RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD
cat > conftest.c << _LT_EOF
@@ -1507,9 +1507,22 @@
m4_defun([_LT_PROG_AR],
[AC_CHECK_TOOLS(AR, [ar], false)
: ${AR=ar}
-: ${AR_FLAGS=cru}
_LT_DECL([], [AR], [1], [The archiver])
-_LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive])
+
+# Use ARFLAGS variable as AR's operation code to sync the variable naming with
+# Automake. If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
+# higher priority because thats what people were doing historically (setting
+# ARFLAGS for automake and AR_FLAGS for libtool). FIXME: Make the AR_FLAGS
+# variable obsoleted/removed.
+
+test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
+lt_ar_flags=$AR_FLAGS
+_LT_DECL([], [lt_ar_flags], [0], [Flags to create an archive (by configure)])
+
+# Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override
+# by AR_FLAGS because that was never working and AR_FLAGS is about to die.
+_LT_DECL([], [AR_FLAGS], [\@S|@{ARFLAGS-"\@S|@lt_ar_flags"}],
+ [Flags to create an archive])
AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file],
[lt_cv_ar_at_file=no
@@ -2221,26 +2234,35 @@
striplib=
old_striplib=
AC_MSG_CHECKING([whether stripping libraries is possible])
-if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
- test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
- test -z "$striplib" && striplib="$STRIP --strip-unneeded"
- AC_MSG_RESULT([yes])
+if test -z "$STRIP"; then
+ AC_MSG_RESULT([no])
else
-# FIXME - insert some real tests, host_os isn't really good enough
- case $host_os in
- darwin*)
- if test -n "$STRIP"; then
+ if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
+ old_striplib="$STRIP --strip-debug"
+ striplib="$STRIP --strip-unneeded"
Home |
Main Index |
Thread Index |
Old Index