-
Notifications
You must be signed in to change notification settings - Fork 7.2k
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
drivers: video: sw_isp: software-based image processing #87007
Open
josuah
wants to merge
5
commits into
zephyrproject-rtos:main
Choose a base branch
from
tinyvision-ai-inc:pr-video-sw-isp
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+3,309
−0
Conversation
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 was referenced Mar 12, 2025
force-push:
I would like to add unit tests by rebasing this on top of #85968 to provide the input test data. |
The "pixel" library aims facilitating the implementation of all image processing tasks, such as pixel conversion, with a focus on low-resource environments. The processing functions scale down to per-pixel "kernels" to line-based conversion to full streams of several frames. Signed-off-by: Josuah Demangeon <me@josuah.net>
The newly introduced lib/pixel features utilities that help composing video pipelines together for the purpose of stream processing, as well as debug utilities. Signed-off-by: Josuah Demangeon <me@josuah.net>
This is a temporary test for CI only. Signed-off-by: Josuah Demangeon <me@josuah.net>
This introduces the RGB 24-bit format as defined in the Linux header <include/uapi/linux/videodev2.h>, including the bits-per-pixel size definition. Signed-off-by: Josuah Demangeon <me@josuah.net>
This adds a driver that converts video frames submitted into a different format, which supports bayer (RGGB8, BGGR8, GRBG8, GBRG8), RGB24, RGB565, YUYV input format and can convert them to RGB24 RGB565, and YUYV. Setting the video input and output formats will control the format conversion done by this software device. Signed-off-by: Josuah Demangeon <me@josuah.net>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area: Drivers
area: Samples
Samples
area: Video
Video subsystem
In progress
For PRs: is work in progress and should not be merged yet. For issues: Is being worked on
RFC
Request For Comments: want input from the community
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.
Dependency:
The new
lib/pixel
introduced above allows processing of image data using software and SIMD.Wrap it into a
struct video_api
to implement a software-based ISP.Q: Why a hardware API on top of an existing software API?
A: Being able to abstract away whether it is software or hardware implementing the image processing, allowing software built on top to use the exact same API.
The devicetree is not involved at all, only Kconfig, exactly like
VIDEO_SW_GENERATOR
.