path: root/src/lib/emotion/emotion_private.h (unfollow)
AgeCommit message (Collapse)Author
2013-12-26efl: Unified eina critical manro to CRI.Daniel Juyung Seo
Being annoyed by different types of eina critical macros - CRI, CRIT, CRITICAL -, I concluded to unify them to one. Discussed on IRC and finally, CRI was chosen to meet the consistency with other macros - ERR, WRN, INF, DBG - in terms of the number of characters. If there is any missing bits, please let me know.
2013-05-10emotion: rename Emotion_Module.h to emotion_modules.hCedric Bail
2013-01-11efl/emotion: rework module infra, better integration with 'generic'.Gustavo Sverzut Barbieri
Change the module infra and allow one to register using the description structure itself, saves some work. Replace module_open and module_close with add() and del(), that are more descriptive. Move stuff to init/shutdown where it was a better fit. Since add() now receives the first parameter being the owning structure we can create one structure per generic player and they will merge transparently with other modules, then we can use a simple algorithm that considers the plugin priority. ALL DYNAMIC! Future work could be done to load the plugin priority specified by user from configuration file. But this is not in my plans right now. SVN revision: 82602
2013-01-11efl/emotion: start to refactor engine handling.Gustavo Sverzut Barbieri
Removed the engine handling out from smart object, later the module API will change and we'll be able to simplify many things. My plan is to allow generic players to register along as regular modules. SVN revision: 82597
2013-01-10efl/emotion: move module stuff.Gustavo Sverzut Barbieri
* do not abuse emotion_private.h by using that in modules * split emotion_module.c to allow more changes later. SVN revision: 82592
2013-01-10efl/emotion: move webcam stuff out of main file.Gustavo Sverzut Barbieri
SVN revision: 82591
2013-01-10efl/emotion: refactor init/shutdown, load modules from eina_prefix.Gustavo Sverzut Barbieri
* emotion_init() and emotion_shutdown() now exist, let's do our initialization from there. * smart_add/smart_free will call init/shutdown for legacy apps. * use eina_prefix to determine runtime location. * use eina_module_arch_list_get() SVN revision: 82509
2013-01-10efl: merge emotion.Gustavo Sverzut Barbieri
this one was quite a huge work, but hopefully it's correct. NOTES: * removed vlc generic module, it should go into a separate package. * gstreamer is enabled by default (see --disable-gstreamer) * xine is disabled by default (see --enable-gstreamer) * generic is always built statically if supported * gstreamer and xine can't be configured as static (just lacks command line options, build system supports it) * v4l2 is enabled by default on linux if eeze is built (see --disable-v4l2) * emotion_test moved to src/tests/emotion and depends on EFL_ENABLE_TESTS (--with-tests), but is still installed if enabled. TODO (need your help!): * fix warnings with gstreamer and xine engine * call engine shutdown functions if building as static * remove direct usage of PACKAGE_*_DIR and use eina_prefix * add eina_prefix checkme file as evas and others * add support for $EFL_RUN_IN_TREE * create separate package for emotion_generic_modules * check docs hierarchy (doxygen is segv'in here) SVN revision: 82501
2013-01-02Emotion: introce emotion_object_video_subtitle_file_set() callLeandro Dorileo
For setting an arbitrary subtitle file, this patch introduces the emotion_object_video_subtitle_file_set() and its counterpart emotion_object_video_subtitle_file_get(). The tag @sice were added as 1.7.2 since we're preparing a backport to stable tree. SVN revision: 82019
2012-08-28emotion: reset VLC pipeline on EOS.Cedric BAIL
NOTE: I gave up and completely restart the child, seems like the only reliable way to do it. SVN revision: 75769
2012-07-03emotion: add infra to properly track pending object on shutdown.Cedric BAIL
SVN revision: 73176
2012-03-05From: Davide Andreoli <>Davide Andreoli
Subject: [E-devel] Emotion buffer size patch Hi, here is a patch for emotion, it add a new function to retrive the status of the buffer while playing online stream. It is implemented only for the gstreamer backend, the xine one do not play at all here. What about the generic one? (xine does play - i implameneted this with the xine module, and generic is given a func that always returns 1.0 for now). SVN revision: 68684
2011-12-30Emotion:fix compilation on WindowsVincent Torri
Note1: disable generic plugin on Windows as shm_open like function note implemented on that platform yet. Note2: want_module stuff must be fixed in the m4 macro Note3: abstract semaphore code in Eina ? SVN revision: 66686
2011-11-09emotion: make it possible to define webcam statically.Cedric BAIL
SVN revision: 64995
2011-10-21emotion: try to correctly fix the fill value.Cedric BAIL
SVN revision: 64255
2011-10-03emotion: first try with xv.Cedric BAIL
SVN revision: 63759
2011-09-01Add generic player backend (with vlc player).Rafael Antognolli
This generic player backend executes a separate player in another process. It receives the bytes to be drawn on the emotion object through a shared memory, and communicates with the player through a pipe, using the player standard input/output. The player must communicate with emotion using the defined commands specified in the Emotion_Generic_Plugin.h. It doesn't need to link against emotion, just include this file for easier implementation. This implementation was sponsored by Zodiac Aerospace. SVN revision: 63062
2011-08-04emotion: add a way to retrieve pixels.Cedric BAIL
SVN revision: 62092
2011-07-17emotion: add webcam detection, cleanup code and add timing detection.Cedric BAIL
SVN revision: 61452
2011-06-23emotion: add a way to test if a file could be played by emotion.Cedric BAIL
SVN revision: 60637
2011-06-20emotion: add a gstreamer sink.Cedric BAIL
This work was first started by Vincent Torri and Nicolas Aguirre. I took the necessary time to make it work and included inside emotion with Samsung sponsorship. This code is not yet completly clean and fast, but it work and make it possible to add more speed improvement later. This was a needed infrastructure work. SVN revision: 60532
2010-11-19warning cleanup.Gustavo Sverzut Barbieri
there are still warnings from write(2) calls, they should be handled, but no time now. SVN revision: 54710
2010-09-27some fixes/improvements to emotion -> foound some buggers in xine -Carsten Haitzler
tried making gst do it - should kind of work. i think gst is broken tho. SVN revision: 52800
2010-04-01consts++Gustavo Sverzut Barbieri
SVN revision: 47637
2010-01-30Remove uneeded headerSebastian Dransfeld
SVN revision: 45744
2010-01-25 * ecore: Move ecore_job inside ecore.Cedric BAIL
Patch from Albin "Lutin" Tonnerre <>. SVN revision: 45570
2010-01-04 * enable static build of modulesVincent Torri
* clean up autotools * remove some warnings issues: * vlc backend can not be built on my computer(API change in libvlc, it seems) * when i build xine *and* gstreamer as static, i get a multiple defined of __eina_module_init and __eina_module_shutdown SVN revision: 44884
2009-12-30 * emotion: Switch to Eina module.Cedric BAIL
TODO: Add configure option to build module statically. SVN revision: 44781
2009-11-08Remove use of deprecated eventSebastian Dransfeld
XINE_EVENT_MRL_REFERENCE is deprecated, listen for XINE_EVENT_MRL_REFERENCE_EXT. SVN revision: 43540
2009-06-18 * emotion: Remove Evas_Bool.Cedric BAIL
SVN revision: 41097
2008-09-25emotion+visualization: export and reorder.Gustavo Sverzut Barbieri
done: * module api changed, vis_set is not close to vis_get, vis_supported was added. * exported these properties in emotion_object. * gstreamer plugin now starts with no visualization. todo: * add xine support. * make gstreamer able to dynamically change visualization. PS: gstreamer module really needs a cleanup, losts of functions need "static" or add proper prefix, including "gst" to avoid it clash with other symbols. SVN revision: 36260
2007-11-06following the api changes of ecorePeter Wehrfritz
SVN revision: 32411
2007-10-31 * Use ecore_plugin instead of dlfcndoursse
* the modules names are now "xine" and "gstreamer" (it's useless to add the extension, as ecore_plugin do not need it). I'll fix eclair, etk_extra and ewl. * look for the modules in path that is pointed by the env variable EMOTION_MODULES_DIR first. * fix a leak in the gstreamer module * remove some trailing spaces SVN revision: 32261
2007-05-06export api calls to modulesCarsten Haitzler
SVN revision: 29867
2007-03-13move emotion to fix latency on video load, deadlocks on stop/shutdown etc.Carsten Haitzler
SVN revision: 28679
2006-05-14add track count in the metadatadoursse
SVN revision: 22617
2006-03-12visualization stuff for emotion_gstreamer. There's a gstreamer bug on the ↵doursse
duration of mp3 files (). ogg files are handles correctly SVN revision: 21217
2006-02-04gstreamer 0.10 port. There's a problem with the seek, no evas sink yetdoursse
SVN revision: 20273
2005-09-05Add missing headers.sebastid
SVN revision: 16553
2005-07-08* Have rewritten the yuy2->rgb converter to avoid license problems.moom16
So now, emotion_xine supports yuy2-encoded movies (such as .wmv). SVN revision: 15678
2005-07-08* Cancel last changes since it seems there are some license problems.moom16
Sorry guys, I didn't think GPLv2 was so "contaminating" SVN revision: 15677
2005-07-08* Add support of yuy2 to emotion_xine module. So now, we can play wmvmoom16
movies! I had to make some module API changes: - rename yuv_size_get to video_data_size_get - add the function "Emotion_Format (*format_get) (void *ef);" in Emotion_Video_Module. This function should return the format used by the video (EMOTION_YV12, EMOTION_YUY2 or EMOTION_BGRA). I use a yuy2->bgra converter since evas doesn't support YUY2. This converter should be rewrite since it's really not optimized and since it is under GPLv2 (emotion is under BSD). I added an explicit comment above the function for that, but it'd be better to use a converter under BSD. If it's really incompatible with emotion license, I will remove it. SVN revision: 15675
2005-04-24* add two functions to know if audio and video are handled ↵moom16
(emotion_object_audio_handled_get and emotion_object_video_handled_get) * add a smart callback "audio_level_change" to deal with audio level change * alsa is now used by default since many people report troubles with oss SVN revision: 14320
2005-04-15simon treney's emotion patches - THANKs :o)Carsten Haitzler
SVN revision: 14208
2004-07-24support fetching of meta-dataCarsten Haitzler
SVN revision: 10999
2004-06-24support events coming from xine a lot better...Carsten Haitzler
still need to support title, artist etc. for mp3's and such... SVN revision: 10579
2004-06-18it had to happen sooner or later... in in in... we go! :)Carsten Haitzler
SVN revision: 10537