Commit 2b3defa5 authored by Xiang Li's avatar Xiang Li

Merge branch 'master' into 'master'

removed redundant code in xPredAffineBlk

See merge request !392
parents c47e6358 717aa914
Pipeline #1117 passed with stage
......@@ -828,12 +828,6 @@ void InterPrediction::xPredAffineBlk( const ComponentID& compID, const Predictio
int blockWidth = AFFINE_MIN_BLOCK_SIZE;
int blockHeight = AFFINE_MIN_BLOCK_SIZE;
blockWidth >>= iScaleX;
blockHeight >>= iScaleY;
blockWidth = std::max(blockWidth, AFFINE_MIN_BLOCK_SIZE);
blockHeight = std::max(blockHeight, AFFINE_MIN_BLOCK_SIZE);
CHECK(blockWidth > (width >> iScaleX ), "Sub Block width > Block width");
CHECK(blockHeight > (height >> iScaleX), "Sub Block height > Block height");
const int MVBUFFER_SIZE = MAX_CU_SIZE / MIN_PU_SIZE;
......
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