Skip to content
Snippets Groups Projects
Commit 80ee78e7 authored by Vadim Seregin's avatar Vadim Seregin
Browse files

Merge branch 'ECM10_AE0078_SET_LICIDX' into 'master'

Fix: set bvLicIdx in SrchCostBv intBvList for AE0078

See merge request !515
parents caa16d7e ca490d7f
No related branches found
No related tags found
1 merge request!515Fix: set bvLicIdx in SrchCostBv intBvList for AE0078
Pipeline #10946 passed
...@@ -4051,6 +4051,9 @@ bool InterSearch::predIBCSearch(CodingUnit& cu, Partitioner& partitioner, const ...@@ -4051,6 +4051,9 @@ bool InterSearch::predIBCSearch(CodingUnit& cu, Partitioner& partitioner, const
#endif #endif
#if JVET_AC0060_IBC_BVP_CLUSTER_RRIBC_BVD_SIGN_DERIV && JVET_AA0070_RRIBC #if JVET_AC0060_IBC_BVP_CLUSTER_RRIBC_BVD_SIGN_DERIV && JVET_AA0070_RRIBC
, (pu.cu->rribcFlipType > 0) , (pu.cu->rribcFlipType > 0)
#endif
#if JVET_AE0078_IBC_LIC_EXTENSION
, pu.cu->ibcLicIdx
#endif #endif
)) ))
{ {
...@@ -4063,6 +4066,9 @@ bool InterSearch::predIBCSearch(CodingUnit& cu, Partitioner& partitioner, const ...@@ -4063,6 +4066,9 @@ bool InterSearch::predIBCSearch(CodingUnit& cu, Partitioner& partitioner, const
#endif #endif
#if JVET_AC0060_IBC_BVP_CLUSTER_RRIBC_BVD_SIGN_DERIV && JVET_AA0070_RRIBC #if JVET_AC0060_IBC_BVP_CLUSTER_RRIBC_BVD_SIGN_DERIV && JVET_AA0070_RRIBC
, (pu.cu->rribcFlipType > 0) , (pu.cu->rribcFlipType > 0)
#endif
#if JVET_AE0078_IBC_LIC_EXTENSION
, pu.cu->ibcLicIdx
#endif #endif
); );
} }
...@@ -4769,6 +4775,9 @@ Distortion InterSearch::xPredIBCFracPelSearch(PredictionUnit& pu ...@@ -4769,6 +4775,9 @@ Distortion InterSearch::xPredIBCFracPelSearch(PredictionUnit& pu
#endif #endif
#if JVET_AC0060_IBC_BVP_CLUSTER_RRIBC_BVD_SIGN_DERIV && JVET_AA0070_RRIBC #if JVET_AC0060_IBC_BVP_CLUSTER_RRIBC_BVD_SIGN_DERIV && JVET_AA0070_RRIBC
, intBvList.bvFlipList[intBvList.maxSize] , intBvList.bvFlipList[intBvList.maxSize]
#endif
#if JVET_AE0078_IBC_LIC_EXTENSION
, intBvList.bvLicIdx[intBvList.maxSize]
#endif #endif
)) ))
{ {
......
...@@ -476,6 +476,9 @@ struct SrchCostBv ...@@ -476,6 +476,9 @@ struct SrchCostBv
#endif #endif
#if JVET_AC0060_IBC_BVP_CLUSTER_RRIBC_BVD_SIGN_DERIV && JVET_AA0070_RRIBC #if JVET_AC0060_IBC_BVP_CLUSTER_RRIBC_BVD_SIGN_DERIV && JVET_AA0070_RRIBC
, bool bvFlip , bool bvFlip
#endif
#if JVET_AE0078_IBC_LIC_EXTENSION
, int bvLic
#endif #endif
) )
{ {
...@@ -490,6 +493,9 @@ struct SrchCostBv ...@@ -490,6 +493,9 @@ struct SrchCostBv
#endif #endif
#if JVET_AC0060_IBC_BVP_CLUSTER_RRIBC_BVD_SIGN_DERIV && JVET_AA0070_RRIBC #if JVET_AC0060_IBC_BVP_CLUSTER_RRIBC_BVD_SIGN_DERIV && JVET_AA0070_RRIBC
&& bvFlipList[i] == bvFlip && bvFlipList[i] == bvFlip
#endif
#if JVET_AE0078_IBC_LIC_EXTENSION
&& bvLicIdx[i] == bvLic
#endif #endif
) )
{ {
...@@ -515,6 +521,9 @@ struct SrchCostBv ...@@ -515,6 +521,9 @@ struct SrchCostBv
#endif #endif
#if JVET_AC0060_IBC_BVP_CLUSTER_RRIBC_BVD_SIGN_DERIV && JVET_AA0070_RRIBC #if JVET_AC0060_IBC_BVP_CLUSTER_RRIBC_BVD_SIGN_DERIV && JVET_AA0070_RRIBC
bvFlipList[idxDst] = bvFlipList[idxSrc]; bvFlipList[idxDst] = bvFlipList[idxSrc];
#endif
#if JVET_AE0078_IBC_LIC_EXTENSION
bvLicIdx[idxDst] = bvLicIdx[idxSrc];
#endif #endif
} }
} }
...@@ -528,6 +537,9 @@ struct SrchCostBv ...@@ -528,6 +537,9 @@ struct SrchCostBv
#endif #endif
#if JVET_AC0060_IBC_BVP_CLUSTER_RRIBC_BVD_SIGN_DERIV && JVET_AA0070_RRIBC #if JVET_AC0060_IBC_BVP_CLUSTER_RRIBC_BVD_SIGN_DERIV && JVET_AA0070_RRIBC
, bool bvFlip = true , bool bvFlip = true
#endif
#if JVET_AE0078_IBC_LIC_EXTENSION
, int bvLic = 0
#endif #endif
) )
{ {
...@@ -559,6 +571,9 @@ struct SrchCostBv ...@@ -559,6 +571,9 @@ struct SrchCostBv
#endif #endif
#if JVET_AC0060_IBC_BVP_CLUSTER_RRIBC_BVD_SIGN_DERIV && JVET_AA0070_RRIBC #if JVET_AC0060_IBC_BVP_CLUSTER_RRIBC_BVD_SIGN_DERIV && JVET_AA0070_RRIBC
&& bvFlipList[i] == bvFlip && bvFlipList[i] == bvFlip
#endif
#if JVET_AE0078_IBC_LIC_EXTENSION
&& bvLicIdx[i] == bvLic
#endif #endif
) )
{ {
...@@ -586,6 +601,9 @@ struct SrchCostBv ...@@ -586,6 +601,9 @@ struct SrchCostBv
#endif #endif
#if JVET_AC0060_IBC_BVP_CLUSTER_RRIBC_BVD_SIGN_DERIV && JVET_AA0070_RRIBC #if JVET_AC0060_IBC_BVP_CLUSTER_RRIBC_BVD_SIGN_DERIV && JVET_AA0070_RRIBC
bvFlipList[idx] = bvFlip; bvFlipList[idx] = bvFlip;
#endif
#if JVET_AE0078_IBC_LIC_EXTENSION
bvLicIdx[idx] = bvLic;
#endif #endif
}; };
...@@ -601,6 +619,9 @@ struct SrchCostBv ...@@ -601,6 +619,9 @@ struct SrchCostBv
#endif #endif
#if JVET_AC0060_IBC_BVP_CLUSTER_RRIBC_BVD_SIGN_DERIV && JVET_AA0070_RRIBC #if JVET_AC0060_IBC_BVP_CLUSTER_RRIBC_BVD_SIGN_DERIV && JVET_AA0070_RRIBC
bvFlipList[idx + 1] = bvFlipList[idx]; bvFlipList[idx + 1] = bvFlipList[idx];
#endif
#if JVET_AE0078_IBC_LIC_EXTENSION
bvLicIdx[idx + 1] = bvLicIdx[idx];
#endif #endif
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment