Patches item #2036627, was opened at 2008-08-03 10:32
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=757418&aid=2036627&group_id=144022

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Replacement for deprecated function img_convert

Initial Comment:
This is a basic patch that adds the required code and the detection of 
libswscale. It also keeps a fallback to the original code. There are four 
points of discussion though:

* I used a pair of sws_getContext/sws_freeContext because I'm not clear on the 
multi-threading aspect. Otherwise the more efficient sws_getCachedContext could 
probably be used.

* I've taken the SWS_BICUBIC interpolation from the example link, but a 
simpeler interpolation computation might be sufficient.

* On my system the fallback (deprecated function img_convert) is detected, and 
the code (still) compiles, but the code fails (apparently somewhere else before 
my changes are touched).

* The image output looks okay, but I've not looked at it in detail.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=757418&aid=2036627&group_id=144022

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to