1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-04-08 16:54:03 +02:00
FFmpeg/libavcodec
Martin Storsjö 4136405c86 aarch64: me_cmp: Don't do uaddlv once per iteration
The max height is currently documented as 16; the max difference per
pixel is 255, and a .8h element can easily contain 16*255, thus keep
accumulating in two .8h vectors, and just do the final accumulationat the
end. This should work for heights up to 256.

This requires a minor register renumbering in ff_pix_abs16_xy2_neon.

Before:       Cortex A53    A72    A73   Graviton 3
pix_abs_0_0_neon:   97.7   47.0   37.5   22.7
pix_abs_0_1_neon:  154.0   59.0   52.0   25.0
pix_abs_0_3_neon:  179.7   96.7   87.5   41.2
After:
pix_abs_0_0_neon:   96.0   39.2   31.2   22.0
pix_abs_0_1_neon:  150.7   59.7   46.2   23.7
pix_abs_0_3_neon:  175.7   83.7   81.7   38.2

Signed-off-by: Martin Storsjö <martin@martin.st>
2022-07-16 17:26:17 +03:00
..
2022-03-15 09:42:39 -03:00
2022-07-07 21:52:52 +02:00
2022-03-15 09:42:39 -03:00
2022-02-07 00:31:23 +01:00
2022-03-18 19:56:50 +01:00
2022-03-18 19:56:50 +01:00
2022-06-25 09:05:58 +08:00
2022-06-24 15:37:23 +08:00
2022-06-24 15:37:23 +08:00
2022-05-08 10:38:54 +08:00
2022-01-04 13:16:49 +01:00
2022-01-04 13:16:49 +01:00
2022-07-09 20:06:47 +02:00
2022-02-24 12:56:49 +01:00
2021-08-05 19:46:33 +02:00
2022-03-15 09:42:41 -03:00
2022-03-15 09:42:41 -03:00
2022-07-07 21:52:52 +02:00
2022-07-12 21:55:22 +02:00
2022-01-26 15:30:28 +01:00
2021-10-09 11:42:16 +02:00
2022-06-25 09:05:58 +08:00
2022-05-30 19:44:11 +02:00
2022-06-16 10:23:30 +02:00
2022-07-03 15:16:31 +02:00
2022-03-15 09:42:43 -03:00
2022-03-15 09:42:43 -03:00
2022-02-18 20:11:06 +01:00
2022-02-18 20:11:06 +01:00
2022-07-04 15:04:08 +02:00
2022-02-07 00:31:23 +01:00
2021-07-22 14:47:57 +02:00
2022-03-16 14:04:35 +02:00
2022-07-03 15:16:31 +02:00
2022-07-03 15:16:31 +02:00
2022-07-03 15:16:31 +02:00
2021-07-22 14:47:57 +02:00
2021-10-10 17:44:41 +02:00
2022-04-10 20:12:23 +02:00
2022-04-13 00:37:06 +02:00
2022-06-25 09:05:58 +08:00
2022-07-13 00:29:05 +02:00
2022-03-15 09:42:45 -03:00
2021-09-12 22:23:35 +02:00
2022-07-12 21:55:22 +02:00