esphome
esphome copied to clipboard
User configurable frame buffer.
trafficstars
What does this implement/fix?
Allows user to specify number of frame buffers to be used by esp32_camera.
Types of changes
- [ ] Bugfix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] Other
Related issue or feature (if applicable): fixes
Pull request in esphome-docs with documentation (if applicable): esphome/esphome-docs#4198
Test Environment
- [ ] ESP32
- [x] ESP32 IDF
- [ ] ESP8266
- [ ] RP2040
- [ ] BK72xx
- [ ] RTL87xx
Example entry for config.yaml:
# Example config.yaml
esp32_camera:
...
frame_buffer_count: 2
Checklist:
- [x] The code change is tested and works locally.
- [ ] Tests have been added to verify that the new code works (under
tests/folder).
If user exposed functionality or configuration variables are added/changed:
- [x] Documentation added/updated in esphome-docs.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 53.93%. Comparing base (
4d8b5ed) to head (8a5f37c). Report is 1276 commits behind head on dev.
Additional details and impacted files
@@ Coverage Diff @@
## dev #7360 +/- ##
==========================================
+ Coverage 53.70% 53.93% +0.22%
==========================================
Files 50 50
Lines 9408 9678 +270
Branches 1654 1708 +54
==========================================
+ Hits 5053 5220 +167
- Misses 4056 4134 +78
- Partials 299 324 +25
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.