~thong-u/unoptimized/+git/gstreamer-vaapi:discontinued-for-monorepo

Last commit made on 2021-09-23
Get this branch:
git clone -b discontinued-for-monorepo https://git.launchpad.net/~thong-u/unoptimized/+git/gstreamer-vaapi

Branch merges

Branch information

Name:
discontinued-for-monorepo
Repository:
lp:~thong-u/unoptimized/+git/gstreamer-vaapi

Recent commits

c3ddb29... by =?utf-8?q?Tim-Philipp_M=C3=BCller?= <email address hidden>

Release 1.19.2

bd8c0b3... by Zhang Yuankun <email address hidden>

vaapi: decoder: modify the condition to judge whether dma buffer is supported

It seems "GST_VAAPI_PLUGIN_BASE_SRC_PAD_CAN_DMABUF (decode)" will
return false even if this platform support the mem_type dma buffer.
And media-driver will return GST_VAAPI_BUFFER_MEMORY_TYPE_DMA_BUF2
on Gen12(such as TGL).
Without this patch, The command such as:
gst-launch-1.0 videotestsrc num-buffers=100 ! video/x-raw, format=I420 ! \
x264enc ! h264parse ! vaapih264dec ! video/x-raw\(memory:DMABuf\) ! fakesink
will return not-negotiated.

Signed-off-by: Zhang Yuankun <email address hidden>
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/437>

7809c58... by He Junyan <email address hidden>

Display: Add a property to export the VA display handle.

Just like what we do in VA plugins. The display can be seen as a
generic gst object and we can add a property to get the internal
VA handle.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/435>

c27c158... by He Junyan <email address hidden>

plugins: video memory: Add a GST_MAP_VAAPI flag to peek the surface.

Just like what we do in VA plugins, the GST_MAP_VAAPI can directly
peek the surface of the VA buffers. The old flag 0 just peek the
surface proxy, which may not be convenient for the users who do not
want to include our headers.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/435>

e0a56f3... by vjaquez

Revert "vaapi: Demote vaapidecodebin to rank NONE."

This reverts commit 7a25c5d4ec95aefeca6515ac023b23c5dd330194.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/436>

677d1e0... by He Junyan <email address hidden>

plugins: encode: fix a deadlock because of _drain()

We call gst_vaapiencode_drain() in gst_vaapiencode_change_state(),
whose context does not hold the stream lock of the encoder. The
current gst_vaapiencode_drain inside unlock/lock pair adds a extra
lock count to the stream lock of encoder and causes hang later.
We just remove the gst_vaapiencode_drain() and expand its logic
correctly according to the lock/unlock context.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/433>

d152ab1... by He Junyan <email address hidden>

libs: decoder: av1: Clean the film_grain_info field.

We need to clean all film_grain_info fields when the film grain
feature is not enabled. It may have random data because the picture
parameter buffer is not cleaned.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/434>

310ffc1... by He Junyan <email address hidden>

libs: encoder: mpeg2: Add highP level for 1080@50p/60p.

The MPEG2 spec has amendment 3 to introduce a new level highP, which
is used for 1080@50p/60p streams. We need to add this level to avoid
encoding failure because of the level check.

Fix: #306
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/432>

9f02c3f... by He Junyan <email address hidden>

Decoder: H264: Add the support for frame packing arrangement SEI message.

Frame packing arrangement SEI message is an alternative simple stereo 3D
manner for AVC. We need to recognize that SEI message and report the correct
3D caps.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/420>

2614333... by =?utf-8?q?Tim-Philipp_M=C3=BCller?= <email address hidden>

Use g_memdup2() where available and add fallback for older GLib versions

Alloc size is based on existing allocations and struct sizes.

g_memdup() is deprecated since GLib 2.68 and we want to avoid
deprecation warnings with recent versions of GLib.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/431>