-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
samples: drivers: video: capture: Add format config
Add video format Kconfig for proper sample configuration. Signed-off-by: Lucas Tamborrino <[email protected]>
- Loading branch information
1 parent
ca09a4b
commit c39d83f
Showing
2 changed files
with
49 additions
and
7 deletions.
There are no files selected for viewing
This file contains 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_FORMAT_HEIGHT | ||
int "Height of the video format" | ||
default 0 | ||
help | ||
Height of the video format. If set to 0, the default height is used. | ||
|
||
config VIDEO_FORMAT_WIDTH | ||
int "Width of the video format" | ||
default 0 | ||
help | ||
Width of the video format. If set to 0, the default width is used. | ||
|
||
config VIDEO_PIXEL_FORMAT | ||
string "Pixel format of the video format" | ||
help | ||
Pixel format of the video format. If not set, the default pixel format is used. | ||
|
||
endmenu | ||
|
||
source "Kconfig.zephyr" |
This file contains 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