Code Monkey home page Code Monkey logo

hi_osd's Introduction

hi_osd

Used to create additional VPSS regions and overlay bitmap content over them

Just a PoC/Demo! SDL-1.2 is statically linked, thus increasing binary size drastically

Tested on XiongMai-based hardware

Building

Only Hi3516CV300 and Hi3516EV200 families are supported.

Requires arm-himix100-linux toolchain.

mkdir -p build && cd build && rm -rf *

cmake -DCROSS_COMPILE=arm-himix100-linux- ..

make clean && make

Usage

Requirements:

Place any TTF font named font.ttf in the executable dir

Command line arguments

       [-n channel]   (0 - main, 1 - extra)  
       [-h handle]    (use to add multiple regions; 0,1,8,9,16,17 - are reserved!)  
       [-c command]   (text2osd,logo2osd,loop2osd) 
       [-t value]     (text,path,etc) 
       [-x X]         (X-coordinate) 
       [-y Y]         (Y-coordinate) 
       [-s N]         (font size, optional) 

Examples

./hi_osd -n 0 -h 5 -c text2osd -t TEST -x 1320 -y 980 -s 46

./hi_osd -n 0 -h 5 -c logo2osd -t ./logo.bmp -x 980 -y 720 -s 46

./hi_osd -n 0 -h 5 -c loop2osd -x 1320 -y 980 -s 46

hi_osd's People

Contributors

dimerr avatar ystinia avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

joysaaaa

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.