Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
.github/workflows/ | 04-Jul-2025 | - | 240 | 218 | ||
common/ | 04-Jul-2025 | - | 30,344 | 29,890 | ||
decode/ | 04-Jul-2025 | - | 1,526 | 1,065 | ||
encode/ | 04-Jul-2025 | - | 20,091 | 15,532 | ||
getopt/ | 04-Jul-2025 | - | 605 | 353 | ||
putsurface/ | 04-Jul-2025 | - | 1,271 | 951 | ||
subprojects/ | 04-Jul-2025 | - | 6 | 4 | ||
test/ | 04-Jul-2025 | - | 40,840 | 26,442 | ||
vainfo/ | 04-Jul-2025 | - | 658 | 528 | ||
vendor/intel/ | 04-Jul-2025 | - | 5,172 | 4,643 | ||
videoprocess/ | 04-Jul-2025 | - | 13,751 | 10,801 | ||
Android.bp | D | 04-Jul-2025 | 3.9 KiB | 211 | 160 | |
CONTRIBUTING.md | D | 04-Jul-2025 | 2.6 KiB | 87 | 56 | |
COPYING | D | 04-Jul-2025 | 1.2 KiB | 22 | 18 | |
INSTALL | D | 04-Jul-2025 | 3.3 KiB | 105 | 75 | |
LICENSE | D | 04-Jul-2025 | 15.3 KiB | 296 | 242 | |
METADATA | D | 04-Jul-2025 | 590 | 26 | 23 | |
MODULE_LICENSE_APACHE2 | D | 04-Jul-2025 | 0 | |||
MODULE_LICENSE_BSD | D | 04-Jul-2025 | 0 | |||
MODULE_LICENSE_ISC | D | 04-Jul-2025 | 0 | |||
MODULE_LICENSE_MIT | D | 04-Jul-2025 | 0 | |||
Makefile.am | D | 04-Jul-2025 | 1.7 KiB | 50 | 20 | |
NEWS | D | 04-Jul-2025 | 7 KiB | 196 | 169 | |
OWNERS | D | 04-Jul-2025 | 123 | 3 | 2 | |
README.md | D | 04-Jul-2025 | 3.3 KiB | 77 | 63 | |
autogen.sh | D | 04-Jul-2025 | 1.7 KiB | 52 | 21 | |
configure.ac | D | 04-Jul-2025 | 8.1 KiB | 245 | 207 | |
meson.build | D | 04-Jul-2025 | 3.2 KiB | 133 | 117 | |
meson_options.txt | D | 04-Jul-2025 | 489 | 20 | 19 | |
security.md | D | 04-Jul-2025 | 405 | 5 | 4 | |
style_unify | D | 04-Jul-2025 | 176 | 11 | 6 |
README.md
1[](http://waffle.io/intel/libva-utils) 2[](https://travis-ci.org/intel/libva-utils) 3[](https://scan.coverity.com/projects/intel-libva-utils) 4 5# Libva-utils Project 6 7libva-utils is a collection of utilities and examples to exercise VA-API in accordance with the libva project. --enable-tests (default = no) provides a suite of unit-tests based on Google Test Framework. A driver implementation is necessary to properly operate. 8 9VA-API is an open-source library and API specification, which provides access to graphics hardware acceleration capabilities 10for video processing. It consists of a main library and driver-specific acceleration backends for each supported hardware vendor. 11 12If you would like to contribute to libva, check our [Contributing guide](https://github.com/intel/libva-utils/blob/master/CONTRIBUTING.md). 13 14We also recommend taking a look at the ['janitorial' bugs](https://github.com/intel/libva-utils/issues?q=is%3Aopen+is%3Aissue+label%3AJanitorial) in our list of open issues as these bugs can be solved without an extensive knowledge of libva-utils. 15 16We would love to help you start contributing! 17 18The libva-utils development team can be reached via github issues. 19 20# Build and Install Libva-utils 21 22### Install Libva 23You could refer to https://github.com/intel/libva to install Libva 24 25### Build Libva-utils 26Take latest libva-utils version: 27``` 28git clone https://github.com/intel/libva-utils.git 29cd libva-utils 30``` 31 32Build libva-utils by autogen. You could add ```--enable-tests``` to run unit test 33``` 34./autogen.sh or ./autogen.sh --enable-tests 35make 36sudo make install 37``` 38 39or build using Meson 40``` 41mkdir build 42cd build 43meson .. or meson .. -Denable-tests 44ninja 45sudo ninja install 46``` 47 48 49### Validate your environment 50You could run ```vainfo``` to check your media stack environment is correct or not as below. 51``` 52sys@KBL:~/github/libva-utils$ vainfo 53Trying display: drm 54libva info: VA-API version 1.14.0 55libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so 56libva info: Found init function __vaDriverInit_1_14 57libva info: va_openDriver() returns 0 58vainfo: VA-API version: 1.18 (libva 2.18.0.pre1) 59vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 22.3.1 () 60vainfo: Supported profile and entrypoints 61 VAProfileMPEG2Simple : VAEntrypointVLD 62 VAProfileMPEG2Main : VAEntrypointVLD 63 VAProfileH264Main : VAEntrypointVLD 64 VAProfileH264Main : VAEntrypointEncSliceLP 65 VAProfileH264High : VAEntrypointVLD 66 VAProfileH264High : VAEntrypointEncSliceLP 67 VAProfileJPEGBaseline : VAEntrypointVLD 68 VAProfileJPEGBaseline : VAEntrypointEncPicture 69 VAProfileH264ConstrainedBaseline: VAEntrypointVLD 70 VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP 71 VAProfileVP8Version0_3 : VAEntrypointVLD 72 VAProfileHEVCMain : VAEntrypointVLD 73 VAProfileHEVCMain10 : VAEntrypointVLD 74 VAProfileVP9Profile0 : VAEntrypointVLD 75 VAProfileVP9Profile2 : VAEntrypointVLD 76 ... 77```