gstreamer/libs/gst/base
Sungho Bae d3b2f6e4b8 bytereader: Use pointer instead of index access
Currently the scan uses Boyer-moore method and its performance is good.
but, it can be optimized from an implementation of view.

The original scan code is implemented by byte array and index-based access.
In _scan_for_start_code(), the index is increasing from start to end and the
base address of the byte array is referred to as return value.

In the case, index-based access can be replaced by pointer access, which
improve the performance by removing index-related operations.

Its performace is enhanced by approximately 8% on arm-based embedded devices.
Although it seems trivial, it can affect the overall performance because the
_scan_for_start_code() function is very often called when H.264/H.265 video is
played.

In addition, the technique can apply for all architectures and it is good in
view of readability and maintainability.

https://bugzilla.gnome.org/show_bug.cgi?id=731442
2014-06-10 09:35:38 -04:00
..
.gitignore Update a bunch of gitignores to clean up my git status output 2009-01-23 16:08:40 +00:00
base.h base: include flowcombiner header from base.h 2014-05-27 09:55:27 +01:00
gstadapter.c base: use correct syntax in documentation more consistently 2014-06-06 15:09:21 -04:00
gstadapter.h adapter: Adapt gst_adapter_copy() for bindings 2014-03-15 13:16:16 +01:00
gstbaseparse.c base: use correct syntax in documentation more consistently 2014-06-06 15:09:21 -04:00
gstbaseparse.h docs: Fix typos and remove unknown annotations 2014-03-02 21:47:52 +01:00
gstbasesink.c base: use correct syntax in documentation more consistently 2014-06-06 15:09:21 -04:00
gstbasesink.h docs: Fix typos in function/object descriptions 2013-12-07 17:11:12 +00:00
gstbasesrc.c base: use correct syntax in documentation more consistently 2014-06-06 15:09:21 -04:00
gstbasesrc.h base: use correct syntax in documentation more consistently 2014-06-06 15:09:21 -04:00
gstbasetransform.c base: use correct syntax in documentation more consistently 2014-06-06 15:09:21 -04:00
gstbasetransform.h base: use correct syntax in documentation more consistently 2014-06-06 15:09:21 -04:00
gstbitreader-docs.h docs: align the comments correctly with the declaration in bitreader docs 2013-01-29 15:43:05 +00:00
gstbitreader.c Fix FSF address 2012-11-03 20:44:48 +00:00
gstbitreader.h Fix FSF address 2012-11-03 20:44:48 +00:00
gstbytereader-docs.h Fix FSF address 2012-11-03 20:44:48 +00:00
gstbytereader.c bytereader: Use pointer instead of index access 2014-06-10 09:35:38 -04:00
gstbytereader.h bytereader: add inline variant of gst_byte_reader_init() 2013-12-14 18:38:41 +00:00
gstbytewriter-docs.h docs: Fix typos in function/object descriptions 2013-12-07 17:11:12 +00:00
gstbytewriter.c docs: Fix typos in function/object descriptions 2013-12-07 17:11:12 +00:00
gstbytewriter.h Fix FSF address 2012-11-03 20:44:48 +00:00
gstcollectpads.c base: use correct syntax in documentation more consistently 2014-06-06 15:09:21 -04:00
gstcollectpads.h base: use correct syntax in documentation more consistently 2014-06-06 15:09:21 -04:00
gstdataqueue.c dataqueue: clear up documentation of gst_data_queue_new 2014-06-07 09:30:14 +01:00
gstdataqueue.h base: use correct syntax in documentation more consistently 2014-06-06 15:09:21 -04:00
gstflowcombiner.c flowcombiner: add GstFlowCombiner 2014-05-26 15:29:53 -03:00
gstflowcombiner.h flowcombiner: beautify headers a little 2014-05-27 10:09:02 +01:00
gstindex.c introspection: fix some minor annotation bugs 2014-06-06 15:15:12 -04:00
gstindex.h Fix FSF address 2012-11-03 20:44:48 +00:00
gstmemindex.c Fix FSF address 2012-11-03 20:44:48 +00:00
gstpushsrc.c docs: remove outdated and pointless 'Last reviewed' lines from docs 2014-04-26 21:21:51 +01:00
gstpushsrc.h Fix FSF address 2012-11-03 20:44:48 +00:00
gstqueuearray.c queuearray: fix expanding size of queue from 1 2014-06-07 09:45:39 +01:00
gstqueuearray.h Fix FSF address 2012-11-03 20:44:48 +00:00
gsttypefindhelper.c base: use correct syntax in documentation more consistently 2014-06-06 15:09:21 -04:00
gsttypefindhelper.h base: use correct syntax in documentation more consistently 2014-06-06 15:09:21 -04:00
Makefile.am flowcombiner: add GstFlowCombiner 2014-05-26 15:29:53 -03:00
README add short/long description docs to base classes add pushsrc to the docs remove consolidated doc fragments 2005-08-03 13:30:18 +00:00

Base classes
------------

GstBaseSink
  FIXME: not much point making it operate in pull mode as a generic
  base class I guess...