opencv/modules/videoio
Rüdiger Ihle a6f72f813d
Merge pull request #26698 from warped-rudi:mediandk2
AndroidMediaNdkVideoWriter pixel format enhancement #26698

* videoio(Android): Add source pixel formats RGBA and GRAY to AndroidMediaNdkVideoWriter

Let AndroidMediaNdkVideoWriter::write() deduce source pixel format from matrix type:

CV_8UC3 -> BGR   (as before)
CV_8UC4 -> RGBA  (use in conjunction with CvCameraViewFrame)
CV_8UC1 -> GRAY

* samples/android/video-recorder: Send images to VideoWriter in RGBA format

### Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [x ] The PR is proposed to the proper branch
- [ ] There is a reference to the original bug report and related work
- [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
      Patch to opencv_extra has the same branch name.
- [ ] The feature is well documented and sample code can be built with the project CMake
2025-01-03 17:53:00 +03:00
..
cmake Fix path to 3rdparty cmake. 2024-08-02 10:07:36 +02:00
doc Merge pull request #25042 from mshabunin:doc-upgrade 2024-03-05 16:19:45 +03:00
include/opencv2 Merge pull request #25584 from dkurt:videocapture_from_buffer 2024-12-26 12:48:49 +03:00
misc Merge pull request #25584 from dkurt:videocapture_from_buffer 2024-12-26 12:48:49 +03:00
perf Merge pull request #15100 from Volskig:cam_multiplexing_function_v 2019-11-15 19:42:12 +03:00
src Merge pull request #26698 from warped-rudi:mediandk2 2025-01-03 17:53:00 +03:00
test videoio(test): re-enable FFmpeg tests on WIN32 2024-12-26 12:29:45 +00:00
CMakeLists.txt Exclude cap_ios.h from installation where it's not needed. 2024-06-28 14:11:25 +03:00