Tutorial: Camera Video Stream Processing with RenderScript*

Published: 05/08/2014, Last Updated: 02/12/2015

Download Code Sample Download 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.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804