• Home
Name Date Size #Lines LOC

..--

.github/workflows/04-Jul-2025-240218

common/04-Jul-2025-30,34429,890

decode/04-Jul-2025-1,5261,065

encode/04-Jul-2025-20,09115,532

getopt/04-Jul-2025-605353

putsurface/04-Jul-2025-1,271951

subprojects/04-Jul-2025-64

test/04-Jul-2025-40,84026,442

vainfo/04-Jul-2025-658528

vendor/intel/04-Jul-2025-5,1724,643

videoprocess/04-Jul-2025-13,75110,801

Android.bpD04-Jul-20253.9 KiB211160

CONTRIBUTING.mdD04-Jul-20252.6 KiB8756

COPYINGD04-Jul-20251.2 KiB2218

INSTALLD04-Jul-20253.3 KiB10575

LICENSED04-Jul-202515.3 KiB296242

METADATAD04-Jul-2025590 2623

MODULE_LICENSE_APACHE2D04-Jul-20250

MODULE_LICENSE_BSDD04-Jul-20250

MODULE_LICENSE_ISCD04-Jul-20250

MODULE_LICENSE_MITD04-Jul-20250

Makefile.amD04-Jul-20251.7 KiB5020

NEWSD04-Jul-20257 KiB196169

OWNERSD04-Jul-2025123 32

README.mdD04-Jul-20253.3 KiB7763

autogen.shD04-Jul-20251.7 KiB5221

configure.acD04-Jul-20258.1 KiB245207

meson.buildD04-Jul-20253.2 KiB133117

meson_options.txtD04-Jul-2025489 2019

security.mdD04-Jul-2025405 54

style_unifyD04-Jul-2025176 116

README.md

1[![Stories in Ready](https://badge.waffle.io/intel/libva-utils.png?label=ready&title=Ready)](http://waffle.io/intel/libva-utils)
2[![Build Status](https://travis-ci.org/intel/libva-utils.svg?branch=master)](https://travis-ci.org/intel/libva-utils)
3[![Coverity Scan Build Status](https://scan.coverity.com/projects/11613/badge.svg)](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```