Hello community, here is the log from the commit of package libvdpau for openSUSE:Factory checked in at 2020-04-15 19:52:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libvdpau (Old) and /work/SRC/openSUSE:Factory/.libvdpau.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libvdpau" Wed Apr 15 19:52:35 2020 rev:35 rq:793247 version:1.4 Changes: -------- --- /work/SRC/openSUSE:Factory/libvdpau/libvdpau.changes 2019-09-02 13:22:09.073348553 +0200 +++ /work/SRC/openSUSE:Factory/.libvdpau.new.2738/libvdpau.changes 2020-04-15 19:52:37.113548232 +0200 @@ -1,0 +2,13 @@ +Sat Apr 11 20:32:45 UTC 2020 - Stefan Dirsch <[email protected]> + +- Update libvdpau to version 1.4 + * adds 10,12-Bit decode support to VDPAU API + * Adds HEVC Main 10/12 and HEVC Main 444 10/12 decode support in + VDPAU API by Adding new profiles present in Range Extension + profiles.Also Adds new VdpChromaTypes for 16bit. +- Updated vdpauinfo to version 1.3 + * Add names for the new 4:4:4 surface formats + * Add support for VP9 in vdpauinfo + * Depend on vdpau >= 1.3 for VP9 support + +------------------------------------------------------------------- Old: ---- libvdpau-1.3.tar.bz2 vdpauinfo-1.0.tar.gz New: ---- libvdpau-1.4.tar.bz2 vdpauinfo-1.3.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libvdpau.spec ++++++ --- /var/tmp/diff_new_pack.dTZAPP/_old 2020-04-15 19:52:38.221548732 +0200 +++ /var/tmp/diff_new_pack.dTZAPP/_new 2020-04-15 19:52:38.225548734 +0200 @@ -1,7 +1,7 @@ # # spec file for package libvdpau # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,17 +17,19 @@ Name: libvdpau -Version: 1.3 +Version: 1.4 Release: 0 Summary: VDPAU wrapper and trace libraries License: MIT Group: Development/Libraries/C and C++ URL: http://www.freedesktop.org/wiki/Software/VDPAU/ Source: https://gitlab.freedesktop.org/vdpau/libvdpau/-/archive/%{version}/%{name}-%{version}.tar.bz2 -Source1: http://people.freedesktop.org/~aplattner/vdpau/vdpauinfo-1.0.tar.gz +Source1: https://gitlab.freedesktop.org/vdpau/vdpauinfo/-/archive/vdpauinfo-1.3/vdpauinfo-1.3.tar.bz2 Source2: README Source99: baselibs.conf Source100: %{name}-rpmlintrc +BuildRequires: autoconf +BuildRequires: automake BuildRequires: doxygen BuildRequires: fdupes BuildRequires: gcc-c++ @@ -92,6 +94,7 @@ rm %{buildroot}%{_libdir}/vdpau/libvdpau_trace.so pushd ../vdpauinfo-* +autoreconf -fi %configure \ VDPAU_CFLAGS=-I%{buildroot}%{_includedir} \ VDPAU_LIBS="-L%{buildroot}/%{_libdir} -lvdpau -lX11" ++++++ libvdpau-1.3.tar.bz2 -> libvdpau-1.4.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libvdpau-1.3/.gitlab-ci.yml new/libvdpau-1.4/.gitlab-ci.yml --- old/libvdpau-1.3/.gitlab-ci.yml 2019-08-28 19:57:55.000000000 +0200 +++ new/libvdpau-1.4/.gitlab-ci.yml 2020-04-09 16:45:23.000000000 +0200 @@ -7,7 +7,7 @@ build: stage: build script: - - pacman --noconfirm -Sy gcc meson ninja pkg-config doxygen graphviz texlive-bin + - pacman --noconfirm -Sy gcc meson ninja pkg-config doxygen graphviz texlive-bin xorgproto - ./test/gitlab-ci.sh artifacts: paths: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libvdpau-1.3/include/meson.build new/libvdpau-1.4/include/meson.build --- old/libvdpau-1.3/include/meson.build 2019-08-28 19:57:55.000000000 +0200 +++ new/libvdpau-1.4/include/meson.build 2020-04-09 16:45:23.000000000 +0200 @@ -1 +1 @@ -install_subdir('vdpau', install_dir : 'include') +subdir('vdpau') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libvdpau-1.3/include/vdpau/meson.build new/libvdpau-1.4/include/vdpau/meson.build --- old/libvdpau-1.3/include/vdpau/meson.build 1970-01-01 01:00:00.000000000 +0100 +++ new/libvdpau-1.4/include/vdpau/meson.build 2020-04-09 16:45:23.000000000 +0200 @@ -0,0 +1,4 @@ +# install headers +install_headers('vdpau.h', + 'vdpau_x11.h', + subdir : 'vdpau') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libvdpau-1.3/include/vdpau/vdpau.h new/libvdpau-1.4/include/vdpau/vdpau.h --- old/libvdpau-1.3/include/vdpau/vdpau.h 2019-08-28 19:57:55.000000000 +0200 +++ new/libvdpau-1.4/include/vdpau/vdpau.h 2020-04-09 16:45:23.000000000 +0200 @@ -812,7 +812,7 @@ */ typedef int VdpBool; -/*@}*/ +/** @} */ /** * \defgroup misc_types Miscellaneous Types @@ -897,6 +897,65 @@ * interoped with OpenGL if the matching field/frame structure is * specified in the OpenGL API */ #define VDP_CHROMA_TYPE_444_FRAME ((VdpChromaType)8) +/** \hideinitializer \brief 4:2:0 chroma format. Undefined field/frame based + * Video surfaces allocated with this chroma type have undefined + * field/frame structure. The implementation is free to internally morph + * the surface between frame/field as required by VdpVideoDecoder operation. + * Interop with OpenGL allows registration of these surfaces for either + * field- or frame-based interop. But, an implicit field/frame structure + * conversion may be performed. + */ +#define VDP_CHROMA_TYPE_420_16 ((VdpChromaType)9) +/** \hideinitializer \brief 4:2:2 chroma format. Undefined field/frame based + * Video surfaces allocated with this chroma type have undefined + * field/frame structure. The implementation is free to internally morph + * the surface between frame/field as required by VdpVideoDecoder operation. + * Interop with OpenGL allows registration of these surfaces for either + * field- or frame-based interop. But, an implicit field/frame structure + * conversion may be performed. + */ +#define VDP_CHROMA_TYPE_422_16 ((VdpChromaType)10) +/** \hideinitializer \brief 4:4:4 chroma format. Undefined field/frame based + * Video surfaces allocated with this chroma type have undefined + * field/frame structure. The implementation is free to internally morph + * the surface between frame/field as required by VdpVideoDecoder operation. + * Interop with OpenGL allows registration of these surfaces for either + * field- or frame-based interop. But, an implicit field/frame structure + * conversion may be performed. + */ +#define VDP_CHROMA_TYPE_444_16 ((VdpChromaType)11) + +/** \hideinitializer \brief 4:2:0 chroma format. Field based. + * Video surfaces allocated with this chroma type can only be + * interoped with OpenGL if the matching field/frame structure is + * specified in the OpenGL API */ +#define VDP_CHROMA_TYPE_420_FIELD_16 ((VdpChromaType)12) +/** \hideinitializer \brief 4:2:2 chroma format. Field based. + * Video surfaces allocated with this chroma type can only be + * interoped with OpenGL if the matching field/frame structure is + * specified in the OpenGL API */ +#define VDP_CHROMA_TYPE_422_FIELD_16 ((VdpChromaType)13) +/** \hideinitializer \brief 4:4:4 chroma format. Field based. + * Video surfaces allocated with this chroma type can only be + * interoped with OpenGL if the matching field/frame structure is + * specified in the OpenGL API */ +#define VDP_CHROMA_TYPE_444_FIELD_16 ((VdpChromaType)14) + +/** \hideinitializer \brief 4:2:0 chroma format. Frame based. + * Video surfaces allocated with this chroma type can only be + * interoped with OpenGL if the matching field/frame structure is + * specified in the OpenGL API */ +#define VDP_CHROMA_TYPE_420_FRAME_16 ((VdpChromaType)15) +/** \hideinitializer \brief 4:2:2 chroma format. Frame based. + * Video surfaces allocated with this chroma type can only be + * interoped with OpenGL if the matching field/frame structure is + * specified in the OpenGL API */ +#define VDP_CHROMA_TYPE_422_FRAME_16 ((VdpChromaType)16) +/** \hideinitializer \brief 4:4:4 chroma format. Frame based. + * Video surfaces allocated with this chroma type can only be + * interoped with OpenGL if the matching field/frame structure is + * specified in the OpenGL API */ +#define VDP_CHROMA_TYPE_444_FRAME_16 ((VdpChromaType)17) /** * \brief The set of all known YCbCr surface formats. @@ -1009,6 +1068,50 @@ * Applications should access this data via a uint8_t pointer. */ #define VDP_YCBCR_FORMAT_Y_U_V_444 ((VdpYCbCrFormat)7) +/** + * \hideinitializer + * \brief The P010 surface format. + * + * This format has two planes, a Y plane and a UV plane. + * + * The Y plane is an array of two byte sized Y components. + * Applications should access this data via a uint16_t pointer. + * + * The UV plane is an array of interleaved two byte sized U and V + * components, in the order U, V, U, V. Applications should + * access this data via a uint8_t pointer. + * + * Note that the P010 surface format has an identical memory + * layout as the P016 surface format, with bits 0 through 5 + * set to zero. + */ +#define VDP_YCBCR_FORMAT_P010 ((VdpYCbCrFormat)8) +/** + * \hideinitializer + * \brief The P016 surface format. + * + * This format has two planes, a Y plane and a UV plane. + * + * The Y plane is an array of two byte sized Y components. + * Applications should access this data via a uint16_t pointer. + * + * The UV plane is an array of interleaved two byte sized U and V + * components, in the order U, V, U, V. Applications should + * access this data via a uint8_t pointer. + */ +#define VDP_YCBCR_FORMAT_P016 ((VdpYCbCrFormat)9) + /** + * \hideinitializer + * \brief The "Y_U_V_444_16" YCbCr surface format. + * + * This format has three planes, a Y plane, a V plane, and a U + * plane. + * + * Each of the planes is an array of two byte-sized components. + * + * Applications should access this data via a uint16_t pointer. + */ + #define VDP_YCBCR_FORMAT_Y_U_V_444_16 ((VdpYCbCrFormat)11) /** * \brief The set of all known RGB surface formats. @@ -1183,7 +1286,7 @@ float alpha; } VdpColor; -/*@}*/ +/** @} */ /** * \defgroup error_handling Error Handling @@ -1342,7 +1445,7 @@ VdpStatus status ); -/*@}*/ +/** @} */ /** * \defgroup versioning Versioning @@ -1413,7 +1516,7 @@ char const * * information_string ); -/*@}*/ +/** @} */ /** * \defgroup VdpDevice VdpDevice; Primary API object @@ -1443,7 +1546,7 @@ VdpDevice device ); -/*@}*/ +/** @} */ /** * \defgroup VdpCSCMatrix VdpCSCMatrix; CSC Matrix Manipulation @@ -1550,7 +1653,7 @@ VdpCSCMatrix * csc_matrix ); -/*@}*/ +/** @} */ /** * \defgroup VdpVideoSurface VdpVideoSurface; Video Surface object @@ -1758,7 +1861,7 @@ uint32_t const * source_pitches ); -/*@}*/ +/** @} */ /** * \defgroup VdpOutputSurface VdpOutputSurface; Output Surface object @@ -2063,7 +2166,7 @@ VdpCSCMatrix const * csc_matrix ); -/*@}*/ +/** @} */ /** * \defgroup VdpBitmapSurface VdpBitmapSurface; Bitmap Surface object @@ -2210,7 +2313,7 @@ VdpRect const * destination_rect ); -/*@}*/ +/** @} */ /** * \defgroup VdpOutputSurfaceRender VdpOutputSurface Rendering Functionality @@ -2487,7 +2590,7 @@ uint32_t flags ); -/*@}*/ +/** @} */ /** * \defgroup VdpDecoder VdpDecoder; Video Decoding object @@ -2578,6 +2681,10 @@ #define VDP_DECODER_PROFILE_HEVC_MAIN_12 ((VdpDecoderProfile)103) /** \hideinitializer */ #define VDP_DECODER_PROFILE_HEVC_MAIN_444 ((VdpDecoderProfile)104) +/** \hideinitializer */ +#define VDP_DECODER_PROFILE_HEVC_MAIN_444_10 ((VdpDecoderProfile)105) +/** \hideinitializer */ +#define VDP_DECODER_PROFILE_HEVC_MAIN_444_12 ((VdpDecoderProfile)106) /** \hideinitializer */ #define VDP_DECODER_LEVEL_MPEG1_NA 0 @@ -3415,6 +3522,7 @@ uint8_t lists_modification_present_flag; uint8_t log2_parallel_merge_level_minus2; uint8_t slice_segment_header_extension_present_flag; + /** @} */ /** \name HEVC Slice Segment Header * @@ -3545,6 +3653,16 @@ } VdpPictureInfoHEVC444; /** + * \brief Picture parameter information for HEVC FormatRangeExtensions picture. + * + * HEVC Main 444 Profile is part of Format Range Extensions profiles, + * Due to similarities between Format Range Extensions profiles, the picture + * parameter structure is re-used for Format Range Extensions profiles + * supported. + */ +typedef VdpPictureInfoHEVC444 VdpPictureInfoHEVCRangeExt; + +/** * \brief Decode a compressed field/frame and render the result * into a \ref VdpVideoSurface "VdpVideoSurface". * \param[in] decoder The decoder object that will perform the @@ -3570,7 +3688,7 @@ VdpBitstreamBuffer const * bitstream_buffers ); -/*@}*/ +/** @} */ /** * \defgroup VdpVideoMixer VdpVideoMixer; Video Post-processing and Compositing object @@ -4371,7 +4489,7 @@ VdpLayer const * layers ); -/*@}*/ +/** @} */ /** * \defgroup VdpPresentationQueue VdpPresentationQueue; Video presentation (display) object @@ -4614,7 +4732,7 @@ VdpTime * first_presentation_time ); -/*@}*/ +/** @} */ /** * \defgroup display_preemption Display Preemption @@ -4689,7 +4807,7 @@ void * context ); -/*@}*/ +/** @} */ /** * \defgroup get_proc_address Entry Point Retrieval @@ -4851,8 +4969,8 @@ void * * function_pointer ); -/*@}*/ -/*@}*/ +/** @} */ +/** @} */ /** * \defgroup api_winsys Window System Integration Layer diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libvdpau-1.3/include/vdpau/vdpau_x11.h new/libvdpau-1.4/include/vdpau/vdpau_x11.h --- old/libvdpau-1.3/include/vdpau/vdpau_x11.h 2019-08-28 19:57:55.000000000 +0200 +++ new/libvdpau-1.4/include/vdpau/vdpau_x11.h 2020-04-09 16:45:23.000000000 +0200 @@ -167,8 +167,8 @@ /** \hideinitializer */ #define VDP_FUNC_ID_PRESENTATION_QUEUE_TARGET_CREATE_X11 (VdpFuncId)(VDP_FUNC_ID_BASE_WINSYS + 0) -/*@}*/ -/*@}*/ +/** @} */ +/** @} */ #ifdef __cplusplus } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libvdpau-1.3/meson.build new/libvdpau-1.4/meson.build --- old/libvdpau-1.3/meson.build 2019-08-28 19:57:55.000000000 +0200 +++ new/libvdpau-1.4/meson.build 2020-04-09 16:45:23.000000000 +0200 @@ -51,7 +51,7 @@ import('pkgconfig').generate( name : 'VDPAU', filebase : 'vdpau', - version : '1.3', + version : '1.4', description : 'The Video Decode and Presentation API for UNIX', libraries : '-L${libdir} -lvdpau', variables : 'moduledir=' + moduledir, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libvdpau-1.3/test/dlclose.c new/libvdpau-1.4/test/dlclose.c --- old/libvdpau-1.3/test/dlclose.c 2019-08-28 19:57:55.000000000 +0200 +++ new/libvdpau-1.4/test/dlclose.c 2020-04-09 16:45:23.000000000 +0200 @@ -28,13 +28,19 @@ return count; } +#if defined(__sun) +static const char libXext_so[] = "libXext.so.0"; +#else +static const char libXext_so[] = "libXext.so.6"; +#endif + int main(void) { // Work around a bug in libXext: dlclosing it after it has registered the // Generic Event Extension causes an identical bug to the one this program // is trying to test for. int nOpenFDs = countOpenFDs(); - void *libXext = dlopen("libXext.so.6", RTLD_LAZY); + void *libXext = dlopen(libXext_so, RTLD_LAZY); void *libvdpau = dlopen("src/libvdpau.so", RTLD_LAZY); Display *dpy = XOpenDisplay(NULL); VdpDeviceCreateX11 *pvdp_device_create_x11; @@ -43,7 +49,7 @@ VdpStatus status; if (!libXext) { - fprintf(stderr, "Failed to open libXext.so.6: %s", dlerror()); + fprintf(stderr, "Failed to open %s: %s", libXext_so, dlerror()); return SKIP; } ++++++ vdpauinfo-1.0.tar.gz -> vdpauinfo-1.3.tar.bz2 ++++++ ++++ 8765 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/vdpauinfo-1.0/ChangeLog new/vdpauinfo-vdpauinfo-1.3-0bc58c03e61e038ba3b81dfff36cc35cadfae447/ChangeLog --- old/vdpauinfo-1.0/ChangeLog 2015-03-11 22:06:04.000000000 +0100 +++ new/vdpauinfo-vdpauinfo-1.3-0bc58c03e61e038ba3b81dfff36cc35cadfae447/ChangeLog 1970-01-01 01:00:00.000000000 +0100 @@ -1,269 +0,0 @@ -commit 7b8eee7ae26255490347cebe6cd3475b078bc2f7 -Author: Aaron Plattner <[email protected]> -Date: Wed Mar 11 14:05:42 2015 -0700 - - Bump version to 1.0 - - Signed-off-by: Aaron Plattner <[email protected]> - -commit ca7a7d145cd8e6381e8c2f9f9df1080acb311295 -Author: Aaron Plattner <[email protected]> -Date: Mon Mar 9 14:44:39 2015 -0700 - - Support new HEVC / H.265 profiles added in libvdpau 1.0 - - Signed-off-by: Aaron Plattner <[email protected]> - Reviewed-by: José Hiram Soltren <[email protected]> - Reviewed-by: Christian König <[email protected]> - -commit 4a4feb8af58a94a2acd86528c58ffc71ec0c1cc7 -Author: Aaron Plattner <[email protected]> -Date: Fri Dec 19 12:45:22 2014 -0800 - - Bump version to 0.9 - - Rather than raising the version number to 1.0 now that all of the TODO items are - checked off, I figured it would be easier to keep the version tied to the - version of libvdpau, since new libvdpau releases that define new profiles always - need corresponding changes to vdpauinfo. - - Signed-off-by: Aaron Plattner <[email protected]> - -commit aae67cf348ddf36bf7274afd7d809b7018f15d61 -Author: Aaron Plattner <[email protected]> -Date: Fri Dec 19 11:10:58 2014 -0800 - - List profiles that are not supported as well - - For profiles that are defined by libvdpau but not supported by the backend, - print a line indicating that they're not supported. - - Signed-off-by: Aaron Plattner <[email protected]> - -commit 2ecd4961fd6fb292aab064221c21456a059811cc -Author: Aaron Plattner <[email protected]> -Date: Tue Nov 4 15:10:44 2014 -0800 - - Support new H.264 profiles added in libvdpau 0.9 - - The new profile names are slightly longer, so widen the table to preserve column - alignment. - - Signed-off-by: Aaron Plattner <[email protected]> - -commit 178f33ec5ad1c7f0cb31458fa6eb675bb96f0420 -Author: Aaron Plattner <[email protected]> -Date: Fri Sep 12 15:30:23 2014 -0700 - - vdpauinfo: print supported PutBits indexed color formats - - This parallels the loop that prints supported YCbCr formats. There is only one - palette color format currently, so just use that for the query. - - Signed-off-by: Aaron Plattner <[email protected]> - Reviewed-by: José Hiram Soltren <[email protected]> - -commit d53f9271ccaff73a964c43cedcf8ed2cdb0bd353 -Author: Aaron Plattner <[email protected]> -Date: Thu Aug 28 10:27:31 2014 -0700 - - vdpauinfo: add option processing - - Add a rudimentary option parser. Parse the options --display and --screen, to - specify the argument to XOpenDisplay and the screen within the X display to use, - respectively. - - Signed-off-by: Aaron Plattner <[email protected]> - Reviewed-by: Stephen Warren <[email protected]> - -commit f8f18bfde792e0de2d51ef02dc96707318c1aafb -Author: Aaron Plattner <[email protected]> -Date: Thu Aug 28 10:23:28 2014 -0700 - - Set the AM_INIT_AUTOMAKE foreign flag - - Turning on 'foreign' lets us delete pointless files like AUTHORS and NEWS. - Interested parties can get the author list using 'git log | git shortlog -s'. - - Signed-off-by: Aaron Plattner <[email protected]> - Acked-by: Stephen Warren <[email protected]> - -commit a7cc3fa5760b8915853223f487f054c9100c2795 -Author: Aaron Plattner <[email protected]> -Date: Tue Oct 22 14:48:38 2013 -0700 - - Bump version to 0.1 - - I'd like to finish dealing with the TODO items in vdpauinfo.cpp before declaring - this 1.0. - - Signed-off-by: Aaron Plattner <[email protected]> - -commit e14ecabc6225a3333360bbe88903d2dce8e17056 -Author: Aaron Plattner <[email protected]> -Date: Mon Oct 21 14:48:38 2013 -0700 - - vdpauinfo: remove is_supported initializers - - These variables were initialized to work around a bug in the NVIDIA driver where - the is_supported output parameter was only initialized if the feature being - queried was not supported. This was fixed in the 190.* driver release series, - making the workaround unnecessary. - - Signed-off-by: Aaron Plattner <[email protected]> - Reviewed-by: José Hiram Soltren <[email protected]> - -commit 6c582869ecb04e02a2f47f245bb524b6d9b7bf07 -Author: Aaron Plattner <[email protected]> -Date: Mon Oct 21 14:12:23 2013 -0700 - - vdpauinfo: remove TODO regarding INVALID_CHROMA_TYPE when querying 444 - - This was a bug in the NVIDIA driver that was fixed in the 256.44 release with - the following changelog entry: - - * Fixed VDPAU to not print a debug error message when calling - VdpVideoMixerQueryFeatureSupport with an unsupported or unknown - VdpVideoMixerFeature. - - Signed-off-by: Aaron Plattner <[email protected]> - Reviewed-by: José Hiram Soltren <[email protected]> - -commit 0999893597059a31b99b3085882969aca3f31207 -Author: Aaron Plattner <[email protected]> -Date: Fri Dec 14 08:36:51 2012 -0800 - - Remove redundant LICENSE file - - The same license text is in the more canonical COPYING file. - - Signed-off-by: Aaron Plattner <[email protected]> - -commit d9fbee39b8240dd679de139be8dfc2120228d04f -Author: Aaron Plattner <[email protected]> -Date: Tue Nov 20 09:55:34 2012 -0800 - - Add Andy to the AUTHORS list - - Signed-off-by: Aaron Plattner <[email protected]> - -commit bb73db54c3611d20babdb098aefa6d69a4e8c684 -Author: Andy Ritger <[email protected]> -Date: Fri Nov 16 15:40:40 2012 -0800 - - vdpauinfo: use rgb_types[x].id, not chroma_types[x].id, as the VdpRGBAFormat argument to VdpOutputSurfaceQueryPutBitsYCbCrCapabilities(). - - Signed-off-by: Andy Ritger <[email protected]> - Reviewed-by: Stephen Warren <[email protected]> - Reviewed-by: Jose Soltren <[email protected]> - Signed-off-by: Aaron Plattner <[email protected]> - -commit df16fd8e83b36e6e5bdb0e73ff57cb432d113a28 -Author: Aaron Plattner <[email protected]> -Date: Wed Nov 14 17:13:11 2012 -0800 - - Remove the version number from vdpauinfo.cpp - - The version is defined in the AC_INIT call in configure.ac, and doesn't need to - be duplicated into other source files where it will quickly grow out of date - (e.g. here, where it said 0.0.2 when the version is really 0.0.6). - -commit 9041dc8fc10312967e9398912a0d655d9cccff72 -Merge: fb754701e83d f2ced6afa0d0 -Author: Aaron Plattner <[email protected]> -Date: Wed Nov 14 16:59:34 2012 -0800 - - Merge fix for improper attribute queries - - Tested-by: Aaron Plattner <[email protected]> - Signed-off-by: Aaron Plattner <[email protected]> - -commit f2ced6afa0d01698745cc91710def89b670e3d56 -Author: José Hiram Soltren <[email protected]> -Date: Wed Nov 14 15:36:25 2012 -0800 - - Whitespace cleanup to vdpauinfo.cpp - -commit 30f825629c72613ee9b86c8e05173e884d8ee2e9 -Author: José Hiram Soltren <[email protected]> -Date: Wed Nov 14 15:09:16 2012 -0800 - - Add José Soltren to AUTHORS. - -commit 09a467217ed3347a30c3899dace68bc24021af3f -Author: José Hiram Soltren <[email protected]> -Date: Wed Nov 14 15:06:49 2012 -0800 - - Only query ranges for appropriate VDPAU attributes - - Update vdpauinfo.cpp to not query values from VDPAU which - do not support ranges. See vdpau.h for more information. - -commit fb754701e83d565e4333ce7d3fce216194b40266 -Author: Aaron Plattner <[email protected]> -Date: Thu Sep 24 12:39:50 2009 -0700 - - Add Rajib to the AUTHORS list - -commit a84c610c0b30a1a1e86f8b838dc90d20e23ddb83 -Author: Rajib Mahapatra <[email protected]> -Date: Mon Sep 14 14:01:38 2009 -0700 - - Update for new features in libvdpau 0.2. - - Signed-off-by: Stephen Warren <[email protected]> - Signed-off-by: Aaron Plattner <[email protected]> - -commit 922bdf495deb857fb747ead6c0aac5fd014635c1 -Author: Aaron Plattner <[email protected]> -Date: Fri Sep 11 10:09:48 2009 -0700 - - Steal the XORG_CHANGELOG macro from X.Org to remove the dependency on the xorg util/macros package - -commit 3135f08717c7cfa9c7dcf4e435ad444cbca72301 -Author: Aaron Plattner <[email protected]> -Date: Fri Feb 13 13:57:05 2009 -0800 - - AC_SUBST the right variable (CXXFLAGS instead of CFLAGS) - -commit 9dc23c0b632957146740b9f4d1b9a8ce0d6fdb1e -Author: Aaron Plattner <[email protected]> -Date: Fri Jan 30 18:40:41 2009 -0800 - - Add autotools - -commit dc9c0d7d421e8a8734bac5d1106dcaae4cea6912 -Author: Aaron Plattner <[email protected]> -Date: Fri Jan 30 18:20:50 2009 -0800 - - Rename from vdpinfo to vdpauinfo to match libvdpau naming. - -commit 39524688c3d20fb7c62263eb994bf7c805546f24 -Author: Wladimir J. van der Laan <[email protected]> -Date: Tue Jan 20 08:34:30 2009 -0800 - - vdpinfo-0.0.5 - -commit d516bac6ff000b139174cbe75e03722089011df8 -Author: Wladimir J. van der Laan <[email protected]> -Date: Tue Jan 20 08:34:15 2009 -0800 - - vdpinfo-0.0.4 - -commit 13eb27950da0f87950aeef9f009da189584db99e -Author: Wladimir J. van der Laan <[email protected]> -Date: Tue Jan 20 08:33:59 2009 -0800 - - vdpinfo-0.0.3 - -commit dbe8cb63dd55cd4c7d2e399357fa6ec7e4b5049f -Author: Wladimir J. van der Laan <[email protected]> -Date: Tue Jan 20 08:33:42 2009 -0800 - - vdpinfo-0.0.2 - -commit 7f29d4f8c9dc92d9d493f7c04fac8fa17265ad7d -Author: Wladimir J. van der Laan <[email protected]> -Date: Tue Jan 20 08:32:47 2009 -0800 - - vdpinfo-0.0.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/vdpauinfo-1.0/autogen.sh new/vdpauinfo-vdpauinfo-1.3-0bc58c03e61e038ba3b81dfff36cc35cadfae447/autogen.sh --- old/vdpauinfo-1.0/autogen.sh 1970-01-01 01:00:00.000000000 +0100 +++ new/vdpauinfo-vdpauinfo-1.3-0bc58c03e61e038ba3b81dfff36cc35cadfae447/autogen.sh 2019-12-09 21:16:14.000000000 +0100 @@ -0,0 +1,12 @@ +#! /bin/sh + +srcdir=`dirname $0` +test -z "$srcdir" && srcdir=. + +ORIGDIR=`pwd` +cd $srcdir + +autoreconf -v --install || exit 1 +cd $ORIGDIR || exit $? + +$srcdir/configure --enable-maintainer-mode "$@" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/vdpauinfo-1.0/configure.ac new/vdpauinfo-vdpauinfo-1.3-0bc58c03e61e038ba3b81dfff36cc35cadfae447/configure.ac --- old/vdpauinfo-1.0/configure.ac 2015-03-11 00:24:26.000000000 +0100 +++ new/vdpauinfo-vdpauinfo-1.3-0bc58c03e61e038ba3b81dfff36cc35cadfae447/configure.ac 2019-12-09 21:16:14.000000000 +0100 @@ -1,12 +1,12 @@ AC_PREREQ([2.57]) -AC_INIT(vdpauinfo,[1.0],[[email protected]],vdpauinfo) +AC_INIT(vdpauinfo,[1.3],[[email protected]],vdpauinfo) AM_INIT_AUTOMAKE([dist-bzip2 foreign]) AM_MAINTAINER_MODE AC_PROG_CXX AC_PROG_INSTALL -PKG_CHECK_MODULES(VDPAU, x11 [vdpau >= 1.0]) +PKG_CHECK_MODULES(VDPAU, x11 [vdpau >= 1.3]) VDPAUINFO_CXXFLAGS="$VDPAUINFO_CXXFLAGS $VDPAU_CFLAGS" VDPAUINFO_LIBS="$VDPAUINFO_LIBS $VDPAU_LIBS" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/vdpauinfo-1.0/functions.py new/vdpauinfo-vdpauinfo-1.3-0bc58c03e61e038ba3b81dfff36cc35cadfae447/functions.py --- old/vdpauinfo-1.0/functions.py 1970-01-01 01:00:00.000000000 +0100 +++ new/vdpauinfo-vdpauinfo-1.3-0bc58c03e61e038ba3b81dfff36cc35cadfae447/functions.py 2019-12-09 21:16:14.000000000 +0100 @@ -0,0 +1,78 @@ +#!/usr/bin/python +# Build VDPDeviceImpl.h +# (C) Wladimir J. van der Laan 2008 +from sys import stderr + +def process_file(fname): + """Process include file""" + f = open(fname, "r") + while True: + line = f.readline() + if not line: + break + line = line.rstrip() + if line.startswith("#define VDP_FUNC_ID_"): + begin = line.find("VDP_") + end = line.find(" ", begin) + funcname = line[begin:end] + functions.append(funcname) + if line.startswith("typedef") and line.endswith("("): + begin = line.rfind("Vdp") + end = line.find("(") + typename = line[begin:end] + types[typename[3:].lower()] = typename + f.close() + +def lower_case(s): + "BLA_BLA to blabla" + parts = s.split("_") + parts = [x.lower() for x in parts] + return "".join(parts) + +functions = [] +types = {} + +process_file("/usr/include/vdpau/vdpau.h") +process_file("/usr/include/vdpau/vdpau_x11.h") + +# Prototype +proto = [] +for f in functions: + if f == "VDP_FUNC_ID_BASE_WINSYS": # skip this one + continue + base = f[12:] + # to camelcase + base = lower_case(base) + try: + proto.append((f, types[base], types[base][3:])) + except KeyError: + stderr.write("No prototype found for %s (%s)\n" %(f, base)) + +# We now have an array of prototypes and VDP_FUNC_ID... +# Build our impl class +print "#ifndef H_VDPDeviceImpl" +print "#define H_VDPDeviceImpl" +print "#include <assert.h>" +print "struct VDPDeviceImpl {" +print " VDPDeviceImpl(VdpDevice device, VdpGetProcAddress *get_proc_address);" +print " VdpDevice device;" +print +for (id, type, name) in proto: + print " %s *%s;" % (type, name) +print "};"; + +print "#define GETADDR(device, function_id, function_pointer) \\" +print " assert(get_proc_address(device, function_id, function_pointer) == VDP_STATUS_OK)" + +print "VDPDeviceImpl::VDPDeviceImpl(VdpDevice device, VdpGetProcAddress *get_proc_address):" +print " device(device)" +print "{" +# look'em up +for (id, type, name) in proto: + print " GETADDR(device, %s, (void**)&%s);" % (id, name) +print "}" + +print "#undef GETADDR" + +print "#endif" +#print proto diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/vdpauinfo-1.0/missing new/vdpauinfo-vdpauinfo-1.3-0bc58c03e61e038ba3b81dfff36cc35cadfae447/missing --- old/vdpauinfo-1.0/missing 2014-08-28 19:23:18.000000000 +0200 +++ new/vdpauinfo-vdpauinfo-1.3-0bc58c03e61e038ba3b81dfff36cc35cadfae447/missing 1970-01-01 01:00:00.000000000 +0100 @@ -1,215 +0,0 @@ -#! /bin/sh -# Common wrapper for a few potentially missing GNU programs. - -scriptversion=2013-10-28.13; # UTC - -# Copyright (C) 1996-2013 Free Software Foundation, Inc. -# Originally written by Fran,cois Pinard <[email protected]>, 1996. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. - -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -if test $# -eq 0; then - echo 1>&2 "Try '$0 --help' for more information" - exit 1 -fi - -case $1 in - - --is-lightweight) - # Used by our autoconf macros to check whether the available missing - # script is modern enough. - exit 0 - ;; - - --run) - # Back-compat with the calling convention used by older automake. - shift - ;; - - -h|--h|--he|--hel|--help) - echo "\ -$0 [OPTION]... PROGRAM [ARGUMENT]... - -Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due -to PROGRAM being missing or too old. - -Options: - -h, --help display this help and exit - -v, --version output version information and exit - -Supported PROGRAM values: - aclocal autoconf autoheader autom4te automake makeinfo - bison yacc flex lex help2man - -Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and -'g' are ignored when checking the name. - -Send bug reports to <[email protected]>." - exit $? - ;; - - -v|--v|--ve|--ver|--vers|--versi|--versio|--version) - echo "missing $scriptversion (GNU Automake)" - exit $? - ;; - - -*) - echo 1>&2 "$0: unknown '$1' option" - echo 1>&2 "Try '$0 --help' for more information" - exit 1 - ;; - -esac - -# Run the given program, remember its exit status. -"$@"; st=$? - -# If it succeeded, we are done. -test $st -eq 0 && exit 0 - -# Also exit now if we it failed (or wasn't found), and '--version' was -# passed; such an option is passed most likely to detect whether the -# program is present and works. -case $2 in --version|--help) exit $st;; esac - -# Exit code 63 means version mismatch. This often happens when the user -# tries to use an ancient version of a tool on a file that requires a -# minimum version. -if test $st -eq 63; then - msg="probably too old" -elif test $st -eq 127; then - # Program was missing. - msg="missing on your system" -else - # Program was found and executed, but failed. Give up. - exit $st -fi - -perl_URL=http://www.perl.org/ -flex_URL=http://flex.sourceforge.net/ -gnu_software_URL=http://www.gnu.org/software - -program_details () -{ - case $1 in - aclocal|automake) - echo "The '$1' program is part of the GNU Automake package:" - echo "<$gnu_software_URL/automake>" - echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:" - echo "<$gnu_software_URL/autoconf>" - echo "<$gnu_software_URL/m4/>" - echo "<$perl_URL>" - ;; - autoconf|autom4te|autoheader) - echo "The '$1' program is part of the GNU Autoconf package:" - echo "<$gnu_software_URL/autoconf/>" - echo "It also requires GNU m4 and Perl in order to run:" - echo "<$gnu_software_URL/m4/>" - echo "<$perl_URL>" - ;; - esac -} - -give_advice () -{ - # Normalize program name to check for. - normalized_program=`echo "$1" | sed ' - s/^gnu-//; t - s/^gnu//; t - s/^g//; t'` - - printf '%s\n' "'$1' is $msg." - - configure_deps="'configure.ac' or m4 files included by 'configure.ac'" - case $normalized_program in - autoconf*) - echo "You should only need it if you modified 'configure.ac'," - echo "or m4 files included by it." - program_details 'autoconf' - ;; - autoheader*) - echo "You should only need it if you modified 'acconfig.h' or" - echo "$configure_deps." - program_details 'autoheader' - ;; - automake*) - echo "You should only need it if you modified 'Makefile.am' or" - echo "$configure_deps." - program_details 'automake' - ;; - aclocal*) - echo "You should only need it if you modified 'acinclude.m4' or" - echo "$configure_deps." - program_details 'aclocal' - ;; - autom4te*) - echo "You might have modified some maintainer files that require" - echo "the 'autom4te' program to be rebuilt." - program_details 'autom4te' - ;; - bison*|yacc*) - echo "You should only need it if you modified a '.y' file." - echo "You may want to install the GNU Bison package:" - echo "<$gnu_software_URL/bison/>" - ;; - lex*|flex*) - echo "You should only need it if you modified a '.l' file." - echo "You may want to install the Fast Lexical Analyzer package:" - echo "<$flex_URL>" - ;; - help2man*) - echo "You should only need it if you modified a dependency" \ - "of a man page." - echo "You may want to install the GNU Help2man package:" - echo "<$gnu_software_URL/help2man/>" - ;; - makeinfo*) - echo "You should only need it if you modified a '.texi' file, or" - echo "any other file indirectly affecting the aspect of the manual." - echo "You might want to install the Texinfo package:" - echo "<$gnu_software_URL/texinfo/>" - echo "The spurious makeinfo call might also be the consequence of" - echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might" - echo "want to install GNU make:" - echo "<$gnu_software_URL/make/>" - ;; - *) - echo "You might have modified some files without having the proper" - echo "tools for further handling them. Check the 'README' file, it" - echo "often tells you about the needed prerequisites for installing" - echo "this package. You may also peek at any GNU archive site, in" - echo "case some other package contains this missing '$1' program." - ;; - esac -} - -give_advice "$1" | sed -e '1s/^/WARNING: /' \ - -e '2,$s/^/ /' >&2 - -# Propagate the correct exit status (expected to be 127 for a program -# not found, 63 for a program that failed due to version mismatch). -exit $st - -# Local variables: -# eval: (add-hook 'write-file-hooks 'time-stamp) -# time-stamp-start: "scriptversion=" -# time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-time-zone: "UTC" -# time-stamp-end: "; # UTC" -# End: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/vdpauinfo-1.0/vdpauinfo.cpp new/vdpauinfo-vdpauinfo-1.3-0bc58c03e61e038ba3b81dfff36cc35cadfae447/vdpauinfo.cpp --- old/vdpauinfo-1.0/vdpauinfo.cpp 2015-03-09 22:44:02.000000000 +0100 +++ new/vdpauinfo-vdpauinfo-1.3-0bc58c03e61e038ba3b81dfff36cc35cadfae447/vdpauinfo.cpp 2019-12-09 21:16:14.000000000 +0100 @@ -74,6 +74,8 @@ {"YUYV", VDP_YCBCR_FORMAT_YUYV}, {"Y8U8V8A8", VDP_YCBCR_FORMAT_Y8U8V8A8}, {"V8U8Y8A8", VDP_YCBCR_FORMAT_V8U8Y8A8}, +{"NV24", VDP_YCBCR_FORMAT_Y_UV_444}, +{"YV24", VDP_YCBCR_FORMAT_Y_U_V_444}, }; const size_t ycbcr_type_count = sizeof(ycbcr_types)/sizeof(Desc); @@ -357,6 +359,10 @@ {"H264_PROGRESSIVE_HIGH", VDP_DECODER_PROFILE_H264_PROGRESSIVE_HIGH}, {"H264_CONSTRAINED_HIGH", VDP_DECODER_PROFILE_H264_CONSTRAINED_HIGH}, {"H264_HIGH_444_PREDICTIVE", VDP_DECODER_PROFILE_H264_HIGH_444_PREDICTIVE}, +{"VP9_PROFILE_0", VDP_DECODER_PROFILE_VP9_PROFILE_0}, +{"VP9_PROFILE_1", VDP_DECODER_PROFILE_VP9_PROFILE_1}, +{"VP9_PROFILE_2", VDP_DECODER_PROFILE_VP9_PROFILE_2}, +{"VP9_PROFILE_3", VDP_DECODER_PROFILE_VP9_PROFILE_3}, {"HEVC_MAIN", VDP_DECODER_PROFILE_HEVC_MAIN}, {"HEVC_MAIN_10", VDP_DECODER_PROFILE_HEVC_MAIN_10}, {"HEVC_MAIN_STILL", VDP_DECODER_PROFILE_HEVC_MAIN_STILL},
