ipu-examples release notes - v0.1

Document created by rogeriopimentel Employee on Jun 11, 2013
Version 1Show Document
  • View in full screen mode

Downloading and building the IPU examples


IPU examples - v0.1 are available at https://github.com/rogeriorps/ipu-examples


To download, just clone the project:

$ git clone https://github.com/rogeriorps/ipu-examples.git


Follow the README.md on the project root folder to build and install it.

Available demos


Alpha BlendingBasicCombiningCroppingColor Space ConversionDeinterlacingResizingRotation





Basic examples



Prints all information from all framebuffers. It uses only the framebuffer device /dev/fb*.


Rotation examples



Rotate an image a show on display. This example uses the ipu library instead using directly the /dev/mxc_ipu.





Alpha blending examples



This example shows how to use global alpha blending. It fills layer 1 with white color, an overlay layer with 4 color strips and varies the global alpha blending, showing on display 2 planes at the same time with different transparency rates.



This example shows how to use local alpha blending. This example uses 3 buffers:

1 - Input buffer: Used as layer 1 (background).

2 - Overlay buffer: Used as layer 2 (foreground).

3 - Alpha buffer: Used as alpha buffer, where each pixel will correspond to the transparency value between input and overlay buffers.

When running it will fill input and overlay buffers with solid colors, alpha buffer with 4 different alpha strips and will turn on and off the local alpha blending.


Color space conversion examples



This example shows how to use color space conversion. It reads 4 different formats images (RGB565, RGBA32, NV12 and YUYV422) and show them on background framebuffer on a RGB565 format.


Crop example



This example shows how to crop an image using "output crop". It fills the input buffer with a solid color and crop the output buffer. The result will be a solid block on the display.


De-interlace example



This example shows how to de-interlace a single interlaced frame. The example loads an 320x240 interlaced NV12 image and show on display turning on and off the de-interlace feature.


Resize examples



This example resizes the image freescale_1024x768.raw (1024x768 RGB565 format) to an 800x480 RGB24 format image, storing into a local file output_file.raw.


Rotation examples



This example rotates the image freescale_1024x768.raw (1024x768 RGB565 format) and displays using all rotation modes:

0 - No rotation

1 - Vertical flip

2 - Horizontal flip

3 - 180 degrees

4 - 90 degrees right

5 - 90 degrees right with vertical flip

6 - 90 degrees right with horizontal flip

7 - 90 degrees left



Known issues

7 people found this helpful