summaryrefslogtreecommitdiff
path: root/gst/gstbufferlist.h
AgeCommit message (Collapse)AuthorFilesLines
2021-09-24Move files from gstreamer into the "subprojects/gstreamer/" subdirThibault Saunier1-187/+0
2021-02-08docs: standardize GstBufferList documentationMathieu Duponchelle1-1/+1
* Don't repeat what annotations are stating with respect to ownership transfer, nullability * Misc cleanup / typo fixes / addition of links Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/752>
2021-01-11gst: Add non-inline methods for bindings to able to use core APIsSeungha Yang1-80/+22
Provide non-inline version of refcounting APIs so that it can be consumed by bindings Fixes: https://gitlab.freedesktop.org/gstreamer/gstreamer-sharp/-/issues/46 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/728>
2019-06-04Use G_DEFINE_AUTOPTR_CLEANUP_FUNC unconditionallyNiels De Graef1-2/+0
Since we started depending on GLib 2.44, we can be sure this macro is defined (it will be a no-op on compilers that don't support it). For plugins we should just start using `G_DECLARE_FINAL_TYPE` which means we no longer need the macro there, but for most types in core we don't want to break ABI, which means it's better to just keep it like it is (and use the `#ifdef` instead).
2019-05-13doc: Fix hotdoc warningsThibault Saunier1-4/+7
* Making sure that `static inline` function are in the GIR (by first defining them, and make sure to mark as skiped) * Do not try to link to unexisting symbols * Also generate GIR information about gst_tracers
2018-11-05gst_clear_*: Cast to GstMiniObject** when neededJan Alexander Steffens (heftig)1-1/+1
2018-11-05bufferlist: add gst_buffer_list_replace/take()Niels De Graef1-0/+47
This makes its API consistent with the other GstMiniObject subclasses.
2018-11-05bufferlist: add gst_clear_buffer_list()Niels De Graef1-0/+19
Basically, you can use this instead of using gst_buffer_list_unref (which needs to be preceded by a NULL-check). Also fixes #275
2018-03-13gst: GST_EXPORT -> GST_APITim-Philipp Müller1-12/+12
We need different export decorators for the different libs. For now no actual change though, just rename before the release, and add prelude headers to define the new decorator to GST_EXPORT.
2017-09-17bufferlist: add gst_buffer_list_calculate_size()Tim-Philipp Müller1-0/+3
Returns size in bytes.
2017-09-17bufferlist: add gst_buffer_list_get_writable()Tim-Philipp Müller1-0/+3
Ensures buffer is writable. Useful if we want to change metadata on it such as timestamps. https://bugzilla.gnome.org/show_bug.cgi?id=750241
2017-05-15gst: mark symbols explicitly for export with GST_EXPORTTim-Philipp Müller1-0/+13
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-12/+0
gtk-doc can handle static inline functions just fine these days, there's no need for this stuff any more.
2015-06-24bufferlist: add new api gst_buffer_list_copy_deepHyunjun Ko1-0/+1
https://bugzilla.gnome.org/show_bug.cgi?id=751420
2014-06-26introspection: add nullability annotations to out and inout paramsEvan Nemerson1-1/+1
https://bugzilla.gnome.org/show_bug.cgi?id=730957
2014-05-30docs: convert NULL, TRUE, and FALSE to %NULL, %TRUE, and %FALSEEvan Nemerson1-1/+1
This should help improve documentation generated for languages other than C. https://bugzilla.gnome.org/show_bug.cgi?id=730961
2013-12-07docs: Fix typos in function/object descriptionsSebastian Rasmussen1-1/+1
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=720029
2012-11-03Fix FSF addressTim-Philipp Müller1-2/+2
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-07-23bufferlist: pass index as gint to _insertWim Taymans1-1/+1
Make the idx argument of _insert() a gint because we allow -1 as a value. Improve annotation.
2012-07-17bufferlist: improve foreach functionWim Taymans1-1/+1
Make the foreach function return FALSE when one of the function calls returned FALSE.
2012-07-10Remove 0.10-related documentation and "Since" markersEdward Hervey1-10/+0
2011-12-27win32: fix exported variables for VS 2010Matej Knopp1-1/+1
https://bugzilla.gnome.org/show_bug.cgi?id=666219
2011-11-26Merge remote-tracking branch 'origin/master' into 0.11Tim-Philipp Müller1-2/+2
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-1/+1
Maybe gcc can do something clever with that, or at least warn us if we don't save the return value somewhere.
2011-11-02bufferlist: clean up APIWim Taymans1-2/+2
gst_buffer_list_len() -> gst_buffer_list_length() gst_buffer_list_sized_new() -> gst_buffer_list_new_sized()
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-04-14bufferlist: Add boxed type for GstBufferListIterator for gobject-introspectionSebastian Dröge1-0/+3
2011-03-31bufferlist: simplify bufferlistsWim Taymans1-79/+17
We now have multiple memory blocks as part of the buffers and we can therefore reduce the bufferlist to a simple array of buffers.
2011-02-23improve type registrationWim Taymans1-3/+3
2011-02-23fix macrosWim Taymans1-3/+3
2011-02-23miniobject: work on making caps a boxed typeWim Taymans1-6/+2
More work on making miniobject a simple allocated struct.
2010-12-07docs: gst: more gobject introspection annotationsTim-Philipp Müller1-7/+10
Many of these are superfluous, added for clarity.
2010-09-17bufferlist: add function to add a list of buffersWim Taymans1-0/+1
Add a function to add a list of buffers to the bufferlist.
2010-09-02Fix casts in a bunch of inline functions to maintain correct const-nessJeffrey S. Smith1-1/+1
Make code including GStreamer headers compile with -Wcast-qual by maintaining const-ness when casting. Also fix function signature of gst_byte_writer_set_pos(): the byte writer should not be marked as const. https://bugzilla.gnome.org/show_bug.cgi?id=627910
2010-01-31docs: add some more Since: markers to buffer list docsTim-Philipp Müller1-0/+16
2009-12-07Use plain casting instead of typecheckingWim Taymans1-1/+1
2009-06-19bufferlist: remove old enum from docsWim Taymans1-1/+0
2009-06-19bufferlist: Various cleanupsWim Taymans1-22/+47
Add new method to iterate a bufferlist without having to allocate an iterator. Add convenience method for getting an item from the list based on the group and index. Remove redundant _do_data callback and method. Update unit-tests and add some more for the new methods.
2009-05-12bufferlist: make objects opaqueWim Taymans1-19/+0
2009-05-12bufferlist: add bufferlist codeJonas Holmberg1-0/+215
Buffer lists are a means to manage disjoint buffers as one buffer. It's also possible to put many of those buffers into a list. The idea is that when support is added to various elements, we will be able to more efficiently slice and dice buffers, reduce the amount of memcpy and also reduce data passing overhead. The implementation is kept simple on purpose, reusing all of the memory management features we have for miniobjects and buffers. Access to the bufferlist object is done with an iterator, which allows for efficient iteration and modification of the list. See #572285