OSDN Git Service

android-x86/hardware-intel-libva.git
7 years agoAndroid: fix Android build cm-13.0-x86 cm-14.0-x86 cm-14.1-x86
Jaap Jan Meijer [Tue, 26 Jul 2016 10:50:10 +0000 (12:50 +0200)]
Android: fix Android build

7 years agolibva 1.7.1
Xiang, Haihao [Tue, 21 Jun 2016 01:29:25 +0000 (09:29 +0800)]
libva 1.7.1

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
7 years agoUpdate NEWS
Xiang, Haihao [Thu, 2 Jun 2016 14:37:48 +0000 (22:37 +0800)]
Update NEWS

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
7 years agofix check NULL issues
peng.chen [Fri, 27 May 2016 05:16:20 +0000 (13:16 +0800)]
fix check NULL issues

v2:
code clean up

v1:
initial

Signed-off-by: peng.chen <peng.c.chen@intel.com>
7 years agoBump VA-API version to 0.39.2
Xiang, Haihao [Fri, 27 May 2016 05:07:47 +0000 (13:07 +0800)]
Bump VA-API version to 0.39.2

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
7 years agoAdd API for VP9 Encode
Wang, Ce [Thu, 26 May 2016 01:56:41 +0000 (09:56 +0800)]
Add API for VP9 Encode

Signed-off-by: Wang, Ce <ce.wang@intel.com>
Signed-off-by: bzhao11 <bo.zhao@intel.com>
[Haihao: include va_enc_vp9.h in va core include file]
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit 1c314d6a6e6aad9c73ec4837d78e4e3c99137f3b)

7 years agoFix missing parameter of vatrace DisplayAttribute print
Austin Yuan [Tue, 24 May 2016 06:57:25 +0000 (14:57 +0800)]
Fix missing parameter of vatrace DisplayAttribute print

[49270.199330] ==========va_TraceMaxNumDisplayAttributes
[49270.199334]  max_display_attributes = 6
[49270.199362]  num_attributes = 5
[49270.199365]  attr_list[-1429804448] =
[49270.199367]    typ = 0x00000000

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
7 years agotrace: Cleanup some HEVC prints
Scott D Phillips [Tue, 17 May 2016 22:29:08 +0000 (15:29 -0700)]
trace: Cleanup some HEVC prints

Some fields in HEVC buffers had extraneous timestamps interspersed
with the traced data.

Signed-off-by: Scott D Phillips <scott.d.phillips@intel.com>
Reviewed-by: Sean V Kelley <seanvk@posteo.de>
7 years agotrace: Add `va_TracePrint`, `va_TraceVPrint` static functions
Scott D Phillips [Tue, 17 May 2016 22:29:07 +0000 (15:29 -0700)]
trace: Add `va_TracePrint`, `va_TraceVPrint` static functions

These functions are similar to va_TraceMsg() but without emitting
a timestamp.

Signed-off-by: Scott D Phillips <scott.d.phillips@intel.com>
Reviewed-by: Sean V Kelley <seanvk@posteo.de>
7 years agoadd the support of multiple context tracing
peng.chen [Wed, 11 May 2016 07:03:26 +0000 (15:03 +0800)]
add the support of multiple context tracing

Libva has a limited tracing function before. If more than one context is created
in one instance, then this tracing can't work and output wrong log messages.
This patch fixes this problem. Tracing is possible while multiple contexts are
being used.

Each log file name is suffixed by thread id. This file has all log message from
this thread. Each surface or codedbuf dump file name is suffixed by context id.
This file has all surface or codedbuf data of this context.

