Repository: opencv
Issue: not declared in this scope
Labels: bug,duplicate

### System Information

Kernel Architecture -> arm      
Kernel Version      -> 4.4  
gcc                 -> 4.9.4     
glibc               -> 2.19 

### Detailed description

**1.) Initaly i faced this error after adding this "-DCPU_BASELINE=NEON" its got cleared.**

```
opencv-4.9.0/modules/core/include/opencv2/core/cvdef.h: In constructor 'cv::float16_t::float16_t(float)':
opencv-4.9.0/modules/core/include/opencv2/core/cvdef.h:904:9: error: '__m128' was not declared in this scope
         __m128 v = _mm_load_ss(&x);
         ^
opencv-4.9.0/modules/core/include/opencv2/core/cvdef.h:905:52: error: 'v' was not declared in this scope
         w = (ushort)_mm_cvtsi128_si32(_mm_cvtps_ph(v, 0));
                                                    ^
opencv-4.9.0/modules/core/include/opencv2/core/cvdef.h:905:56: error: '_mm_cvtps_ph' was not declared in this scope
         w = (ushort)_mm_cvtsi128_si32(_mm_cvtps_ph(v, 0));
                                                        ^
opencv-4.9.0/modules/core/include/opencv2/core/cvdef.h:905:57: error: '_mm_cvtsi128_si32' was not declared in this scope
         w = (ushort)_mm_cvtsi128_si32(_mm_cvtps_ph(v, 0));
                                                         ^
opencv-4.9.0/modules/core/include/opencv2/core/cvdef.h: At global scope:
opencv-4.9.0/modules/core/include/opencv2/core/cvdef.h:901:30: warning: unused parameter 'x' [-Wunused-parameter]
     explicit float16_t(float x)
                              ^
opencv-4.9.0/modules/core/include/opencv2/core/cvdef.h: In member function 'cv::float16_t::operator float() const':
opencv-4.9.0/modules/core/include/opencv2/core/cvdef.h:936:58: error: '_mm_cvtsi32_si128' was not declared in this scope
         _mm_store_ss(&f, _mm_cvtph_ps(_mm_cvtsi32_si128(w)));
                                                          ^
opencv-4.9.0/modules/core/include/opencv2/core/cvdef.h:936:59: error: '_mm_cvtph_ps' was not declared in this scope
         _mm_store_ss(&f, _mm_cvtph_ps(_mm_cvtsi32_si128(w)));
                                                           ^
opencv-4.9.0/modules/core/include/opencv2/core/cvdef.h:936:60: error: '_mm_store_ss' was not declared in this scope
         _mm_store_ss(&f, _mm_cvtph_ps(_mm_cvtsi32_si128(w)));
         
 ```        
         
**2.) After i am facing this issue.**

```

in file included from opencv-4.9.0/modules/videoio/src/cap_ffmpeg.cpp:50:0:
opencv-4.9.0/modules/videoio/src/cap_ffmpeg_impl.hpp: In function 'AVCodecContext* icv_configure_video_stream_FFMPEG(AVFormatContext*, AVStream*, const AVCodec*, int, int, int, double, AVPixelFormat, int, AVCodecID)':
opencv-4.9.0/modules/videoio/src/cap_ffmpeg_impl.hpp:2336:63: error: 'av_make_q' was not declared in this scope
     st->avg_frame_rate = av_make_q(frame_rate, frame_rate_base);
                                                               ^
make[3]: *** [modules/videoio/CMakeFiles/opencv_videoio.dir/build.make:216: modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_ffmpeg.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....

```

### Steps to reproduce

Kernel Architecture -> arm      
Kernel Version      -> 4.4  
gcc                 -> 4.9.4     
glibc               -> 2.19 

### Issue submission checklist

- [X] I report the issue, it's not a question
- [ ] I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
- [X] I updated to the latest OpenCV version and the issue is still there
- [ ] There is reproducer code and related data files (videos, images, onnx, etc)