[FFmpeg-devel] [aarch64] improve performance of ff_hscale_8_to_15_neon
Jean-Baptiste Kempf
jb at videolan.org
Tue Nov 26 07:20:33 EET 2019
On Tue, Nov 26, 2019, at 05:51, Sebastian Pop wrote:
> On Mon, Nov 25, 2019 at 4:18 PM Jean-Baptiste Kempf <jb at videolan.org> wrote:
> > Why adding a new version, in intrinsics, instead of changing the existing implementation?
> >
>
> Personal preference: I like to read c code instead of asm.
> Also I find it much easier to experiment by changing c code rather than asm.
>
> Is there a coding rule in ffmpeg that restricts the use of intrinsics?
Yes. See doc/optimization.txt.
Use external asm (nasm/yasm) or inline asm (__asm__()), do not use intrinsics.
Also, here, you're changing some existing code, please improve the code and do not duplicate code.
> If that is the case, I can adapt my code to the existing asm code.
Please.
--
Jean-Baptiste Kempf - President
+33 672 704 734
More information about the ffmpeg-devel
mailing list