Signed-off-by: peng.chen <peng.c.chen@intel.com>
Reviewed-by: Sean V Kelley <sean.v.kelley@intel.com>
Tested-by: Daniel Charles <daniel.charles@intel.com>
7 years agoBump VA-API version to 0.39.1
Xiang, Haihao [Wed, 11 May 2016 02:57:31 +0000 (10:57 +0800)]
Bump VA-API version to 0.39.1

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
7 years agotest/encode/avcenc: Add support for low power mode
Xiang, Haihao [Mon, 23 Nov 2015 05:05:02 +0000 (13:05 +0800)]
test/encode/avcenc: Add support for low power mode

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Reviewed-By: Sean V Kelley <sean.v.kelley@intel.com>
7 years agotest/encode/avcenc: use getopt_long_only() to parse optional command-line options
Xiang, Haihao [Mon, 23 Nov 2015 04:37:09 +0000 (12:37 +0800)]
test/encode/avcenc: use getopt_long_only() to parse optional command-line 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>
7 years agoAdd Macroblock based rate control method.
pylee [Wed, 30 Oct 2013 20:43:49 +0000 (13:43 -0700)]
Add Macroblock based rate control method.

Signed-off-by: pylee <penne.y.lee@intel.com>
Reviewed-By: Sean V Kelley <sean.v.kelley@intel.com>
7 years agoMerge ROI patches from staging branch
pylee [Wed, 30 Oct 2013 19:17:53 +0000 (12:17 -0700)]
Merge ROI patches from staging branch

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>
7 years agoAdd the missing entrypoints in vainfo list
Yuan, Shengquan [Thu, 21 Apr 2016 07:47:31 +0000 (07:47 +0000)]
Add the missing entrypoints in vainfo list

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>
7 years agoAdded VAEntrypointEncSliceLP for implementations to expose a low power/high performan...
Jonathan Bian [Wed, 30 Oct 2013 17:03:06 +0000 (10:03 -0700)]
Added VAEntrypointEncSliceLP for implementations to expose a low power/high 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)

8 years agogcc suggests not putting ; at end of if statements
Alan Coopersmith [Sat, 9 Apr 2016 18:00:06 +0000 (11:00 -0700)]
gcc suggests not putting ; at end of if statements

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>
8 years agolibva 1.7.1.pre1 for development
Xiang, Haihao [Thu, 17 Mar 2016 01:06:45 +0000 (09:06 +0800)]
libva 1.7.1.pre1 for development

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
8 years agolibva 1.7.0
Xiang, Haihao [Tue, 15 Mar 2016 06:33:43 +0000 (14:33 +0800)]
libva 1.7.0

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
8 years agoAllow loading the backend driver built against VAAPI 0.38
Xiang, Haihao [Tue, 15 Mar 2016 06:57:13 +0000 (14:57 +0800)]
Allow loading the backend driver built against VAAPI 0.38

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
8 years agoUpdate NEWS
Xiang, Haihao [Fri, 4 Mar 2016 04:09:29 +0000 (12:09 +0800)]
Update NEWS

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
8 years agoBump VA-API to 0.39
Xiang, Haihao [Thu, 3 Mar 2016 04:59:41 +0000 (12:59 +0800)]
Bump VA-API to 0.39

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
8 years agoMerge remote-tracking branch 'fdo/v1.6-branch' into fdo--master
Xiang, Haihao [Thu, 3 Mar 2016 05:00:43 +0000 (13:00 +0800)]
Merge remote-tracking branch 'fdo/v1.6-branch' into fdo--master

8 years agoglx: check OpenGL 3.1 extensions
Cyril Drouet [Wed, 2 Mar 2016 10:21:51 +0000 (11:21 +0100)]
glx: check OpenGL 3.1 extensions

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>
8 years agodriver_name_map: add nouveau and radeon for Mesa Gallium
Julien Isorce [Fri, 27 Nov 2015 08:53:45 +0000 (08:53 +0000)]
driver_name_map: add nouveau and radeon for Mesa Gallium

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>
8 years agoadd the support of enum VAProfileVP9Profile1~3 for vainfo
peng.chen [Wed, 27 Jan 2016 07:05:26 +0000 (15:05 +0800)]
add the support of enum VAProfileVP9Profile1~3 for vainfo

Signed-off-by: peng.chen <peng.c.chen@intel.com>
(cherry picked from commit 09b2f1f637390318236c11312898e3f4906c9581)

8 years agoAdd support for 10b vp9 decode
Wang, Ce [Wed, 27 Jan 2016 07:03:36 +0000 (15:03 +0800)]
Add support for 10b vp9 decode

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)

8 years agoAvoid reaching div by zero
Lim Siew Hoon [Thu, 7 Jan 2016 08:37:23 +0000 (16:37 +0800)]
Avoid reaching div by zero

Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>
(cherry picked from commit cb418f6ef36b6e6f0d632bf7c0aaf035a271400b)

8 years agolibva 1.6.3.pre1 for development
Xiang, Haihao [Sun, 13 Dec 2015 17:28:41 +0000 (01:28 +0800)]
libva 1.6.3.pre1 for development

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit 6ef997f03eba8fcabfe3a2ac1546bbaf924e519f)

Conflicts:
configure.ac

8 years agoadd the support of enum VAProfileVP9Profile1~3 for vainfo
peng.chen [Wed, 27 Jan 2016 07:05:26 +0000 (15:05 +0800)]
add the support of enum VAProfileVP9Profile1~3 for vainfo

Signed-off-by: peng.chen <peng.c.chen@intel.com>
8 years agoAdd support for 10b vp9 decode
Wang, Ce [Wed, 27 Jan 2016 07:03:36 +0000 (15:03 +0800)]
Add support for 10b vp9 decode

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>
8 years agoAvoid reaching div by zero
Lim Siew Hoon [Thu, 7 Jan 2016 08:37:23 +0000 (16:37 +0800)]
Avoid reaching div by zero

Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>
8 years agolibva 1.6.2
Xiang, Haihao [Tue, 15 Dec 2015 06:15:06 +0000 (14:15 +0800)]
libva 1.6.2

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
8 years agolibva 1.6.3.pre1 for development
Xiang, Haihao [Sun, 13 Dec 2015 17:28:41 +0000 (01:28 +0800)]
libva 1.6.3.pre1 for development

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
8 years agolibva 1.6.2.pre3
Xiang, Haihao [Fri, 11 Dec 2015 08:25:13 +0000 (16:25 +0800)]
libva 1.6.2.pre3

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
8 years agoFix error caused by 'make distclean' with wayland disabled
Xiang, Haihao [Thu, 10 Dec 2015 18:58:59 +0000 (02:58 +0800)]
Fix error caused by 'make distclean' with wayland disabled

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)

8 years agoGenerate wayland related files even if wayland disabled
Xiang, Haihao [Thu, 10 Dec 2015 18:47:39 +0000 (02:47 +0800)]
Generate wayland related files even if wayland disabled

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)

8 years agoFix error caused by 'make distclean' with wayland disabled
Xiang, Haihao [Thu, 10 Dec 2015 18:58:59 +0000 (02:58 +0800)]
Fix error caused by 'make distclean' with wayland disabled

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>
8 years agoGenerate wayland related files even if wayland disabled
Xiang, Haihao [Thu, 10 Dec 2015 18:47:39 +0000 (02:47 +0800)]
Generate wayland related files even if wayland disabled

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>
8 years agolibva 1.6.2.pre2
Xiang, Haihao [Mon, 7 Dec 2015 07:32:17 +0000 (15:32 +0800)]
libva 1.6.2.pre2

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
8 years agoBump VA API to 0.38.1
Xiang, Haihao [Mon, 7 Dec 2015 05:01:06 +0000 (13:01 +0800)]
Bump VA API to 0.38.1

We added some new flags

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit 46ffebbf3c1ff123c47ef915ce49a59a5f6faf6e)

8 years agoAdded 10-bit YUV RT format value and fourcc codes
Jonathan Bian [Sun, 28 Sep 2014 23:21:17 +0000 (16:21 -0700)]
Added 10-bit YUV RT format value and fourcc codes

(cherry picked from commit 52ed6a80c332fd744a39442c4053df3befade570)

