Skip to content

vicharak-in/zig-rga

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zig-rga

Zig bindings for Rockchip RGA tested on RK3588 SOC.

Bindings were generated using zig translate-c, but several RGA macro based APIs needs to be translated manually because currently zig translate-c does not support macro conversion. See examples/crop.zig for a demo example.

Requirements

  • Language versin Zig 0.15.1.
  • Install librga

Building an example

zig build example-crop
# convert output.bin to png using ffmpeg
ffmpeg -f rawvideo -pix_fmt rgb24 -s 480x270 -i output.bin crop.png

Results

About

Zig bindings for Rockchip RGA(RK3588)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages