mirror of
https://github.com/opencv/opencv.git
synced 2024-12-11 22:59:16 +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 |
||
---|---|---|
.. | ||
example_cmake | ||
snippets | ||
tutorial_code | ||
3calibration.cpp | ||
application_trace.cpp | ||
aruco_dict_utils.cpp | ||
asift.cpp | ||
audio_spectrogram.cpp | ||
barcode.cpp | ||
bgfg_segm.cpp | ||
calibration.cpp | ||
CMakeLists.txt | ||
connected_components.cpp | ||
cout_mat.cpp | ||
delaunay2.cpp | ||
demhist.cpp | ||
detect_mser.cpp | ||
digits_lenet.cpp | ||
drawing.cpp | ||
essential_mat_reconstr.cpp | ||
fback.cpp | ||
filestorage.cpp | ||
flann_search_dataset.cpp | ||
floodfill.cpp | ||
geometry.cpp | ||
grabcut.cpp | ||
image_alignment.cpp | ||
imagelist_creator.cpp | ||
intelligent_scissors.cpp | ||
lkdemo.cpp | ||
morphology2.cpp | ||
multiview_calibration_sample.cpp | ||
npr_demo.cpp | ||
opencv_version.cpp | ||
pca.cpp | ||
qrcode.cpp | ||
select3dobj.cpp | ||
simd_basic.cpp | ||
stereo_calib.cpp | ||
stereo_match.cpp | ||
stitching_detailed.cpp | ||
videocapture_audio_combination.cpp | ||
videocapture_audio.cpp | ||
videocapture_basic.cpp | ||
videocapture_camera.cpp | ||
videocapture_depth.cpp | ||
videocapture_gphoto2_autofocus.cpp | ||
videocapture_gstreamer_pipeline.cpp | ||
videocapture_image_sequence.cpp | ||
videocapture_microphone.cpp | ||
videocapture_starter.cpp | ||
videowriter_basic.cpp |