Name Date Size #Lines LOC

..--

.github/H25-Apr-2025-374312

build/H25-Apr-2025-5526

doc/H25-Apr-2025-2,7522,088

pkgconfig/H25-Apr-2025-178131

va/H25-Apr-2025-35,93119,751

.gitignoreH A D25-Apr-2025344 3635

Android.bpH A D25-Apr-20253.8 KiB180156

CONTRIBUTING.mdH A D25-Apr-20252.6 KiB8756

COPYINGH A D25-Apr-20251.1 KiB2017

LICENSEH A D25-Apr-20251.1 KiB2017

METADATAH A D25-Apr-2025818 2119

MODULE_LICENSE_MITHD25-Apr-20250

Makefile.amH A D25-Apr-20251.5 KiB3911

NEWSH A D25-Apr-202524.6 KiB568517

OWNERSH A D25-Apr-202551 21

README.mdH A D25-Apr-20252.9 KiB6851

autogen.shH A D25-Apr-20251.8 KiB5926

configure.acH A D25-Apr-202512.3 KiB374320

meson.buildH A D25-Apr-20255.7 KiB161132

meson_options.txtH A D25-Apr-2025608 98

security.mdH A D25-Apr-2025405 54

style_unifyH A D25-Apr-2025149 116

README.md

1# Libva Project
2
3Libva is an implementation for VA-API (Video Acceleration API)
4
5VA-API is an open-source library and API specification, which provides access to graphics hardware acceleration capabilities for video processing. It consists of a main library and driver-specific acceleration backends for each supported hardware vendor.
6
7If you would like to contribute to libva, check our [Contributing guide](https://github.com/intel/libva/blob/master/CONTRIBUTING.md).
8
9We also recommend taking a look at the ['janitorial' bugs](https://github.com/intel/libva/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.
10
11We would love to help you start contributing!
12
13Doxygen files are regularly updated through Github Pages and can be accessed directly through [github pages libva](http://intel.github.io/libva/)
14
15The libva development team can be reached via github issues.
16
17
18# Build and Install Libva
19*This build documentation was tested under clear Ubuntu Server 18.04 (with gcc-7.3.0, gcc-8.1.0 and clang-6.0 compilers) but it should work on another OS distributions with various versions of gcc and clang.*
20## Install all required common packages:
21```
22sudo apt-get install git cmake pkg-config meson libdrm-dev automake libtool
23```
24
25Take latest libva version:
26```
27git clone https://github.com/intel/libva.git
28cd libva
29```
30
31## Build with autogen and Meson
32
33When you install the libva from OSV package repositories, different OSV distro use different default location for libva. Basically, Debian/Ubuntu family install libva to /usr/lib/x86_64-linux-gnu and rpm family like Fedora/CentOS/SUSE/RHEL install libva to /usr/lib64. For Other media component default location, you could refer to [Install from OSV package](https://github.com/intel/media-driver/wiki/Install-from-OSV-package))
34
35Without prefix setting, libva will be install to /usr/local/lib as default. If you use other path as installation target folder or no prefix, you have to add the folder to your environment variable or use LD_LIBRARY_PATH to specify the location, like LD_LIBRARY_PATH=/usr/local/lib if no prefix.
36
37If you intent to overwrite system default libva, you could use same OSV distro prefix, then system libva will be replaced and also your new installed libva version will be overwrited when you upgrade it from OSV distro package repository.
38
39For debian family, you could use autogen
40```
41./autogen.sh --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu
42make
43sudo make install
44```
45or build using Meson
46```
47mkdir build
48cd build
49meson .. -Dprefix=/usr -Dlibdir=/usr/lib/x86_64-linux-gnu
50ninja
51sudo ninja install
52```
53
54For rpm family, you could use autogen
55```
56./autogen.sh --prefix=/usr --libdir=/usr/lib64
57make
58sudo make install
59```
60or build using Meson
61```
62mkdir build
63cd build
64meson .. -Dprefix=/usr -Dlibdir=/usr/lib64
65ninja
66sudo ninja install
67```
68