diff options
author | Jayasanker J <jayasanker.j@ittiam.com> | 2021-08-12 15:21:00 +0530 |
---|---|---|
committer | Wan-Teh Chang <wtc@google.com> | 2021-10-09 01:45:45 +0000 |
commit | d1d5aa04d115ca564ca0224fd5810e2fedd33ac8 (patch) | |
tree | 7b7fc6a138a74c947ced7ce145759898bdb9ed2e /aom_scale | |
parent | 01b24807940e90703c1fd1bb22ad5325a28f5a51 (diff) | |
download | libaom-d1d5aa04d115ca564ca0224fd5810e2fedd33ac8.tar.gz |
Allintra: Reduce border_in_pixels for frame buffers
For allintra encoding mode, inter-frame motion search is not
applicable and the intraBC motion vectors are restricted within the
tile boundaries. Hence, the border value used in the allocation of
frame buffer is reduced from 160 pixels to 64 pixels in case of
allintra encoding mode.
For AVIF image encode with speed = 9,
HEAP Memory reduction(%)
Resolution threads=1 threads=4
640x360 9.00 5.64
768x512 6.92 4.80
832x480 7.20 5.16
1280x720 5.03 4.10
For threads=4, an average encode time reduction of ~3.47% is
observed for 360p-720p resolutions.
HEAP memory reduction was measured using the following command.
$valgrind --tool=massif ./avifenc ...
Change-Id: Ibf690032b4c86a07f7751889de36b21e94544f1c
Diffstat (limited to 'aom_scale')
-rw-r--r-- | aom_scale/yv12config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/aom_scale/yv12config.h b/aom_scale/yv12config.h index 376cb7455..c0e036194 100644 --- a/aom_scale/yv12config.h +++ b/aom_scale/yv12config.h @@ -29,6 +29,7 @@ extern "C" { #define AOM_INTERP_EXTEND 4 #define AOM_BORDER_IN_PIXELS 288 #define AOM_ENC_NO_SCALE_BORDER 160 +#define AOM_ENC_ALLINTRA_BORDER 64 #define AOM_DEC_BORDER_IN_PIXELS 64 /*!\endcond */ |