8 years agoAdd the new YV16 fourcc code
Zhao Yakui [Thu, 27 Mar 2014 01:54:49 +0000 (09:54 +0800)]
Add the new YV16 fourcc code

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)

8 years agoSkip the check related with wayland if wayland is not used or found
Thomas Orgis [Mon, 30 Nov 2015 07:09:33 +0000 (02:09 -0500)]
Skip the check related with wayland if wayland is not used or found

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)

8 years agoBump VA API to 0.38.1
Xiang, Haihao [Mon, 7 Dec 2015 05:01:06 +0000 (13:01 +0800)]
Bump VA API to 0.38.1

We added some new flags

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
8 years agoAdded 10-bit YUV RT format value and fourcc codes
Jonathan Bian [Sun, 28 Sep 2014 23:21:17 +0000 (16:21 -0700)]
Added 10-bit YUV RT format value and fourcc codes

(cherry picked from commit 52ed6a80c332fd744a39442c4053df3befade570)

8 years agoAdd the new YV16 fourcc code
Zhao Yakui [Thu, 27 Mar 2014 01:54:49 +0000 (09:54 +0800)]
Add the new YV16 fourcc code

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)

8 years agoRevert "Added 10-bit YUV RT format value and fourcc codes"
Xiang, Haihao [Mon, 7 Dec 2015 04:40:04 +0000 (12:40 +0800)]
Revert "Added 10-bit YUV RT format value and fourcc codes"

VA_FOURCC_YV16 was added in another commit

This reverts commit 280c9511f38156ed238fa9cf7526f3a5e4d04fe9.

8 years agoSkip the check related with wayland if wayland is not used or found
Thomas Orgis [Mon, 30 Nov 2015 07:09:33 +0000 (02:09 -0500)]
Skip the check related with wayland if wayland is not used or found

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>
8 years agoAdded 10-bit YUV RT format value and fourcc codes
Jonathan Bian [Sun, 28 Sep 2014 23:21:17 +0000 (16:21 -0700)]
Added 10-bit YUV RT format value and fourcc codes

(cherry picked from commit 52ed6a80c332fd744a39442c4053df3befade570)

Conflicts:
va/va.h

8 years agoUpdate NEWS
Xiang, Haihao [Fri, 27 Nov 2015 04:12:38 +0000 (12:12 +0800)]
Update NEWS

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
8 years agoLIBVA_DRIVER_NAME needs to be used if set at all
Matthew Waters [Wed, 18 Dec 2013 05:36:41 +0000 (16:36 +1100)]
LIBVA_DRIVER_NAME needs to be used if set at all

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>
8 years agox11_screen driver context member initialization for X11 output
Alexandr [Thu, 19 Nov 2015 01:41:49 +0000 (09:41 +0800)]
x11_screen driver context member initialization for X11 output

https://bugs.freedesktop.org/show_bug.cgi?id=61603

Signed-off-by: Alexandr <pankoAA@ya.ru>
8 years agovainfo: Add option --display
Xiang, Haihao [Fri, 6 Nov 2015 06:22:33 +0000 (14:22 +0800)]
vainfo: Add option --display

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>
8 years agova/x11: Don't crash the application if it does not have access to the DRI2 device.
Francois Gouget [Tue, 29 Sep 2015 07:24:20 +0000 (15:24 +0800)]
va/x11: Don't crash the application if it does not have access to the DRI2 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>
8 years agotest/encode: remove unused variables and functions
U. Artie Eoff [Wed, 16 Sep 2015 16:12:45 +0000 (09:12 -0700)]
test/encode: remove unused variables and functions

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>
8 years agoavcenc: support large source file
Xiang, Haihao [Tue, 10 Sep 2013 04:22:39 +0000 (12:22 +0800)]
avcenc: support large source file

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit 29ad40444f3ed68e5f54ddd70dd256ea41e0456f)

Conflicts:
test/encode/avcenc.c

