mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-01 16:01:01 +00:00
2c2cd8c2be
This plugin takes I420/YUV and appends an alpha plane to give YUVA/A420 to round the corners analogous to the border-radius in CSS. Other video formats like NV12 not supported yet. Support for other planar formats will follow. Not all ways of specifying border-radius as in CSS are implemented at the moment. Currently, we only support specifying it in pixels and it gets applied uniformly to all corners.
58 lines
1.5 KiB
TOML
58 lines
1.5 KiB
TOML
[package]
|
|
name = "gst-plugin-videofx"
|
|
version = "0.8.0"
|
|
authors = ["Sanchayan Maity <sanchayan@asymptotic.io>"]
|
|
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs"
|
|
license = "MPL-2.0"
|
|
description = "Video Effects Plugin"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
cairo-rs = { git = "https://github.com/gtk-rs/gtk-rs-core", features=["use_glib"] }
|
|
atomic_refcell = "0.1"
|
|
once_cell = "1.0"
|
|
|
|
[dependencies.gst]
|
|
git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
|
|
features = ["v1_16"]
|
|
package = "gstreamer"
|
|
|
|
[dependencies.gst-base]
|
|
git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
|
|
features = ["v1_16"]
|
|
package = "gstreamer-base"
|
|
|
|
[dependencies.gst-video]
|
|
git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
|
|
features = ["v1_16"]
|
|
package = "gstreamer-video"
|
|
|
|
[dev-dependencies.gst-check]
|
|
git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
|
|
package = "gstreamer-check"
|
|
|
|
[lib]
|
|
name = "gstvideofx"
|
|
crate-type = ["cdylib", "rlib"]
|
|
path = "src/lib.rs"
|
|
|
|
[build-dependencies]
|
|
gst-plugin-version-helper = { path="../../version-helper" }
|
|
|
|
[features]
|
|
# GStreamer 1.14 is required for static linking
|
|
static = []
|
|
capi = []
|
|
|
|
[package.metadata.capi]
|
|
min_version = "0.8.0"
|
|
|
|
[package.metadata.capi.header]
|
|
enabled = false
|
|
|
|
[package.metadata.capi.library]
|
|
install_subdir = "gstreamer-1.0"
|
|
versioning = false
|
|
|
|
[package.metadata.capi.pkg_config]
|
|
requires_private = "gstreamer-1.0, gstreamer-base-1.0, gstreamer-video-1.0, gobject-2.0, glib-2.0, cairo-gobject"
|