Commit 2c714ac8 authored by Frank Bossen's avatar Frank Bossen

Merge branch 'tracefix-triangle' into 'master'

fix compilation when TRACE and JVET_M0883_TRIANGLE_SIGNALING are enabled

See merge request jvet/VVCSoftware_VTM!219
parents a57029fb d4558e1a
Pipeline #708 passed with stage
......@@ -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)
int triangleDir = pu.triangleSplitDir;
int triangleDir = g_triangleCombination[pu.mergeIdx][0];
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)
TriangleSplit triangleDir = TriangleSplit(pu.triangleSplitDir);
TriangleSplit triangleDir = TriangleSplit(g_triangleCombination[pu.mergeIdx][0]);
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
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment