Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Development

Reply
 
Thread Tools Search this Thread Display Modes
Old 1st July 2011, 06:52   #1  |  Link
Schnoodledorfer
Registered User
 
Join Date: Apr 2005
Posts: 38
Compiling Reform

As I mentioned here, I ran into a bug when I tried to use the reform plugin (skew and deskew). In this case, the problem was very easy to spot, even though I have no experience with cpp and haven't done PC programming. So, I downloaded Microsoft C++ express studio and was going to compile the dll. But I don't see how this can work.

The code has this line:
Code:
#include "CubicInt.cpp"
Where does that come from? It doesn't seem to be in the Avisynth source code and Google is no help.
__________________
If you don't like the forum's search feature, use Google or Yahoo.
Include "site:forum.doom9.org" with the search words to search only these forums.
Schnoodledorfer is offline   Reply With Quote
Old 1st July 2011, 07:14   #2  |  Link
Robert Martens
Registered User
 
Join Date: Feb 2010
Location: New York
Posts: 116
It looks like CubicInt.cpp is part of the source of V.C. Mohan's EffectsMany plugin, available from the same page as his other work: http://avisynth.org/vcmohan/index.html
Robert Martens is offline   Reply With Quote
Old 2nd July 2011, 04:06   #3  |  Link
Schnoodledorfer
Registered User
 
Join Date: Apr 2005
Posts: 38
It was. After sufficient battling with the Visual C++ IDE I even managed to get it compiled.
__________________
If you don't like the forum's search feature, use Google or Yahoo.
Include "site:forum.doom9.org" with the search words to search only these forums.
Schnoodledorfer is offline   Reply With Quote
Old 9th July 2011, 03:53   #4  |  Link
vcmohan
Registered User
 
Join Date: Jul 2003
Location: India
Posts: 890
Sorry for not including the cubicInt.cpp with the source of Reform Plugin. I have several small such code snippets in a separate directory which I use in my plugins. Shortly I will make this directory available in my plugins page.
__________________
mohan
my plugins are now hosted here
vcmohan is offline   Reply With Quote
Old 11th July 2011, 11:07   #5  |  Link
Emulgator
Big Bit Savings Now !
 
Emulgator's Avatar
 
Join Date: Feb 2007
Location: close to the wall
Posts: 1,545
Schnoodledorfer, while you are working on Reform, which I greatly appreciate:

Ther might be the chance to embed a better resizer into Reform.

While looking for a decent deskewer a year ago I had to compare VCMohan's Reform with VCMohan's Perspective
and found the latter to be more accurate so that I stuck to Perspective for quality
although I needed no exponentially growing transformation back then and even decided to live with the resulting curved borders.

Maybe Perspective's resizer engine is reusable and can be set to act linear with coordinates,
not relating on the previous pixel's values as a growth value suggests.
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain)
"Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..."
Emulgator is offline   Reply With Quote
Old 15th August 2011, 04:27   #6  |  Link
vcmohan
Registered User
 
Join Date: Jul 2003
Location: India
Posts: 890
I have replaced the cubic resizer with a Lanczos 6 tap resizer. Pl try and tell me if this is better. While Reform works with straight lines, Perspective uses the more natural curves. It is your option. For very small degree of distortions they may not differ much.
__________________
mohan
my plugins are now hosted here
vcmohan is offline   Reply With Quote
Old 15th August 2011, 07:39   #7  |  Link
Emulgator
Big Bit Savings Now !
 
Emulgator's Avatar
 
Join Date: Feb 2007
Location: close to the wall
Posts: 1,545
Beautiful, vcmohan !
Many thanks ! Will test soon.
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain)
"Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..."
Emulgator is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:52.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.