8 years agolibva 1.6.2.pre1 for development
Xiang, Haihao [Thu, 10 Sep 2015 05:57:47 +0000 (13:57 +0800)]
libva 1.6.2.pre1 for development

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
8 years agoMerge branch 'v1.6-branch' into fdo--master
Xiang, Haihao [Thu, 10 Sep 2015 05:57:23 +0000 (13:57 +0800)]
Merge branch 'v1.6-branch' into fdo--master

Conflicts:
configure.ac

8 years agolibva 1.6.1
Xiang, Haihao [Wed, 9 Sep 2015 08:15:31 +0000 (16:15 +0800)]
libva 1.6.1

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
8 years agoUpdate NEWS
Xiang, Haihao [Sun, 6 Sep 2015 08:19:50 +0000 (16:19 +0800)]
Update NEWS

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
8 years agovatrace: add IVF header for VP8 coded buffer dump
Austin Yuan [Mon, 31 Aug 2015 08:04:59 +0000 (16:04 +0800)]
vatrace: add IVF header for VP8 coded buffer dump

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
(cherry picked from commit 575be3f0b5868f842b12473fe21ceab72360cde0)

8 years agova_trace.c : Fix VAIQMatrixBufferHEVC tracing
Timo Rothenpieler [Wed, 26 Aug 2015 15:36:11 +0000 (17:36 +0200)]
va_trace.c : Fix VAIQMatrixBufferHEVC tracing
(cherry picked from commit ccfa82858b1a1dbf7ec212775a14f919ecf2d503)

8 years agoAdd VP9 profile to vainfo
Kibey, Sameer [Thu, 13 Aug 2015 00:23:08 +0000 (00:23 +0000)]
Add VP9 profile to vainfo

Add VP9 profile to vainfo so that it returns the
profile correctly for supported platforms.

Signed-off-by: Sameer Kibey <sameer.kibey@intel.com>
(cherry picked from commit fdd6ee00c916f530e4d0aa1b250633643999dcf1)

8 years agova_trace.c : Fixes incorrect hardcode printfs message.
Lim Siew Hoon [Thu, 16 Jul 2015 11:55:02 +0000 (19:55 +0800)]
va_trace.c : Fixes incorrect hardcode printfs message.

Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>
(cherry picked from commit 70b80c0dd2effb4956b208775641f7c68a67a9df)

8 years agova_trace.c: add vp9 decoder trace info
Xu Guangxin [Tue, 30 Jun 2015 07:40:45 +0000 (15:40 +0800)]
va_trace.c: add vp9 decoder trace info
(cherry picked from commit c9ebdf432f154691464359caa7f37f8a2034f0ff)

Conflicts:

va/va_trace.c

Signed-off-by: Xu Guangxin <Guangxin.Xu@intel.com>
[Support VAProfileVP9Profile0 only on master]
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit 319b0fcf6c1d7faf7d2cad9baf1a45d2a8f20880)

8 years agova_trace.c: fixes incorrect use of signed decimal conversion in printfs.
Jonathan Bian [Wed, 1 Apr 2015 22:49:25 +0000 (15:49 -0700)]
va_trace.c: fixes incorrect use of signed decimal conversion in printfs.

Signed-off-by: Jonathan Bian <jonathan.bian@intle.com>
(cherry picked from commit 27812e7144d59603bd1c2d6dfc32dbcd0a37bc7a)
(cherry picked from commit 1c47a86c36733d6b7bb4ea9df58309d6d1fd0f18)

8 years agoVa_trace changes to dump the HEVC encode parameters
susheel [Wed, 25 Mar 2015 01:54:58 +0000 (18:54 -0700)]
Va_trace changes to dump the HEVC encode parameters
(cherry picked from commit c24b5da1a8296ca13aceb233b32eaf8bc1d47802)

Conflicts:

va/va_trace.c
(cherry picked from commit 762aea574b596fcb5b8b1d335e9010fc343d9acc)

8 years agovatrace: print frame_type for VP8 encoding
Austin Yuan [Thu, 17 Oct 2013 02:59:49 +0000 (10:59 +0800)]
vatrace: print frame_type for VP8 encoding

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
(cherry picked from commit 1a011ce5bb0b80506797a25a988854f3f81ce909)
(cherry picked from commit 739d3ed0c15f93fe7404d3925d0ce2598effeb20)

8 years agovatrace: dump the right parameters for VP8 encode
Xiang, Haihao [Mon, 12 Aug 2013 06:48:37 +0000 (14:48 +0800)]
vatrace: dump the right parameters for VP8 encode

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit b7494802d94bf8af3577fbb5145f144892283585)

Conflicts:

va/va_trace.c
(cherry picked from commit 92a9f37aaf241cb3ac585284dfa97834a7e13987)

8 years agoEnhance LIBVA_TRACE to dump SPS/PPS/ for VP8 encode.
Liu Bolun [Wed, 31 Jul 2013 02:30:33 +0000 (10:30 +0800)]
Enhance LIBVA_TRACE to dump SPS/PPS/ for VP8 encode.

Enhance LIBVA_TRACE tool to dump VP8 encode related parameters based on the new libva interface.

Change-Id: I2c731761bb180061e18dac6b63d77572ca1abef6
Signed-off-by: Liu Bolun <bolun.liu@intel.com>
(cherry picked from commit bc49c42bcbfb24286c06b3e7cdb171b2a01c6f80)

Conflicts:

va/va_trace.c
(cherry picked from commit f4a05455a763e7918c23e64218ba42caab3db065)

8 years agolibva 1.6.1.pre1 for development
Xiang, Haihao [Wed, 8 Jul 2015 01:16:16 +0000 (09:16 +0800)]
libva 1.6.1.pre1 for development

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit 6a5785c7581ad89c219c477236e347bf0dbd31ed)

8 years agovatrace: add IVF header for VP8 coded buffer dump
Austin Yuan [Mon, 31 Aug 2015 08:04:59 +0000 (16:04 +0800)]
vatrace: add IVF header for VP8 coded buffer dump

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
8 years agova_trace.c : Fix VAIQMatrixBufferHEVC tracing
Timo Rothenpieler [Wed, 26 Aug 2015 15:36:11 +0000 (17:36 +0200)]
va_trace.c : Fix VAIQMatrixBufferHEVC tracing

8 years agoAdd VP9 profile to vainfo
Kibey, Sameer [Thu, 13 Aug 2015 00:23:08 +0000 (00:23 +0000)]
Add VP9 profile to vainfo

Add VP9 profile to vainfo so that it returns the
profile correctly for supported platforms.

Signed-off-by: Sameer Kibey <sameer.kibey@intel.com>
8 years agova_trace.c : Fixes incorrect hardcode printfs message.
Lim Siew Hoon [Thu, 16 Jul 2015 11:55:02 +0000 (19:55 +0800)]
va_trace.c : Fixes incorrect hardcode printfs message.

Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>
8 years agova_trace.c: add vp9 decoder trace info
Xu Guangxin [Tue, 30 Jun 2015 07:40:45 +0000 (15:40 +0800)]
va_trace.c: add vp9 decoder trace info
(cherry picked from commit c9ebdf432f154691464359caa7f37f8a2034f0ff)

Conflicts:

va/va_trace.c

Signed-off-by: Xu Guangxin <Guangxin.Xu@intel.com>
[Support VAProfileVP9Profile0 only on master]
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
8 years agova_trace.c: fixes incorrect use of signed decimal conversion in printfs.
Jonathan Bian [Wed, 1 Apr 2015 22:49:25 +0000 (15:49 -0700)]
va_trace.c: fixes incorrect use of signed decimal conversion in printfs.

Signed-off-by: Jonathan Bian <jonathan.bian@intle.com>
(cherry picked from commit 27812e7144d59603bd1c2d6dfc32dbcd0a37bc7a)

8 years agoVa_trace changes to dump the HEVC encode parameters
susheel [Wed, 25 Mar 2015 01:54:58 +0000 (18:54 -0700)]
Va_trace changes to dump the HEVC encode parameters
(cherry picked from commit c24b5da1a8296ca13aceb233b32eaf8bc1d47802)

