mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-03 05:10:03 +02:00
avcodec/vvcdec: skip inter prediction for IBC blocks
Intra Block Copy relies on reconstructed pixels from the current frame. We skip IBC during the inter prediction stage and handle it during the reconstruction stage.
This commit is contained in:
parent
09946dc40b
commit
3241aa26d1
@ -893,7 +893,7 @@ static void predict_inter(VVCLocalContext *lc)
|
||||
|
||||
static int has_inter_luma(const CodingUnit *cu)
|
||||
{
|
||||
return cu->pred_mode != MODE_INTRA && cu->pred_mode != MODE_PLT && cu->tree_type != DUAL_TREE_CHROMA;
|
||||
return (cu->pred_mode == MODE_INTER || cu->pred_mode == MODE_SKIP) && cu->tree_type != DUAL_TREE_CHROMA;
|
||||
}
|
||||
|
||||
int ff_vvc_predict_inter(VVCLocalContext *lc, const int rs)
|
||||
|
Loading…
Reference in New Issue
Block a user