FPGA Image Signal Processor - GStreamer Pipelines - AutoWhiteBalance

From RidgeRun Developer Connection
Jump to: navigation, search


Previous: GStreamer_Pipelines/Debayer Index Next: GStreamer_Pipelines/ColorSpaceConversion




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


Previous: GStreamer_Pipelines/Debayer Index Next: GStreamer_Pipelines/ColorSpaceConversion