Conflicts:

va/va_trace.c

8 years agovatrace: print frame_type for VP8 encoding
Austin Yuan [Thu, 17 Oct 2013 02:59:49 +0000 (10:59 +0800)]
vatrace: print frame_type for VP8 encoding

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
(cherry picked from commit 1a011ce5bb0b80506797a25a988854f3f81ce909)

8 years agovatrace: dump the right parameters for VP8 encode
Xiang, Haihao [Mon, 12 Aug 2013 06:48:37 +0000 (14:48 +0800)]
vatrace: dump the right parameters for VP8 encode

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit b7494802d94bf8af3577fbb5145f144892283585)

Conflicts:

va/va_trace.c

8 years agoEnhance LIBVA_TRACE to dump SPS/PPS/ for VP8 encode.
Liu Bolun [Wed, 31 Jul 2013 02:30:33 +0000 (10:30 +0800)]
Enhance LIBVA_TRACE to dump SPS/PPS/ for VP8 encode.

Enhance LIBVA_TRACE tool to dump VP8 encode related parameters based on the new libva interface.

Change-Id: I2c731761bb180061e18dac6b63d77572ca1abef6
Signed-off-by: Liu Bolun <bolun.liu@intel.com>
(cherry picked from commit bc49c42bcbfb24286c06b3e7cdb171b2a01c6f80)

Conflicts:

va/va_trace.c

8 years agolibva 1.6.1.pre1 for development
Xiang, Haihao [Wed, 8 Jul 2015 01:16:16 +0000 (09:16 +0800)]
libva 1.6.1.pre1 for development

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
8 years agoMerge branch 'v1.6-branch' into master
Xiang, Haihao [Wed, 8 Jul 2015 01:19:05 +0000 (09:19 +0800)]
Merge branch 'v1.6-branch' into master

8 years agolibva 1.6.0
Xiang, Haihao [Wed, 1 Jul 2015 07:54:24 +0000 (15:54 +0800)]
libva 1.6.0

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
8 years agolibva 1.6.0 pre2
Xiang, Haihao [Wed, 24 Jun 2015 05:24:57 +0000 (13:24 +0800)]
libva 1.6.0 pre2

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
8 years agotest/decode/tinyjpeg: make sure the pointer is valid before dereferencing it
Xiang, Haihao [Wed, 10 Jun 2015 06:41:14 +0000 (14:41 +0800)]
test/decode/tinyjpeg: make sure the pointer is valid before dereferencing it

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Reviewed-by: Sean V Kelley <seanvk@posteo.de>
(cherry picked from commit 8455834161bab3374fe9756fd4a28d919027daf7)

8 years agotest/decode/tinyjpeg: use the fourcc format Y800 for grayscale images
Xiang, Haihao [Thu, 13 Jun 2013 02:28:13 +0000 (10:28 +0800)]
test/decode/tinyjpeg: use the fourcc format Y800 for grayscale images

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Reviewed-by: Beauchesne, Gwenole <gwenole.beauchesne@intel.com>
(cherry picked from commit 62085e11d30db590038a32fffeb04aa8bc0afd67)

8 years agotest/decode/tinyjpeg: create VA surface with right render target format
Xiang, Haihao [Thu, 13 Jun 2013 02:23:47 +0000 (10:23 +0800)]
test/decode/tinyjpeg: create VA surface with right render target format

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Reviewed-by: Beauchesne, Gwenole <gwenole.beauchesne@intel.com>
(cherry picked from commit 54f686f4a371bf34007ce1ff70e7b74cd9986ad7)

8 years agoEnhanced JPEG VA test app
minu.mathai [Tue, 28 May 2013 15:46:49 +0000 (16:46 +0100)]
Enhanced JPEG VA test app

Added support for YUV422, YUV444 and YUV420 and multi-scan images.

