Add new webcam driver over latest dev. (#19280)

* Add new webcam driver over latest dev. To use the old one, define USE_WEBCAM_LAGACY

* enable build without RTSP.
check pin_pwdn before using it n 0x105!!!

* more fixes around pwdn.  Make wcresolution -1 set the resoltuion setting to 'disbale cam' value (15).

* fix task stop - wait for debug to leave-> prevents guru. pin task to core 0.

* split motion from other code.  Add USE_WEBCAM_MOTION to control inclusion of motion code (big hit). Change from using USE_WEBCAM_LEGACY to USE_WEBCAM_V2

* logging minimisation - behind WEBCAM_DEV_DEBUG
This commit is contained in:
btsimonh 2023-08-22 07:24:05 +01:00 committed by GitHub
parent dc68232f42
commit c9b5e5ab1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4294 additions and 0 deletions

View File

@ -19,6 +19,9 @@
#ifdef ESP32
#ifdef USE_WEBCAM
// defining USE_WEBCAM_V2 will use xdrv_81_esp32_webcam_task.ino instead.
#ifndef USE_WEBCAM_V2
/*********************************************************************************************\
* ESP32 webcam based on example in Arduino-ESP32 library
*
@ -1531,5 +1534,6 @@ bool Xdrv81(uint32_t function) {
return result;
}
#endif // USE_WEBCAM_LEGACY
#endif // USE_WEBCAM
#endif // ESP32

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff