framework/uifw/emotion.git
12 years agoEmotion:fix compilation on Windows
caro [Fri, 30 Dec 2011 11:46:29 +0000 (11:46 +0000)]
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 ?

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/emotion@66686 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: properly test the existence of an X connection in gstreamer backend.
cedric [Wed, 28 Dec 2011 16:08:38 +0000 (16:08 +0000)]
emotion: properly test the existence of an X connection in gstreamer backend.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/emotion@66606 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoDefine EMOTION_BUILD on compile so EAPI is defined correctly
sachiel [Wed, 28 Dec 2011 15:50:40 +0000 (15:50 +0000)]
Define EMOTION_BUILD on compile so EAPI is defined correctly

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/emotion@66605 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEAPIfy external variables
sachiel [Wed, 28 Dec 2011 14:44:38 +0000 (14:44 +0000)]
EAPIfy external variables

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/emotion@66600 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoDon't override standard variables, it looks weird. In turn, fix building with automak...
sachiel [Wed, 28 Dec 2011 14:13:30 +0000 (14:13 +0000)]
Don't override standard variables, it looks weird. In turn, fix building with automake 1.11.2

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/emotion@66599 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoclean up emotion copying to match the rest of core efl thats bsd
raster [Thu, 15 Dec 2011 09:35:57 +0000 (09:35 +0000)]
clean up emotion copying to match the rest of core efl thats bsd
licensed.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/emotion@66243 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: turn fps debugging on also on classic Gstreamer.
cedric [Tue, 6 Dec 2011 11:36:29 +0000 (11:36 +0000)]
emotion: turn fps debugging on also on classic Gstreamer.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/emotion@65955 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: no segv when no webcam has been detected.
cedric [Sun, 13 Nov 2011 21:52:13 +0000 (21:52 +0000)]
emotion: no segv when no webcam has been detected.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/emotion@65137 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: fix requirements. Thanks Vincent.
cedric [Thu, 10 Nov 2011 14:24:49 +0000 (14:24 +0000)]
emotion: fix requirements. Thanks Vincent.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/emotion@65023 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEmotion Test: remove unuseful funtion enter_idle
bdilly [Thu, 10 Nov 2011 12:24:56 +0000 (12:24 +0000)]
Emotion Test: remove unuseful funtion enter_idle

was used to show FPS before. but a long time it doesn't
do anything.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/emotion@65021 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEmotion: make it build without eeze
bdilly [Thu, 10 Nov 2011 12:11:52 +0000 (12:11 +0000)]
Emotion: make it build without eeze

Please, Cedric, check if it's ok.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/emotion@65020 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: and now support custom pipeline in emotion.
cedric [Thu, 10 Nov 2011 11:35:49 +0000 (11:35 +0000)]
emotion: and now support custom pipeline in emotion.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/emotion@65018 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: make it possible to define webcam statically.
cedric [Wed, 9 Nov 2011 16:27:49 +0000 (16:27 +0000)]
emotion: make it possible to define webcam statically.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/emotion@64995 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: minor cleanup.
cedric [Mon, 7 Nov 2011 15:45:24 +0000 (15:45 +0000)]
emotion: minor cleanup.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/emotion@64869 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: fix symbol issue.
cedric [Sat, 5 Nov 2011 15:54:34 +0000 (15:54 +0000)]
emotion: fix symbol issue.

