JVET-AJ0234: Allow for patch-wise operation when using spatial extrapolation
Compare changes
@@ -171,7 +171,7 @@ void SEINeuralNetworkPostFiltering::filterPictures(PicList& picList)
@@ -171,7 +171,7 @@ void SEINeuralNetworkPostFiltering::filterPictures(PicList& picList)
CHECK(outputPicWidth == croppedWidth && outputPicHeight == croppedHeight, "When resolutionResamplingFlag is equal to 1, either nnpfcOutputPicWidth is not equal to CroppedWidth or nnpfcOutputPicHeight is not equal to CroppedHeight.");
int outputPicWidth1 = outputPicWidth + superResolutionNnpfc->m_outSubWidthC * (superResolutionNnpfc->m_spatialExtrapolationLeftOffset + superResolutionNnpfc->m_spatialExtrapolationRightOffset);
int outputPicHeight1 = outputPicHeight + superResolutionNnpfc->m_outSubHeightC * (superResolutionNnpfc->m_spatialExtrapolationTopOffset + superResolutionNnpfc->m_spatialExtrapolationBottomOffset);