Commit Graph

58 Commits

Author SHA1 Message Date
Naveen Saini
c01c637af2 libva-utils-intel: keep compatible with zeus as well
To avoid recipe version confilicts with oe-core recipes from dunfell and zeus,
better to carry full recipe instead of require libva-utils recipe.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-04-24 14:15:12 +08:00
Naveen Saini
e8f2bfe674 libva-intel: keep compatible with zeus
To avoid recipe version confilicts with oe-core recipes from dunfell and zeus,
better to carry full recipe instead of require libva recipe.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-04-24 14:14:16 +08:00
Naveen Saini
0961650cf7 allow to build with zeus
class 'distro_features_check' has moved to 'features_check', which
does not allow dunfell and latest releases to build against zeus
release.

inherit class based on LAYERSERIES_CORENAMES

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-04-24 14:14:16 +08:00
Naveen Saini
ee68102442 libva-utils-intel: keep upgraded libva-utils version to meta-intel MACHINE specific
Make sure that we use the upgraded version of libva-utils
only when using MACHINE value from meta-intel.
For all other cases, libva-utils from oe-core should be used.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-04-16 13:40:46 +08:00
Naveen Saini
67f781be89 libva-intel: keep upgraded libva version to meta-intel MACHINE specific
Make sure that we use the upgraded version of libva
only when using MACHINE value from meta-intel.
For all other cases, libva from oe-core should be used.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-04-16 13:40:46 +08:00
Naveen Saini
07485f0671 intel-mediasdk: upgrade 19.4.0 -> 20.1.0
For more information:
https://github.com/Intel-Media-SDK/MediaSDK/releases/tag/intel-mediasdk-20.1.0

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-04-14 09:41:53 +08:00
Naveen Saini
0ee54e5646 intel-media-driver: upgrade 19.4.0 -> 20.1.1
For more info please check here:
https://github.com/intel/media-driver/releases/tag/intel-media-20.1.1

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-04-14 09:41:53 +08:00
Naveen Saini
0fa20c4869 libva-utils: add recipe v2.7.1
OE-Core libva-utils version is v2.6.0, where as media
stack components depends upon libva-utils v2.7.1.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-04-14 09:41:53 +08:00
Naveen Saini
6588d1e491 libva: add recipe v2.7.0
OE-Core libva version is v2.6.1, where as number of media
stack components depends upon libva v2.7.0.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-04-14 09:41:53 +08:00
Naveen Saini
759b79be5a itt: fix upstream release checking
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-03-07 16:58:20 +08:00
Naveen Saini
aebebe3ae6 itt: upgrade to release tag
Ref:
https://github.com/intel/ittapi/releases/tag/v3.15.12

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-03-07 16:58:20 +08:00
Naveen Saini
f42efebc3a itt: switch git repo
Use new git repo maintained by Intel
https://github.com/intel/ittapi

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-03-04 15:05:01 +08:00
Yeoh Ee Peng
d725250ca0 itt: Add missing header and library
While trying to compile itt sample from https://github.com/intel/IntelSEAPI,
it was initially facing header file error.

$gcc InstrumentationExample.cpp main.cpp -o itt-sample -littnotify64 -lstdc++ -lpthread -I /usr/include/ittnotify
InstrumentationExample.cpp:53:10: fatal error: itt_notify.hpp: No such file or directory
   53 | #include "itt_notify.hpp"
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
main.cpp:18:10: fatal error: itt_notify.hpp: No such file or directory
   18 | #include "itt_notify.hpp"
      |          ^~~~~~~~~~~~~~~~
compilation terminated.

While mannually added the missing itt_notify.hpp header to the image, it
was facing the compilation errors while using the only available
library (libittnotify64.a) provided by itt.

$gcc InstrumentationExample.cpp main.cpp -o itt-sample -littnotify64 -lstdc++ -lpthread -I /usr/include/ittnotify
In file included from /usr/include/ittnotify/itt_notify.hpp:8,
                 from InstrumentationExample.cpp:53:
/usr/include/ittnotify/ittnotify.h:253:6: warning: #warning "Deprecated API is used. Please undefine INTEL_ITTNOTIFY_ENABLE_LEGACY macro" [-Wcpp]
  253 | #    warning "Deprecated API is used. Please undefine INTEL_ITTNOTIFY_ENABLE_LEGACY macro"
      |      ^~~~~~~
/usr/lib/gcc/x86_64-poky-linux/9.2.0/../../../../x86_64-poky-linux/bin/ld: /usr/lib/gcc/x86_64-poky-linux/9.2.0/../../../../lib/libittnotify64.a(ittnotify_static.c.o): in function `__itt_init_ittlib':
/usr/src/debug/itt/17.01.28-r0/git/ittnotify/src/ittnotify/ittnotify_static.c:1189: undefined reference to `dlerror'
collect2: error: ld returned 1 exit status

Found that it was missing the required libIntelSEAPI64.so library.
Compilation of itt sample succeeded after adding both missing header and library.
Enhanced the itt recipe to provide both the itt_notify.hpp and libIntelSEAPI64.so.

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-03-02 06:59:22 +08:00
Trevor Woerner
be73afe9fe intel-vaapi-driver: fix meson build
Change the configure strings to satisfy meson.

	| meson.build:1:0: ERROR: Value "false" for combo option is not one of the choices. Possible choices are: "yes", "no", "auto".

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-02-11 14:32:30 +08:00
Naveen Saini
dc7deea1d2 intel-mediasdk: upgrade 19.3.1 -> 19.4.0
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-02-11 14:32:30 +08:00
Naveen Saini
2731c96999 intel-media-driver: upgrade 19.3.1 -> 19.4.0
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-02-11 14:32:30 +08:00
Naveen Saini
494a6074f0 intel-mediasdk: upgrade 19.2.1 -> 19.3.1
Release notes can be found here:
https://github.com/Intel-Media-SDK/MediaSDK/releases/tag/intel-mediasdk-19.3.1

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-12-27 10:01:59 +08:00
Naveen Saini
1615feb0b1 intel-media-driver: upgrade 19.2.1 > 19.3.1
Release against:
GmmLib intel-gmmlib-19.3.2
Libva 2.6.0.pre1

Dropped patch which is not required anymore.

For more details:
https://github.com/intel/media-driver/releases/tag/intel-media-19.3.1

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-12-27 10:01:59 +08:00
Anuj Mittal
e1b373f3cb intel-vaapi-driver: upgrade 2.3.0 -> 2.4.0
* For release notes, see:
https://github.com/intel/intel-vaapi-driver/releases/tag/2.4.0

* Switch to using meson instead.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-12-12 14:09:01 +08:00
Ross Burton
62166cee76 recipes: use features_check instead of deprecated distro_features_check
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-11-22 11:57:57 +08:00
Ross Burton
fcd70c2a9a mediasdk: set CVE_PRODUCT
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-11-13 06:02:59 +08:00
Khem Raj
f247a8a3b6 intel-media-driver: Use -fno-tree-pre when using gcc alone
Fixes
clang-9: error: unknown argument: '-fno-tree-pre'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-10-10 12:16:27 +08:00
Ross Burton
63e3cdcc6e intel-mediasdk: disable git-lfs fetching
The git-lfs content is only used by the samples which we don't use or
install. Set lfs=0 so that git-lfs isn't a requirement on the build host.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-09-21 09:25:00 +08:00
Anuj Mittal
065895e2c5 intel-media-driver: dont mark warnings as errors
Switch the driver configuration MEDIA_BUILD_FATAL_WARNINGS to OFF so
-Werror is not used. Also patch out the use of
-Werror=implicit-function-declaration to prevent errors when building
with gcc9.

| cc1plus: error: '-Werror=' argument
'-Werror=implicit-function-declaration' is not valid for C++ [-Werror]

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-08-21 12:27:06 +08:00
Anuj Mittal
0b2625349d intel-mediasdk: upgrade 19.2.0 -> 19.2.1
For release notes, see:
https://github.com/Intel-Media-SDK/MediaSDK/releases

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-08-15 08:23:07 +08:00
Anuj Mittal
2b736619e7 intel-media-driver: upgrade 19.2.0 -> 19.2.1
For release notes, see:
https://github.com/intel/media-driver/releases

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-08-15 08:23:07 +08:00
Anuj Mittal
5657949d39 libyami: upgrade 1.3.1 -> 1.3.2
For changes, see:
https://github.com/intel/libyami/blob/1.3.2/NEWS

Remove all the patches fixing warnings converted to errors when using
clang. Most of these have been fixed and others are trivial enough to be
ignored. Pass -Wno-error to CXXFLAGS to ignore these.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-08-09 15:17:58 +08:00
Naveen Saini
699bbf66a7 itt: install header files to package specific directory
Also installing other supported header files.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-08-09 15:13:18 +08:00
Naveen Saini
adbbf921d2 intel-mediasdk: disable x32 build
Upstream doesn't support building for x32. Instread of
patching makefile for x32 and risk runtime failures,
disable the build.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-08-08 07:08:32 +08:00
Naveen Saini
ec39e48582 intel-media-driver: disable x32 build
Upstream doesn't support building for x32. Instread of
patching makefile for x32 and risk runtime failures,
disable the build.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-08-08 07:08:32 +08:00
Naveen Saini
a82be9779c itt: upgrade v17.0 -> v17.01.28
More info can be found here:
https://github.com/intel/IntelSEAPI/releases/tag/17.01.28

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-08-03 21:52:29 +08:00
Hongxu Jia
36e22226d9 intel-mediasdk: check for "opengl" feature
Since comit [a78c420 libva: check for "opengl" feature] applied in oe-core,
and intel-mediasdk depends on libva, it should check for "opengl"
feature too.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-07-25 12:24:58 +08:00
Hongxu Jia
89472e2b87 intel-media-driver: check for "opengl" feature
Since comit [a78c420 libva: check for "opengl" feature] applied in oe-core,
and intel-media-driver depends on libva, it should check for "opengl"
feature too.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-07-25 12:24:54 +08:00
Anuj Mittal
e92b588839 intel-mediasdk: upgrade 19.1.0 -> 19.2.0
For changes in this release, see:

