diff --git a/source/Lib/CommonLib/NNInference.h b/source/Lib/CommonLib/NNInference.h index 3c32c40dd6a0c3073ce3177be0944c1546847498..9c3326231486a1ce4cb16027f6a391c216137e76 100644 --- a/source/Lib/CommonLib/NNInference.h +++ b/source/Lib/CommonLib/NNInference.h @@ -87,7 +87,7 @@ public: hor = inferArea.lwidth() >> 1; ver = inferArea.lheight() >> 1; } - #if NN_FIXED_POINT_IMPLEMENTATION +#if NN_FIXED_POINT_IMPLEMENTATION for (int yy = 0; yy < ver; yy++) { for (int xx = 0; xx < hor; xx++) @@ -109,7 +109,7 @@ public: } } } - #else +#else for (int yy = 0; yy < ver; yy++) { for (int xx = 0; xx < hor; xx++) @@ -131,7 +131,7 @@ public: } } } - #endif +#endif } template<typename T> static void fillInputFromConstant (Picture* pic, UnitArea inferArea, sadl::Tensor<T> &input, int c, bool luma, double scale, int shift) @@ -147,7 +147,7 @@ public: hor = inferArea.lwidth() >> 1; ver = inferArea.lheight() >> 1; } - #if NN_FIXED_POINT_IMPLEMENTATION +#if NN_FIXED_POINT_IMPLEMENTATION for (int yy = 0; yy < ver; yy++) { for (int xx = 0; xx < hor; xx++) @@ -155,7 +155,7 @@ public: input(0, yy, xx, 0) = c << shift; } } - #else +#else for (int yy = 0; yy < ver; yy++) { for (int xx = 0; xx < hor; xx++) @@ -163,7 +163,7 @@ public: input(0, yy, xx, 0) = c / scale; } } - #endif +#endif } template<typename T> static void prepareInputs (Picture* pic, UnitArea inferArea, vector<sadl::Tensor<T>> &inputs, int globalQp, int localQp, int sliceType, const std::vector<InputData> &listInputData)