Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

Write a new signal library #13

Open
tp7 opened this issue Jul 31, 2013 · 1 comment
Open

Write a new signal library #13

tp7 opened this issue Jul 31, 2013 · 1 comment

Comments

@tp7
Copy link
Owner

tp7 commented Jul 31, 2013

signal_expr2( 
    c1.signal_getvalue("avg"),
    c2.signal_getvalue("med"), 
    "x y + whatever"
).signal_setvalue(last)

After 16-bit support is implemented in masktools, add a new signal library based on the same common shared lib.

Each filter in this plugin should work on a two-pixel clips (y8 or yv24), containing 16bit (msb/lsb) value of some clip parameter (signal_getvalue). The last step is always signal_setvalue that creates a full-resolution clip where each pixel has the value of input 2-pixel clip to be used with mt_merge.

This would allow extremely fast runtime processing without usage of complex avisynth runtime functions.

@tp7
Copy link
Owner Author

tp7 commented Dec 20, 2013

We might come up with a better way on the core level in avs+.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant