hevc: use intreadwrite

When dealing with MVs, both components may be processed at a time.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
Christophe Gisquet
2014-08-08 18:21:02 +00:00
committed by Anton Khirnov
parent ed53cc217f
commit cf6090dc62
3 changed files with 13 additions and 18 deletions

View File

@@ -1714,8 +1714,7 @@ static void hls_prediction_unit(HEVCContext *s, int x0, int y0,
}
if (s->sh.mvd_l1_zero_flag == 1 && inter_pred_idc == PRED_BI) {
lc->pu.mvd.x = 0;
lc->pu.mvd.y = 0;
AV_ZERO32(&lc->pu.mvd);
} else {
hls_mvd_coding(s, x0, y0, 1);
}