https://github.com/Intel-Media-SDK/MediaSDK/releases

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-07-10 21:59:40 +08:00
Anuj Mittal
11e5b4ed29 intel-media-driver: upgrade 19.1.0 -> 19.2.0
Also remove the upstreamed patch. For changes in this release, see:

https://github.com/intel/media-driver/releases

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-07-10 21:59:40 +08:00
Naveen Saini
a7748e0cad libyami: fix build error with gcc9
GCC9 causing multiple build failures:

| ../../git/codecparsers/h264Parser.cpp: In constructor 'YamiParser::H264::PPS::PPS()':
| ../../git/codecparsers/h264Parser.cpp:140:41: error: 'void* memset(void*, int, size_t)' clearing an object of type 'struct YamiParser::H264::PPS' with no trivial copy-assignment; use assignment or value-initialization instead [-Werror=class-memaccess]
|   140 |     memset(this, 0, offsetof(PPS, m_sps));
...

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-06-13 16:11:25 +08:00
Naveen Saini
e160f52a45 itt: add recipe
Introduce Intel® Single Event API (Intel® SEAPI), which is the
translator of itt_notify calls into several OS specific and
third party tracing formats. It can be use as memory/performance/
whatever profile.

Wiki:
https://github.com/intel/IntelSEAPI/wiki

Signed-off-by: Lim, Raynald <raynald.lim@intel.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-05-17 11:20:01 +08:00
Naveen Saini
40225d8c61 intel-mediasdk: upgrade 18.4.1 -> 19.1.0
For changes, see:
https://github.com/Intel-Media-SDK/MediaSDK/releases

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-05-06 12:52:00 +08:00
Naveen Saini
288835d26f intel-media-driver: upgrade 18.4.1 -> 19.1.0
For changes, see:
https://github.com/intel/media-driver/releases

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-05-06 12:52:00 +08:00
Naveen Saini
25aae87c4e intel-mediasdk: upgrade 18.4.0 -> 18.4.1
For changes, see:

https://github.com/Intel-Media-SDK/MediaSDK/releases

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-03-04 14:13:23 +08:00
Anuj Mittal
502ccc362d intel-mediasdk: upgrade 18.3.1 -> 18.4.0
For changes, see:

https://github.com/Intel-Media-SDK/MediaSDK/releases

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-02-15 04:08:28 +08:00
Anuj Mittal
a26d98910e intel-media-driver: upgrade 18.3.0 -> 18.4.1
For changes, see:

https://github.com/intel/media-driver/releases

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-02-15 04:08:18 +08:00
Ross Burton
286d09e13e intel-mediasdk: fix upstream release checking
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-02-04 13:17:50 +08:00
Ross Burton
b53e47be23 intel-media-driver: fix upstream release checking
We need to use a custom regex because there are lots of tags we want to ignore:

- We want to skip intel-media-19.1.pre1 as it's a pre-release
- driver-for-Intel-Media-SDK-2018Q2.1 gets parsed as version 2018
- intel-media-600.0132 gets parsed as version 600

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-02-04 13:17:50 +08:00
Naveen Saini
8730350964 intel-vaapi-driver: 2.2.0 -> 2.3.0
Changes from release notes:

 Bump version to 2.3.0
 Add new PCI ID for KBL and CFL
 Fix frame corruption when there are big MVs in VP8 encoding
 Fix dynamically bitrate resetting in AVC encoding
 Fix build errors when the toolchain doesn't support -fstack-protector
 Fix memory leak issue
 Make sure the achieved bitrate meet the requirement for VP8 encoding
 Optimize VPP on GEN8

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2018-12-17 15:33:16 +08:00
Anuj Mittal
901a714e52 intel-mediasdk: add recipe
Intel(R) Media SDK provides an API to access hardware-accelerated
video decode, encode and filtering on Intel® platforms with integrated
graphics.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2018-11-28 11:29:39 +08:00
Anuj Mittal
b90dc17725 intel-media-driver: add recipe
Hardware accelerated video driver that supports Intel(R) HD Graphics
starting from Broadwell. Please see for details:

https://01.org/intel-media-for-linux

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2018-11-28 11:29:39 +08:00
Anuj Mittal
438ccc27c2 libyami-utils: 1.3.0 -> 1.3.1
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2018-10-01 21:21:28 +08:00
Anuj Mittal
0c8b232a06 libyami: 1.3.0 -> 1.3.1
Changes from release notes:

h264dec: fix low lantecy mode
common: add RGB 10 bits support
common: add RGB565 support
common: add XRGB, ARGB, XBGR, ABGR support
yamivpp: add rotation function for vpp

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2018-10-01 21:21:11 +08:00
Anuj Mittal
0d6eb84722 intel-vaapi-driver: 2.1.0 -> 2.2.0
* Add new PCI ID for KBL-Y
* Fix for VC1 decoding issues
* Fix VP8 encoding issues
* Fix the over-run issue in HEVC encoding
* Fix the max MV length in MPEG-2 encoding
* Fix packed header mode

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2018-07-18 19:52:28 +08:00