path: root/legacy/emotion/src/lib/emotion_smart.c (follow)
AgeCommit message (Collapse)Author
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-05oooh no one ever spotted this api had a typo! fix indeed.Carsten Haitzler
SVN revision: 82255
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: fix a race condition on shutdown when still saving a file.Cedric BAIL
SVN revision: 75770
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-18[emotion] No evas_object_smart_callback_call() on an evasGustavo Lima Chaves
image. Big important change here. Want myself in authors :P SVN revision: 74145
2012-06-19emotion: sync rendering with Ecore_Animtor.Cedric BAIL
SVN revision: 72440
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
2012-02-23emotion: call some callback when load and save are done.Cedric BAIL
SVN revision: 68355
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-10-21emotion: try to correctly fix the fill value.Cedric BAIL
SVN revision: 64255
2011-10-19emotion: destroy all created object.Cedric BAIL
SVN revision: 64172
2011-10-06fix resize handling for emotionCarsten Haitzler
SVN revision: 63868
2011-10-03emotion: first try with xv.Cedric BAIL
SVN revision: 63759
2011-09-20emotion: correctly update position of sub-object.Cedric BAIL
SVN revision: 63496
2011-09-20emotion: remove use of xattr.Cedric BAIL
SVN revision: 63495
2011-09-15emotion/smart: Remove fprintf left after debugging.Rafael Antognolli
SVN revision: 63419
2011-09-15emotion/aspect: Add API to configure the aspect ratio policy.Rafael Antognolli
The new function emotion_object_keep_aspect_set() allow to set a policy that will automatically change the emotion object border property, based on the video aspect ratio and object current aspect ratio. Possible values are: * EMOTION_ASPECT_KEEP_NONE * EMOTION_ASPECT_KEEP_WIDTH * EMOTION_ASPECT_KEEP_HEIGHT * EMOTION_ASPECT_KEEP_BOTH * EMOTION_ASPECT_CROP * EMOTION_ASPECT_CUSTOM SVN revision: 63416
2011-09-15emotion/border: Add support for selecting the border colors.Rafael Antognolli
This is a simple API that implements colors for the borders specified by emotion_object_border_set(), using a background rectangle behind the emotion object. SVN revision: 63415
2011-09-15emotion/border: Add border/crop support for emotion objects.Rafael Antognolli
The emotion_object_border_set/get APIs were added, allowing one to specify a positive (border) or negative (crop) value for each of the edjes of the video being played. This allows easier setup on an Emotion object to keep the aspect ratio, either by adding black areas on it, or by cropping the exceding area of the video. NOTE: The specified border/crop is based on the original size of the video. If it is scaled (emotion object size is different from the video size), the borders will be scaled as well. Patch based on an original patch sent by Hugo Camboulive <>. SVN revision: 63414
2011-09-04generic module can now be built-in as static module.Gustavo Sverzut Barbieri
also removed sole left-overs of previous disable of vlc engine. SVN revision: 63141
2011-09-04remove old vlc, fix build bugs and introduce m4 for generic players.Gustavo Sverzut Barbieri
Previous commit to disable VLC messed everything, so this one fixes it doing: - remove old src/modules/vlc and related. - add EMOTION_CHECK_GENERIC_PLAYER() m4 macro - change previous EMOTION_BUILD_VLC to EMOTION_BUILD_GENERIC_VLC SVN revision: 63140
2011-09-03Emotion: Remove unused variablesSebastian Dransfeld
SVN revision: 63133
2011-09-02emotion: resize only when needed and fix typo.Cedric BAIL
SVN revision: 63089
2011-09-02emotion: remove useless code.Cedric BAIL
SVN revision: 63087
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-17emotion/smart - Use ARGB32 when it's the format returned by the module.Rafael Antognolli
SVN revision: 62542
2011-08-04emotion: add a way to retrieve pixels.Cedric BAIL
SVN revision: 62092
2011-08-02emotion: make gstreamer backend async and handle it correctly every where.Cedric BAIL
SVN revision: 62010
2011-07-17emotion: remove useless code.Cedric BAIL
SVN revision: 61453
2011-07-17emotion: add webcam detection, cleanup code and add timing detection.Cedric BAIL
SVN revision: 61452
2011-07-15emotion: fix common misspellingsLucas De Marchi
Misspellings detected by codespell. SVN revision: 61406
2011-07-13emotion: raise gstreamer backend as it is more stable than the other.Cedric BAIL
SVN revision: 61340
2011-07-05emotion: fix off by one.Cedric BAIL
SVN revision: 61039
2011-07-04emotion - better introduction and link to emotion_test.Rafael Antognolli
SVN revision: 61008
2011-07-01emotion/doc - Document more functionsRafael Antognolli
- emotion_object_size_get - emotion_object_smooth_scale_set - emotion_object_smooth_scale_get - emotion_object_ratio_get - emotion_object_video_mute_set - emotion_object_video_mute_get - emotion_object_title_get - emotion_object_meta_info_get - emotion_object_vis_set - emotion_object_vis_get - emotion_object_vis_supported SVN revision: 60919
2011-07-01emotion: add empty infrastructure for suspending the pipeline.Cedric BAIL
SVN revision: 60909
2011-06-30emotion: cleanup emotion async loader on file set.Cedric BAIL
SVN revision: 60869
2011-06-29emotion: restore/save last know position for file.Cedric BAIL
SVN revision: 60825
2011-06-29emotion: use stringshare for file.Cedric BAIL
SVN revision: 60818
2011-06-24emotion: advertise only on frame size change.Cedric BAIL
SVN revision: 60665
2011-06-24emotion: advertise native resolution.Cedric BAIL
SVN revision: 60664
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
2011-02-27avoid segv on file set (zero imge data)Carsten Haitzler
SVN revision: 57391
2011-02-25emotion: override engine by setting EMOTION_ENGINE environ.Cedric BAIL
SVN revision: 57320
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-10-20API break: emotion_object_file_set() returns a boolean, now.Vincent Torri
SVN revision: 53648
2010-10-10avoid possible seg if accessing video dat for convert before itsCarsten Haitzler
decided and set. SVN revision: 53246
2010-10-07shutup stupid emotion debug!Gustavo Sverzut Barbieri
to get them back, use EINA_LOG_LEVELS for each module or the catch-all: export EINA_LOG_LEVELS_GLOB='emotion*:4' ah, that was making me sick while playing enjoy... :-D SVN revision: 53170