Commit Graph

304 Commits

Author SHA1 Message Date
Sean Pollock 8fb8d65764 Add webcam close to linux camera discover (#568)
Add webcam close to linux discover
2024-04-30 10:14:26 -04:00
qiulin ae63fa65bf Remove Windows camera cpp inline function (#569)
Co-authored-by: Qiulin Li <liqiulin@outlook.com>
2024-04-29 09:54:45 -04:00
sean yu a9046e6ac1 Add fix that strips unexpected padding for NV12 frames (#556) 2024-03-01 12:23:05 -05:00
Eric Daniels 2bc011f39f Update malgo to v0.11.21 for a macOS microphone fix (#551) 2024-01-24 09:48:40 -05:00
hexbabe 09b497727d Removed 'unreachable' else initialization and replaced with error indicating a wtf 2023-10-31 14:48:49 -04:00
hexbabe 7ae82fbda7 Remove old unnecessary macro 2023-10-31 14:48:49 -04:00
hexbabe 4477898296 Use new macro and also use @ available 2023-10-31 14:48:49 -04:00
hexbabe d5d41e9ca5 Switch to what I think is the correct preprocessor method 2023-10-31 14:48:49 -04:00
hexbabe 9fb24fb036 Use identifier conditional compilation (hackier) but might work and is still decently readable 2023-10-31 14:48:49 -04:00
hexbabe 1cd1b136cc This @available compile time directive really should work... confused 2023-10-31 14:48:49 -04:00
hexbabe 08fb3e8a48 Change code conditional to conditional compilation directive to avoid CI failure 2023-10-31 14:48:49 -04:00
hexbabe 4aae1bc842 Add conditional to choose types based on pre vs. post sonoma update 2023-10-31 14:48:49 -04:00
seanavery 3c9fee958e Add manager clearing mechanism 2023-10-17 16:41:33 -04:00
Valentin Cocaud 2882fd42d5 use thread safe atomic bool 2023-09-20 15:46:33 -04:00
Valentin Cocaud 694b4abd83 fix ForceKeyFrame signature for VP8 2023-09-20 15:46:33 -04:00
Valentin Cocaud afb2f78e3c force key frame implementation for vaapi 2023-09-20 15:46:33 -04:00
seanavery 03c44ee803 Remove extra comment 2023-07-24 12:07:38 -04:00
seanavery dad145ef11 Add props even if framerate is not supported 2023-07-24 12:07:38 -04:00
Atsushi Watanabe 72c1d7bb89 Fix invalid memory access in ScalerFastBoxSampling (#513)
[src-px]->[dst-px] of 4x1px to 2x1px scaling was
  0->0, 1->1, 2->1, 3->2(out of bounds)
Fix it to be
  0->0, 1->0, 2->1, 3->1
2023-07-05 12:01:40 +09:00
aljanabim 09f6bdeac4 Added Name in driver.Info to Microphone driver 2023-06-12 11:41:34 +09:00
Ryan Boring e64f0d8697 Replace YUY2 with YUYV for Mac 2023-06-05 12:37:57 -04:00
Ryan Boring 36f908c6e2 Fix stale links 2023-06-05 12:37:57 -04:00
Ryan Boring 9987e01d3f Add YUYV to supported video formats 2023-06-05 12:37:57 -04:00
seanavery 138499b52d Support fps props for linux cams 2023-05-16 14:25:02 -04:00
Clyde Bazile cadb155755 update test 2023-04-24 11:14:58 -04:00
Clyde Bazile 2372f55064 comments: var block + interface-less error 2023-04-24 11:14:58 -04:00
Clyde Bazile 8568b1b20d do not change other classes 2023-04-24 11:14:58 -04:00
Steffen Vogel dffaf0fcb4 Harmonize RFC section and links 2023-04-18 12:12:53 +02:00
Kim Mishra 52a080b55a add link to comment 2023-04-17 23:51:01 -04:00
Kim Mishra c2fe66c579 t.Errorf -> t.Fatalf 2023-04-17 23:51:01 -04:00
Kim Mishra ac50077e77 addressing PR reviews 2023-04-17 23:51:01 -04:00
kim-mishra 2f5c61e1f3 Update compressed.go 2023-04-17 23:51:01 -04:00
Kim Mishra 0715258726 check if error is format error 2023-04-17 23:51:01 -04:00
Kim Mishra bccff100e5 addressing PR reviews 2023-04-17 23:51:01 -04:00
Kim Mishra 0507093a59 check if huffman table error occurred, and if so add in necessary data 2023-04-17 23:51:01 -04:00
Abdarrakhman Akhmetgali bf290b026c fix i422ToI420 calculation, add mock FastBoxSampling 2023-04-15 08:19:04 -04:00
Abdarrakhman Akhmetgali 0dc4f43c94 fix cLen in nocgo implementation of i444Toi420 2023-04-15 08:19:04 -04:00
Clyde Bazile 14bfaa5dbd Update pkg/driver/camera/camera_linux.go
Co-authored-by: Eric Daniels <eric@erdaniels.com>
2023-04-12 14:07:14 -04:00
Clyde Bazile 09c31a264c expose device name and bus info 2023-04-12 14:07:14 -04:00
martha-johnston dc8aeea11f remove name from linux driver info 2023-03-31 16:54:09 -04:00
martha-johnston 57c9ba0fc5 reveal Name var for driver.info 2023-03-31 16:54:09 -04:00
Clyde Bazile b9ce5bb861 change buffer size to 2 (#482) 2023-03-29 17:42:58 -04:00
Clyde Bazile e4ac96ea6b Handle race conditions + add test for Manager.Register (#485) 2023-03-27 10:13:23 +09:00
martha-johnston 55881ddd41 When finding cameras on linux systems, look at camera ID before path or video* (#476) 2023-03-07 15:58:22 -05:00
Clyde Bazile 62009a882b discard buffered frames for < 1fps (#470) 2023-03-06 16:52:59 -05:00
Abdarrakhman Akhmetgali dbd37689e4 Optimize ToI420 conversion by using sync.Pool (#473)
Added sync.Pool to the i420 conversion to minimize overhead of creating new byte slices
2023-03-06 15:53:44 -05:00
Clyde Bazile 85597da5bb Expose device list update func (#463) 2023-01-14 09:02:46 +09:00
Eric Daniels cb23f1fa82 upgrade malgo to v0.11.10 (#455) 2022-12-05 16:19:47 -05:00
代码人生 7335797301 Fix for having multiple cameras in Windows (#443) 2022-09-21 18:43:59 +08:00
Eric Daniels 3bec69bbf8 Utilize audio property latency in microphone AudioRecord (#439) 2022-08-24 07:56:55 -04:00