Commit graph

25 commits

Author SHA1 Message Date
Tim-Philipp Müller
5037b39883 video: add seqnum getters for overlay compositions and rectangles
API: gst_video_overlay_composition_get_seqnum()
API: gst_video_overlay_rectangle_get_seqnum()
2011-12-07 17:57:08 +00:00
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
Alessandro Decina
848711706b libgstvideo: minor fixes to key unit events
Make out args to gst_video_event_parse_{downstream|upstream}_force_key_unit
optional, update libgstvideo.def and fix docs a bit.

API: gst_video_event_new_upstream_force_key_unit
API: gst_video_event_new_downstream_force_key_unit
API: gst_video_event_is_force_key_unit
API: gst_video_event_parse_upstream_force_key_unit
API: gst_video_event_parse_downstream_force_key_unit

https://bugzilla.gnome.org/show_bug.cgi?id=607742
2011-11-29 09:15:59 +01:00
Vincent Penquerc'h
ea78b060a7 Revert "libgstvideo: add a new API to handle QoS events and dropping logic"
This reverts commit eb03323fb6.

*grumble* I managed to merge something I did not mean to.
2011-11-28 13:26:53 +00:00
Vincent Penquerc'h
eb03323fb6 libgstvideo: add a new API to handle QoS events and dropping logic
https://bugzilla.gnome.org/show_bug.cgi?id=658241
2011-11-28 12:34:43 +00:00
Tim-Philipp Müller
8d1ed65016 win32: update .def file for new API 2011-05-28 16:14:23 +01:00
Thiago Santos
6b4d788bb5 video: adds missing function to win32 def 2011-03-23 12:21:55 -03:00
Tim-Philipp Müller
eae16a78b9 win32: update .def file for new libgstvideo API 2011-02-22 15:26:14 +00:00
Wim Taymans
b3b8c09cf4 defs: add new symbol 2010-12-03 15:48:28 +01:00
Sebastian Dröge
98dc45861a win32: Add gst_video_convert_frame() and gst_video_convert_frame_async() to the .def files 2010-09-14 08:42:44 +02:00
Sebastian Dröge
c4f0b2352f video: Add new symbol to the exported symbols list 2010-04-07 17:07:19 +02:00
Tim-Philipp Müller
a5bd2923c2 win32: add recently added API to .def files
Also add API markers to make life easier for the release manager:

API: gst_x_overlay_set_render_rectangle()
API: gst_video_parse_caps_color_matrix()
API: gst_video_parse_caps_chroma_site()
2010-03-15 13:40:47 +00:00
Tim-Philipp Müller
35325cf561 win32: add new API to libgstvideo.def 2010-03-10 00:59:10 +00:00
Jan Schmidt
9d0754fa26 win32: Add new still-frame API to the defs
Add gst_video_event_new_still_frame() and
gst_video_event_parse_still_frame() functions to the win32 defs files
2009-11-18 12:27:19 +00:00
Jan Schmidt
d06520f4a8 win32: Fix exports
Remove methods from video base classes that have moved to -bad.
Add gst_netaddress_to_string
2009-07-13 18:31:15 +01:00
Tim-Philipp Müller
5fa9a8f4d0 video: don't expose internal gst_adapter_get_buffer() helper function
If it's really needed it should go into GstAdapter in core.
2009-05-25 00:19:25 +01:00
Jan Schmidt
5e16234bd2 win32: Remove gst_adapter_masked_scan_uint32 from the exports 2009-05-22 09:03:22 +01:00
Wim Taymans
1c01a01dbf defs: add new symbols 2009-05-20 00:42:29 +02:00
Edward Hervey
bd7c9ecba3 win32/common: Update .def files for recent API addition 2009-02-22 14:49:29 +01:00
Jan Schmidt
70a71bd9cf win32/common/: Add new exports to win32 files.
Original commit message from CVS:
* win32/common/libgstaudio.def:
* win32/common/libgsttag.def:
* win32/common/libgstvideo.def:
Add new exports to win32 files.
2008-12-31 16:04:26 +00:00
Jan Schmidt
5e7a3ad036 win32/common/: Add new API declarations
Original commit message from CVS:
* win32/common/libgstsdp.def:
* win32/common/libgstvideo.def:
Add new API declarations
2008-01-14 22:20:12 +00:00
Ole André Vadla Ravnås
e668c5be70 win32/common/: More missing symbols to export (fixes #493986).
Original commit message from CVS:
Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
* win32/common/libgstaudio.def:
* win32/common/libgstcdda.def:
* win32/common/libgstinterfaces.def:
* win32/common/libgstnetbuffer.def:
* win32/common/libgstpbutils.def:
* win32/common/libgstrtp.def:
* win32/common/libgstrtsp.def:
* win32/common/libgsttag.def:
* win32/common/libgstvideo.def:
More missing symbols to export (fixes #493986).
2007-11-06 16:38:49 +00:00
Sébastien Moutte
ffd3e2484e win32/common/libgstvideo.def: export gst_video_calculate_display_ratio
Original commit message from CVS:
* win32/common/libgstvideo.def:
export gst_video_calculate_display_ratio
* win32/vs6/libgstvideoscale.dsp:
add link to libgstvideo-0.10.lib
2006-05-30 20:33:59 +00:00
Sébastien Moutte
4baa52c9c5 gst/audioresample/debug.h: replace debug macros with variable number of parameters by a simple alias to gstreamer sta...
Original commit message from CVS:
* gst/audioresample/debug.h:
replace debug macros with variable number of parameters
by a simple alias to gstreamer standard debug macros
(#define RESAMPLE_ERROR GST_ERROR, __VA_ARGS__ is not
supported by MSVC 6.0 and 7.1)
* gst/audioresample/resample.h:
define M_PI and rint for WIN32
* win32/common/libgstaudio.def:
* win32/common/libgstriff.def:
* win32/common/libgsttag.def:
* win32/common/libgstvideo.def:
add new exported functions
* win32/vs6:
update project files
2006-04-09 17:14:22 +00:00
Thomas Vander Stichele
373f4df293 add visual studio 6 build files
Original commit message from CVS:
add visual studio 6 build files
2005-12-01 10:20:15 +00:00