Changes
1. Added new functions for finding the start of image and end of image.
   This will be called while parsing the JIFF. This helps to detect
   the next image. The check for the bogus image format is removed as it
   is no longer valid with these new functions.
2. Since different images in the file has different width and height.
   The height and width will be stored in an array. These array variables
   will be passed while creating surfaces and contexts.
3. Added code to determine the format of the image from the h_sampling factor
   and v_sampling factor. This helps to support
   different image formats.

(cherry picked from commit ef53340b19746589079d7ed5f9c67970fcc40401)

8 years agotest/decode/tinyjpeg: make sure the pointer is valid before dereferencing it
Xiang, Haihao [Wed, 10 Jun 2015 06:41:14 +0000 (14:41 +0800)]
test/decode/tinyjpeg: make sure the pointer is valid before dereferencing it

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Reviewed-by: Sean V Kelley <seanvk@posteo.de>
(cherry picked from commit 8455834161bab3374fe9756fd4a28d919027daf7)

8 years agotest/decode/tinyjpeg: use the fourcc format Y800 for grayscale images
Xiang, Haihao [Thu, 13 Jun 2013 02:28:13 +0000 (10:28 +0800)]
test/decode/tinyjpeg: use the fourcc format Y800 for grayscale images

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Reviewed-by: Beauchesne, Gwenole <gwenole.beauchesne@intel.com>
(cherry picked from commit 62085e11d30db590038a32fffeb04aa8bc0afd67)

8 years agotest/decode/tinyjpeg: create VA surface with right render target format
Xiang, Haihao [Thu, 13 Jun 2013 02:23:47 +0000 (10:23 +0800)]
test/decode/tinyjpeg: create VA surface with right render target format

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Reviewed-by: Beauchesne, Gwenole <gwenole.beauchesne@intel.com>
(cherry picked from commit 54f686f4a371bf34007ce1ff70e7b74cd9986ad7)

8 years agoEnhanced JPEG VA test app
minu.mathai [Tue, 28 May 2013 15:46:49 +0000 (16:46 +0100)]
Enhanced JPEG VA test app

Added support for YUV422, YUV444 and YUV420 and multi-scan images.

Changes
1. Added new functions for finding the start of image and end of image.
   This will be called while parsing the JIFF. This helps to detect
   the next image. The check for the bogus image format is removed as it
   is no longer valid with these new functions.
2. Since different images in the file has different width and height.
   The height and width will be stored in an array. These array variables
   will be passed while creating surfaces and contexts.
3. Added code to determine the format of the image from the h_sampling factor
   and v_sampling factor. This helps to support
   different image formats.

(cherry picked from commit ef53340b19746589079d7ed5f9c67970fcc40401)

8 years agoUpdate NEWS
Xiang, Haihao [Thu, 4 Jun 2015 01:08:10 +0000 (09:08 +0800)]
Update NEWS

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
8 years agoUpdate NEWS
Xiang, Haihao [Mon, 16 Mar 2015 05:28:43 +0000 (13:28 +0800)]
Update NEWS

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit 05a1e4bc98ce02d2d87f0cabea7d575183639dd7)

8 years agova_enc_hevc.h: Fix the description for slice_segment_address
Sreerenj Balachandran [Wed, 27 May 2015 05:53:18 +0000 (08:53 +0300)]
va_enc_hevc.h: Fix the description for slice_segment_address

The slice_segment_address field indicates the starting CTU address
for the corresponding slice.

Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
8 years agova_dec_hevc.h: Fix the misleading documentation
Sreerenj Balachandran [Wed, 27 May 2015 05:53:17 +0000 (08:53 +0300)]
va_dec_hevc.h: Fix the misleading documentation

The slice data buffer should always include the start code prefix.

The comment section of VASliceParameterBufferHEVC is saying that the
accompanying slice_data_buffer should include start code prefix.
But the comment above slice_data_byte_offset is contradicting.

Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
8 years agoBump VA API to 0.38
Xiang, Haihao [Fri, 22 May 2015 08:45:03 +0000 (16:45 +0800)]
Bump VA API to 0.38

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>