Tutorial: Camera Video Stream Processing with RenderScript*

Download Code SampleDownload Documentation

Features / Description

The Camera Video Stream Processing tutorial demonstrates basic approach to processing video stream from a camera with help of the Google RenderScript*. Specifically, the tutorial uses "preview" feature of the Android camera interface, which relies on the RenderScript to convert YUV data from the camera to RGB. The code sample also uses RenderScript to accelerate the data post-processing: a popular “Old Movie” video effect is implemented as a RenderScript kernel. Finally, the sample uses the copy-free way of displaying the resulting image on the screen.

Supported Devices: CPU, Intel® Processor Graphics
Supported OS: Android* 4.3 and higher
Complexity Level: Novice

For more information about the sample refer to the sample documentation inside the package.

* OpenCL and the OpenCL logo are trademarks of Apple Inc. used by permission by Khronos.

For more complete information about compiler optimizations, see our Optimization Notice.