• Tobias Senst's avatar
    Merge pull request #2476 from tsenst:optimize_performance_rlof · 4b632022
    Tobias Senst authored
    Rework RLOF by using HAL universal instructions
    
    * * distinguish between SSE2 and SSE 4.1 support
    * SSE2 now implements no paralellized _blendv functiona and allows to compile with SSE2 instructions
    
    * * add interface function do enable disable M-estimator framework
    * bugfix blendv functions
    
    * * make use of _mm_store and _mm_load functions in blendv_ps and blendv_epi function to fix compiler error
    
    * * implement substitute of _mm_cvtepi8_epi16 and _mm_cvtepi16_epi32 when compiling with less than SSE 4.1 support
    
    * * implement substitute of _mm_abs_epi16 when compiling with less than SSE 3 support
    
    * * move _mm_abs_epi16 to SSE4 req.
    
    * * add HAL intrinsic functions for RLOF ICA
    * first tests are OK
    
    * * HAL intrinsic functions -> RLOF ICA is ready now
    
    * * add HAL functions for RLOF illumination model
    
    * * add HAL for PLK ILL
    
    * * add HAL functions for plk ica
    
    * * commit HAL functions for beplk ica
    
    * * add HAL functions for berlof ica
    
    * * add HAL functions for BEPLK ILL
    
    * *remove unused #ifdef
    
    * * remove white spaces and unused variables
    
    * * remove not used variables
    
    * + remove get4BitMask function which contained pure SEE instructions
    
    * * remove buffIdx which has not been used but initialized
    
    * * fix replacement of #ifdef CV_SIMD128 with #if CV_SIMD128
    * rename useMEstimator to setUseMEstimator
    
    * *remove whitespace
    
    * * remove unused variable abss
    
    * * remove unused value
    
    * * rename W_BITS1 to W_BITS since they contain same value
    4b632022
test_OF_accuracy.cpp 12.2 KB