Skip to content
Snippets Groups Projects
Commit ad6f0391 authored by Frank Bossen's avatar Frank Bossen
Browse files

Skip testing generalized biprediction in P slices

Fixes #96
parent 0311bd34
No related branches found
No related tags found
No related merge requests found
......@@ -206,6 +206,10 @@ protected:
#if JVET_L0646_GBI
bool xIsGBiSkip(const CodingUnit& cu)
{
if (cu.slice->getSliceType() != B_SLICE)
{
return true;
}
return((m_pcEncCfg->getBaseQP() > 32) && ((cu.slice->getTLayer() >= 4)
|| ((cu.refIdxBi[0] >= 0 && cu.refIdxBi[1] >= 0)
&& (abs(cu.slice->getPOC() - cu.slice->getRefPOC(REF_PIC_LIST_0, cu.refIdxBi[0])) == 1
......
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