summaryrefslogtreecommitdiff
path: root/sys/msdk/meson.build
Commit message (Collapse)AuthorAgeFilesLines
* msdk: allow user build this plugin against MFX version 2.2+ (oneVPL)Haihao Xiang2021-05-171-24/+50
| | | | | | | | | | | | | | Intel oneVPL SDK (oneVPL) is a successor to Intel Media SDK (MSDK)[1]. User may use -Dmfx_api=MSDK or -Dmfx_api=oneVPL to specify the required SDK when building this plugin. If the SDK is not specified, meson will try MSDK firstly, then oneVPL if MSDK is not available Version 2.2+ is required in this patch because pkg-config file was not provided officially before version 2.2 [1]https://spec.oneapi.com/versions/latest/elements/oneVPL/source/appendix/VPL_intel_media_sdk.html Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1503>
* msdk: allow user specify a drm device via an env variableHaihao Xiang2021-02-241-2/+3
| | | | | | | | | | User may specify the required device via GST_MSDK_DRM_DEVICE Example: GST_MSDK_DRM_DEVICE=/dev/dri/card0 gst-launch-1.0 videotestsrc ! msdkh264enc ! fakesink Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1953>
* msdk: add support for AV1 decodingHaihao Xiang2020-09-221-0/+15
| | | | Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1448>
* msdkh264enc: Add support for CEA708 closed caption insertionSeungha Yang2020-03-301-2/+2
| | | | Currently supported caption format is CEA708_RAW
* msdk: meson: check whether mfxExtVP9Param is definedHaihao Xiang2020-03-131-2/+6
| | | | | | | | | | User reported MFX_VERSION is 1026 however the build is broken[1], so add the check for mfxExtVP9Param to make sure it can be build without compiler error. In addtion, it fixes a stupid typo (#endif') introduced by me. [1] https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/merge_requests/988#note_408093
* msdkvp9enc: output raw vp9 stream instead of IVF streamHaihao Xiang2020-02-101-1/+16
| | | | | | | | | | | video/x-vp9 is required in the src pad, however the output includes a IVF header, which makes the pipeline below doesn't work gst-launch-1.0 videotestsrc ! msdkvp9enc ! msdkvp9dec ! fakesink Since mfx 1.26, the VP9 encoder supports bitstream without IVF header, so in this patch, the mfx version is checked and msdkvp9enc is enabled only if mfx 1.26+ is available
* msdk: Fixes for meson include directory setupJochen Henneberg2019-11-171-1/+3
| | | | | | | In case of pkg-config we need to create the include directories object from the path using include_directories(). For INTELMEDIASDKROOT or MFX_HOME we need to add the alternate include path ./include/mfx as Intel MediaSDK now puts the headers there.
* msdk: remove msdkvp8encHaihao Xiang2019-11-081-1/+0
| | | | | | | MediaSDK doesn't support vp8 encode which is not going to be implemented [1], so remove msdkvp8enc from this plugin [1]: https://github.com/Intel-Media-SDK/MediaSDK/issues/947
* msdk: actually use the include dir we computeMathieu Duponchelle2019-09-111-1/+1
|
* msdk: enable 32 bit build on windowsAaron Boxer2019-07-261-0/+7
|
* msdk: add msdkvp9enc elementHaihao Xiang2019-07-071-0/+1
|
* docs: Build documentation with hotdocThibault Saunier2019-05-131-0/+1
|
* meson: Fix automagic build of msdk pluginNirbheek Chauhan2019-01-191-5/+8
| | | | | | | | | When building the msdk plugin even if libmfx is found, unless the plugin is explicitly enabled we should not error out if msdk dependencies are not found. Also give an error message when we don't build the plugin on Windows because we're not building with MSVC.
* meson: Fix building of MSDK plugin on WindowsNirbheek Chauhan2019-01-101-1/+1
| | | | Variable name was typoed in 604c8d5232eba961ca34c9e98de8d5454cd5ab5f
* msdk: meson: compile vp9dec if availableVíctor Manuel Jáquez Leal2019-01-081-0/+5
| | | | based on the patches provided by Haihao Xiang <haihao.xiang@intel.com>
* msdk: add mfx in include pathVíctor Manuel Jáquez Leal2019-01-081-1/+1
| | | | Thus removing the preprocessor's directives to included if found.
* msdk: meson: use libmfx pkg-config if availableVíctor Manuel Jáquez Leal2019-01-081-34/+45
| | | | | | Refactoring to bail out early if MediaSDK is not found. based on the patches provided by Haihao Xiang <haihao.xiang@intel.com>
* msdk: don't declare headers in mesonVíctor Manuel Jáquez Leal2018-11-231-30/+1
| | | | | | | This partially reverts commit 0bae64835302574953c3e5e89fa0822eb4f6ca4b. The compiler tells ninja the header dependency, then there is no need to add them explicity.
* msdk: declare headers in mesonVíctor Manuel Jáquez Leal2018-11-231-9/+38
|
* msdkdec: move output-order out of decode bass class.Wangfei2018-11-231-0/+1
| | | | | | | Since output-order is a deprecated attribute, move it out of decode bass class and configure it in each sub decoder class who need it. https://bugzilla.gnome.org/show_bug.cgi?id=796853
* msdk: add support for open sourced MediaSDKVíctor Manuel Jáquez Leal2018-11-221-1/+4
| | | | | | | | | | | | MediaSDK has been released as open source [1], but the directories where it installs its files, are different from the binary only distribution. This patch adds to the libraries path the directory /lib. Also it is defined in meson if the include directory has the mfx/ prefix, something that is already handled in autotools. 1. https://github.com/Intel-Media-SDK/MediaSDK
* meson: avoid unkown variables in the msdk testsJordan Petridis2018-11-061-3/+3
|
* msdk: fix intel sdk libdir pathFlorent Thiéry2018-11-061-1/+1
| | | | | | | | the 2018.3.1 intel sdk release places libraries into /lib64 instead of /lib/lin_x64 or /lib/x64, this commit adds /lib64 to the libdir locations list Fixes #815
* meson: Add a feature option for the MSDK pluginNirbheek Chauhan2018-10-281-7/+15
|
* msdk: Fix meson buildSeungha Yang2018-10-021-1/+1
| | | | | | gst-plugins-bad\sys\msdk\meson.build:57:4: ERROR: File msdk-enum.c does not exist. https://bugzilla.gnome.org/show_bug.cgi?id=797211
* Add feature options for almost all pluginsNirbheek Chauhan2018-07-271-0/+1
| | | | | | | The only plugins remaining are those that haven't been ported to Meson yet, and msdk. Also, the tests are still automagic. https://bugzilla.gnome.org/show_bug.cgi?id=795107
* Meson: Generate pc file for all plugins in badXavier Claessens2018-04-251-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=794568
* msdk: fix meson syntaxTim-Philipp Müller2018-04-031-2/+2
|
* msdk: Add VPP elementSreerenj Balachandran2018-04-031-1/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=793705
* msdk: dmabuf supportHyunjun Ko2018-03-301-1/+1
| | | | | | | | | This patch includes: 1\ Implements MsdkDmaBufAllocator and allocation of msdk dmabuf memroy. 2\ Each msdk dmabuf memory include its own msdk surface kept by GQuark. 3\ Adds new option GST_BUFFER_POOL_OPTION_MSDK_USE_DMABUF https://bugzilla.gnome.org/show_bug.cgi?id=793707
* meson: fix build when msdk is not foundTim-Philipp Müller2018-03-091-0/+4
|
* msdk: Fix the misspelled file name in meson buildSreerenj Balachandran2018-03-091-1/+1
|
* msdk: move enum definitions to separte fileSreerenj Balachandran2018-02-201-0/+1
| | | | | | | Move enum value defintions which are (or in future) supported by more than one codec into a common file. https://bugzilla.gnome.org/show_bug.cgi?id=791637
* msdk: Add VC1 decoder (simple and main profiles)Sreerenj Balachandran2018-02-131-0/+1
| | | | | | | | | | | | | | | | | Adding Simple and Main profiles decode support. Currently msdkvc1dec is not capable to handle the codec_data, only instream headers are supported. Also msdk vc1 decoder expecting instream with Sequence header as per SMPTE 421M Annex L. Most of the decdoebin/playbin pipeline won't work with the above constraints because vc1parse is still not an autoplug element. Only way to make mskdvc1dec work is by connecting a vc1parse as an upstream element. https://bugzilla.gnome.org/show_bug.cgi?id=792589
* msdk : Add RenderNode supportSreerenj Balachandran2018-02-131-2/+3
| | | | | | | | | | | | | Use drm render node as the first choice of device node file. Fall backs to use drm primary (/dev/dri/card[0-9]) if there is no render node available Basic logic is inherited from gstreamer-vaapi, but using gudev API rather than libudev directly. Added gudev library as dependency for msdk. https://bugzilla.gnome.org/show_bug.cgi?id=791599
* msdk: Avoid build failures on Windows until d3d allocator is implementedHyunjun Ko2018-02-131-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=790752
* msdk: adds util functions to handle GstContextHyunjun Ko2018-02-131-0/+1
| | | | | | | | | To share GstMsdkContext with each msdk element, it will be using GstContext. Most common code is from gstreamer-vaapi. https://bugzilla.gnome.org/show_bug.cgi?id=790752
* msdk: supports bufferpoolHyunjun Ko2018-02-131-0/+3
| | | | | | | | | | | | | | Implements 2 memory allocators: 1\ GstMsdkSystemAllocator: This will allocate system memory. 2\ GstMsdkVideoAllocator: This will allocate device memory depending on the platform. (eg. VASurface) Currently GstMsdkBufferPool uses video allocator currently by default only on linux. On Windows, we should use system memory until d3d allocator is implemented. https://bugzilla.gnome.org/show_bug.cgi?id=790752
* msdk: adds frame allocator using libvaHyunjun Ko2018-02-131-1/+1
| | | | | | | | | | | Implements msdk frame allocator which is required from the driver. Also makes these functions global so that GstMsdkAllocator could use the allocated video memory later and couple with GstMsdkMemory. GstMsdkContext keeps allocation information such as mfxFrameAllocRequest and mfxFrameAllocResponse after allocation. https://bugzilla.gnome.org/show_bug.cgi?id=790752
* msdk: implements GstMsdkContext.Hyunjun Ko2018-02-131-0/+1
| | | | | | | | | | Makes GstMsdkContext to be a descendant of GstObject so that we could track the life-cycle of the session of the driver. Also replaces MsdkContext with this one. Keeps msdk_d3d.c alive for the future. https://bugzilla.gnome.org/show_bug.cgi?id=790752
* msdk: Add mpeg2 decoderSreerenj Balachandran2018-01-101-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=792260
* msdk: adds msdkvp8decHyunjun Ko2017-11-011-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=789751
* meson: msdk: use python3 from python3 moduleTim-Philipp Müller2017-07-071-1/+0
|
* msdk: Declare libmfx.a as a C++ static libraryScott D Phillips2017-05-111-1/+1
| | | | | | | This lets meson know that the overall plugin needs built with C++ linking. https://bugzilla.gnome.org/show_bug.cgi?id=781561
* msdk: add mjpeg decoderScott D Phillips2016-12-131-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=774793
* msdk: add mjpeg encoderScott D Phillips2016-12-131-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=774793
* msdk: Add H.265 decoderScott D Phillips2016-12-121-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=775726
* msdk: Add H.264 decoderScott D Phillips2016-12-121-0/+2
| | | | | | The decoder only supports system memory output presently. https://bugzilla.gnome.org/show_bug.cgi?id=774587
* msdk: Initial windows build supportScott D Phillips2016-11-141-6/+20
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=770990
* meson: add build files for msdkScott D Phillips2016-11-141-0/+32
https://bugzilla.gnome.org/show_bug.cgi?id=770990