Commit 44cb357e authored by Jingning Han's avatar Jingning Han Committed by Yaowu Xu

[NORMATIVE] Fix top right check condition in vert_a

Allow the right side rectangular block to access the top right
neighbor if available in vert_a partition.

BUG=aomedia:1343

Change-Id: I92369676ae1bea2d6dd5f09af612f4177560ae29
parent b9a12729
......@@ -391,7 +391,8 @@ static int has_top_right(const AV1_COMMON *cm, const MACROBLOCKD *xd,
// not have a top right as it is decoded before the right hand
// rectangle of the partition
if (xd->mi[0]->mbmi.partition == PARTITION_VERT_A) {
if (mask_row & bs) has_tr = 0;
if (xd->n8_w == xd->n8_h)
if (mask_row & bs) has_tr = 0;
}
#endif // CONFIG_EXT_PARTITION_TYPES
......
......@@ -57,7 +57,7 @@ decode_to_md5() {
decode_to_md5_av1() {
# expected MD5 sum for the last frame.
local expected_md5="155facd9ade570f14502bbfcaaeeca06"
local expected_md5="0f6429cfe97323627f3af72af39fa44d"
local file="${AV1_IVF_FILE}"
# TODO(urvang): Check in the encoded file (like libvpx does) to avoid
......
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