summaryrefslogtreecommitdiff
path: root/gst/gstcaps.h
AgeCommit message (Collapse)AuthorFilesLines
2017-05-15gst: mark symbols explicitly for export with GST_EXPORTTim-Philipp Müller1-4/+69
One omission: gst_allocator_sysmem_get_type() was exported but never in any public header file.
2015-12-14core: Add g_autoptr() support to all typesXavier Claessens1-0/+4
https://bugzilla.gnome.org/show_bug.cgi?id=754464
2015-11-09docs: remove dummy function declarations with G_INLINE_FUNCTION for gtk-docTim-Philipp Müller1-20/+0
gtk-doc can handle static inline functions just fine these days, there's no need for this stuff any more.
2014-12-16structure/caps: Add gst_{structure,caps}_filter_and_map_in_place()Sebastian Dröge1-0/+21
https://bugzilla.gnome.org/show_bug.cgi?id=739765
2014-12-16caps: Add gst_caps_foreach() and gst_caps_map_in_place()Sebastian Dröge1-0/+43
https://bugzilla.gnome.org/show_bug.cgi?id=739765
2014-07-09docs: Fix documentation typos and inconsistenciesSebastian Rasmussen1-3/+3
* GstGlobalDeviceMonitor was renamed to GstDeviceMonitor * Expand GST_MESSAGE_DEVICE to the full enum value names * Correct the incorrect references to the GstDeviceProvider interfaces * Describe caps arguments for gstcheck interface * Add missing docs for GstNetAddressMeta and its add function * Add docs for toc helper macros * Avoid refering to GstValueList type as done elsewhere Fixes https://bugzilla.gnome.org/show_bug.cgi?id=732786
2014-06-26introspection: add nullability annotations to out and inout paramsEvan Nemerson1-2/+2
https://bugzilla.gnome.org/show_bug.cgi?id=730957
2014-05-30docs: convert NULL, TRUE, and FALSE to %NULL, %TRUE, and %FALSEEvan Nemerson1-3/+3
This should help improve documentation generated for languages other than C. https://bugzilla.gnome.org/show_bug.cgi?id=730961
2013-03-31caps: Add new data type for handling caps features to the capsSebastian Dröge1-0/+15
These are meant to specify features in caps that are required for a specific structure, for example a specific memory type or meta. Semantically they could be though of as an extension of the media type name of the structures and are handled exactly like that.
2012-11-03Fix FSF addressTim-Philipp Müller1-2/+2
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-07-10Remove 0.10-related documentation and "Since" markersEdward Hervey1-2/+0
2012-07-05miniobject: add lock functionality to GstMiniObjectWim Taymans1-1/+1
Move the locking methods from GstMemory to GstMiniObject. Add a miniobject flag to enable LOCKABLE objects. LOCKABLE objects can use the lock/unlock API to control the access to the object. Add a minobject flag that allows you to lock an object in readonly mode. Modify the _is_writable() method to check the shared counter for LOCKABLE objects. This allows us to control writability separately from the refcount for LOCKABLE objects.
2012-03-13caps: remove gst_caps_union()Wim Taymans1-2/+0
Remove gst_caps_union(), use gst_caps_merge(). This function was not used anymore and it is unclear what the difference is with _merge().
2012-03-12caps: _do_simplify() -> _simplify()Wim Taymans1-1/+1
Rename _do_simplify() to _simplify(). The name was introduced as a replacement method for a deprecated method but we can now rename it again. Fix some docs.
2012-03-12caps: improve _do_simplifyWim Taymans1-1/+1
Make gst_caps_do_simplify() take ownership of the input caps and produce a simplified output caps. This removes the requirement of having writable input caps and the method can make the caps writable only when needed.
2012-03-11caps: avoid using in-place oprationsWim Taymans1-18/+18
Rework some caps operations so they don't rely on writable caps but instead take ownership of the input caps and do _make_writable() only when needed. Remove some const from caps functions, it does not make much sense for refcounted objects and does not allow us to return a refcount to the const input caps. Rework the base classes fixate vmethods to not operate on the caps in-place. All this saves us around 30% of caps and structure copy and new operations.
2012-01-26caps: Make GstCaps public struct more opaque by moving the private pointer ↵Sebastian Dröge1-3/+0
into the implementation
2012-01-26caps: Store a pointer to GstCaps in GstStaticCapsSebastian Dröge1-3/+2
...instead of using hackish subclass of GstCaps, which also had some thread-safety problems.
2011-12-27win32: fix exported variables for VS 2010Matej Knopp1-3/+3
https://bugzilla.gnome.org/show_bug.cgi?id=666219
2011-12-21caps: rename variable for consistencyWim Taymans1-2/+2
Rename the variable for GST_CAPS_NONE to _gst_caps_none for consistency and to hie the fact that NONE caps are also accidentally empty caps.
2011-12-20caps: add ANY and EMPTY singletonsWim Taymans1-4/+8
Add a singleton for ANY and EMPTY caps and make the GST_CAPS_ANY and GST_CAPS_NONE point to them. This makes the API more consistent now that the macro does not magically create a ref. It also solves some leaks in places where the macro was used to register a padtemplate.
2011-12-05make some more macros as inline functionsWim Taymans1-8/+36
Make some macros as inline functions for added type checking. USe new gst_caps_take() in typefind
2011-11-28caps: _CAPS_FLAGS_ -> CAPS_FLAG_Wim Taymans1-2/+2
2011-11-27caps: fix compilation warningMatej Knopp1-1/+1
GST_STATIC_CAPS is missing initializer for GstMiniObject's n_weak_refs and weak_refs resulting in compilation warning (llvm-gcc -Wall) https://bugzilla.gnome.org/show_bug.cgi?id=664927
2011-11-26Merge remote-tracking branch 'origin/master' into 0.11Tim-Philipp Müller1-13/+13
Conflicts: gst/gstbuffer.h gst/gstbufferlist.h gst/gstcaps.h gst/gstdatetime.h gst/gstelementfactory.h gst/gstevent.h gst/gstghostpad.h gst/gstindexfactory.h gst/gstiterator.h gst/gstmessage.h gst/gstminiobject.h gst/gstpipeline.h gst/gstquery.h gst/gstsegment.h gst/gststructure.h gst/gsttaglist.h gst/gsturi.h gst/gstvalue.h libs/gst/base/gstbitreader.h libs/gst/base/gstbytereader.h libs/gst/base/gstbytewriter.h Note: can't use G_GNUC_MALLOC with GstCaps return values in 0.11 because of the EMPTY+ANY singletons.
2011-11-26gst: sprinkle some G_GNUC_MALLOCTim-Philipp Müller1-15/+15
Maybe gcc can do something clever with that, or at least warn us if we don't save the return value somewhere.
2011-11-07Merge branch 'master' into 0.11Wim Taymans1-0/+2
Conflicts: libs/gst/base/gstbasetransform.c
2011-11-04caps: Add gst_caps_is_strictly_equalSjoerd Simons1-0/+2
2011-10-27caps: add empty_simple variantsWim Taymans1-0/+1
2011-10-27caps: use G_GNUC_NULL_TERMINATED for gst_caps_new_simple() and ↵Johan Boulé1-2/+3
gst_caps_new_full() If you get warnings, use gst_caps_new_empty(). https://bugzilla.gnome.org/show_bug.cgi?id=343346
2011-09-26docs: fix docsWim Taymans1-3/+3
2011-08-29init: add _get_type() functionsWim Taymans1-0/+2
Remove gst_mini_object_register() and add a GST_DEFINE_MINI_OBJECT macro to define a _get_type() function for the boxed miniobject. Remove a bunch of custom _get_type() functions and replace them with the miniobject macro. Rename some _init method to _priv_*_initialize() like the rest of them. Inspired by patch from Johan Dahlin and see bug #657603
2011-08-15caps: define GST_CAPS_FLAGS_NONE for consistency with other enumerationsJosep Torra1-0/+2
Use them to fix warnings when building with ICC. API: GST_CAPS_FLAGS_NONE https://bugzilla.gnome.org/show_bug.cgi?id=656265
2011-08-15caps: add fixate functionWim Taymans1-0/+2
Add a fixate function and use it in gstpad.c
2011-06-22caps: Hide implementation detailsWim Taymans1-5/+3
Make the Array of structures private. This should allow us to implement the array more efficiently or with some preallocated structures when we want to later. Add a new method to clean up a static structure so that we can remove some code that pokes into the private bits of the caps.
2011-06-02caps: remove some custom refcounting methodsWim Taymans1-5/+50
Remove some custom made refcounting methods and use the miniobject ones instead.
2011-05-27Merge branch 'master' into 0.11Sebastian Dröge1-0/+2
2011-05-27caps: Add gst_caps_is_subset_structure()Sebastian Dröge1-0/+2
API: gst_caps_is_subset_structure() This allows to check if a structure is a subset of given caps without allocating a new caps instance for it.
2011-05-10caps: fix the macros a littleWim Taymans1-2/+3
2011-05-05Merge branch 'master' into 0.11Sebastian Dröge1-4/+5
Conflicts: docs/gst/gstreamer-sections.txt gst/gstelementfactory.c gst/gstminiobject.c
2011-05-03docs: improve the syntax for the capsintersectmode docsStefan Kost1-4/+5
2011-03-28Merge branch 'master' into 0.11-fdoWim Taymans1-0/+34
Conflicts: gst/gst.c libs/gst/base/gstcollectpads.c
2011-03-24gstcaps: new API : gst_caps_intersect_fullEdward Hervey1-0/+34
Just like gst_caps_intersect, but adds a new parameter 'mode' that allows selecting the intersection algorithm to use. Currently we have GST_CAPS_INTERSECT_MODE_ZIG_ZAG (default) and GST_CAPS_INTERSECT_MODE_FIRST. API: gst_caps_intersect_full API: GstCapsIntersectMode API: GST_CAPS_INTERSECT_MODE_ZIG_ZAG API: GST_CAPS_INTERSECT_MODE_FIRST https://bugzilla.gnome.org/show_bug.cgi?id=617045
2011-02-23caps: warn when make_writable result is ignoredWim Taymans1-1/+1
2011-02-23improve type registrationWim Taymans1-2/+3
2011-02-23fix macrosWim Taymans1-1/+1
2011-02-23miniobject: make queries a boxed typeWim Taymans1-1/+3
More minionject stuff.
2011-02-23messages: make message a simple boxed typeWim Taymans1-11/+78
2011-02-23miniobject: work on making caps a boxed typeWim Taymans1-3/+36
More work on making miniobject a simple allocated struct.
2011-02-23miniobject: make miniobject a boxed typeWim Taymans1-11/+2
First attempt at making miniobject a simple boxed type.