-
Notifications
You must be signed in to change notification settings - Fork 17
Description
Checklist
- Checked the issue tracker for similar issues to ensure this is not a duplicate.
- Described the feature in detail and justified the reason for the request.
- Provided specific use cases and examples.
Feature description
Include documentation about how and where the transformation from YUV420 planar to O_UYY_E_VYY packets takes place. Right now there's no clarity about how this library adjusts the buffers taken from a camera device to prepare them for the H264 P4 hardware encoder.
Use cases
This would be important for projects that use the esp_cam_sensor and esp_h264 libraries outside of esp_video (for whatever reasons)
Alternatives
The esp_image_effects is an alternative, but it only compiles under ESP IDF v5.3 for the P4 chip and esp_cam_sensor does not compile unit IDF v5.4
Additional context
I'm trying to use esp_cam_sensor and esp_h264 outside of esp_video to have more control over the buffers and allocations, as well as removing some abstraction from my application, but I need to modify the I420 buffers to feed them to the encoder and right now I'm doing so manually, but I'm sure there's a better way implemented in esp_video, I just can't seem to find it