Commit Graph

109 Commits

Author SHA1 Message Date
Cedric BAIL 6ef64395a8 emotion: sync rendering with Ecore_Animtor.
SVN revision: 72440
2012-06-19 06:52:29 +00:00
Davide Andreoli cd00891529 From: Davide Andreoli <dave@gurumeditation.it>
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-03-05 09:33:05 +00:00
Cedric BAIL 33e25e97e1 emotion: call some callback when load and save are done.
SVN revision: 68355
2012-02-23 17:42:04 +00:00
Vincent Torri 1fb8ee18d9 Emotion:fix compilation on Windows
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-12-30 11:46:29 +00:00
Cedric BAIL 0acd0ff100 emotion: try to correctly fix the fill value.
SVN revision: 64255
2011-10-21 14:59:22 +00:00
Cedric BAIL 096a42cedd emotion: destroy all created object.
SVN revision: 64172
2011-10-19 09:42:05 +00:00
Carsten Haitzler 37f505d4ce fix resize handling for emotion
SVN revision: 63868
2011-10-06 02:41:24 +00:00
Cedric BAIL a57395a623 emotion: first try with xv.
SVN revision: 63759
2011-10-03 03:30:39 +00:00
Cedric BAIL 973717b9bf emotion: correctly update position of sub-object.
SVN revision: 63496
2011-09-20 10:54:53 +00:00
Cedric BAIL d3345a5d75 emotion: remove use of xattr.
SVN revision: 63495
2011-09-20 09:40:55 +00:00
Rafael Antognolli f105146913 emotion/smart: Remove fprintf left after debugging.
SVN revision: 63419
2011-09-15 19:01:03 +00:00
Rafael Antognolli 0c4dd42a0a emotion/aspect: Add API to configure the aspect ratio policy.
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-15 18:51:33 +00:00
Rafael Antognolli 5c3474beed emotion/border: Add support for selecting the border colors.
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-15 18:51:27 +00:00
Rafael Antognolli 77f43424a6 emotion/border: Add border/crop support for emotion objects.
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 <hugo.camboulive@gmail.com>.

SVN revision: 63414
2011-09-15 18:51:23 +00:00
Gustavo Sverzut Barbieri e83e1ea1fc generic module can now be built-in as static module.
also removed sole left-overs of previous disable of vlc engine.



SVN revision: 63141
2011-09-04 00:17:06 +00:00
Gustavo Sverzut Barbieri 999e3bf306 remove old vlc, fix build bugs and introduce m4 for generic players.
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-04 00:07:41 +00:00
Sebastian Dransfeld 6972fe5e82 Emotion: Remove unused variables
SVN revision: 63133
2011-09-03 21:09:19 +00:00
Cedric BAIL 4f844f63f5 emotion: resize only when needed and fix typo.
SVN revision: 63089
2011-09-02 13:10:22 +00:00
Cedric BAIL d7771445b1 emotion: remove useless code.
SVN revision: 63087
2011-09-02 08:51:56 +00:00
Rafael Antognolli a7ae4566b8 Add generic player backend (with vlc player).
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-09-01 19:04:15 +00:00
Rafael Antognolli 223291ffc1 emotion/smart - Use ARGB32 when it's the format returned by the module.
SVN revision: 62542
2011-08-17 19:37:31 +00:00
Cedric BAIL 1812ce8a2f emotion: add a way to retrieve pixels.
SVN revision: 62092
2011-08-04 10:24:32 +00:00
Cedric BAIL 828b67374e emotion: make gstreamer backend async and handle it correctly every where.
SVN revision: 62010
2011-08-02 16:22:30 +00:00
Cedric BAIL 0f1f6bfe18 emotion: remove useless code.
SVN revision: 61453
2011-07-17 21:39:26 +00:00
Cedric BAIL dad10a507f emotion: add webcam detection, cleanup code and add timing detection.
SVN revision: 61452
2011-07-17 21:38:54 +00:00
Lucas De Marchi 84f0c4de1d emotion: fix common misspellings
Misspellings detected by codespell.



