View Single Post
Old 19th December 2016, 00:35   #47  |  Link
xekon
Registered User
 
Join Date: Jul 2011
Posts: 224
Quote:
Originally Posted by jackoneill View Post
Virtualdub uses packed RGB32, which means that the red, green, blue, and alpha pixels are interleaved in a single array (R0 G0 B0 A0 R1 G1 B1 A1 R2 ...). This is why you have all those shifts and bitwise AND operations. In VapourSynth the red, green, and blue pixels are in individual arrays (R0 R1 R2..., G0 G1 G2 ..., B0 B1 B2 ...), so the equivalent VapourSynth code will be a bit simpler.
I got debugging working, YAY! (built the original Vdub gradation curves filter, to see how the data is supposed to look with the original vdub filter) I built the solution, set debugger to launch virtualdub, and then once virtualdub loaded I went to video add filter, and loaded the debug copy of the filter that I just built.

Now I just need to be able to understand the data, alot of these fields can be expanded, for some reason I expected it to look a lot simpler, showing an R G and B value somewhere between 0 and 255...


Last edited by xekon; 19th December 2016 at 00:50.
xekon is offline   Reply With Quote