On Wed, Oct 6, 2010 at 9:18 AM, Hugo Camboulive
<[email protected]> wrote:
> Hi guys,
>
> This patch adds support for video cropping in emotion, if anyone's
> interested. You give it the number of pixels you want to crop on each
> size (relative to the original size of the video)
> We use it to remove black bars from a video or do a video wall with
> multiple screens, it works fine even with our low power machines.

Hi Hugo,

Going through my backlog I've found this unreviewed code. Sorry taking so long.

I wonder why you chose the names a,b,c,d for left,top,right,bottom.
Please rename it to proper names, if you want to keep single letters,
fine, but at least use l,t,r,b. I'd also follow edje's sequence:
l,r,t,b.

I'd also keep sd->crop.clipper only whenever there is a clipper in
use. But that does not matter much.

setting the color on smart_color_set() of the clipper will have the
wrong result, it will apply twice: once due the clipper, another due
the image being colored.

All in all I wonder if there is no better way to do this, like passing
this information to the engines and letting them implement in a
possibly faster way. This could be a fallback system if not
implemented by engine, or engine could use it.

Raster, do you have any knowledge of that kind of feature in xine? I
remember mplayer has builtin cropping filters.




-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--------------------------------------
MSN: [email protected]
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to