mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-20 07:35:25 +08:00
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:

committed by
Anton Khirnov

parent
ed53cc217f
commit
cf6090dc62
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user