Change in rate-distortion performance of the NN-based intra prediction due to modification in "source/Lib/CommonLib/IntraPrediction.cpp" at commit 158c60c9 (solving #87).
Problem
In commit 158c60c9 ( solving #87 (closed) ), the changes in "source/Lib/CommonLib/IntraPrediction.cpp" affect the rate-distortion performance of the NN-based intra prediction.
Test
For instance, using the HEAD of NNVC, on the first frame of "D_BasketballPass", QP = 37, with the NNVC configuration file,
POC 0 LId: 0 TId: 0 ( IDR_N_LP, I-SLICE, QP 37 ) 18064 bits [Y 33.8805 dB U 38.2503 dB V 38.2618 dB]
Using the above-mentioned experiment but reverting the mentioned changes in "source/Lib/CommonLib/IntraPrediction.cpp",
POC 0 LId: 0 TId: 0 ( IDR_N_LP, I-SLICE, QP 37 ) 17328 bits [Y 33.8245 dB U 38.1876 dB V 38.2271 dB]