On Wed, 9 Jan 2013 19:19:53 +0530 Arvind R <arvin...@gmail.com> said:

> Hi all,
> 
> My understanding is that emotion gets the video backend to render RGBA
> to the evas canvas that is then displayed by the ecore-evas backend.
> Correct?

actually it gets the video decoder (xine/gstremer etc.) to decode to yuv... not
rgb. this video coded decodes however it likes. might use software. might use
hardware. not emotion's business really. :)

the yuv data is then handed to the rendering engine. software of course
software converts to rgba, scales and so on. gl will upload to a texture and
use glsl shaders to do the conversion (gpu now does the work while it draws
textures and scales) so... if you use gl - video is accelerated. only catch is
the texture upload of yuv data. it depends how gl drivers implement this - with
a cpu swizzle or a dedicated dma enigne.

> If so, would it be possible, for instance, using the xine backend to
> render directly to screen using whatever HW-accleration available to
> it, and have the evas-canvas as an 'underlay' to the video screen in
> order to trap events. This would mean modifying the emotion-xine
> module to be an interceptor in the xine pipeline instead of being a
> video_output driver.

there is already code to do this with gstreamer. it's all broken and its also
special-case. only allowed if you run e17 AND your video objects is unobscured
etc. - and as i said.. its all broken at the moment. gl based video is far more
flexible and all hw accelerated as per above.

> Feasible?
> 
> Arvind R.
> 
> ------------------------------------------------------------------------------
> Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
> and much more. Keep your Java skills current with LearnJavaNow -
> 200+ hours of step-by-step video tutorials by Java experts.
> SALE $49.99 this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122612 
> _______________________________________________
> enlightenment-users mailing list
> enlightenment-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-users
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    ras...@rasterman.com


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to