Tim-Philipp Müller
e857259e8d
gstreamer-vaapi: re-indent with GNU indent 2.2.12
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4182 >
2023-03-17 03:18:54 +00:00
Mengkejiergeli Ba
68425e8241
vaapi: Fix some code defects
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3954 >
2023-02-27 11:38:18 +00:00
Tim-Philipp Müller
1c7003f95f
gstreamer-vaapi: drop use of GSlice allocator
...
Some code incorrectly relied on GstVideoDecoder/Encoder base
class implementation details.
Follow-up to !3695 .
Fixes #1742 .
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3783 >
2023-01-24 22:30:10 +00:00
Tim-Philipp Müller
4d70b9f87c
vaapi: prefix USE_FOO defines to fix build with mesa 22.3.0
...
Apparently mesa 22.3.0 has updated the egl headers, and eglplatform.h now
contains commit
3670d645f4
after which xlib headers don't get included by default anymore but are
dependent upon whether USE_X11 was defined.
This breaks headless builds of gstreamer-vaapi because we always define
an internal define USE_X11 as either 1 or 0.
Change these defines to GST_VAAPI_USE_XYZ instead to avoid this.
Fixes #1634
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3555 >
2022-12-11 08:58:23 +00:00
Mengkejiergeli Ba
d8a477338f
vaapipostproc: Enable to use DMABuf mem at sink and src pad
...
Enable DMABuf mem at both sink and src pad for vaapipostproc caps which
helps to apply DMABuf for more generic use cases: such as "! vaapih264dec !
video/x-raw(memory:DMABuf) ! vaapipostproc ! video/x-raw (memory:DMABuf)
! vaapih265enc" . Or other mem converions like from DMABuf to VASurface
through vaapipostproc.
This patch is a portion from Junyan.He@intel.com
https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/393
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1287 >
2022-11-09 13:41:26 +00:00
Thibault Saunier
4c7ec3993c
Move files from gstreamer-vaapi into the "subprojects/gstreamer-vaapi/" subdir
2021-09-24 16:14:54 -03:00