[FFmpeg-devel] [PATCH] avfilter/vf_adadenoise: add x86 SIMD

Paul B Mahol onemda at gmail.com
Tue Oct 15 18:55:24 EEST 2019


On 10/15/19, James Almer <jamrial at gmail.com> wrote:
> On 10/15/2019 12:21 PM, Paul B Mahol wrote:
>> +;------------------------------------------------------------------------------
>> +; void ff_filter_row(const uint8_t *src, uint8_t *dst,
>> +;                    const uint8_t **srcf,
>> +;                    int w, int mid, int size,
>> +;                    int thra, int thrb)
>> +;------------------------------------------------------------------------------
>> +
>> +INIT_XMM sse4
>> +cglobal atadenoise_filter_row8, 8,12,13, src, dst, srcf, w, mid, size,
>> thra, thrb, i, j, srcfx, x
>
> You need to sign extend all the int argument. And if you're not using
> thra and thrb, then don't load them and save two gprs.

Sorry but they are used.

> _______________________________________________
> 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".


More information about the ffmpeg-devel mailing list