183
edits
No edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
Here we illustrate a simple example that involves all the basic algorithms. This example takes a raw BAYER10 image, converts it to a BAYER8 image, then converts it to a RGB image, then applies automatic white balancing on the image, then converts it to I420 format. A simple process of this type might be used to encode camera information into a video file or a network stream. | Here we illustrate a simple example that involves all the basic algorithms. This example takes a raw BAYER10 image, converts it to a BAYER8 image, then converts it to a RGB image, then applies automatic white balancing on the image, then converts it to I420 format. A simple process of this type might be used to encode camera information into a video file or a network stream. | ||
[[ File:Api usage example 2.jpeg ]] | |||
We first create a backend object. The backend object provides factories to create algorithms and buffers. We specify CUDA as the desired backend type. | We first create a backend object. The backend object provides factories to create algorithms and buffers. We specify CUDA as the desired backend type. |
edits