Commit d4558e1a authored by Karsten Suehring's avatar Karsten Suehring

fix compilation when TRACE and JVET_M0883_TRIANGLE_SIGNALING are enabled

parent e9a4a4ff
......@@ -273,7 +273,11 @@ void CDTrace::dtrace_polygon_vector(int k, int poc, const std::vector<Position>
void retrieveTriangularMvInfo(const PredictionUnit& pu, MotionInfo& mi0, MotionInfo& mi1)
{
#if JVET_M0883_TRIANGLE_SIGNALING
int triangleDir = pu.triangleSplitDir;
#else
int triangleDir = g_triangleCombination[pu.mergeIdx][0];
#endif
CMotionBuf mb = pu.getMotionBuf();
bool foundMv[2] = { false, false };
bool foundBi = false;
......@@ -325,7 +329,11 @@ void retrieveTriangularMvInfo(const PredictionUnit& pu, MotionInfo& mi0, MotionI
}
void retrieveTrianglePolygon(const PredictionUnit& pu, std::vector<Position>& triangle0, std::vector<Position>& triangle1, Position& S, Position& E)
{
#if JVET_M0883_TRIANGLE_SIGNALING
TriangleSplit triangleDir = TriangleSplit(pu.triangleSplitDir);
#else
TriangleSplit triangleDir = TriangleSplit(g_triangleCombination[pu.mergeIdx][0]);
#endif
Position TL = pu.Y().topLeft();
Position TR = pu.Y().topRight(); TR = TR.offset(1, 0);
Position BL = pu.Y().bottomLeft(); BL = BL.offset(0, 1);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment