FPGA Image Signal Processor - GStreamer Pipelines - AutoWhiteBalance
FPGA Image Signal Processor |
---|
Introduction |
FPGA ISP Accelerators/Modules |
Getting the Code |
Examples |
GStreamer Pipelines |
Tested Platforms |
Contact Us |
Overview
FPGA-ISP Auto White Balance accelerator currently supports ARGB format. In this page, there are some GStreamer pipelines that you can use for testing the accelerator and tentatively, use in your application.
GStreamer Pipelines
With a videotestsrc
The videotestsrc
element is capable to deliver ARGB samples in order to test the FPGA-ISP Auto White Balance accelerator. Also, it is possible to visualize the results through a videosink, given that the output image is in ARGB format.
Source
This pipeline generates the ARGB samples and sends them to the accelerator.
gst-launch-1.0 videotestsrc ! video/x-raw,format=ARGB,width=320,height=240 ! queue ! v4l2sink device=/dev/video2 -v
Sink
This pipeline receives the ARGB stream from the accelerator and displays it into a videosink.
gst-launch-1.0 v4l2src device=/dev/video1 ! "video/x-raw, width=320, height=240,format=ARGB" ! perf ! videoconvert ! xvimagesink -v
Please, pay attention to the devices:
/dev/video1: output port device /dev/video2: input port device