Commit graph

31 commits

Author SHA1 Message Date
ryoon
6b7bc8f29e Bump API_DEPENDS 2018-11-23 08:18:16 +00:00
ryoon
43d3a6da52 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
2018-11-23 08:05:04 +00:00
rillig
17e39f419d Fix indentation in buildlink3.mk files.
The actual fix as been done by "pkglint -F */*/buildlink3.mk", and was
reviewed manually.

There are some .include lines that still are indented with zero spaces
although the surrounding .if is indented. This is existing practice.
2018-01-07 13:03:53 +00:00
adam
0a6ae26bec libva: update to 1.8.3
Changes 1.8.3:
Fix build issue on Android
Remove the dummy driver
Add traces for MB rate control / temporal layer
Set verbosity level between {0, 1, 2} by setting the variable LIBVA_MESSAGING_LEVEL
in /etc/libva.conf or by setting the environment variable LIBVA_MESSAGING_LEVEL.
2017-09-14 11:33:33 +00:00
wiz
08aa051771 libva: Update HOMEPAGE and MASTER_SITES
From pgoyette
2017-09-14 05:56:14 +00:00
wiz
d4af79443c libva: update to 1.8.2.
Version 1.8.2 - 22.May.2017
* Bump libva to 1.8.2

Version 1.8.1 - 10.Apr.2017
* Bump libva to 1.8.1

Version 1.8.0 - 31.March.2017
* Bump VA API version to 0.40
* API: Change vaRenderPicture semantics that vaRenderPicture no longer deletes the passed buffer automatically.
* API: Add VA_FOURCC_I010 for 10bit surface
* API: Add vaSetErrorCallback and vaSetInfoCallback for error and info message.
* va/drm: Update the support for Mesa Gallium driver
* va/drm: Fix authentication check for /dev/dri/card0
* Move all utilities and tests to libva-utils (https://github.com/01org/libva-utils)
2017-09-13 08:37:41 +00:00
maya
d64213799e revert libvdpau/libva changes, this doesn't work as expected. 2017-03-17 09:10:14 +00:00
maya
94c904a792 libva, libvdpau: use options correctly.. fixes libvdpau build, pointed out
by paulg
2017-03-16 23:07:28 +00:00
maya
87c5c1e399 libva: Similar to libvdpau, add an x11 option to make it easier to disable
libva dependencies for non-X11 users. feel free to suggest alternatives.

PR pkg/52021
2017-03-16 19:29:39 +00:00
leot
c5feb8f2f2 For `native' X11_TYPE also look for possible drivers installed in
${PREFIX}/lib/dri. This is needed by at least intel-vaapi-driver.

Bump PKGREVISION

Discussed and thanks to <maya>!
2017-03-12 09:27:07 +00:00
maya
e1dd4270a7 libva: drop local patch to workaround the need to specify LIBVA_DRIVER_NAME
intel shouldn't use gallium, there's a separate driver for it which is better,
now in wip/intel-vaapi-driver. thanks leot for pointing it out.

bump pkgrevision
2017-03-06 10:19:57 +00:00
maya
d1a42d2ca0 libva: fix build with netbsd base X11.
netbsd base X11 will have MesaLib already, which we can't do for pkgsrc
Xorg as it introduces a circular dependency. disable building the dummy
driver (which isn't really useful anyway).

disable some glx stuff that is auto-detected in the base Xorg case, again
to avoid a PLIST mismatch.

bump PKGREVISION
2017-02-24 19:14:17 +00:00
maya
198dd4c73e libva: sort malformed conditional in available.mk, sorry. 2017-02-24 17:07:51 +00:00
maya
c97fd28a0f libva: clean up va_trace.c patch, hard-code gallium, appease libtool.
have an else case for the va_trace.c else patch, it seems to work
fine. not sure if the thread id needs to exist for anything, but
provide it anyway.

if we don't hard-code galilum, in the case of nouveau, it'll attempt
to use nouveau - which doesn't define __vaDriverInit_0_39. only gallium
does, so force it.
this way it works without specifying env LIBVA_DRIVER_NAME.

don't use -ldl in the makefile, it makes libtool angry (restoring
old patch-ad), although I haven't checked whether it works without
the patch.

the available.mk file is probably bogus, and I'd really like to only
rule out platforms if a problem shows up (rather than assume one exists),
but I won't change the world order.

tested with mpv --vo=vaapi (after adding libva as a dependency),
nvidia GTX 770 (nouveau) on NetBSD. it claims to be using vaapi and
plays a video fine.

bump PKGREVISION.
2017-02-24 16:44:03 +00:00
maya
0f6fc9a846 libva: put a temp bandaid on the giant mess I created (sorry)
a circular dependency of MesaLib - now libva will not depend on it,
this breaks stuff but unbreaks the tree ASAP

add a patch so va_trace.c should compile on freebsd, dragonflybsd, linux
and netbsd -- excluding it is a bad idea (undefined references, oops)

indirectly put openbsd as a broken platform for now

still fails at runtime with mpv.

bump PKGREVISION.
2017-02-24 03:25:36 +00:00
maya
f99cda84c1 libva: update to 1.7.3
rotate polarity of available.mk - BSDs and linux should work, but I've
only tested NetBSD. Only build tested, this package was updated due to
MesaLib configure requesting it.

Version 1.7.3 - 10.Nov.2016
* Bump VA API version to 0.39.4
* API: add support for bitrate control per temporal layer
* API: update the usage for framerate in VAEncMiscParameterFrameRate to support non-integer frame-rate
* Add has_prime_sharing flag in VADriverVTableWayland to indicate if buffer sharing with prime fd can
  be used in the backend driver

Version 1.7.2 - 05.Sep.2016
* Bump VA API version to 0.39.3
* API: add support for ROI
* Add support for VP9 encoder in VA tracer
* Refine test cases
* Fix the issue of not properly terminating the parsed environment values with '\0'
  https://bugs.freedesktop.org/show_bug.cgi?id=96677

Version 1.7.1 - 21.Jun.2016
* Bump VA API version to 0.39.2
* API: add support for VP9 8bit encode
* API: add support for low power/high performance encode
* API: add support for encoding ROI attribute
* API: add support for macroblock based rate control
* Fix VA tracer to support multiple contexts in one instance

Version 1.7.0 - 15.Mar.2016
* Bump VA API version to 0.39
* Add support for VP9 10bit decode API
* Allow libva to load the vaapi driver provided by Mesa Gallium for nouveau and radeon
* Fix libva-glx against OpenGL 3.1 or above

Version 1.6.2 - 15.Dec.2015
* Bump VA API version to 0.38.1
* Add new RT format for 16 bits per channel memory layout(P010,P016): VA_RT_FORMAT_YUV420_10BPP
* Add new fourcc codes: VA_FOURCC_P010, VA_FOURCC_P016, VA_FOURCC_YV16
* Fix crash if user doesn't have right to access the DRI device
* Fix uninitialized x11_screen driver context member for X11 output
  https://bugs.freedesktop.org/show_bug.cgi?id=61603
* Fix the issue of not to use LIBVA_DRIVER_NAME
  https://bugs.freedesktop.org/show_bug.cgi?id=72822
* Fix build issue with wayland
  https://bugs.freedesktop.org/show_bug.cgi?id=79478
* vainfo: Add option '--display'

Version 1.6.1 - 09.Sep.2015
* Add support for VP9 decode and HEVC encode in VA trace module
* Add VP9 profile to vainfo
* Enhance VA trace to dump VP8 encode parameters

Version 1.6.0 - 01.Jul.2015
* Bump VA API version to 0.38
* Add support for HEVC encode API
* Add support for VP9 decode API
* Add API (vaSetDriverName()) to allow the user to specify the loaded backend driver
* Add VAConfigAttribEncSkipFrame and corresponding structures to support
  sending skip frame parameters to the backend driver.
* Add support for querying slice decoding mode supported by the backend driver
* Fix quality issue in the JPEG encode demo

Version 1.5.1 - DD.Mar.2015
* API: correct the comment for num_token_partitions in struct  _VAEncPictureParameterBufferVP8
* VA/x11: fix double Unlocks/SyncHandle to avoid segmentation fault

Version 1.5.0 - 28.Dec.2014
* API: add support for HEVC decoding
* API: extend JPEG encoding data structures and add configuration attribute for JPEG encoding
* Add a unit test for JPEG encoding (Sirisha Muppavarapu)
* Add support for HEVC decoding and JPEG encoding in VA trace utility
* Fix out of tree builds (Emil Velikov)
* VA/X11: fix BadDrawable issue when calling vaTerminate() after the pixmaps have been destroyed (Lionel Landwerlin)

Version 1.4.1 - 24.Oct.2014
* Add support for DRM Render-Nodes (Andrey Larionov)

Version 1.4.0 - 30.Sep.2014
* API: add support for VP8 encoding
* API: add H.264 MVC profiles for decoding and encoding
* API: add buffer export interfaces for interop with 3rdparty APIs (EGL, OCL)
* API: add suppor for encoder quality level
* API: add attribute usage hint flag
* Fix build on 64-bit versions of Android (Qiming Shi)
* Assorted fixes to the VA fool and trace modules (Austin Yuan)

Version 1.3.1 - 09.May.2014
* API: fix VA_ENC_PACKED_HEADER_RAW_DATA value
* API: add STE filter to the VPP pipeline
* Update doxygen tags in libva
* Fix doc/Makefile.am
* A workaround for https://bugs.freedesktop.org/show_bug.cgi?id=76755

Version 1.3.0 - 24.Mar.2014
* API: add support for VP8 decoding
* API: drop VAEntrypointMax enumeration
* Enhancement for VA trace utility

Version 1.2.1 - 27.Jun.2013
* Fix https://bugs.freedesktop.org/show_bug.cgi?id=66221
* Add back VA_DRIVER_INIT_FUNC definition for testing

Version 1.2.0 - 25.Jun.2013
* API: new H.264 encoding API for Main and High profiles
* API: add support for MPEG-2 encoding
* API: add video processing interfaces
* API: add vaQuerySurfaceAttributes() to query surface attributes supported by the underlying drivers.
* API: new version of vaCreateSurfaces()
* API: add new surface attributes to enable VA surface creation from external buffer
* API: add new RT formats and fourcc codes
* Refine VA trace utility
* Refine H.264 encoding test cases {avcenc, h264enc}
* A new test case for MPEG-2 encoding
* A lot of bug fixes

Version 1.1.1 - 19.Mar.2013
* Support wayland 1.0 protocol (Rob Bradford)
* Automake 1.13 fixups (Armin K)
2017-02-24 00:10:04 +00:00
jperkin
f1a1ed5e79 Revert OPSYSVARS change, variables don't support lazy evaluation. 2016-02-25 23:35:44 +00:00
jperkin
966b25ed06 Use OPSYSVARS. 2016-02-25 15:49:43 +00:00
agc
95c9a6891d Add SHA512 digests for distfiles for multimedia category
Problems found locating distfiles:
        Package adobe-flash-plugin11: missing distfile flash-plugin-11.2.202.540-release.i386.rpm
        Package gmplayer: missing distfile mplayer/AlienMind-1.2.tar.bz2
        Package gmplayer: missing distfile mplayer/BlueHeart-1.5.tar.bz2
        Package gmplayer: missing distfile mplayer/CornerMP-aqua-1.4.tar.bz2
        Package gmplayer: missing distfile mplayer/MPlayer-1.1.1.tar.xz
        Package gmplayer: missing distfile mplayer/WMP6-2.2.tar.bz2
        Package gmplayer: missing distfile mplayer/gnome-1.1.tar.bz2
        Package gmplayer: missing distfile mplayer/hwswskin-1.3.tar.bz2
        Package gmplayer: missing distfile mplayer/neutron-1.6.tar.bz2
        Package gmplayer: missing distfile mplayer/plastic-1.3.tar.bz2
        Package gmplayer: missing distfile mplayer/slim-1.3.tar.bz2
        Package gmplayer: missing distfile mplayer/xine-lcd-1.2.tar.bz2
        Package handbrake: missing distfile handbrake/HandBrake-0.9.3.tar.gz
        Package handbrake: missing distfile handbrake/bzip2-1.0.5.tar.gz
        Package handbrake: missing distfile handbrake/faad2-2.6.1.tar.gz
        Package handbrake: missing distfile handbrake/lame-3.98.tar.gz
        Package handbrake: missing distfile handbrake/libdvdread-0.9.7.tar.gz
        Package handbrake: missing distfile handbrake/libmp4v2-r45.tar.gz
        Package handbrake: missing distfile handbrake/libquicktime-0.9.10.tar.gz
        Package handbrake: missing distfile handbrake/libtheora-1.0.tar.gz
        Package handbrake: missing distfile handbrake/mpeg2dec-0.5.1.tar.gz
        Package handbrake: missing distfile handbrake/x264-r1028-83baa7f.tar.gz
        Package handbrake: missing distfile handbrake/zlib-1.2.3.tar.gz
        Package libdvdcss: missing distfile libdvdcss-1.3.99.tar.bz2
        Package mplayer-share: missing distfile mplayer/MPlayer-1.1.1.tar.xz
        Package mpv: missing distfile mpv-0.12.0.tar.gz
        Package realplayer-codecs: missing distfile rp8codecs-20040626.tar.bz2
        Package realplayer-codecs: missing distfile rp8codecs-alpha-20050115.tar.bz2
        Package win32-codecs: missing distfile rp9codecs-win32-20050115.tar.bz2
        Package xanim: missing distfile xa2.0_cvid_netbsd386.o.gz
        Package xanim: missing distfile xa2.0_iv32_netbsd386.o.gz
        Package xanim: missing distfile xa1.0_cyuv_netbsd68k.o.gz
        Package xanim: missing distfile xa2.0_cvid_linuxELF.o.gz
        Package xanim: missing distfile xa2.0_iv32_linuxELF.o.gz
        Package xanim: missing distfile xa1.0_cyuv_sparcAOUT.o.gz
        Package xanim: missing distfile xa2.0_cvid_sparcELF.o.gz
        Package xanim: missing distfile xa2.0_iv32_sparcELF.o.gz
        Package xanim: missing distfile xa1.0_cyuv_linuxPPC.o.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 23:54:22 +00:00
tnn
02c5285498 PR pkg/50243: PLIST fix when X11_TYPE=modular and PKG_OPTIONS.MesaLib=-dri
ok gdt@
2015-09-16 12:28:53 +00:00
tnn
76e5fe9f77 remove dup entry 2015-04-28 06:57:59 +00:00
tnn
ed12f45238 Sync list of PKGCONFIG_OVERRIDEs with package. Bump revision. 2015-04-28 06:56:18 +00:00
tnn
f137beaf7f This has optional EGL support, handle like x11/qt5-qtbase. 2015-04-28 06:54:40 +00:00
tnn
9ee4b877fb Recursive revbump following MesaLib update, categories g through n. 2015-04-25 14:22:51 +00:00
cheusov
baf1f05521 Enable VAAPI only on Linux, FreeBSD and OpenBSD(unsure) 2013-04-14 01:07:56 +00:00
cheusov
594a282c75 Updated to 1.1.0. A lot of changes since 1.0.6, see NEWS file. 2013-04-14 00:30:02 +00:00
wiz
d00e7e4dbe Fix configure step with automake-1.13.
Build still fails with
va_glx_private.h:44:21: error: redefinition of typedef 'PFNGLXCREATEPIXMAPPROC'
2013-01-23 17:28:54 +00:00
asau
a19397ba81 Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days. 2012-10-08 09:20:57 +00:00
joerg
742940a276 Fix build with modular Xorg. 2012-06-25 11:51:27 +00:00
dholland
8d4bfef94d Needs X libraries, not just libdrm. PKGREVISION++ 2011-07-03 08:22:12 +00:00
jmcneill
1f3f03b932 Import libva version 1.0.6.
VAAPI (Video Acceleration API) enables hardware accelerated video
decode/encode at various entry-points (VLD, IDCT, Motion Compensation etc.)
for the prevailing coding standards today (MPEG-2, MPEG-4 ASP/H.263, MPEG-4
AVC/H.264, and VC-1/VMW3).
2011-01-19 04:15:41 +00:00