Date: Thu, 06 Jan 2011 15:59:31 +0300 From: Anonymous <swell.k@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/153725: [new port] multimedia/libva: VAAPI wrapper and dummy driver Message-ID: <86wrmirxvw.fsf@gmail.com> Resent-Message-ID: <201101061300.p06D0P6S022950@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 153725 >Category: ports >Synopsis: [new port] multimedia/libva: VAAPI wrapper and dummy driver >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Jan 06 13:00:24 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Anonymous >Release: FreeBSD 9.0-CURRENT amd64 >Organization: >Environment: cpu - E8400 (core2, 3Ghz) chip=0x062210de (GeForce 9600 GT) multimedia/vdpau-video x11/nvidia-driver >Description: >From pkg-descr: The main motivation for VAAPI (Video Acceleration API) is to enable 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). WWW: http://freedesktop.org/wiki/Software/vaapi >How-To-Repeat: $ vainfo libva: libva version 0.31.1 Xlib: extension "XFree86-DRI" missing on display ":0.0". libva: va_getDriverName() returns 0 libva: Trying to open /usr/local/lib/va/nvidia_drv_video.so libva: va_openDriver() returns 0 vainfo: VA API version: 0.31 vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA-API - 0.7.3.pre2 vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointVLD VAProfileH264Main : VAEntrypointVLD VAProfileH264High : VAEntrypointVLD VAProfileVC1Simple : VAEntrypointVLD VAProfileVC1Main : VAEntrypointVLD VAProfileVC1Advanced : VAEntrypointVLD $ LIBVA_DRIVER_NAME=dummy vainfo libva: libva version 0.31.1 libva: User requested driver 'dummy' libva: Trying to open /usr/local/lib/va/dummy_drv_video.so libva: va_openDriver() returns 0 vainfo: VA API version: 0.31 vainfo: Driver version: Dummy Driver 1.0 vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Simple : VAEntrypointMoComp VAProfileMPEG2Main : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointMoComp VAProfileMPEG4Simple : VAEntrypointVLD VAProfileMPEG4AdvancedSimple : VAEntrypointVLD VAProfileMPEG4Main : VAEntrypointVLD VAProfileH264Baseline : VAEntrypointVLD VAProfileH264Main : VAEntrypointVLD VAProfileH264High : VAEntrypointVLD VAProfileVC1Simple : VAEntrypointVLD VAProfileVC1Main : VAEntrypointVLD VAProfileVC1Advanced : VAEntrypointVLD Let's try multimedia/vlc now. It's unlikely that CPU usage would drop to around 2% for 1080p like when using mplayer-uau + vdpau. $ cvlc --ffmpeg-hw foo.mkv VLC media player 1.1.5 The Luggage (revision exported) [...] libva: libva version 0.31.1 Xlib: extension "XFree86-DRI" missing on display ":0.0". libva: va_getDriverName() returns 0 libva: Trying to open /usr/local/lib/va/nvidia_drv_video.so libva: va_openDriver() returns 0 [0x82796b770] avcodec decoder: Using VA API version 0.31 for hardware decoding. The dummy driver obviously not gonna work. $ LIBVA_DRIVER_NAME=dummy cvlc --ffmpeg-hw foo.mkv VLC media player 1.1.5 The Luggage (revision exported) [...] libva: libva version 0.31.1 libva: User requested driver 'dummy' libva: Trying to open /usr/local/lib/va/dummy_drv_video.so libva: va_openDriver() returns 0 [0x82756c170] avcodec decoder error: vlc_va_Setup failed One can also try to run tests, e.g. $ for tn in $(jot -w%02d 11 01); do LIBVA_DRIVER_NAME=dummy vatest_$tn; done libva: libva version 0.31.1 libva: User requested driver 'dummy' libva: Trying to open /usr/local/lib/va/dummy_drv_video.so libva: va_openDriver() returns 0 *** vatest_01: Initialize & Terminate --- XOpenDisplay: dpy = 01851000 --- vaGetDisplay: va_dpy = 018d0040 --- vaInitialize: major = 0 minor = 31 --- vaTerminate --- XCloseDisplay *** vatest_01: Finished libva: libva version 0.31.1 libva: User requested driver 'dummy' libva: Trying to open /usr/local/lib/va/dummy_drv_video.so libva: va_openDriver() returns 0 *** vatest_02: Query profiles --- vaMaxNumProfiles = 11 --- vaQueryConfigProfiles reports 11 profiles --- profile 0 [VAProfileMPEG2Simple] --- profile 1 [VAProfileMPEG2Main] --- profile 2 [VAProfileMPEG4Simple] --- profile 3 [VAProfileMPEG4AdvancedSimple] --- profile 4 [VAProfileMPEG4Main] --- profile 5 [VAProfileH264Baseline] --- profile 6 [VAProfileH264Main] --- profile 7 [VAProfileH264High] --- profile 8 [VAProfileVC1Simple] --- profile 9 [VAProfileVC1Main] --- profile 10 [VAProfileVC1Advanced] *** vatest_02: Finished libva: libva version 0.31.1 libva: User requested driver 'dummy' libva: Trying to open /usr/local/lib/va/dummy_drv_video.so libva: va_openDriver() returns 0 *** vatest_03: Query entrypoints for all profiles --- vaMaxEntryPoints = 5 --- vaQueryConfigEntryPoints(VAProfileMPEG2Simple) reports 2 entrypoints --- entrypoint 1 [VAEntrypointVLD] --- entrypoint 4 [VAEntrypointMoComp] --- vaQueryConfigEntryPoints(VAProfileMPEG2Main) reports 2 entrypoints --- entrypoint 1 [VAEntrypointVLD] --- entrypoint 4 [VAEntrypointMoComp] --- vaQueryConfigEntryPoints(VAProfileMPEG4Simple) reports 1 entrypoints --- entrypoint 1 [VAEntrypointVLD] --- vaQueryConfigEntryPoints(VAProfileMPEG4AdvancedSimple) reports 1 entrypoints --- entrypoint 1 [VAEntrypointVLD] --- vaQueryConfigEntryPoints(VAProfileMPEG4Main) reports 1 entrypoints --- entrypoint 1 [VAEntrypointVLD] --- vaQueryConfigEntryPoints(VAProfileH264Baseline) reports 1 entrypoints --- entrypoint 1 [VAEntrypointVLD] --- vaQueryConfigEntryPoints(VAProfileH264Main) reports 1 entrypoints --- entrypoint 1 [VAEntrypointVLD] --- vaQueryConfigEntryPoints(VAProfileH264High) reports 1 entrypoints --- entrypoint 1 [VAEntrypointVLD] --- vaQueryConfigEntryPoints(VAProfileVC1Simple) reports 1 entrypoints --- entrypoint 1 [VAEntrypointVLD] --- vaQueryConfigEntryPoints(VAProfileVC1Main) reports 1 entrypoints --- entrypoint 1 [VAEntrypointVLD] --- vaQueryConfigEntryPoints(VAProfileVC1Advanced) reports 1 entrypoints --- entrypoint 1 [VAEntrypointVLD] *** vatest_03: Finished libva: libva version 0.31.1 libva: User requested driver 'dummy' libva: Trying to open /usr/local/lib/va/dummy_drv_video.so libva: va_openDriver() returns 0 *** vatest_04: Get config attributes for all profiles / entrypoints --- vaGetConfigAttributes for VAProfileMPEG2Simple, VAEntrypointVLD --- 0 -> 00000001 --- 1 -> 80000000 --- 2 -> 80000000 --- 3 -> 80000000 --- 4 -> 80000000 --- vaGetConfigAttributes for VAProfileMPEG2Simple, VAEntrypointMoComp --- 0 -> 00000001 --- 1 -> 80000000 --- 2 -> 80000000 --- 3 -> 80000000 --- 4 -> 80000000 --- vaGetConfigAttributes for VAProfileMPEG2Main, VAEntrypointVLD --- 0 -> 00000001 --- 1 -> 80000000 --- 2 -> 80000000 --- 3 -> 80000000 --- 4 -> 80000000 --- vaGetConfigAttributes for VAProfileMPEG2Main, VAEntrypointMoComp --- 0 -> 00000001 --- 1 -> 80000000 --- 2 -> 80000000 --- 3 -> 80000000 --- 4 -> 80000000 --- vaGetConfigAttributes for VAProfileMPEG4Simple, VAEntrypointVLD --- 0 -> 00000001 --- 1 -> 80000000 --- 2 -> 80000000 --- 3 -> 80000000 --- 4 -> 80000000 --- vaGetConfigAttributes for VAProfileMPEG4AdvancedSimple, VAEntrypointVLD --- 0 -> 00000001 --- 1 -> 80000000 --- 2 -> 80000000 --- 3 -> 80000000 --- 4 -> 80000000 --- vaGetConfigAttributes for VAProfileMPEG4Main, VAEntrypointVLD --- 0 -> 00000001 --- 1 -> 80000000 --- 2 -> 80000000 --- 3 -> 80000000 --- 4 -> 80000000 --- vaGetConfigAttributes for VAProfileH264Baseline, VAEntrypointVLD --- 0 -> 00000001 --- 1 -> 80000000 --- 2 -> 80000000 --- 3 -> 80000000 --- 4 -> 80000000 --- vaGetConfigAttributes for VAProfileH264Main, VAEntrypointVLD --- 0 -> 00000001 --- 1 -> 80000000 --- 2 -> 80000000 --- 3 -> 80000000 --- 4 -> 80000000 --- vaGetConfigAttributes for VAProfileH264High, VAEntrypointVLD --- 0 -> 00000001 --- 1 -> 80000000 --- 2 -> 80000000 --- 3 -> 80000000 --- 4 -> 80000000 --- vaGetConfigAttributes for VAProfileVC1Simple, VAEntrypointVLD --- 0 -> 00000001 --- 1 -> 80000000 --- 2 -> 80000000 --- 3 -> 80000000 --- 4 -> 80000000 --- vaGetConfigAttributes for VAProfileVC1Main, VAEntrypointVLD --- 0 -> 00000001 --- 1 -> 80000000 --- 2 -> 80000000 --- 3 -> 80000000 --- 4 -> 80000000 --- vaGetConfigAttributes for VAProfileVC1Advanced, VAEntrypointVLD --- 0 -> 00000001 --- 1 -> 80000000 --- 2 -> 80000000 --- 3 -> 80000000 --- 4 -> 80000000 *** vatest_04: Finished libva: libva version 0.31.1 libva: User requested driver 'dummy' libva: Trying to open /usr/local/lib/va/dummy_drv_video.so libva: va_openDriver() returns 0 *** vatest_05: Create/destroy configs for all profiles / entrypoints --- vaCreateConfig for VAProfileMPEG2Simple, VAEntrypointVLD --- vaCreateConfig returns 01000000 --- vaCreateConfig for VAProfileMPEG2Simple, VAEntrypointMoComp --- vaCreateConfig returns 01000001 --- vaCreateConfig for VAProfileMPEG2Main, VAEntrypointVLD --- vaCreateConfig returns 01000002 --- vaCreateConfig for VAProfileMPEG2Main, VAEntrypointMoComp --- vaCreateConfig returns 01000003 --- vaCreateConfig for VAProfileMPEG4Simple, VAEntrypointVLD --- vaCreateConfig returns 01000004 --- vaCreateConfig for VAProfileMPEG4AdvancedSimple, VAEntrypointVLD --- vaCreateConfig returns 01000005 --- vaCreateConfig for VAProfileMPEG4Main, VAEntrypointVLD --- vaCreateConfig returns 01000006 --- vaCreateConfig for VAProfileH264Baseline, VAEntrypointVLD --- vaCreateConfig returns 01000007 --- vaCreateConfig for VAProfileH264Main, VAEntrypointVLD --- vaCreateConfig returns 01000008 --- vaCreateConfig for VAProfileH264High, VAEntrypointVLD --- vaCreateConfig returns 01000009 --- vaCreateConfig for VAProfileVC1Simple, VAEntrypointVLD --- vaCreateConfig returns 0100000a --- vaCreateConfig for VAProfileVC1Main, VAEntrypointVLD --- vaCreateConfig returns 0100000b --- vaCreateConfig for VAProfileVC1Advanced, VAEntrypointVLD --- vaCreateConfig returns 0100000c --- vaDestroyConfig for config 01000000 --- vaDestroyConfig for config 01000001 --- vaDestroyConfig for config 01000002 --- vaDestroyConfig for config 01000003 --- vaDestroyConfig for config 01000004 --- vaDestroyConfig for config 01000005 --- vaDestroyConfig for config 01000006 --- vaDestroyConfig for config 01000007 --- vaDestroyConfig for config 01000008 --- vaDestroyConfig for config 01000009 --- vaDestroyConfig for config 0100000a --- vaDestroyConfig for config 0100000b --- vaDestroyConfig for config 0100000c *** vatest_05: Finished libva: libva version 0.31.1 libva: User requested driver 'dummy' libva: Trying to open /usr/local/lib/va/dummy_drv_video.so libva: va_openDriver() returns 0 *** vatest_06: Get config attributes from configs --- Checking vaQueryConfigAttributes for VAProfileMPEG2Simple, VAEntrypointVLD --- 0 -> 00000001 --- Checking vaQueryConfigAttributes for VAProfileMPEG2Simple, VAEntrypointMoComp --- 0 -> 00000001 --- Checking vaQueryConfigAttributes for VAProfileMPEG2Main, VAEntrypointVLD --- 0 -> 00000001 --- Checking vaQueryConfigAttributes for VAProfileMPEG2Main, VAEntrypointMoComp --- 0 -> 00000001 --- Checking vaQueryConfigAttributes for VAProfileMPEG4Simple, VAEntrypointVLD --- 0 -> 00000001 --- Checking vaQueryConfigAttributes for VAProfileMPEG4AdvancedSimple, VAEntrypointVLD --- 0 -> 00000001 --- Checking vaQueryConfigAttributes for VAProfileMPEG4Main, VAEntrypointVLD --- 0 -> 00000001 --- Checking vaQueryConfigAttributes for VAProfileH264Baseline, VAEntrypointVLD --- 0 -> 00000001 --- Checking vaQueryConfigAttributes for VAProfileH264Main, VAEntrypointVLD --- 0 -> 00000001 --- Checking vaQueryConfigAttributes for VAProfileH264High, VAEntrypointVLD --- 0 -> 00000001 --- Checking vaQueryConfigAttributes for VAProfileVC1Simple, VAEntrypointVLD --- 0 -> 00000001 --- Checking vaQueryConfigAttributes for VAProfileVC1Main, VAEntrypointVLD --- 0 -> 00000001 --- Checking vaQueryConfigAttributes for VAProfileVC1Advanced, VAEntrypointVLD --- 0 -> 00000001 *** vatest_06: Finished libva: libva version 0.31.1 libva: User requested driver 'dummy' libva: Trying to open /usr/local/lib/va/dummy_drv_video.so libva: va_openDriver() returns 0 *** vatest_07: Create and destory surfaces --- vaCreateSurfaces 1 surface --- vaCreateSurfaces 4 surfaces --- vaCreateSurfaces 16 surfaces --- vaDestroySurface 4 surfaces --- vaCreateSurfaces 6 surfaces --- vaDestroySurface 16 surfaces --- vaDestroySurface 1 surface --- vaDestroySurface 6 surfaces *** vatest_07: Finished libva: libva version 0.31.1 libva: User requested driver 'dummy' libva: Trying to open /usr/local/lib/va/dummy_drv_video.so libva: va_openDriver() returns 0 *** vatest_08: Create and destory surfaces of different sizes --- vaCreateSurfaces create 10x10 surface --- vaCreateSurfaces create 128x128 surface --- vaCreateSurfaces create 176x144 surface --- vaCreateSurfaces create 144x176 surface --- vaCreateSurfaces create 352x288 surface --- vaCreateSurfaces create 399x299 surface --- vaCreateSurfaces create 640x480 surface --- vaCreateSurfaces create 1280x720 surface --- vaDestroySurface all surfaces *** vatest_08: Finished libva: libva version 0.31.1 libva: User requested driver 'dummy' libva: Trying to open /usr/local/lib/va/dummy_drv_video.so libva: va_openDriver() returns 0 *** vatest_09: Create/destroy contexts for all profiles / entrypoints --- vaCreateConfig for VAProfileMPEG2Simple, VAEntrypointVLD --- vaCreateConfig returns 01000000 --- vaCreateConfig for VAProfileMPEG2Simple, VAEntrypointMoComp --- vaCreateConfig returns 01000001 --- vaCreateConfig for VAProfileMPEG2Main, VAEntrypointVLD --- vaCreateConfig returns 01000002 --- vaCreateConfig for VAProfileMPEG2Main, VAEntrypointMoComp --- vaCreateConfig returns 01000003 --- vaCreateConfig for VAProfileMPEG4Simple, VAEntrypointVLD --- vaCreateConfig returns 01000004 --- vaCreateConfig for VAProfileMPEG4AdvancedSimple, VAEntrypointVLD --- vaCreateConfig returns 01000005 --- vaCreateConfig for VAProfileMPEG4Main, VAEntrypointVLD --- vaCreateConfig returns 01000006 --- vaCreateConfig for VAProfileH264Baseline, VAEntrypointVLD --- vaCreateConfig returns 01000007 --- vaCreateConfig for VAProfileH264Main, VAEntrypointVLD --- vaCreateConfig returns 01000008 --- vaCreateConfig for VAProfileH264High, VAEntrypointVLD --- vaCreateConfig returns 01000009 --- vaCreateConfig for VAProfileVC1Simple, VAEntrypointVLD --- vaCreateConfig returns 0100000a --- vaCreateConfig for VAProfileVC1Main, VAEntrypointVLD --- vaCreateConfig returns 0100000b --- vaCreateConfig for VAProfileVC1Advanced, VAEntrypointVLD --- vaCreateConfig returns 0100000c --- vaCreateContext with config 01000000 --- vaCreateContext with config 01000001 --- vaCreateContext with config 01000002 --- vaCreateContext with config 01000003 --- vaCreateContext with config 01000004 --- vaCreateContext with config 01000005 --- vaCreateContext with config 01000006 --- vaCreateContext with config 01000007 --- vaCreateContext with config 01000008 --- vaCreateContext with config 01000009 --- vaCreateContext with config 0100000a --- vaCreateContext with config 0100000b --- vaCreateContext with config 0100000c --- vaDestroyContext for context 02000000 --- vaDestroyContext for context 02000001 --- vaDestroyContext for context 02000002 --- vaDestroyContext for context 02000003 --- vaDestroyContext for context 02000004 --- vaDestroyContext for context 02000005 --- vaDestroyContext for context 02000006 --- vaDestroyContext for context 02000007 --- vaDestroyContext for context 02000008 --- vaDestroyContext for context 02000009 --- vaDestroyContext for context 0200000a --- vaDestroyContext for context 0200000b --- vaDestroyContext for context 0200000c --- vaDestroyConfig for config 01000000 --- vaDestroyConfig for config 01000001 --- vaDestroyConfig for config 01000002 --- vaDestroyConfig for config 01000003 --- vaDestroyConfig for config 01000004 --- vaDestroyConfig for config 01000005 --- vaDestroyConfig for config 01000006 --- vaDestroyConfig for config 01000007 --- vaDestroyConfig for config 01000008 --- vaDestroyConfig for config 01000009 --- vaDestroyConfig for config 0100000a --- vaDestroyConfig for config 0100000b --- vaDestroyConfig for config 0100000c *** vatest_09: Finished libva: libva version 0.31.1 libva: User requested driver 'dummy' libva: Trying to open /usr/local/lib/va/dummy_drv_video.so libva: va_openDriver() returns 0 *** vatest_10: Create and destroy buffers *** vatest_10: Finished libva: libva version 0.31.1 libva: User requested driver 'dummy' libva: Trying to open /usr/local/lib/va/dummy_drv_video.so libva: va_openDriver() returns 0 *** vatest_11: Map and unmap buffers --- vaCreateBuffer created buffer 08000000 of type 0 --- vaCreateBuffer created buffer 08000001 of type 1 --- vaCreateBuffer created buffer 08000002 of type 2 --- vaCreateBuffer created buffer 08000003 of type 3 --- vaCreateBuffer created buffer 08000004 of type 4 --- vaCreateBuffer created buffer 08000005 of type 5 --- vaCreateBuffer created buffer 08000006 of type 6 --- vaCreateBuffer created buffer 08000007 of type 7 --- vaCreateBuffer created buffer 08000008 of type 8 --- vaMapBuffer mapped buffer 08000000 --- vaMapBuffer mapped buffer 08000001 --- vaMapBuffer mapped buffer 08000002 --- vaMapBuffer mapped buffer 08000003 --- vaMapBuffer mapped buffer 08000004 --- vaMapBuffer mapped buffer 08000005 --- vaMapBuffer mapped buffer 08000006 --- vaMapBuffer mapped buffer 08000007 --- vaMapBuffer mapped buffer 08000008 *** vatest_11: Finished >Fix: --- a.diff begins here --- Index: multimedia/Makefile =================================================================== RCS file: /a/.cvsup/ports/multimedia/Makefile,v retrieving revision 1.402 diff -u -p -r1.402 Makefile --- multimedia/Makefile 3 Jan 2011 14:37:53 -0000 1.402 +++ multimedia/Makefile 5 Jan 2011 00:19:44 -0000 @@ -163,6 +163,7 @@ SUBDIR += libtheora SUBDIR += libtuner SUBDIR += libv4l + SUBDIR += libva SUBDIR += libvdpau SUBDIR += libvpx SUBDIR += libxine Index: multimedia/libva/Makefile =================================================================== RCS file: multimedia/libva/Makefile diff -N multimedia/libva/Makefile --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ multimedia/libva/Makefile 5 Jan 2011 18:41:14 -0000 @@ -0,0 +1,60 @@ +# New ports collection makefile for: libva +# Date created: 5 Jan 2011 +# Whom: Anonymous +# +# $FreeBSD$ +# + +PORTNAME= libva +PORTVERSION= 1.0.6 +CATEGORIES= multimedia +MASTER_SITES= http://cgit.freedesktop.org/${PORTNAME}/snapshot/ + +MAINTAINER= swell.k@gmail.com +COMMENT= VAAPI wrapper and dummy driver + +BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:${PORTSDIR}/multimedia/v4l_compat +LIB_DEPENDS= drm.2:${PORTSDIR}/graphics/libdrm + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/COPYING + +USE_BZIP2= yes +USE_XORG= xext xfixes +USE_GL= gl +USE_AUTOTOOLS= aclocal autoheader automake autoconf libtoolize +ACLOCAL_ARGS= -I. +AUTOMAKE_ARGS= --add-missing +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" +CONFIGURE_ARGS= --program-prefix=va +USE_LDCONFIG= yes + +CPPFLAGS+= -I${LOCALBASE}/include +# prevent types conflict: videodev2.h vs. drm.h +CFLAGS+= -DHAVE_LINUX_INTEGER_TYPES + +.include <bsd.port.pre.mk> + +.if !defined(WITH_DEBUG) +CFLAGS+= -DNDEBUG +.else +CFLAGS+= -D_DEBUG +.endif + +.if defined(STRIP) && ${STRIP} != "" +INSTALL_TARGET= install-strip +.endif + +post-patch: .SILENT + ${REINPLACE_CMD} -e 's|\($$libdir\)/dri|\1/va|' \ + -e 's|$${libdir}/\(pkgconfig\)|$${prefix}/libdata/\1|' \ + ${WRKSRC}/configure.ac + ${REINPLACE_CMD} 's/va\(info\)/\1/' ${WRKSRC}/test/Makefile.am + ${REINPLACE_CMD} 's/-ldl//' ${WRKSRC}/va/Makefile.am + ${REINPLACE_CMD} 's/dummy.*LDFLAGS.*/& -Wl,-lc/' \ + ${WRKSRC}/dummy_drv_video/Makefile.am + ${REINPLACE_CMD} 's/-pthread/${PTHREAD_LIBS}/' \ + ${WRKSRC}/i965_drv_video/Makefile.am \ + ${WRKSRC}/test/putsurface/Makefile.am + +.include <bsd.port.post.mk> Index: multimedia/libva/distinfo =================================================================== RCS file: multimedia/libva/distinfo diff -N multimedia/libva/distinfo --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ multimedia/libva/distinfo 4 Jan 2011 21:27:36 -0000 @@ -0,0 +1,2 @@ +SHA256 (libva-1.0.6.tar.bz2) = becba4898fe4286eeefbd23f044639362c4f6066e74d3e2990999c27776d6e60 +SIZE (libva-1.0.6.tar.bz2) = 453303 Index: multimedia/libva/pkg-descr =================================================================== RCS file: multimedia/libva/pkg-descr diff -N multimedia/libva/pkg-descr --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ multimedia/libva/pkg-descr 4 Jan 2011 21:25:41 -0000 @@ -0,0 +1,6 @@ +The main motivation for VAAPI (Video Acceleration API) is to enable +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). + +WWW: http://freedesktop.org/wiki/Software/vaapi Index: multimedia/libva/pkg-plist =================================================================== RCS file: multimedia/libva/pkg-plist diff -N multimedia/libva/pkg-plist --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ multimedia/libva/pkg-plist 5 Jan 2011 18:46:38 -0000 @@ -0,0 +1,47 @@ +bin/vah264encode +bin/vainfo +bin/vampeg2vldemo +bin/vaputsurface +bin/vatest_01 +bin/vatest_02 +bin/vatest_03 +bin/vatest_04 +bin/vatest_05 +bin/vatest_06 +bin/vatest_07 +bin/vatest_08 +bin/vatest_09 +bin/vatest_10 +bin/vatest_11 +include/va/va.h +include/va/va_backend.h +include/va/va_backend_glx.h +include/va/va_backend_tpi.h +include/va/va_dri.h +include/va/va_dri2.h +include/va/va_dricommon.h +include/va/va_dummy.h +include/va/va_glx.h +include/va/va_tpi.h +include/va/va_version.h +include/va/va_x11.h +lib/libva-glx.la +lib/libva-glx.so +lib/libva-glx.so.1 +lib/libva-tpi.la +lib/libva-tpi.so +lib/libva-tpi.so.1 +lib/libva-x11.la +lib/libva-x11.so +lib/libva-x11.so.1 +lib/libva.la +lib/libva.so +lib/libva.so.1 +lib/va/dummy_drv_video.la +lib/va/dummy_drv_video.so +libdata/pkgconfig/libva-glx.pc +libdata/pkgconfig/libva-tpi.pc +libdata/pkgconfig/libva-x11.pc +libdata/pkgconfig/libva.pc +@dirrm include/va +@dirrmtry lib/va --- a.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86wrmirxvw.fsf>