summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-12-17configure: point people to gst-omx insteadHEADmasterTim-Philipp Müller1-0/+6
0.10 stuff continues in 0.10 branch.
2012-12-17build: do gst-style git versioning, so AS_NANO works properly0.10Tim-Philipp Müller1-1/+3
https://bugzilla.gnome.org/show_bug.cgi?id=690364
2012-12-17build: check nano version and add option to disable fatal warningsRoss Burton1-1/+5
Signed-off-by: Ross Burton <ross.burton@intel.com> https://bugzilla.gnome.org/show_bug.cgi?id=690364
2012-12-17common: bump to latest 0.10 revisionRoss Burton1-0/+0
Signed-off-by: Ross Burton <ross.burton@intel.com> https://bugzilla.gnome.org/show_bug.cgi?id=690364
2012-08-13omx: avoid compiler warnings when the gstreamer debugging system is disabledTim-Philipp Müller3-14/+3
https://bugzilla.gnome.org/show_bug.cgi?id=677764
2012-06-06remove obsolete shave remaindersAdrian Bunk3-81/+0
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2011-07-15base_videodec: add support of NV12 typeBenjamin Gaignard1-0/+4
Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2011-07-15build: manually #define EXPERIMENTAL if requiredSebastian Dröge2-6/+6
Including config.h does not work as expected and the EXPERIMENTAL define is not taken into account when generating gstomx.conf otherwise. Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2011-07-15build: correctly #define EXPERIMENTAL to 1Sebastian Dröge1-1/+1
Defining it to nothing gives problems in some scenarios if only #if is used instead of #ifdef. Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2011-07-15omx_volume: fix default capsSebastian Dröge1-2/+2
The bellagio volume component only supports 44.1kHz and 2 channels. It doesn't even handle setting of the OMX_IndexParamAudioPcm parameter correctly. Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2011-07-15build: pass $(DEFS) to cppSebastian Dröge1-1/+1
Otherwise -DHAVE_CONFIG_H is not passed. Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2011-07-15build: only #include config.h when HAVE_CONFIG_HSebastian Dröge1-0/+2
On some systems the defines from config.h are passed via CFLAGS instead of a config.h file. This also makes the generated gstomx.conf file easier to read because the indention is not destroyed anymore and no additional newlines are inserted. Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2011-07-15build: remove gstomx.conf* with "make clean"Sebastian Dröge1-0/+4
These files are automatically generated and should be regenerated after "make clean". Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2011-07-15build: trivial fixFelipe Contreras1-1/+1
Let's make sure gstomx.conf is cleanly regenerated. Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2011-05-31build: fix default configFelipe Contreras1-1/+1
Apparently gst_structure_from_string() doesn't like the multiple lines in omx_mpeg4dec caps. It's easily fixable by passing the -P option to the preprocessor, which also gets rid of the comments. If this breaks with somebody's pre-processor, speak now :) Reported-by: Sebastian Dröge <slomo@circular-chaos.org> Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2011-05-31plugin: remove unused variableFelipe Contreras1-2/+1
Fixes compilation with gcc 4.6. gstomx.c:241:35: error: variable 'component_role' set but not used [-Werror=unused-but-set-variable] Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2011-05-30gstomx.conf: use stream-format and alignment fields for H.264 decBenjamin Gaignard1-1/+1
To properly negotiate with other GStreamer elements which are now using these. Hopefully at some point OpenMAX IL would have appropriate fields to set this information. Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2011-05-30base_videodec: workaround for non-packed I420 typeKan Hu1-0/+1
Some people use OMX_COLOR_FormatYUV420Planar, some OMX_COLOR_FormatYUV420PackedPlanar. Strictly speaking the format needed in GStreamer is the packed one, but since there's no notion of planes in GStreamer, considering them the same cannot hurt. Would be better if the implementations are fixed, specially if we implement stride/plane support in GStreamer/gst-openmax. Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2011-05-20aacdec: forward gst caps to omx paramsFeng Wei2-1/+34
aacparse or qtdemux will parse out aac channels and sample rate and stream type, but gstomx_aacdec don't set them to omx aacdec commponent, which will cause some implementation(like bellagio) fault. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2011-05-20gstomx.conf: add framed=true to AAC decFeng Wei1-1/+1
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2011-03-22autogen: wingo signed commentLuis de Bethencourt1-1/+1
2011-03-11configure: GStreamer core >= 0.10.24 is requiredTim-Philipp Müller1-3/+3
2010-11-30template caps from config fileRob Clark34-1366/+286
Signed-off-by: Rob Clark <rob@ti.com>
2010-11-30Some changes to gstomx.conf handlingRob Clark2-2/+11
A few tweaks to the sed rules to make more friendly for using macros (for example, "foo" "bar" becomes "foobar", which is normally done by the C compiler and not the pre-processor). Also, the result of the preprocessor, before generating gstomx_conf.c, is now also a generated file, to ease debugging and to use as a starting point for a customized config file. Signed-off-by: Rob Clark <rob@ti.com>
2010-11-30minor formatting cleanupRob Clark1-1/+5
Signed-off-by: Rob Clark <rob@ti.com>
2010-11-30use common submoduleRob Clark8-457/+68
Align autogen.sh with other gst trees, including use of the commit-hook. Also, shave no longer seemed to be working AM_SILENT_RULES (as used by other gst trees) does. Signed-off-by: Rob Clark <rob@ti.com>
2010-10-01build: add missing files to the distv0.10.1Felipe Contreras1-1/+1
Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2010-10-01build: remove patches extra dirFelipe Contreras1-2/+1
Patches are welcome, but I'm not going to fix anyone's buggy omx implementation. Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2010-10-01Generate ChangeLogFelipe Contreras1-0/+3963
Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2010-10-01Change to gst coding-styleFelipe Contreras86-6614/+5862
Ew. Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2010-10-01Fix compilation warningsFelipe Contreras5-40/+9
Awful c89. Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2010-09-30base-filter: improve EOS handlingFelipe Contreras1-8/+8
Tested-by: Mickey Kim <jihun.kim@samsung.com> Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2010-04-28replace deprecated APIRob Clark30-300/+150
gst_element_class_set_details() is now deprecated. Replace with gst_element_class_set_details_simple() instead. Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2010-04-28Add GstOmxBaseAudioDec base classRob Clark20-314/+179
Refactor some common functionality, in particular the settings_changed_cb, into an abstract base class. Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2010-04-16Add some debug tracesRob Clark2-0/+14
Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2010-04-16base: add input-buffers/output-buffers propertiesRob Clark3-0/+228
Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2010-04-16Add component-role supportRob Clark4-3/+36
Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2010-04-16Add property helpersRob Clark5-63/+55
This removes some common code from all base classes, and makes it easier to add new common properties. For now (and the foreseeable future) all common properties are read-only, but a gstomx_set_property_helper() could be added later if needed. Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2010-04-16Add G_OMX_INIT_PARAM utility macroRob Clark28-197/+55
Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2010-04-16util: add some debug tracesRob Clark1-0/+29
Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2010-04-16core: call OMX_GetHandle in g_omx_core_newRob Clark7-18/+20
This way omx_handle is always valid, and can be used in get/set_property methods. Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2010-04-16Don't hard-code port indexesRob Clark23-37/+37
This improves readability by keeping knowledge of numeric port-index value in only one place (in the element constructor), and makes it easier to later add derived classes with different port indexes (for example GstOmxCamera subclassing GstOmxBaseSrc, but having GstOmxBaseSrc handling a port whose index != 0 while derived class handles port index 0 and others). Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2010-04-16Simplify g_omx_port_setup()Rob Clark5-53/+18
Do OMX_GetParameter(PortDefinition) inside g_omx_port_setup(), rather than duplicating same code in each caller. Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2010-04-16Construct GOmxPort objects in element constructorRob Clark5-34/+39
The port objects are constructed up in element constructor (so they are valid at any point in the element's lifecycle), and bound to a port_index at construction time, rather than getting constructed in setup_ports. This will be useful later to enable properties that directly set port params. Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2010-04-16util: thread safety for _get_type() functionsRob Clark1-4/+9
Reading and writing an int is not sufficient synchronization without barrier instructions. Using g_once_init_enter() (which uses g_atomic_pointer_get()) provides SMP safety. Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2010-04-16Add GSTOMX_BOILERPLATE macrosRob Clark36-930/+120
These work like the GST_BOILERPLATE macros, but following the naming conventions for init functions used in the gst-openmax code, to remove a lot of gobject related boilerplate code. Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2010-04-16basefilter: small fix for compile errorRob Clark1-1/+1
omx/gstomx_base_filter.c:763: warning: format not a string literal and no format arguments Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2010-03-09plugin: store element_table in plugin cacheFelipe Contreras1-2/+7
Probably more efficient. Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2010-03-09plugin: add support dependenciesFelipe Contreras1-6/+5
So that the cache is reloaded when needed. Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2010-03-09plugin: make element_table constFelipe Contreras1-6/+8
Will be useful in next patches, but it's good in itself. Also, no need to inialize to zero global variables. Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>