[FFmpeg-devel] [PATCH v1] lavfi: add nlmeans CUDA filter

Timo Rothenpieler timo at rothenpieler.org
Sat Aug 14 15:25:11 EEST 2021


On 14.08.2021 07:49, Dylan Fernando wrote:
> On Sat, Aug 14, 2021 at 9:11 AM Timo Rothenpieler <timo at rothenpieler.org>
> wrote:
> 
>> On 13.08.2021 10:42, Dylan Fernando wrote:
>>> Any update on this?
>>>
>>> Kind Regards,
>>> Dylan
>>
>> Also, are you sure that exp() function is correct?
>>
>> The CUDA-Function exp() is defined as "double exp(double x)" and
>> calculates the base e exponential.
>>
>> While __nvvm_ex2_approx_f reads to me like it does so for floats, and
>> for base 2. For which the CUDA equivalent would be "float exp2f(float)".
>>
>> _______________________________________________
>> ffmpeg-devel mailing list
>> ffmpeg-devel at ffmpeg.org
>> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>>
>> To unsubscribe, visit link above, or email
>> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
>>
> 
> I wasn't sure about the exp() function. Is there a function like
> __nvvm_exp_approx_d? I can't seem to find a function for this.

Which specific exp function do you actually require? There's a bunch of 
different ones, depending on precision and the base.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4494 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20210814/aeff5357/attachment.bin>


More information about the ffmpeg-devel mailing list