Exotic Pan

Support for my VirtualDub filters
admin
Site Admin
Posts: 3040
Joined: Thu Sep 09, 2010 3:08 pm

Re: Exotic Pan

Post by admin » Tue Aug 30, 2016 12:44 pm

Feel free to discuss it here, Henrik.

I do some things with focus in DGIndex(NV) so can probably help you. And we've got some really solid members here too.

hwahlberg
Posts: 19
Joined: Sun Sep 28, 2014 6:22 pm

Re: Exotic Pan

Post by hwahlberg » Tue Dec 20, 2016 11:48 am

Hi.

Thank you for the hints on keyboard hooking.
I have a fairly good working version of ExoticPan now.
I have not yet figured out how to distinguish on key up and key down, so sample is reacting on both travel directions.
On the movement buttons, a/s/d/w it really don't matter much especially now that I have switched from updateSystem() to updateFrame() :D
Buttons adding definitions will block after adding first definition, so that doesn't pose a big problem.
Only the delete button requires a bit of caution, it will delete the two nearest definitions.

So a/s/w/d moves the rectangle 3 pixels, control reduces that to 1 pixel, shift increases to 9 pixels.
n/j/i = new / jump / inside buttons.
Attachments
ExoticPan 1.2.4.zip
Latest version of ExoticPan filter
(94.94 KiB) Downloaded 2 times
ExoticPan 1.2.4 Src.zip
Latest source
(108.99 KiB) Downloaded 2 times

admin
Site Admin
Posts: 3040
Joined: Thu Sep 09, 2010 3:08 pm

Re: Exotic Pan

Post by admin » Sun Dec 25, 2016 10:13 am

Thanks Henrik. DId you want me to update the versions linked at my site with these new ones?

hwahlberg
Posts: 19
Joined: Sun Sep 28, 2014 6:22 pm

Re: Exotic Pan

Post by hwahlberg » Thu Feb 16, 2017 4:32 pm

Hi Again.
Been a while, but I have fixed the problem width the keyboard interface (distinguishing key up and down)
I have also changed the "Debug" feature, so it now keeps within the same frame size. Zoom out instead.

I think this is an OK version, please feel free to post it on you DL page.
Best regards Henrik.
Attachments
ExoticPan 1.2.5 Src.zip
(109.56 KiB) Downloaded 3 times
ExoticPan 1.2.5.zip
(84.26 KiB) Downloaded 2 times

hwahlberg
Posts: 19
Joined: Sun Sep 28, 2014 6:22 pm

Re: Exotic Pan

Post by hwahlberg » Sun Feb 19, 2017 2:49 pm

Hi again.

Did some refactoring some 10 checkin's ago. (in preparation to implement a class holding the offset for each point) In that I introduced a bug.
It's fixed in this upload.


Best regards Henrik.
Attachments
ExoticPan 1.2.6.zip
(84.25 KiB) Downloaded 3 times
ExoticPan 1.2.6 Src.zip
(109.61 KiB) Downloaded 3 times

admin
Site Admin
Posts: 3040
Joined: Thu Sep 09, 2010 3:08 pm

Re: Exotic Pan

Post by admin » Sun Feb 19, 2017 6:11 pm

Sweet, thanks Henrik. It's great to see VirtualDub filtering advancing. I was curious about what Avery Lee is up to these days. Hopefully, all kinds of wonderful things. After all he did for desktop multimedia, we can only say thank you and bow down.
:bow:

hwahlberg
Posts: 19
Joined: Sun Sep 28, 2014 6:22 pm

Re: Exotic Pan

Post by hwahlberg » Thu Apr 27, 2017 3:33 pm

Hi.
Found yet another bug when reloading a script, again relating to my code refactor.
I have been using this version for a while, and think it's stable now.
I'm working on including dynamic zoom within the same code.
ExoticPan 1.2.07.zip
(84.25 KiB) Downloaded 3 times
ExoticPan 1.2.07 Src.zip
(109.59 KiB) Downloaded 4 times
Best regards, Henrik.

hwahlberg
Posts: 19
Joined: Sun Sep 28, 2014 6:22 pm

Re: Exotic Pan

Post by hwahlberg » Tue Jun 13, 2017 2:13 am

Hi Donald.

