-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: video: sw_generator: add hue, saturation, brightness controls
This switches from the 8-bars to the classic SMPTE color bars pattern and express the colors in HSV format, allowing to control the hue, saturation and value (brightness) of the colors. The runtime overhead is the same as the color computation is only performed This leverages the newly introduced fixed point airthmetic library. This also introduces an YUV output format, and enable the test pattern generator to be used on the devicetree. Signed-off-by: Josuah Demangeon <[email protected]>
- Loading branch information
Showing
3 changed files
with
208 additions
and
44 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
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
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,11 @@ | ||
# Copyright 2024 tinyVision.ai Inc. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
compatible: "zephyr,sw-generator" | ||
|
||
description: | | ||
Software-based video pattern generator for testing purpose. | ||
This generates an image pattern in the RAM buffer passed to it, | ||
at the specified dimension. | ||
include: base.yaml |