NOTE: all inline function in header should be static or
they will export symbol and you don't want that.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/emotion@64765 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: always trigger new frame callback.
cedric [Sat, 5 Nov 2011 13:44:21 +0000 (13:44 +0000)]
emotion: always trigger new frame callback.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/emotion@64758 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: fix recursive call.
cedric [Sat, 5 Nov 2011 12:04:34 +0000 (12:04 +0000)]
emotion: fix recursive call.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/emotion@64756 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoEmotion: AM_PROG_CC_STDC is deprecated
caro [Fri, 4 Nov 2011 20:33:46 +0000 (20:33 +0000)]
Emotion: AM_PROG_CC_STDC is deprecated

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/emotion@64746 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: warning--
cedric [Thu, 3 Nov 2011 17:09:23 +0000 (17:09 +0000)]
emotion: warning--

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/emotion@64709 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: correctly guard Ecore_X usage.
cedric [Sun, 23 Oct 2011 09:21:14 +0000 (09:21 +0000)]
emotion: correctly guard Ecore_X usage.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/emotion@64322 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: fix borderless and remove it from taskbar/pager at the same time.
cedric [Sun, 23 Oct 2011 08:46:23 +0000 (08:46 +0000)]
emotion: fix borderless and remove it from taskbar/pager at the same time.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/emotion@64321 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: disable direct rendering path if window manager doesn't handle it.
cedric [Fri, 21 Oct 2011 15:00:41 +0000 (15:00 +0000)]
emotion: disable direct rendering path if window manager doesn't handle it.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/emotion@64256 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: try to correctly fix the fill value.
cedric [Fri, 21 Oct 2011 14:59:22 +0000 (14:59 +0000)]
emotion: try to correctly fix the fill value.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/emotion@64255 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: destroy all created object.
cedric [Wed, 19 Oct 2011 09:42:05 +0000 (09:42 +0000)]
emotion: destroy all created object.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/emotion@64172 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: work with older version of gstreamer.
cedric [Fri, 14 Oct 2011 04:01:43 +0000 (04:01 +0000)]
emotion: work with older version of gstreamer.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/emotion@64058 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: use Ecore_X Video Atoms.
cedric [Thu, 13 Oct 2011 09:24:45 +0000 (09:24 +0000)]
emotion: use Ecore_X Video Atoms.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/emotion@64048 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agohmm no. lets not make this alpha .. by default eh?
raster [Thu, 6 Oct 2011 13:42:19 +0000 (13:42 +0000)]
hmm no. lets not make this alpha .. by default eh?

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/emotion@63881 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agofix resize handling for emotion
raster [Thu, 6 Oct 2011 02:41:24 +0000 (02:41 +0000)]
fix resize handling for emotion

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/emotion@63868 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: FPS tracking.
cedric [Wed, 5 Oct 2011 09:39:32 +0000 (09:39 +0000)]
emotion: FPS tracking.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/emotion@63830 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: some docs.
cedric [Wed, 5 Oct 2011 02:54:27 +0000 (02:54 +0000)]
emotion: some docs.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/emotion@63820 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: forgotten svn add...
cedric [Tue, 4 Oct 2011 22:46:54 +0000 (22:46 +0000)]
emotion: forgotten svn add...

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/emotion@63816 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion: make Xv work.
cedric [Tue, 4 Oct 2011 11:14:58 +0000 (11:14 +0000)]
emotion: make Xv work.

NOTE: we need the help of the window manager to make this
really work. So for the moment, it half work. As soon as I
hack E17, the Xv fast path for Emotion will only work when
used with E17 and it will fallback to canvas inlined rendering
in other case.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/emotion@63802 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion/examples: Fix more warnings.
antognolli [Mon, 3 Oct 2011 18:39:28 +0000 (18:39 +0000)]
emotion/examples: Fix more warnings.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/emotion@63782 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion/generic/vlc: Remove more warnings.
antognolli [Mon, 3 Oct 2011 18:39:23 +0000 (18:39 +0000)]
emotion/generic/vlc: Remove more warnings.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/emotion@63781 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion/generic: Remove warnings.
antognolli [Mon, 3 Oct 2011 18:39:20 +0000 (18:39 +0000)]
emotion/generic: Remove warnings.

Remove unused functions, variables and fix a "return" on a non-void
returning function.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/emotion@63780 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

12 years agoemotion/build: Fix DSO build for em_generic_vlc.
antognolli [Mon, 3 Oct 2011 18:24:12 +0000 (18:24 +0000)]
emotion/build: Fix DSO build for em_generic_vlc.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/emotion@63779 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/emotion@63038 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33