profile/ivi/emotion.git
12 years agoemotion/generic/vlc: VLC needs to write data somewhere.
antognolli [Mon, 3 Oct 2011 18:19:48 +0000 (18:19 +0000)]
emotion/generic/vlc: VLC needs to write data somewhere.

It seems that depending on the system, vlc can't use a NULL pointer to
the pixels where it should write its data.

So a small amount of memory should be allocated and passed to its
rendering callbacks (specifically, the lock callback) when the file is
being opened and decoded for the first time. Then this memory can be
freed, since the real rendering will happen on the shared memory area.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63777 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: forgotten declaration.
cedric [Mon, 3 Oct 2011 10:29:04 +0000 (10:29 +0000)]
emotion: forgotten declaration.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63768 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: first try with xv.
cedric [Mon, 3 Oct 2011 03:30:39 +0000 (03:30 +0000)]
emotion: first try with xv.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63759 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: don't crash on empty video stream.
cedric [Fri, 30 Sep 2011 15:39:16 +0000 (15:39 +0000)]
emotion: don't crash on empty video stream.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63725 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: add some space around.
cedric [Fri, 30 Sep 2011 15:37:28 +0000 (15:37 +0000)]
emotion: add some space around.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63724 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: make it possible to dump the complete pipeline not only on failure, but...
cedric [Wed, 28 Sep 2011 05:34:30 +0000 (05:34 +0000)]
emotion: make it possible to dump the complete pipeline not only on failure, but also when it worked.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63637 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: don't use the pipeline anymore when it's not needed.
cedric [Tue, 20 Sep 2011 11:04:54 +0000 (11:04 +0000)]
emotion: don't use the pipeline anymore when it's not needed.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63497 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: correctly update position of sub-object.
cedric [Tue, 20 Sep 2011 10:54:53 +0000 (10:54 +0000)]
emotion: correctly update position of sub-object.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63496 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: remove use of xattr.
cedric [Tue, 20 Sep 2011 09:40:55 +0000 (09:40 +0000)]
emotion: remove use of xattr.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63495 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: add basic xoverlay infrastructure to emotion. not ready at all yet.
cedric [Mon, 19 Sep 2011 15:33:02 +0000 (15:33 +0000)]
emotion: add basic xoverlay infrastructure to emotion. not ready at all yet.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63482 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: disable tricky surface destruction and remove useless lock.
cedric [Mon, 19 Sep 2011 12:49:20 +0000 (12:49 +0000)]
emotion: disable tricky surface destruction and remove useless lock.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63480 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion/smart: Remove fprintf left after debugging.
antognolli [Thu, 15 Sep 2011 19:01:03 +0000 (19:01 +0000)]
emotion/smart: Remove fprintf left after debugging.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63419 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion/doc: Add @ingroup to new functions.
antognolli [Thu, 15 Sep 2011 18:51:35 +0000 (18:51 +0000)]
emotion/doc: Add @ingroup to new functions.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63417 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion/aspect: Add API to configure the aspect ratio policy.
antognolli [Thu, 15 Sep 2011 18:51:33 +0000 (18:51 +0000)]
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

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63416 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion/border: Add support for selecting the border colors.
antognolli [Thu, 15 Sep 2011 18:51:27 +0000 (18:51 +0000)]
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.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63415 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion/border: Add border/crop support for emotion objects.
antognolli [Thu, 15 Sep 2011 18:51:23 +0000 (18:51 +0000)]
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>.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63414 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: correctly destroy buffer.
cedric [Wed, 14 Sep 2011 22:33:41 +0000 (22:33 +0000)]
emotion: correctly destroy buffer.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63399 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion/generic: Non-blocking meta info retrieval.
antognolli [Tue, 6 Sep 2011 21:15:53 +0000 (21:15 +0000)]
emotion/generic: Non-blocking meta info retrieval.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63238 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion/generic: Non-blocking track info retrieval.
antognolli [Tue, 6 Sep 2011 21:15:50 +0000 (21:15 +0000)]
emotion/generic: Non-blocking track info retrieval.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63237 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion/generic: Non-blocking event reading from player.
antognolli [Tue, 6 Sep 2011 21:15:46 +0000 (21:15 +0000)]
emotion/generic: Non-blocking event reading from player.

Temporarily disabled fetching/sending of channel and meta info. Will
enable it with the next commit, to simplify code.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63236 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion/generic: Small fixes.
antognolli [Tue, 6 Sep 2011 21:15:42 +0000 (21:15 +0000)]
emotion/generic: Small fixes.

Update enum doc, and return 1 on success for getting shm_data.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63235 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion/generic: Postpone setting some options to after open_done.
antognolli [Tue, 6 Sep 2011 21:15:39 +0000 (21:15 +0000)]
emotion/generic: Postpone setting some options to after open_done.

These options must be set on the player even if there's no file opened
yet. Thus, just postpone the related commands to when the player has
opened the file already.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63234 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion/generic: There's no need to check the standard output.
antognolli [Tue, 6 Sep 2011 21:15:36 +0000 (21:15 +0000)]
emotion/generic: There's no need to check the standard output.

The player stdout is not used anymore to read commands from.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63233 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion/generic: Should reset meta_info and channels on file_close.
antognolli [Tue, 6 Sep 2011 21:15:32 +0000 (21:15 +0000)]
emotion/generic: Should reset meta_info and channels on file_close.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63232 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion/generic: Don't send position update when skipping frames.
antognolli [Tue, 6 Sep 2011 12:37:03 +0000 (12:37 +0000)]
emotion/generic: Don't send position update when skipping frames.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63227 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion/generic: Fix frame dropping.
antognolli [Mon, 5 Sep 2011 21:52:18 +0000 (21:52 +0000)]
emotion/generic: Fix frame dropping.

Move the frame drop counter to the shared memory object, so the player
can check its value and not send new frames if we didn't "consume" the
previous one.

Also move the triple buffering pointer changing to the display function,
so it will only lock once when accessing the critical region.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63220 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion/generic: Add support for fetching meta info.
antognolli [Mon, 5 Sep 2011 21:52:14 +0000 (21:52 +0000)]
emotion/generic: Add support for fetching meta info.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63219 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion/generic: Add audio/video/spu channel set/get/count.
antognolli [Mon, 5 Sep 2011 21:52:11 +0000 (21:52 +0000)]
emotion/generic: Add audio/video/spu channel set/get/count.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63218 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion/generic - Set filename to NULL on file_close.
antognolli [Mon, 5 Sep 2011 16:37:20 +0000 (16:37 +0000)]
emotion/generic - Set filename to NULL on file_close.

Otherwise if we try to call file_set(<some file>) after file_set(NULL),
it will send a close command to the player for an already closed file.

Also make the example cycle through the list of movies, but still
passing through a NULL file when reaching one of the ends of the list.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63208 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion/generic: formatting.
antognolli [Mon, 5 Sep 2011 16:07:10 +0000 (16:07 +0000)]
emotion/generic: formatting.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63206 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion/generic: Reset initial values on file_set.
antognolli [Mon, 5 Sep 2011 16:07:06 +0000 (16:07 +0000)]
emotion/generic: Reset initial values on file_set.

These values need to be reset as soon as a new file is set, otherwise
they can give wrong information to evas about the size of pixels to
render.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63205 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion/generic: Make sure no new_frame is sent while opening or closing files.
antognolli [Mon, 5 Sep 2011 16:07:04 +0000 (16:07 +0000)]
emotion/generic: Make sure no new_frame is sent while opening or closing files.

This wasn't happening anyway, but let's make sure it won't ever happen.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63204 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion/generic - Don't start opening new file when another one is being open.
antognolli [Mon, 5 Sep 2011 16:07:00 +0000 (16:07 +0000)]
emotion/generic - Don't start opening new file when another one is being open.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63203 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion/generic - Use pipes instead of stdin/stdout for communication.
antognolli [Mon, 5 Sep 2011 13:12:17 +0000 (13:12 +0000)]
emotion/generic - Use pipes instead of stdin/stdout for communication.

Now the player will have the stdin and stdout available for anything
else, and there's no need to make line-buffering with ecore_exe anymore.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63198 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion/generic: Add return value to EM_RESULT_FILE_SET_DONE.
antognolli [Mon, 5 Sep 2011 13:11:53 +0000 (13:11 +0000)]
emotion/generic: Add return value to EM_RESULT_FILE_SET_DONE.