Trying to include your ZOOM filter I ran into some compile issues.
Not entirely sure which compiler you used, I attempted to upgrade solution file to VS2008 and VS2012 without luck.
I was hoping to learn some settings from there, but that did not succeed :-(

(I have included the project files for your reference)

In my own project (where I have imported your zoom code) I get these:

Code: Select all

1>------ Build started: Project: ExoticPan, Configuration: Debug Win32 ------
1>     Creating library c:\Temp\ExoticPanOut\Debug\ExoticPan.lib and object c:\Temp\ExoticPanOut\Debug\ExoticPan.exp
1>resample.obj : error LNK2019: unresolved external symbol _asm_resize_nearest referenced in function "public: bool __thiscall Resampler::Process(class VBitmap const *,double,double,class VBitmap const *,double,double,bool)" (?Process@Resampler@@QAE_NPBVVBitmap@@NN0NN_N@Z)
1>resample.obj : error LNK2019: unresolved external symbol _asm_resize_bilinear referenced in function "public: bool __thiscall Resampler::Process(class VBitmap const *,double,double,class VBitmap const *,double,double,bool)" (?Process@Resampler@@QAE_NPBVVBitmap@@NN0NN_N@Z)
1>resample.obj : error LNK2019: unresolved external symbol _asm_resize_interp_row_run referenced in function "protected: void __thiscall Resampler::_DoRow(unsigned long *,unsigned long const *,long)" (?_DoRow@Resampler@@IAEXPAKPBKJ@Z)
1>resample.obj : error LNK2019: unresolved external symbol _asm_resize_interp_col_run referenced in function "public: bool __thiscall Resampler::Process(class VBitmap const *,double,double,class VBitmap const *,double,double,bool)" (?Process@Resampler@@QAE_NPBVVBitmap@@NN0NN_N@Z)
1>resample.obj : error LNK2019: unresolved external symbol _asm_resize_ccint referenced in function "void __cdecl cc_row(unsigned long *,unsigned long const *,long,long,long,long,long,long,long,int const *)" (?cc_row@@YAXPAKPBKJJJJJJJPBH@Z)
1>resample.obj : error LNK2019: unresolved external symbol _asm_resize_ccint_col referenced in function "public: bool __thiscall Resampler::Process(class VBitmap const *,double,double,class VBitmap const *,double,double,bool)" (?Process@Resampler@@QAE_NPBVVBitmap@@NN0NN_N@Z)
1>resample.obj : error LNK2019: unresolved external symbol _asm_resize_ccint_col_MMX referenced in function "public: bool __thiscall Resampler::Process(class VBitmap const *,double,double,class VBitmap const *,double,double,bool)" (?Process@Resampler@@QAE_NPBVVBitmap@@NN0NN_N@Z)
1>resample.obj : error LNK2019: unresolved external symbol _resize_table_col_MMX referenced in function "void __cdecl resize_table_col(unsigned long *,unsigned long const * const *,int *,int,long,long,int)" (?resize_table_col@@YAXPAKPBQBKPAHHJJH@Z)
1>resample.obj : error LNK2019: unresolved external symbol _resize_table_row_MMX referenced in function "void __cdecl resize_table_row(unsigned long *,unsigned long const *,int const *,int,long,long,long,long,long,long,long,int)" (?resize_table_row@@YAXPAKPBKPBHHJJJJJJJH@Z)
1>resample.obj : error LNK2019: unresolved external symbol _resize_table_row_protected_MMX referenced in function "void __cdecl resize_table_row(unsigned long *,unsigned long const *,int const *,int,long,long,long,long,long,long,long,int)" (?resize_table_row@@YAXPAKPBKPBHHJJJJJJJH@Z)
1>c:\Temp\ExoticPanOut\Debug\ExoticPan.vdf : fatal error LNK1120: 10 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
So, pretty sure I have a wrong compile setting somewhere, but which ??
I have included the source if you or anybody else would like to have a look.

I have also included VS2008 and VS2012 project files for the original zoom code that gives similar problems..

Suggestions welcome!!

Best Regards Henrik.
Attachments
ZoomVS2012.zip
Upgrade wizard from VS2012 used on the original project file.
(10.35 KiB) Downloaded 2 times
ZoomVS2008.zip
Upgrade wizard from VS2008 used on the original project file.
(4.41 KiB) Downloaded 2 times
ExoticPan+ZoomSrc.zip
VS2012 project with zoom partly integrated.
(190.27 KiB) Downloaded 2 times

admin
Site Admin
Posts: 3040
Joined: Thu Sep 09, 2010 3:08 pm

Re: Exotic Pan

Post by admin » Tue Jun 13, 2017 8:39 am

Good morning, Henrik. Great to hear from you!

Zoom was built with VS 6.0. Here is a VS 2013 32-bit release project that builds clean and runs fine:

http://rationalqm.us/misc/Zoom_Henrik.rar

I will update the source distribution on my web site.

hwahlberg
Posts: 19
Joined: Sun Sep 28, 2014 6:22 pm

Re: Exotic Pan

Post by hwahlberg » Tue Jun 13, 2017 3:02 pm

Hi Donald.
I don't have VS2013, but can get that from MSDN, although I doubt that helps.

VS2012 reads the .sln and the .vcxproj.
When compiling if mentions that no <PlatformToolset>v120</PlatformToolset> exists. (That is VS2013)
Changing this to <PlatformToolset>v110</PlatformToolset> satisfies this part. So far so good.

but I still get same unresolved external symbol, like "asm_resize_nearest" referenced from resample.obj (where it's declared external).

Code: Select all

extern "C" void __cdecl asm_resize_nearest(
As far as I can tell, this symbol is defined in a_bitmap.obj, partly referenced by <AdditionalDependencies>odbc32.lib;odbccp32.lib;a_resize.obj;a_bitmap.obj;%(.....

Do you remember which role a_bitmap.obj plays?

I have attempted to add it to the project, but gives no change.
I get an error as https://stackoverflow.com/questions/105 ... eh-image-c
Suggestion there is to recompile that file with a more current version of the compiler. Do you have the source?

Don't know if this is important or i'm barking up the wrong tree..?

best regards Henrik.

Post Reply