summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Bump VA-API version to 0.39.1Xiang, Haihao2016-05-111-1/+1
| | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* test/encode/avcenc: Add support for low power modeXiang, Haihao2016-05-091-4/+11
| | | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> Reviewed-By: Sean V Kelley <sean.v.kelley@intel.com>
* test/encode/avcenc: use getopt_long_only() to parse optional command-line ↵Xiang, Haihao2016-05-091-33/+59
| | | | | | | | | options It's convenient to add new option later Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> Reviewed-By: Sean V Kelley <sean.v.kelley@intel.com>
* Add Macroblock based rate control method.pylee2016-05-091-0/+5
| | | | | Signed-off-by: pylee <penne.y.lee@intel.com> Reviewed-By: Sean V Kelley <sean.v.kelley@intel.com>
* Merge ROI patches from staging branchpylee2016-05-091-10/+80
| | | | | | | | | | Cherry-pick'ed from: 26cc3b0: Add Region-of-Interest (ROI) support for encoder based on user provided ROI rectangles. 84b90a3: ROI updates for encoder. Signed-off-by: pylee <penne.y.lee@intel.com> Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> Reviewed-By: Sean V Kelley <sean.v.kelley@intel.com>
* Add the missing entrypoints in vainfo listYuan, Shengquan2016-05-091-0/+1
| | | | | | | It is a part of 624838b in staging branch Signed-off-by: Austin Yuan <shengquan.yuan@intel.com> Reviewed-By: Sean V Kelley <sean.v.kelley@intel.com>
* Added VAEntrypointEncSliceLP for implementations to expose a low power/high ↵Jonathan Bian2016-05-091-0/+9
| | | | | | | | performance variant of slice level encoding entrypoint. Signed-off-by: Jonathan Bian <jonathan.bian@intel.com> Reviewed-By: Sean V Kelley <sean.v.kelley@intel.com> (cherry picked from commit 71030701cef0c1099e87d112f3207cb78a6ce711)
* gcc suggests not putting ; at end of if statementsAlan Coopersmith2016-04-251-1/+1
| | | | | | | | | | | | dri2_util.c: In function 'dri2Close': dri2_util.c:171:33: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] if (dri_state->base.fd >= 0); ^ Introduced-by: commit fffeffb8a78fffbb6a May 30 2011 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
* libva 1.7.1.pre1 for developmentXiang, Haihao2016-03-171-2/+2
| | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* libva 1.7.0libva-1.7.0Xiang, Haihao2016-03-152-3/+3
| | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* Allow loading the backend driver built against VAAPI 0.38Xiang, Haihao2016-03-151-0/+1
| | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* Update NEWSlibva-1.7.0.pre1Xiang, Haihao2016-03-041-1/+7
| | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* Bump VA-API to 0.39Xiang, Haihao2016-03-031-3/+3
| | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* Merge remote-tracking branch 'fdo/v1.6-branch' into fdo--masterXiang, Haihao2016-03-031-1/+14
|\
| * add the support of enum VAProfileVP9Profile1~3 for vainfokbl-alpha-rc1kbl-alphav1.6-branchpeng.chen2016-01-291-0/+3
| | | | | | | | | | Signed-off-by: peng.chen <peng.c.chen@intel.com> (cherry picked from commit 09b2f1f637390318236c11312898e3f4906c9581)
| * Add support for 10b vp9 decodeWang, Ce2016-01-292-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | v2: recover VAProfileVP9Profile1~3 from the original patch v1: initial Signed-off-by: Sun, Maggie <maggie.sun@intel.com> Signed-off-by: peng.chen <peng.c.chen@intel.com> (cherry picked from commit 000622dad919387ac40f3ad48157d5db925c1ce9)
| * Avoid reaching div by zeroLim Siew Hoon2016-01-291-1/+1
| | | | | | | | | | Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com> (cherry picked from commit cb418f6ef36b6e6f0d632bf7c0aaf035a271400b)
| * libva 1.6.3.pre1 for developmentXiang, Haihao2016-01-291-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit 6ef997f03eba8fcabfe3a2ac1546bbaf924e519f) Conflicts: configure.ac
| * libva 1.6.2libva-1.6.2bxt-alpha-rc1Xiang, Haihao2015-12-152-5/+5
| | | | | | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
| * libva 1.6.2.pre3libva-1.6.2.pre3Xiang, Haihao2015-12-111-1/+1
| | | | | | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
| * Fix error caused by 'make distclean' with wayland disabledXiang, Haihao2015-12-114-35/+10
| | | | | | | | | | | | | | | | | | | | This is based on Mesa's 426a23af147720ae3b89995ffee792a29e8ae2db. v2: cleanup va/wayland/Makefile.am and nuke va/wayland/protocol/Makefile.am (Emil) Cc: Emil Velikov <emil.l.velikov@gmail.com> Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit d6d1e231ebd76e5ee353f460b01ceda43f13e155)
| * Generate wayland related files even if wayland disabledXiang, Haihao2015-12-111-9/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the regression caused by commit 883ce46 Making all in debian.upstream make[2]: Entering directory '/home/uaeoff/Work/workspace/media/build/libva/debian.upstream' make[2]: *** No rule to make target 'libva-wayland1.install', needed by 'all-am'. Stop. make[2]: Leaving directory '/home/uaeoff/Work/workspace/media/build/libva/debian.upstream' Makefile:453: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/home/uaeoff/Work/workspace/media/build/libva' Makefile:384: recipe for target 'all' failed make: *** [all] Error 2 Reported-by: Eoff, Ullysses A <ullysses.a.eoff@intel.com> Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit af199eb763afcce467a66689049070bb416aeaa4)
| * libva 1.6.2.pre2libva-1.6.2.pre2Xiang, Haihao2015-12-072-1/+6
| | | | | | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
| * Bump VA API to 0.38.1Xiang, Haihao2015-12-071-1/+1
| | | | | | | | | | | | | | We added some new flags Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit 46ffebbf3c1ff123c47ef915ce49a59a5f6faf6e)
| * Added 10-bit YUV RT format value and fourcc codesJonathan Bian2015-12-071-0/+8
| | | | | | | | (cherry picked from commit 52ed6a80c332fd744a39442c4053df3befade570)
| * Add the new YV16 fourcc codeZhao Yakui2015-12-071-0/+5
| | | | | | | | | | | | | | | | | | | | | | Some input sources require YV16, which is described as the following: Planar YUV4:2:2; 8 bit Y plane, followed by 8 bit 2x1 subsampled V and U planes. V1->V2: Follow Gwenole and Haihao to update the comment Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> (cherry picked from commit 238b914bba8cc41076c14eb2d37938f2f705e78f)
| * Skip the check related with wayland if wayland is not used or foundThomas Orgis2015-12-071-8/+14
| | | | | | | | | | | | | | | | https://bugs.freedesktop.org/show_bug.cgi?id=79478 Signed-off-by: Thomas Orgis <obukus@sourcemage.org> Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> (cherry picked from commit 883ce465933e772c08ad77e4b7f053dc8cb85fba)
| * Update NEWSlibva-1.6.2.pre1Xiang, Haihao2015-11-271-1/+9
| | | | | | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* | glx: check OpenGL 3.1 extensionsCyril Drouet2016-03-031-3/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I successfully implemented hardware decoding with VAAPI via FFmpeg by copying the data back to the CPU's memory; however, when I tried to use the data directly from the GPU (instead of copying them back) by using VA/GLX to convert the decoded VASurfaces to OpenGL textures, I ran into some issues. With the latest version of libva, vaCreateSurfaceGLX fails all the time when I set OpenGL to 3.1 or above. If I set it to 3.0, then it doesn't fail, and everything works correctly. I downloaded the sources of libva and it fails when checking for GL extensions because of the use of glGetString(GL_EXTENSIONS) which is deprecated. I have implemented a fix on my end (which I've attached for convenience) which works well for me but I haven't done a lot of testing, and I would rather use the official version of libva. Signed-off-by: Cyril Drouet <cyril.drouet@immerex.com> Signed-off-by: Víctor Jáquez <vjaquez@igalia.com>
* | driver_name_map: add nouveau and radeon for Mesa GalliumJulien Isorce2016-02-021-0/+2
| | | | | | | | | | | | | | | | | | This patch allows va_getDriverName to succeed. It is useful in vaInitialize to select the vaapi driver provided by Mesa Gallium: lib/dri/gallium_drv_video.so Signed-off-by: Julien Isorce <j.isorce@samsung.com>
* | add the support of enum VAProfileVP9Profile1~3 for vainfopeng.chen2016-01-291-0/+3
| | | | | | | | Signed-off-by: peng.chen <peng.c.chen@intel.com>
* | Add support for 10b vp9 decodeWang, Ce2016-01-292-3/+11
| | | | | | | | | | | | | | | | | | | | | | v2: recover VAProfileVP9Profile1~3 from the original patch v1: initial Signed-off-by: Sun, Maggie <maggie.sun@intel.com> Signed-off-by: peng.chen <peng.c.chen@intel.com>
* | Avoid reaching div by zeroLim Siew Hoon2016-01-111-1/+1
| | | | | | | | Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>
* | libva 1.6.3.pre1 for developmentXiang, Haihao2015-12-141-1/+1
| | | | | | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* | Fix error caused by 'make distclean' with wayland disabledXiang, Haihao2015-12-114-35/+10
| | | | | | | | | | | | | | | | | | This is based on Mesa's 426a23af147720ae3b89995ffee792a29e8ae2db. v2: cleanup va/wayland/Makefile.am and nuke va/wayland/protocol/Makefile.am (Emil) Cc: Emil Velikov <emil.l.velikov@gmail.com> Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* | Generate wayland related files even if wayland disabledXiang, Haihao2015-12-111-9/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the regression caused by commit 883ce46 Making all in debian.upstream make[2]: Entering directory '/home/uaeoff/Work/workspace/media/build/libva/debian.upstream' make[2]: *** No rule to make target 'libva-wayland1.install', needed by 'all-am'. Stop. make[2]: Leaving directory '/home/uaeoff/Work/workspace/media/build/libva/debian.upstream' Makefile:453: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/home/uaeoff/Work/workspace/media/build/libva' Makefile:384: recipe for target 'all' failed make: *** [all] Error 2 Reported-by: Eoff, Ullysses A <ullysses.a.eoff@intel.com> Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* | Bump VA API to 0.38.1Xiang, Haihao2015-12-071-1/+1
| | | | | | | | | | | | We added some new flags Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* | Added 10-bit YUV RT format value and fourcc codesJonathan Bian2015-12-071-0/+8
| | | | | | | | (cherry picked from commit 52ed6a80c332fd744a39442c4053df3befade570)
* | Add the new YV16 fourcc codeZhao Yakui2015-12-071-0/+5
| | | | | | | | | | | | | | | | | | | | | | Some input sources require YV16, which is described as the following: Planar YUV4:2:2; 8 bit Y plane, followed by 8 bit 2x1 subsampled V and U planes. V1->V2: Follow Gwenole and Haihao to update the comment Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> (cherry picked from commit 238b914bba8cc41076c14eb2d37938f2f705e78f)
* | Revert "Added 10-bit YUV RT format value and fourcc codes"Xiang, Haihao2015-12-071-14/+0
| | | | | | | | | | | | VA_FOURCC_YV16 was added in another commit This reverts commit 280c9511f38156ed238fa9cf7526f3a5e4d04fe9.
* | Skip the check related with wayland if wayland is not used or foundThomas Orgis2015-12-041-8/+14
| | | | | | | | | | | | | | https://bugs.freedesktop.org/show_bug.cgi?id=79478 Signed-off-by: Thomas Orgis <obukus@sourcemage.org> Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
* | Added 10-bit YUV RT format value and fourcc codesJonathan Bian2015-12-021-0/+14
|/ | | | | | | (cherry picked from commit 52ed6a80c332fd744a39442c4053df3befade570) Conflicts: va/va.h
* LIBVA_DRIVER_NAME needs to be used if set at allMatthew Waters2015-11-231-2/+1
| | | | | | | | | va_GetDriverName fails to find the vdpau driver returning something != SUCCESS and the driver name is not used at all. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=72822 Change-Id: I29ef398bf066badedc25de10873975ad0479dccf Signed-off-by: Philippe Coval <rzr@gna.org>
* x11_screen driver context member initialization for X11 outputAlexandr2015-11-191-0/+1
| | | | | | https://bugs.freedesktop.org/show_bug.cgi?id=61603 Signed-off-by: Alexandr <pankoAA@ya.ru>
* vainfo: Add option --displayXiang, Haihao2015-11-181-0/+2
| | | | | | | | User can use 'vainfo --display help' to get available display list and 'vainfo --display <display name>' to show available profile/entroypoint pairs with specified name Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* va/x11: Don't crash the application if it does not have access to the DRI2 ↵Francois Gouget2015-09-291-1/+0
| | | | | | | | | | device. Applications run in a different account than the logged in user will not have permission to access /dev/dri/card0 but may be able to work without it, particularly if VA-API was brought in through a general framework such as GStreamer. Signed-off-by: Francois Gouget <fgouget@free.fr>
* test/encode: remove unused variables and functionsU. Artie Eoff2015-09-163-63/+6
| | | | | | | | This gets rid of compiler warnings caused by various unused variables and functions. Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com> Signed-off-by: Sean V Kelley <seanvk@posteo.de>
* avcenc: support large source fileXiang, Haihao2015-09-151-4/+4
| | | | | | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit 29ad40444f3ed68e5f54ddd70dd256ea41e0456f) Conflicts: test/encode/avcenc.c
* libva 1.6.2.pre1 for developmentXiang, Haihao2015-09-101-2/+2
| | | | Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
* Merge branch 'v1.6-branch' into fdo--masterXiang, Haihao2015-09-102-2/+7
|\ | | | | | | | | Conflicts: configure.ac