SVN revision: 61406
2011-07-15 14:34:02 +00:00
Cedric BAIL 333f523df4 emotion: raise gstreamer backend as it is more stable than the other.
SVN revision: 61340
2011-07-13 14:14:32 +00:00
Cedric BAIL 95b6992006 emotion: fix off by one.
SVN revision: 61039
2011-07-05 11:02:28 +00:00
Rafael Antognolli ffcf50987f emotion - better introduction and link to emotion_test.
SVN revision: 61008
2011-07-04 14:31:01 +00:00
Rafael Antognolli ab09c3a11e emotion/doc - Document more functions
- 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-01 14:08:29 +00:00
Cedric BAIL 8578459813 emotion: add empty infrastructure for suspending the pipeline.
SVN revision: 60909
2011-07-01 08:57:54 +00:00
Cedric BAIL 4ecb2fccad emotion: cleanup emotion async loader on file set.
SVN revision: 60869
2011-06-30 09:49:24 +00:00
Cedric BAIL 45d0b34007 emotion: restore/save last know position for file.
SVN revision: 60825
2011-06-29 17:30:19 +00:00
Cedric BAIL 59ebbdeee0 emotion: use stringshare for file.
SVN revision: 60818
2011-06-29 13:58:42 +00:00
Cedric BAIL 1724785989 emotion: advertise only on frame size change.
SVN revision: 60665
2011-06-24 14:11:24 +00:00
Cedric BAIL 923bff4e1c emotion: advertise native resolution.
SVN revision: 60664
2011-06-24 12:26:29 +00:00
Cedric BAIL 3c8eb1b62b emotion: add a way to test if a file could be played by emotion.
SVN revision: 60637
2011-06-23 14:58:11 +00:00
Cedric BAIL c1f20d3e6b emotion: add a gstreamer sink.
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-06-20 17:36:13 +00:00
Carsten Haitzler a19a9010df avoid segv on file set (zero imge data)
SVN revision: 57391
2011-02-27 16:21:39 +00:00
Cedric BAIL 5ddad9ec96 emotion: override engine by setting EMOTION_ENGINE environ.
SVN revision: 57320
2011-02-25 11:33:19 +00:00
Gustavo Sverzut Barbieri 6cbd3d09f4 warning cleanup.
there are still warnings from write(2) calls, they should be handled,
but no time now.



SVN revision: 54710
2010-11-19 02:51:46 +00:00
Vincent Torri 2d28628c95 API break: emotion_object_file_set() returns a boolean, now.
SVN revision: 53648
2010-10-20 07:55:20 +00:00
Carsten Haitzler 66771ce7f2 avoid possible seg if accessing video dat for convert before its
decided and set.



SVN revision: 53246
2010-10-10 23:39:32 +00:00
Gustavo Sverzut Barbieri 1520c60364 shutup stupid emotion debug!
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
2010-10-07 22:16:43 +00:00
Carsten Haitzler 2d488b5d32 some fixes/improvements to emotion -> foound some buggers in xine -
tried making gst do it - should kind of work. i think gst is broken tho.



SVN revision: 52800
2010-09-27 10:11:52 +00:00
Cedric BAIL 2a596a37e5 * emotion: fix build of static module.
SVN revision: 51759
2010-08-30 16:18:11 +00:00
Cedric BAIL 61c07ad1c4 * emotion: emotion_object_init will choose the best available backend
if NULL is passed.


SVN revision: 51747
2010-08-30 13:25:35 +00:00
Lucas De Marchi 5a8a8c9014 Convert (hopefully) all comparisons to NULL
Apply badzero.cocci, badnull.coci and badnull2.cocci

This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:

code before patch               ||code after patch
===============================================================

return a == NULL;                 return !a;

return a != NULL;                 return !!a;

func(a == NULL);                  func(!a);

func(a != NULL);                  func(!!a);

b = a == NULL;                    b = !a;

b = a != NULL;                    b = !!a;

b = a == NULL ? c : d;            b = !a ? c : d;

b = a != NULL ? c : d;            b = a ? c : d;


other cases:

a == NULL                         !a
a != NULL                         a




SVN revision: 51487
2010-08-21 13:52:25 +00:00
Andreas Volz 5967027157 doxygen
SVN revision: 50486
2010-07-25 18:29:01 +00:00
Vincent Torri d762831a62 copy/paste error
SVN revision: 48254
2010-04-23 17:37:31 +00:00