mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-18 07:00:06 -05:00
libcamera: add camera rotation property on nodes
Like the location, the orientation is a static property of libcamera
devices. While the rotation is already exposed as buffer transform,
knowing the property can be handy for applications in various ways.
See also: cd8ac5c1a ("libcamera: add camera location property on nodes")
This commit is contained in:
parent
e2e8cf7944
commit
bd5cc52c5c
2 changed files with 24 additions and 0 deletions
|
|
@ -78,6 +78,8 @@ extern "C" {
|
|||
* used in open() */
|
||||
#define SPA_KEY_API_LIBCAMERA_LOCATION "api.libcamera.location" /**< location of the camera:
|
||||
* "front", "back" or "external" */
|
||||
#define SPA_KEY_API_LIBCAMERA_ROTATION "api.libcamera.rotation" /**< rotation of the camera:
|
||||
* "0", "90", "180" or "270" */
|
||||
|
||||
/** info from libcamera_capability */
|
||||
#define SPA_KEY_API_LIBCAMERA_CAP_DRIVER "api.libcamera.cap.driver" /**< driver from capbility */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue