Commit Graph

148 Commits

Author SHA1 Message Date
l1npengtul 02e91fa951 Add controls support for AVFoundation 2022-10-03 07:31:31 -07:00
l1npengtul ee3056d1ec fix glaring API flaw with RequestedFormat, add control detection for AVFoundation 2022-10-02 05:55:05 -07:00
l1npengtul 7c274634f4 finished AVFoundation base update, prepare for CameraControl update 2022-09-29 09:21:29 -07:00
l1npengtul 642834cb79 No Errors! 2022-09-28 10:44:35 -07:00
l1npengtul 56dee21591 work for this week 2022-09-25 05:27:13 -07:00
l1npengtul 51e58e163d use boxptr and get rid of statics 2022-09-15 11:41:41 -07:00
l1npengtul c090601599 in progress avfoundation update 2022-09-13 08:41:03 -07:00
l1npengtul 29613111da fix more of the project 2022-09-05 00:01:27 +09:00
l1npengtul 5ad4b508e1 refactor types and traits into core, fix windows implementation 2022-09-03 01:51:46 -07:00
l1npengtul c913e92963 start refactoring out into core 2022-08-18 07:54:13 -07:00
l1npengtul b3d286e45c finalized public API. v4l2 and opencv implementation 2022-08-06 17:30:15 +09:00
l1npengtul 207b72d8d9 add besteffort, prepare for another api change 2022-07-29 02:54:39 +09:00
l1npengtul 7d7c6068d3 fix broken intra-doc links 2022-07-27 01:06:29 +09:00
l1npengtul 8709977181 RC version of public API 2022-07-27 00:59:32 +09:00
l1npengtul a38f377f57 start wrapping up public api of 0.10 2022-07-26 01:09:31 +09:00
l1npengtul d248f2cbdc revamp buffer, remove raw APIs, change cached relations 2022-07-25 00:59:32 +09:00
l1npengtul e1e0e35bf1 Re-add UVC and GST as availible query backends, but with a deprecation flag. Add dbg! to address issue #50 2022-07-23 19:58:55 +09:00
l1npengtul fc990dd4df intermidiate commit because this thing won't stop indexing 2022-07-23 19:47:09 +09:00
l1npengtul 1593f8d52c AVFoundation FPS setting rework #45, #46 2022-06-23 10:34:33 +09:00
l1npengtul f3fb70d7f5 adjust copyright notices 2022-06-22 18:26:35 +09:00
l1npengtul 4cc71ef378 camera trait adjustments 2022-06-22 18:24:22 +09:00
l1npengtul 1e31c962b8 adjust cargo toml, address #45 api changes, address #37, #31 (v4l2 only) 2022-06-19 22:18:42 +09:00
l1npengtul fb57e9b061 import adjustments 2022-05-22 20:02:37 +09:00
l1npengtul a9bb90520f Merge remote-tracking branch 'origin/0.10' into 0.10
# Conflicts:
#	src/utils.rs
2022-05-22 19:01:34 +09:00
l1npengtul cea3de73a2 use enum dispatch, manually implement PR #38, update camera trait, camera, and backends (todo), update camera controls (todo), add buffer to support other types of image e.g. GRAY 2022-05-22 19:00:58 +09:00
l1npengtul d148dc208a buffer impl, fixes for some tings, etc 2022-05-22 19:00:56 +09:00
l1npengtul 78eb1fb7bb 0.10 preliminary work 2022-05-22 19:00:55 +09:00
l1npengtul 14c1c53b4f Deprecate GST and UVC. They are a pain to work with and just abandoned. If anyone wants to pick up the maintanence slack, feel free to do so. 2022-05-22 19:00:51 +09:00
l1npengtul f22decb1f1 Cherry Pick No-Copy Fixes 2022-05-22 19:00:51 +09:00
l1npengtul cbe3be667f fix mediafoundation warning 2022-05-22 19:00:49 +09:00
l1npengtul c198822f1b add utility function for available camera formats 2022-05-22 19:00:48 +09:00
l1npengtul b305b2f049 0.3.4MSMF/0.9.2Nokhwa - MediaFoundationFix 2022-05-22 19:00:45 +09:00
l1npengtul bf6301b8cb use enum dispatch, manually implement PR #38, update camera trait, camera, and backends (todo), update camera controls (todo), add buffer to support other types of image e.g. GRAY 2022-05-22 18:54:28 +09:00
alexdevteam e81b4c3f20 Remove Sync restriction from CallbackCamera 2022-05-21 18:26:33 +02:00
l1npengtul 090c2bf764 buffer impl, fixes for some tings, etc 2022-05-12 02:29:30 +09:00
Starccy 878ee012ed preallocated elements in buffer 2022-05-11 21:18:09 +09:00
Starccy d2ddcc2546 preallocated elements in buffer 2022-05-11 13:49:05 +08:00
l1npengtul a663010bb3 0.10 preliminary work 2022-05-07 03:23:54 +09:00
l1npengtul b6bd05eb1d Deprecate GST and UVC. They are a pain to work with and just abandoned. If anyone wants to pick up the maintanence slack, feel free to do so. 2022-02-14 18:45:27 +09:00
l1npengtul 07f0ebf20d Cherry Pick No-Copy Fixes 2022-02-14 18:38:25 +09:00
l1npengtul 043d326583 Merge pull request #27 from OtaK/otak/buff-buffers
Fixed in-buffer frame decoding
2022-02-14 18:16:30 +09:00
Mathieu Amiot c71dd669ce Fixed in-buffer frame decoding + code cleanups 2022-01-28 21:45:19 +01:00
Stefan 2dabcb84d2 Add boxed callback for CallbackCamera
Current code can only handle a function as callback. Make it more
flexible by accepting a Box<dyn FnMut()> thus one can also use a closure
as callback.

Feature implemented backwards-compatible, no change of existing code
necessary.
2022-01-26 16:15:31 +01:00
Stefan ade641149b Remove not necessary lifetime specifiers 2022-01-26 16:09:57 +01:00
l1npengtul 7675a5147b fix mediafoundation warning 2021-12-18 00:41:48 +09:00
l1npengtul b6eae4a37a add utility function for available camera formats 2021-12-17 19:30:22 +09:00
l1npengtul 0b44046525 0.3.4MSMF/0.9.2Nokhwa - MediaFoundationFix 2021-12-16 00:14:37 +09:00
l1npengtul 7f4e520981 Revert "0.9.2 - Merge Media Foundation back into main dev branch" 2021-12-15 23:52:08 +09:00
l1npengtul fa35187687 Merge branch 0.9.2 into senpai 2021-12-15 21:42:39 +09:00
l1npengtul 7ac349c889 fix media foundation format setting 2021-12-15 21:25:06 +09:00