It now checks if was possible to get the shared memory, and returns true
or false. This will command will also be used later to return false for
file opening no matter what was the problem, and maybe the int parameter
will indicate the type of error.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63197 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: remove useless broken check.
cedric [Mon, 5 Sep 2011 11:08:15 +0000 (11:08 +0000)]
emotion: remove useless broken check.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63190 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: properly delay buffer destruction.
cedric [Mon, 5 Sep 2011 10:57:39 +0000 (10:57 +0000)]
emotion: properly delay buffer destruction.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63189 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: better error message.
cedric [Sun, 4 Sep 2011 21:13:49 +0000 (21:13 +0000)]
emotion: better error message.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63173 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: better handling of gstreamer samsung backend.
cedric [Sun, 4 Sep 2011 21:12:34 +0000 (21:12 +0000)]
emotion: better handling of gstreamer samsung backend.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63172 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agogeneric module can now be built-in as static module.
barbieri [Sun, 4 Sep 2011 00:17:06 +0000 (00:17 +0000)]
generic module can now be built-in as static module.

also removed sole left-overs of previous disable of vlc engine.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63141 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoremove old vlc, fix build bugs and introduce m4 for generic players.
barbieri [Sun, 4 Sep 2011 00:07:41 +0000 (00:07 +0000)]
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

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63140 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEmotion: Remove unused variables
englebass [Sat, 3 Sep 2011 21:09:39 +0000 (21:09 +0000)]
Emotion: Remove unused variables

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63138 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEmotion: Add __UNUSED__ where needed
englebass [Sat, 3 Sep 2011 21:09:35 +0000 (21:09 +0000)]
Emotion: Add __UNUSED__ where needed

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63137 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEmotion: Fix memleak
englebass [Sat, 3 Sep 2011 21:09:31 +0000 (21:09 +0000)]
Emotion: Fix memleak

Remove weird buffer which never gets used or free'd

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63136 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEmotion: Fix signed warnings
englebass [Sat, 3 Sep 2011 21:09:28 +0000 (21:09 +0000)]
Emotion: Fix signed warnings

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63135 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEmotion: Add __UNUSED__ where needed
englebass [Sat, 3 Sep 2011 21:09:24 +0000 (21:09 +0000)]
Emotion: Add __UNUSED__ where needed

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63134 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEmotion: Remove unused variables
englebass [Sat, 3 Sep 2011 21:09:19 +0000 (21:09 +0000)]
Emotion: Remove unused variables

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63133 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEmotion: Really disable vlc
englebass [Sat, 3 Sep 2011 20:47:28 +0000 (20:47 +0000)]
Emotion: Really disable vlc

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63132 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: remove useless warning.
cedric [Sat, 3 Sep 2011 12:54:06 +0000 (12:54 +0000)]
emotion: remove useless warning.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63120 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: protection against bad decoder.
cedric [Sat, 3 Sep 2011 12:36:04 +0000 (12:36 +0000)]
emotion: protection against bad decoder.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63118 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion installs no AUTHORS, thus do not check it as magic file.
barbieri [Sat, 3 Sep 2011 05:32:00 +0000 (05:32 +0000)]
emotion installs no AUTHORS, thus do not check it as magic file.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63109 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: resize only when needed and fix typo.
cedric [Fri, 2 Sep 2011 13:10:22 +0000 (13:10 +0000)]
emotion: resize only when needed and fix typo.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63089 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: remove useless code.
cedric [Fri, 2 Sep 2011 08:51:56 +0000 (08:51 +0000)]
emotion: remove useless code.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63087 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion/generic: eina module functions can be static.
barbieri [Fri, 2 Sep 2011 01:35:16 +0000 (01:35 +0000)]
emotion/generic: eina module functions can be static.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63081 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion/generic/vlc: die when parent dies.
barbieri [Fri, 2 Sep 2011 01:34:07 +0000 (01:34 +0000)]
emotion/generic/vlc: die when parent dies.

nasty fix for a nasty emotion behavior :-/

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63080 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion/generic: make log variable static.
barbieri [Thu, 1 Sep 2011 23:47:53 +0000 (23:47 +0000)]
emotion/generic: make log variable static.

yeah, I'm paranoid ;-)

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63079 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: just try vlc if it was compiled.
barbieri [Thu, 1 Sep 2011 23:46:39 +0000 (23:46 +0000)]
emotion: just try vlc if it was compiled.

not that big optimization, but does not hurt either.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63078 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: use eina_prefix to determine player location.
barbieri [Thu, 1 Sep 2011 23:45:18 +0000 (23:45 +0000)]
emotion: use eina_prefix to determine player location.

Move players from $bindir to $libdir/emotion/utils and find them with
eina_prefix. I was willing to play with this prefix thing, quite nice
;-)

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63077 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: handle Samsung S5PC110 and S5PC210.
cedric [Thu, 1 Sep 2011 23:11:36 +0000 (23:11 +0000)]
emotion: handle Samsung S5PC110 and S5PC210.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63076 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agosvn ignore FTW!
barbieri [Thu, 1 Sep 2011 21:53:34 +0000 (21:53 +0000)]
svn ignore FTW!

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63073 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: test proxy of videos with -R/--reflex option.
barbieri [Thu, 1 Sep 2011 21:45:04 +0000 (21:45 +0000)]
emotion: test proxy of videos with -R/--reflex option.

Emotion explores some different paths in Evas pipeline as it changes
image pixels frequently and sometimes uses different
colorspaces. Let's change if it's all working fine using a nice proxy
effect that mirrors the playing video.

emotion_test --reflex <video.avi>

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63071 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoAdd generic player backend (with vlc player).
antognolli [Thu, 1 Sep 2011 19:04:15 +0000 (19:04 +0000)]
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.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63062 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: better debug infrastructure.
cedric [Wed, 31 Aug 2011 15:51:50 +0000 (15:51 +0000)]
emotion: better debug infrastructure.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63039 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: evas is going to support more video format than ffmpeg...
cedric [Wed, 31 Aug 2011 15:48:47 +0000 (15:48 +0000)]
emotion: evas is going to support more video format than ffmpeg...

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63038 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: better debugging.
cedric [Tue, 30 Aug 2011 22:40:01 +0000 (22:40 +0000)]
emotion: better debugging.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@63012 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: correctly setup the pipeline for non standard colorspace.
cedric [Tue, 30 Aug 2011 14:05:49 +0000 (14:05 +0000)]
emotion: correctly setup the pipeline for non standard colorspace.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@62986 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: fix typo.
cedric [Mon, 29 Aug 2011 21:23:26 +0000 (21:23 +0000)]
emotion: fix typo.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@62971 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: handle evas NV12 and MT12 colorspace format.
cedric [Mon, 29 Aug 2011 21:00:08 +0000 (21:00 +0000)]
emotion: handle evas NV12 and MT12 colorspace format.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@62969 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: better handling of asynchronous audio file opening.
cedric [Mon, 29 Aug 2011 16:07:01 +0000 (16:07 +0000)]
emotion: better handling of asynchronous audio file opening.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@62955 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: g_free already checks if pointer is NULL
lucas [Thu, 25 Aug 2011 21:09:42 +0000 (21:09 +0000)]
emotion: g_free already checks if pointer is NULL

semantic patch:

@r1@
expression E1;
@@

