gstreamer/gst-libs/gst
Tim-Philipp Müller 6630236af4 video: add video overlay composition API for subtitles
Basic API to attach overlay rectangles to buffers,
or blend them directly onto raw video buffers.

To be used primarily for things like subtitles or
logo overlays, not meant to replace videomixer.

Allows us to associate subtitle overlays with
non-raw video surface buffers, so that subtitles
are not lost and can instead be rendered later
when those surfaces are displayed or converted,
whilst re-using all the existing overlay plugins
and not having to teach them about our special
video surfaces. Could also have been made part
of the surface buffer abstraction of course, but
a secondary goal was to consolidate the blending
code for raw video into libgstvideo, and this
kind of API allows us to do both in a way that's
minimally invasive to existing elements, and at
the same time is fairly intuitive.

More features and extensions like the ability to
pass the source data or text/markup directly will
be added later.

https://bugzilla.gnome.org/show_bug.cgi?id=665080

API: gst_video_buffer_get_overlay_composition()
API: gst_video_buffer_set_overlay_composition()

API: gst_video_overlay_composition_new()
API: gst_video_overlay_composition_add_rectangle()
API: gst_video_overlay_composition_n_rectangles()
API: gst_video_overlay_composition_get_rectangle()
API: gst_video_overlay_composition_make_writable()
API: gst_video_overlay_composition_copy()
API: gst_video_overlay_composition_ref()
API: gst_video_overlay_composition_unref()

API: gst_video_overlay_composition_blend()

API: gst_video_overlay_rectangle_new_argb()
API: gst_video_overlay_rectangle_get_pixels_argb()
API: gst_video_overlay_rectangle_get_pixels_unscaled_argb()
API: gst_video_overlay_rectangle_get_render_rectangle()
API: gst_video_overlay_rectangle_set_render_rectangle()
API: gst_video_overlay_rectangle_copy()
API: gst_video_overlay_rectangle_ref()
API: gst_video_overlay_rectangle_unref()
2011-12-05 15:37:02 +00:00
..
app Work around deprecated thread API in glib master 2011-12-04 17:16:30 +00:00
audio Suppress deprecation warnings in selected files, for g_static_rec_mutex_* mostly 2011-12-04 20:50:25 +00:00
cdda various: fix pad template leaks 2011-11-28 13:09:02 +00:00
fft various: typo fixes 2011-12-02 12:03:27 +01:00
floatcast gst/: Include glib.h instead of a specific GLib header. Including single 2008-12-10 08:19:13 +00:00
interfaces xoverlay: Fix mistakes in the sample code 2011-12-05 09:39:08 +01:00
netbuffer various: typo fixes 2011-12-02 12:03:27 +01:00
pbutils Work around deprecated thread API in glib master 2011-12-04 17:16:30 +00:00
riff libgstriff: add a couple tags that need skipping 2011-11-24 17:04:19 +00:00
rtp various: typo fixes 2011-12-02 12:03:27 +01:00
rtsp Work around deprecated thread API in glib master 2011-12-04 17:16:30 +00:00
sdp docs: handle warnings emitted by gtk-doc 2011-08-20 19:16:42 +02:00
tag xmpwriter: update for thread API deprecations in glib master 2011-12-04 15:23:21 +00:00
video video: add video overlay composition API for subtitles 2011-12-05 15:37:02 +00:00
gettext.h Fix for ENABLE_NLS being undefined for -Wundef 2010-03-16 18:06:16 +01:00
glib-compat-private.h Work around deprecated thread API in glib master 2011-12-04 17:16:30 +00:00
gst-i18n-plugin.h *.h: Revert indenting 2004-03-15 16:32:55 +00:00
Makefile.am Work around deprecated thread API in glib master 2011-12-04 17:16:30 +00:00