Files
ffmpeg-rockchip/libavcodec
Martin Storsjö cad42fadcd aarch64: vp9itxfm: Skip empty slices in the first pass of idct_idct 16x16 and 32x32
This work is sponsored by, and copyright, Google.

Previously all subpartitions except the eob=1 (DC) case ran with
the same runtime:

vp9_inv_dct_dct_16x16_sub16_add_neon:   1373.2
vp9_inv_dct_dct_32x32_sub32_add_neon:   8089.0

By skipping individual 8x16 or 8x32 pixel slices in the first pass,
we reduce the runtime of these functions like this:

vp9_inv_dct_dct_16x16_sub1_add_neon:     235.3
vp9_inv_dct_dct_16x16_sub2_add_neon:    1036.7
vp9_inv_dct_dct_16x16_sub4_add_neon:    1036.7
vp9_inv_dct_dct_16x16_sub8_add_neon:    1036.7
vp9_inv_dct_dct_16x16_sub12_add_neon:   1372.1
vp9_inv_dct_dct_16x16_sub16_add_neon:   1372.1
vp9_inv_dct_dct_32x32_sub1_add_neon:     555.1
vp9_inv_dct_dct_32x32_sub2_add_neon:    5190.2
vp9_inv_dct_dct_32x32_sub4_add_neon:    5180.0
vp9_inv_dct_dct_32x32_sub8_add_neon:    5183.1
vp9_inv_dct_dct_32x32_sub12_add_neon:   6161.5
vp9_inv_dct_dct_32x32_sub16_add_neon:   6155.5
vp9_inv_dct_dct_32x32_sub20_add_neon:   7136.3
vp9_inv_dct_dct_32x32_sub24_add_neon:   7128.4
vp9_inv_dct_dct_32x32_sub28_add_neon:   8098.9
vp9_inv_dct_dct_32x32_sub32_add_neon:   8098.8

I.e. in general a very minor overhead for the full subpartition case due
to the additional cmps, but a significant speedup for the cases when we
only need to process a small part of the actual input data.

Signed-off-by: Martin Storsjö <martin@martin.st>
2016-11-30 23:57:05 +02:00
..
2016-11-18 10:32:57 +01:00
2016-11-13 18:44:00 +01:00
2016-08-17 12:16:42 +02:00
2016-06-07 13:09:57 +02:00
2016-06-06 12:03:20 -04:00
2016-11-14 19:38:20 +00:00
2016-11-18 10:34:04 +01:00
2016-06-07 13:09:57 +02:00
2016-11-18 10:35:04 +01:00
2016-08-17 12:16:42 +02:00
2016-06-08 18:51:57 +02:00
2016-08-17 12:16:42 +02:00
2016-08-17 12:16:42 +02:00
2016-11-13 18:44:01 +01:00
2016-06-08 18:51:56 +02:00
2016-08-17 12:16:42 +02:00
2016-10-21 10:11:20 +02:00
2016-07-18 15:27:13 +02:00
2016-11-18 10:35:43 +01:00
2016-11-18 10:35:43 +01:00
2016-08-17 12:16:42 +02:00
2016-06-28 14:17:43 +03:00
2016-06-28 14:17:43 +03:00
2016-11-13 18:44:01 +01:00
2016-11-13 18:44:01 +01:00
2016-07-23 08:27:29 +02:00
2016-11-07 22:42:00 +01:00
2016-06-20 15:45:51 -04:00
2016-11-30 13:44:05 +01:00
2016-10-02 19:35:12 +02:00
2016-06-07 13:09:57 +02:00
2016-10-09 20:58:10 +02:00
2016-11-18 10:36:14 +01:00
2016-06-12 20:27:53 +02:00
2016-11-17 16:53:48 +01:00
2016-11-14 19:38:20 +00:00
2016-07-22 19:08:13 +02:00
2016-06-29 15:25:42 -04:00
2016-06-29 15:25:42 -04:00
2016-10-02 15:42:03 -04:00
2016-09-28 10:01:52 +02:00
2016-11-25 21:42:33 +01:00
2016-11-13 18:44:01 +01:00
2016-09-08 21:58:22 +01:00
2016-09-08 21:58:22 +01:00
2016-08-11 10:54:44 +02:00
2016-08-17 12:16:42 +02:00
2016-11-24 11:22:13 +01:00
2016-06-07 13:09:57 +02:00