GithubHelp home page GithubHelp logo

ipu-examples's Introduction

ipu-examples

IPU example codes for i.MX5 and i.MX6 families

Cross-compiling using Yocto Project toolchain:

Install the SDK generated by Yocto Project following the training topics below:

https://community.freescale.com/docs/DOC-95122
https://community.freescale.com/docs/DOC-95225

Export the Yocto Project variable running the SDK environment setup (don't forget the "source" command) The toolchain version will change according to it's version. It's usually installed at /opt/poky/......

$ source /opt/poky/1.6+snapshot/environment-setup-cortexa9hf-vfp-neon-poky-linux-gnueabi

Now, use configure and make to build.

$ ./configure --host=arm-none-linux-gnueabi --target=<target> --prefix=<prefix>

Where:
<target>: mx5 or mx6
<prefix>: local where your i.MX rootfs is

$ make

Cross-compiling using LTIB toolchain:

To crosscompile the ipu-examples, set the environment variables:

$ export PATH=$PATH:/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/
$ export TOOLCHAIN=/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/
$ export CROSS_COMPILE=arm-none-linux-gnueabi-

Notes:

  • Usually the TOOLCHAIN is loated at /opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/
    it may vary according to the tool you have instaled on your machine

Now, use configure and make to build.

$ ./configure --host=arm-none-linux-gnueabi --target=<target> --prefix=<prefix>

Where:
<target>: mx5 or mx6
<prefix>: local where your i.MX rootfs is

$ make

Available examples:

The project has the following folders:

bin : Generated binaries
images : Pictures used by examples
mx5 : i.MX5 family examples
mx6 : i.MX6 family examples

Inside mx5 and mx6 folders, there are the following folders:

alphablending : Alpha blending usage examples
basic : Basic examples like turn on/off cursor, fill framebuffer and etc
combining : Frame combining examples
cropping : Crop image examples
csc : Color Space Conversion examples
deinterlacing : Video de-interlace examples
doc : Documentation. Details about IPU and code implementation
others : Mix of various common use cases
resizing : Resize examples
rotation : Rotation examples

ADITIONAL COMMENTS:

Not all examples were implemented so far.
If you have questions or comments, please contact me on the e-mail below.

AUTHOR:

Rogerio Pimentel
[email protected]

ipu-examples's People

Contributors

angolini avatar rogeriorps avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.