Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

master: Cannot build if CONFIG_ESP_VIDEO_ENABLE_ISP is disabled. (AEGHB-799) #5

Closed
jitenshap opened this issue Sep 4, 2024 · 2 comments

Comments

@jitenshap
Copy link

Hello,

I have high expectations for the ISP support in this project. I recently cloned the latest master branch and integrated it into my project. I enabled the "Enable ISP based Video Device" option (CONFIG_ESP_ENABLE_ISP) and attempted to build my project.

However, the call to
int fc = open("/dev/video0", O_RDONLY);
which was successful with the release version distributed via the Component Manager, now fails.

I haven't investigated the issue in detail yet, but when I disabled the "Enable ISP based Video Device" option and rebuilt the project, the build failed. The error messages suggest that the ISP-related code added to esp_video_csi_device.c is not excluded by the #define statement, resulting in errors such as "implicit declaration of function 'esp_video_isp_enum_format'."

While I am concerned that the device cannot be opened when the "Enable ISP based Video Device" option is enabled, my immediate request is to ensure that the project can be built successfully when this option is disabled.

Thank you for your attention to this issue.

Best regards,

@github-actions github-actions bot changed the title master: Cannot build if CONFIG_ESP_ENABLE_ISP is disabled. master: Cannot build if CONFIG_ESP_ENABLE_ISP is disabled. (AEGHB-799) Sep 4, 2024
@donghengqaz
Copy link
Contributor

Hi @jitenshap thanks for your feedback, the basic ISP feature is ready recently. Please open the option "Enable ISP based Video Device" although you use integrates ISP, the ISP video device will pass P4's ISP and directly output sensor's pixel data.

@jitenshap jitenshap changed the title master: Cannot build if CONFIG_ESP_ENABLE_ISP is disabled. (AEGHB-799) master: Cannot build if CONFIG_ESP_VIDEO_ENABLE_ISP is disabled. (AEGHB-799) Sep 5, 2024
@jitenshap
Copy link
Author

Thank you for your reply.
The config I wrote was incorrect. instead of CONFIG_ESP_ENABLE_ISP
CONFIG_ESP_VIDEO_ENABLE_ISP.

I understood that in principle CONFIG_ESP_VIDEO_ENABLE_ISP should be enabled.
I look forward to you adding examples for the component that include ioctl to configure new ISP features.
Currently I'm looking at the greenish sensor raw data.

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants