NVEnc icon indicating copy to clipboard operation
NVEnc copied to clipboard

Can you add high quality cuda accelerated DEGRAIN Avisynth filters?

Open Cuberlain opened this issue 4 years ago • 2 comments

Hello Rigaya!

Can you add cuda accelerated high quality DEGRAIN Avisynth filters? Especially the highest quality computational demanding versions...

Thank you!

Cuberlain avatar Sep 20 '20 09:09 Cuberlain

Please refer to #243, as this is a duplicate of it.

rigaya avatar Sep 23 '20 11:09 rigaya

That were old state of hardware and software development.

Now NVIDIA provide hardware ME (from MPEG encoder) and it can replaces MAnalyse. So developers of motion compensated temporal degrain filter only need to implement much more simple MDegrainN. At least in the state of 2.7.45 mvtools version. Also the interpolated overlap is not hard to port to accelerator I hope - with some dependance between blocks processing shaders. So at the 2023 may be developers of NVenc will not be as afraid to port only small part of mvtools to make full hardware accelerated motion compensated temporal denoise filter on NVIDIA board. Also hardware ME not required MSuper with subsample calculated data and also some DirectCompute (HLSL) shader example available how to do required subsample shifting for MDegrainN. To keep full precision provided by hardware ME (up to qpel). Example of software is https://github.com/DTL2020/mvtools . It uses hardware ME via DX12 API, but I remember NVIDIA also provide some CUDA API for ME too.

DTL2020 avatar Jul 06 '23 10:07 DTL2020