gstreamer/gst
Mathieu Duponchelle 8ff5079e5e compositor/blend: fix blending of subsampled components
The correct way to determine the byte offset at a certain yoffset
in a subsampled component is to shift the yoffset by the component's
hsub

This fixes out-of-bounds memory accesses and visible artefacts,
example pipeline with the samples from #802:

gst-launch-1.0 compositor name=vmixer sink_1::xpos=1910 sink_1::ypos=1080 ! \
    videoconvert ! videorate ! xvimagesink \
  filesrc location=VID_20200723_203606.mp4 ! decodebin name=demux1 ! \
    queue ! videoflip method=vertical-flip ! vmixer. \
  filesrc location=bridgeoverstubbledwater.mp4 ! decodebin name=demux2 ! \
    queue ! vmixer.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/988>
2020-12-29 22:48:08 +00:00
..
adder audio: Move fill_silence into audio_format_info 2020-11-25 19:18:25 +01:00
app Remove autotools build system 2019-10-13 14:15:43 +01:00
audioconvert audio: Move fill_silence into audio_format_info 2020-11-25 19:18:25 +01:00
audiomixer meson: add update-orc-dist target 2020-07-04 14:01:56 +01:00
audiorate audiorate: Make buffer writable before changing its metadata 2020-12-15 13:16:31 +00:00
audioresample videorate/videoscale/audioresample: Ensure that the caps returned from fixate_caps() are actually fixated 2020-08-26 09:10:29 +00:00
audiotestsrc plugins: uddate gst_type_mark_as_plugin_api() calls 2020-06-06 00:41:17 +02:00
compositor compositor/blend: fix blending of subsampled components 2020-12-29 22:48:08 +00:00
encoding encodebin: Enhance algorithm to check if profiles can be plugged to muxer 2020-11-30 15:44:53 -03:00
gio giosrc: Add support for growing source files 2020-12-08 12:14:58 -03:00
overlaycomposition overlaycomposition: Use G_DECLARE_FINAL_TYPE 2020-03-16 15:47:58 +00:00
pbtypes pbtypes: allow per features registration 2020-12-10 13:01:57 +00:00
playback decodebin3: When reconfiguring a slot make sure that the ghostpad is unlinked 2020-12-24 11:44:27 +02:00
rawparse rawvideoparse: Fix tiling support 2020-07-14 17:33:31 +00:00
subparse subparse: allow per feature registration 2020-12-10 13:01:57 +00:00
tcp tcpserversink: Don't assume g_socket_get_remote_address succeeds 2020-10-30 14:01:51 +01:00
typefind typefind: Fix debug category usage 2020-12-11 14:06:30 +01:00
videoconvert videoconvert: Enhance debug message to be more human readable 2020-10-14 19:12:51 +00:00
videorate videorate/videoscale/audioresample: Ensure that the caps returned from fixate_caps() are actually fixated 2020-08-26 09:10:29 +00:00
videoscale audio: video: Fix in/outbuf confusion of transform_meta 2020-10-08 18:30:39 +02:00
videotestsrc meson: add update-orc-dist target 2020-07-04 14:01:56 +01:00
volume meson: add update-orc-dist target 2020-07-04 14:01:56 +01:00
meson.build compositor: add to build after move from -bad 2018-12-28 12:16:18 +01:00