Skip to content

Commit

Permalink
Update README and Cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
rosetta-jpn committed Nov 1, 2024
1 parent 90602eb commit bc88aca
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ usable anywhere.

The native [libva](https://github.com/intel/libva) library is required at link
time, so make sure to have the `libva-dev` or equivalent package for your
distribution installed. The VA-API driver corresponding to your hardware is
also required: for Intel hardware it will be
[intel-media-driver](https://github.com/intel/media-driver), whereas AMD
distribution installed. The compatible libva version is 1.22.0. The VA-API
driver corresponding to your hardware is also required: for Intel hardware it
will be [intel-media-driver](https://github.com/intel/media-driver), whereas AMD
hardware relies on [Mesa](https://gitlab.freedesktop.org/mesa/mesa).

An easy way to see whether everything is in order is to run the `vainfo`
Expand Down Expand Up @@ -50,6 +50,11 @@ Whereas to decode H264 Main profile media, this line must be present:
For more information on VA-API and its usage within ChromeOS, see [this
guide](https://chromium.googlesource.com/chromium/src/+/master/docs/gpu/vaapi.md).

cros-libva can also be built in Android. Android.bp files are provided that
should work on AOSP >= 15. Just check this repository into
external/rust/crates/cros-libva and the libcros_libva library target will be
available.

## Using

The name of this crate is `cros-libva` to highlight the fact that it originates
Expand Down
4 changes: 3 additions & 1 deletion lib/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
[package]
name = "cros-libva"
version = "0.0.9"
version = "0.0.10"
license = "BSD-3-Clause"
description = "Safe bindings over libva"
repository = "https://github.com/chromeos/cros-libva"
authors = ["The Chromium OS Authors"]
edition = "2021"

readme.workspace = true

[dependencies]
thiserror = "1"
bitflags = "2.5"
Expand Down

0 comments on commit bc88aca

Please sign in to comment.