Name: media-driver URL: https://01.org/intel-media-for-linux License: MIT,X11 License File: LICENSE.md Upstream Git: https://github.com/intel/media-driver Description: The Intel(R) Media Driver for VAAPI is a new VA-API (Video Acceleration API) user mode driver supporting hardware accelerated decoding, encoding, and video post processing for GEN based graphics hardware.
libva and gmmlib are needed to build the media-driver. From Fuchsia root:
mkdir -p third_party/intel git clone https://fuchsia.googlesource.com/third_party/github.com/intel/libva third_party/intel/libva git clone https://fuchsia.googlesource.com/third_party/github.com/intel/gmmlib third_party/intel/gmmlib git clone https://fuchsia.googlesource.com/third_party/github.com/intel/media-driver third_party/intel/media-driver
Add to fx set:
--with //third_party/intel/media-driver/fuchsia:va-intel
A GN action wraps fuchsia/build.sh, an out-of-tree build process based on the native build systems (meson and cmake). The out of tree build emits shared libraries which currently are imported into the GN build. Eventually the shared libraries will be made available in CIPD.
For debug logging:
--args intel_media_driver_debug=true
VA entry points are provided by libva.so. This library dynamically links to the client driver library, iHD_drv_video.so.