-
Notifications
You must be signed in to change notification settings - Fork 7.4k
samples: drivers: video: capture: Add format config #77879
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
Merged
aescolar
merged 4 commits into
zephyrproject-rtos:main
from
LucasTambor:sample/video_capture
Oct 1, 2024
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
7be206e
samples: drivers: video: capture: Add format config
LucasTambor fee360f
drivers: video: esp32: Fix unused variables
LucasTambor 528bc48
boards: espressif: esp32s3 eye: add video feature
LucasTambor 502d63e
samples: drivers: video: capture: Add ESP32S3-EYE support
LucasTambor File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,7 @@ supported: | |
- pwm | ||
- dma | ||
- input | ||
- video | ||
testing: | ||
ignore_tags: | ||
- net | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Copyright (c) 2024 Espressif Systems (Shanghai) Co., Ltd. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
mainmenu "Video capture sample application" | ||
|
||
menu "Video capture configuration" | ||
|
||
config VIDEO_FRAME_HEIGHT | ||
int "Height of the video frame" | ||
default 0 | ||
help | ||
Height of the video frame. If set to 0, the default height is used. | ||
|
||
config VIDEO_FRAME_WIDTH | ||
int "Width of the video frame" | ||
default 0 | ||
help | ||
Width of the video frame. If set to 0, the default width is used. | ||
|
||
config VIDEO_PIXEL_FORMAT | ||
string "Pixel format of the video frame" | ||
help | ||
Pixel format of the video frame. If not set, the default pixel format is used. | ||
|
||
endmenu | ||
|
||
source "Kconfig.zephyr" |
11 changes: 11 additions & 0 deletions
11
samples/drivers/video/capture/boards/esp32s3_eye_procpu.conf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
CONFIG_VIDEO_BUFFER_POOL_SZ_MAX=40000 | ||
CONFIG_VIDEO_BUFFER_POOL_NUM_MAX=3 | ||
CONFIG_ESP_SPIRAM=y | ||
CONFIG_SPIRAM_MODE_OCT=y | ||
CONFIG_VIDEO_BUFFER_POOL_ALIGN=32 | ||
CONFIG_DMA_ESP32_MAX_DESCRIPTOR_NUM=64 | ||
CONFIG_VIDEO_BUFFER_USE_SHARED_MULTI_HEAP=y | ||
CONFIG_VIDEO_BUFFER_SMH_ATTRIBUTE=2 | ||
CONFIG_VIDEO_FRAME_HEIGHT=240 | ||
CONFIG_VIDEO_FRAME_WIDTH=240 | ||
CONFIG_VIDEO_PIXEL_FORMAT="RGBP" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.