Log in

View Full Version : Maximum number of parameters to a filter?


eac3to_mod
28th January 2024, 15:01
We are integrating more CUDA filters into DGSource(). Does anyone know the maximum number of parameters that a filter can accept. If it's not enough, we'll have to go to a configuration file. Thank you.

StainlessS
28th January 2024, 15:03
I've used about 256 before. [I think was once limited to 60, but that was removed in 2.58 or previous, is now unlimited (sort of); again, I think].
EDIT: Actually, several more than 256, but not sure exactly how many I've used.

EDIT:


Return c.ClipClop(
\ CP,
\ CN,
\ I01_01,
\ I02_01,I02_02,
\ I03_01,I03_02,I03_03,
\ I04_01,I04_02,I04_03,I04_04,
\ I05_01,I05_02,I05_03,I05_04,I05_05,
\ I06_01,I06_02,I06_03,I06_04,I06_05,I06_06,
\ I07_01,I07_02,I07_03,I07_04,I07_05,I07_06,I07_07,
\ I08_01,I08_02,I08_03,I08_04,I08_05,I08_06,I08_07,I08_08,
\ I09_01,I09_02,I09_03,I09_04,I09_05,I09_06,I09_07,I09_08,I09_09,
\ I10_01,I10_02,I10_03,I10_04,I10_05,I10_06,I10_07,I10_08,I10_09,I10_10,
\ I11_01,I11_02,I11_03,I11_04,I11_05,I11_06,I11_07,I11_08,I11_09,I11_10,I11_11,
\ I12_01,I12_02,I12_03,I12_04,I12_05,I12_06,I12_07,I12_08,I12_09,I12_10,I12_11,I12_12,
\ I13_01,I13_02,I13_03,I13_04,I13_05,I13_06,I13_07,I13_08,I13_09,I13_10,I13_11,I13_12,I13_13,
\ I14_01,I14_02,I14_03,I14_04,I14_05,I14_06,I14_07,I14_08,I14_09,I14_10,I14_11,I14_12,I14_13,I14_14,
\ I15_01,I15_02,I15_03,I15_04,I15_05,I15_06,I15_07,I15_08,I15_09,I15_10,I15_11,I15_12,I15_13,I15_14,I15_15,
\ I16_01,I16_02,I16_03,I16_04,I16_05,I16_06,I16_07,I16_08,I16_09,I16_10,I16_11,I16_12,I16_13,I16_14,I16_15,I16_16,
\ I17_01,I17_02,I17_03,I17_04,I17_05,I17_06,I17_07,I17_08,I17_09,I17_10,I17_11,I17_12,I17_13,I17_14,I17_15,I17_16,I17_17,
\ I18_01,I18_02,I18_03,I18_04,I18_05,I18_06,I18_07,I18_08,I18_09,I18_10,I18_11,I18_12,I18_13,I18_14,I18_15,I18_16,I18_17,I18_18,
\ I19_01,I19_02,I19_03,I19_04,I19_05,I19_06,I19_07,I19_08,I19_09,I19_10,I19_11,I19_12,I19_13,I19_14,I19_15,I19_16,I19_17,I19_18,I19_19,
\ I20_01,I20_02,I20_03,I20_04,I20_05,I20_06,I20_07,I20_08,I20_09,I20_10,I20_11,I20_12,I20_13,I20_14,I20_15,I20_16,I20_17,I20_18,I20_19,I20_20,
\ I21_01,I21_02,I21_03,I21_04,I21_05,I21_06,I21_07,I21_08,I21_09,I21_10,I21_11,I21_12,I21_13,I21_14,I21_15,I21_16,I21_17,I21_18,I21_19,I21_20,I21_21,
\ I22_01,I22_02,I22_03,I22_04,I22_05,I22_06,I22_07,I22_08,I22_09,I22_10,I22_11,I22_12,I22_13,I22_14,I22_15,I22_16,I22_17,I22_18,I22_19,I22_20,I22_21,I22_22,
\ scmd=SCMD,cmd=CMD,nickname=NICKNAME,show=SHOW,dv=DV)
""")
}

Not sure if that is the longest list i've used.

eac3to_mod
28th January 2024, 15:08
Great news, Sire. Thank you!

Just so you know...the integrated filters will communicate via GPU buffers, eliminating lots of PCIe transfers between filters. Remember our CUDASynth idea? If anyone has an unlicensed CUDA filter that they would like to have integrated, they'd be able to take advantage of a massive speedup, and we'd certainly be open to it, giving credit to the author of course.

We already have DGHDRtoSDR integrated as a proof of concept. Along the way we sped up plain old DGSource() performance by 33%. We'll be releasing that first, independent of the integrated filters.

StainlessS
28th January 2024, 15:17
Good news thanx. :)

StainlessS
28th January 2024, 15:53
I said max args was originally 60, according to this was 40, and now 1024 rather than unlimited.
[I still think it said "60" and "unlimited", somewhere; maybe that was something else]

Changes from 2.07
- Fixed crashbug in resize.
- AviSynth now only includes "*.avsi" from the plugin directory
- Changed maximum number of arguments from 40 to 1024.
- Resampleaudio() caused crashes, if no audio was present.
- Fixed: Exist() didn't work.

eac3to_mod
28th January 2024, 15:58
Cheers!

eac3to_mod
28th January 2024, 19:00
DGSource() + DGHDRtoSDR() for UHD video is clocking in at 331 fps. :D

eac3to_mod
29th January 2024, 16:13
If y'all want to give it a go, try this:

https://rationalqm.us/misc/DGDecodeNV_test1.zip

tormento
31st January 2024, 13:13
If y'all want to give it a go, try this

Nice! :thanks: