Commit 902000d8 authored by Pavel Frolov's avatar Pavel Frolov Committed by Debargha Mukherjee

Increase border when CONFIG_EXT_PARTITION==1

Before an increased border of 288 pixels was used when both
CONFIG_EXT_PARTITION and CONFIG_FRAME_SUPERRES were enabled.

However increased border is also required when only
CONFIG_EXT_PARTITION is enabled.

For example when:
1) current frame is 2x smaller than reference frames
2) block size is 128x128

BUG=aomedia:991

Change-Id: I09dfddfdf6bd0b0efde2556acb924bb563b6da2f
parent 97137443
......@@ -31,7 +31,7 @@ extern "C" {
// TODO(jingning): Use unified inter predictor for encoder and
// decoder during the development process. Revisit the frame border
// to improve the decoder performance.
#if CONFIG_EXT_PARTITION && CONFIG_FRAME_SUPERRES
#if CONFIG_EXT_PARTITION
#define AOM_BORDER_IN_PIXELS 288
#else
#define AOM_BORDER_IN_PIXELS 160
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment