Skip to content

cixtech/cix_vaapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CIX VAAPI Driver

How to build

mkdir build
cd build
cmake ..
make

Copy the generated libcix_va_drv_video.so to /usr/local/lib/aarch64-linux-gnu/dri/

Debug build and turn off optimization

cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS_DEBUG="-g -O0" -DCMAKE_CXX_FLAGS_DEBUG="-g -O0" ..

Log tool

Log levels

  • 0 - ERROR
  • 1 - WARNING
  • 2 - INFO
  • 3 - DEBUG

Default WARNING

Set environment variable CIX_VAAPI_LOG to change log level.

export CIX_VAAPI_LOG=3

Dump tool

Use env variables to enable and disable dump feature. Dump file name will be generated in following pattern.

  • cix-vaapi-dump-%Y%m%d-%H%M%S.yuv for frame dump;
  • cix-vaapi-dump-%Y%m%d-%H%M%S.bin for bistream dump.

Dump bitstream

export CIX_VAAPI_DUMP_BITS=1

Dump frame buffers

export CIX_VAAPI_DUMP_FRAME=1

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors