mirror of
https://github.com/opencv/opencv.git
synced 2024-12-03 00:10:21 +08:00
7bdc618697
❗ Potential conflicts with #25958 C-API cleanup: highgui, videoio #26025 ❗ Merge with: opencv/opencv_contrib#3780 This PR removes usage of C-API from highgui and videoio modules. Only source code is affected, tests were not using obsolete API. It should be possible to backport these changes to 4.x branch preserving removed public headers and source files (`*_c.h` and `*_c.cpp`). #### Checklist I tried to verify as many backends as possible, though these checks were not as thorough as I'd like them to be. Below is the checklist covering all modified backends with their statuses. > 🔹 - small changes > 🟢 - consider working > ⚪ - considered untested ##### highgui Pass | Backend | Local check | CI check -----|---------|-------------|--------- 🟢 | GTK2 | build + test, plugin build | build + test ❔ 🟢 | GTK3 | build + test, plugin build | build + test 🟢 | QT | build + test, plugin build | ⚪ | Wayland 🔹 | | 🟢 | WIN32 🔹 | | build + test 🟢 | Cocoa 🔹 | | build + test ⚪ | WinRT | | ##### videoio Pass | Backend | Local check | CI check -----|---------|-------------|--------- 🟢 | Android Camera/MediaNDK 🔹 | | build 🟢 | Aravis | build | 🟢 | AVFoundation OSX | | build + test ⚪ | AVFoundation iOS | | build 🟢 | DC1394 | build | 🟢 | DShow 🔹 | | build 🟢 | FFMpeg | build, plugin build | build + test 🟢 | GPhoto 🔹 | build | 🟢 | GStreamer | build, plugin build | build + test 🟢 | Images | build | build + test 🟢 | MSMF 🔹 | | build + test 🟢 | OpenNI | build | 🟢 | PVAPI | build | 🟢 | V4L | build + test | build 🟢 | XIMEA | build | 🟢 | XINE 🔹 | build | #### Notes - local linux build checks performed using [this framework](https://github.com/mshabunin/opencv-videoio-build-check) - minor extra changes made in both `cap_avfoundation*.mm` to make them slightly more synchronized - it would be better to combine them into a single one in the future - configurations with plugins have been build but not tested - **moved unrelated changes to separate PRs** ~two issues have been fixed in separate commits:~ - ~imgproc: missing `cv::hal::` color conversion functions has been used in MediaSDK backend~ - ~videoio/V4L: wrong color conversion mode caused bad colors for NV12 camera input format (RGB instead of BGR)~ It would be nice to check following functionality manually: - [ ] OSX: camera input - [ ] iOS: camera and file input - [ ] WinRT: build, some testing - [x] Linux/Wayland: build
25 lines
527 B
JSON
25 lines
527 B
JSON
{
|
|
"const_ignore_list": [
|
|
"CV_CAP_OPENNI2",
|
|
"CV_CAP_INTELPERC",
|
|
"CV_CAP_ANY",
|
|
"CV_CAP_MIL",
|
|
"CV_CAP_V4L",
|
|
"CV_CAP_V4L2",
|
|
"CV_CAP_FIREWARE",
|
|
"CV_CAP_FIREWIRE",
|
|
"CV_CAP_IEEE1394",
|
|
"CV_CAP_DC1394",
|
|
"CV_CAP_CMU1394",
|
|
"CV_CAP_STEREO",
|
|
"CV_CAP_TYZX",
|
|
"CV_CAP_DSHOW",
|
|
"CV_CAP_PVAPI",
|
|
"CV_CAP_ARAVIS",
|
|
"CV_TYZX_LEFT",
|
|
"CV_TYZX_RIGHT",
|
|
"CV_TYZX_COLOR",
|
|
"CV_TYZX_Z"
|
|
]
|
|
}
|