- if (E1)
- g_free(E1);
+ g_free(E1);

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@62834 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years ago[emotion] Fix alphabetical index of doc. components.
glima [Wed, 24 Aug 2011 15:07:36 +0000 (15:07 +0000)]
[emotion] Fix alphabetical index of doc. components.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@62748 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEmotion: Make links work on PDF documentation.
antognolli [Fri, 19 Aug 2011 13:37:22 +0000 (13:37 +0000)]
Emotion: Make links work on PDF documentation.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@62589 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion/smart - Use ARGB32 when it's the format returned by the module.
antognolli [Wed, 17 Aug 2011 19:37:31 +0000 (19:37 +0000)]
emotion/smart - Use ARGB32 when it's the format returned by the module.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@62542 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: remove g stuff and make it safer.
cedric [Tue, 16 Aug 2011 16:11:50 +0000 (16:11 +0000)]
emotion: remove g stuff and make it safer.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@62514 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: fix some race condition.
cedric [Thu, 11 Aug 2011 16:16:10 +0000 (16:16 +0000)]
emotion: fix some race condition.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@62355 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: fix memory leak.
cedric [Thu, 11 Aug 2011 12:13:51 +0000 (12:13 +0000)]
emotion: fix memory leak.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@62350 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: make v4l2 optionnal.
cedric [Tue, 9 Aug 2011 09:15:56 +0000 (09:15 +0000)]
emotion: make v4l2 optionnal.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@62243 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: fix some uninitialized value.
cedric [Fri, 5 Aug 2011 15:52:27 +0000 (15:52 +0000)]
emotion: fix some uninitialized value.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@62140 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: fix some memory leak.
cedric [Fri, 5 Aug 2011 08:51:10 +0000 (08:51 +0000)]
emotion: fix some memory leak.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@62128 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEmotion: Fixing emotion_ratio.eps image.
gastal [Thu, 4 Aug 2011 21:16:48 +0000 (21:16 +0000)]
Emotion: Fixing emotion_ratio.eps image.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@62108 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEmotion: fix pdf doc generation.
gastal [Thu, 4 Aug 2011 20:55:47 +0000 (20:55 +0000)]
Emotion: fix pdf doc generation.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@62106 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: add a way to retrieve pixels.
cedric [Thu, 4 Aug 2011 10:24:32 +0000 (10:24 +0000)]
emotion: add a way to retrieve pixels.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@62092 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion/ratio - Explain how to use emotion_object_ratio_get().
antognolli [Wed, 3 Aug 2011 20:58:56 +0000 (20:58 +0000)]
emotion/ratio - Explain how to use emotion_object_ratio_get().

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@62068 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: fix webcam detection.
cedric [Wed, 3 Aug 2011 14:23:51 +0000 (14:23 +0000)]
emotion: fix webcam detection.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@62054 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agospacing in docs.
raster [Wed, 3 Aug 2011 04:39:58 +0000 (04:39 +0000)]
spacing in docs.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@62037 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoand move authors and contact to another page.
raster [Wed, 3 Aug 2011 03:19:34 +0000 (03:19 +0000)]
and move authors and contact to another page.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@62034 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agofine tune front page of emotion docs
raster [Wed, 3 Aug 2011 02:57:45 +0000 (02:57 +0000)]
fine tune front page of emotion docs

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@62033 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoget rid of emotion.dox and move to Emotion.h where all docs should be.
raster [Wed, 3 Aug 2011 02:34:32 +0000 (02:34 +0000)]
get rid of emotion.dox and move to Emotion.h where all docs should be.
examples.dox is a slight issue atm.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@62032 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agofix authors
raster [Wed, 3 Aug 2011 02:30:08 +0000 (02:30 +0000)]
fix authors

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@62031 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: and now live streaming are also working.
cedric [Tue, 2 Aug 2011 16:44:47 +0000 (16:44 +0000)]
emotion: and now live streaming are also working.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@62014 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: make gstreamer backend async and handle it correctly every where.
cedric [Tue, 2 Aug 2011 16:22:30 +0000 (16:22 +0000)]
emotion: make gstreamer backend async and handle it correctly every where.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@62010 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: use better infra for reading GstBus.
cedric [Tue, 2 Aug 2011 14:04:08 +0000 (14:04 +0000)]
emotion: use better infra for reading GstBus.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@61999 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agothat's it - remove autom4te.cache dirs again... - keep having to many
raster [Tue, 2 Aug 2011 04:13:33 +0000 (04:13 +0000)]
that's it - remove autom4te.cache dirs again... - keep having to many
problems about it storing invalid config when the same build trees are
shared between multiple architectures and machines. :( better we
build right than build fast.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@61974 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: forgotten file.
cedric [Mon, 1 Aug 2011 12:42:16 +0000 (12:42 +0000)]
emotion: forgotten file.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@61950 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: use new ecore infrastructure and remove some race condition.
cedric [Mon, 1 Aug 2011 12:21:14 +0000 (12:21 +0000)]
emotion: use new ecore infrastructure and remove some race condition.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@61949 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: don't use pipeline if not set.
cedric [Fri, 29 Jul 2011 09:24:14 +0000 (09:24 +0000)]
emotion: don't use pipeline if not set.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@61886 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: correctly close pipeline on file close, plus minor fix.
cedric [Mon, 25 Jul 2011 09:10:44 +0000 (09:10 +0000)]
emotion: correctly close pipeline on file close, plus minor fix.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@61675 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoemotion: fix buggies, add YUY2 support.
cedric [Thu, 21 Jul 2011 10:46:54 +0000 (10:46 +0000)]
emotion: fix buggies, add YUY2 support.

Note: almost working webcam support. Need to detect
when the pipeline need to be playing to know what is in the
stream. Or maybe do that later...

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@61550 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoemotion: add v4l2:// uri scheme for webcam.
cedric [Tue, 19 Jul 2011 22:34:54 +0000 (22:34 +0000)]
emotion: add v4l2:// uri scheme for webcam.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@61512 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoefl: fix make dist-check.
cedric [Tue, 19 Jul 2011 22:34:17 +0000 (22:34 +0000)]
efl: fix make dist-check.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/emotion@61511 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33