mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-15 07:00:05 -05:00
Integrating libcamera
This commit is contained in:
parent
ee1b79c4cd
commit
9024cc4444
24 changed files with 4826 additions and 13 deletions
|
|
@ -75,6 +75,7 @@ enum spa_param_buffers {
|
|||
SPA_PARAM_BUFFERS_stride, /**< stride of data block memory (Int) */
|
||||
SPA_PARAM_BUFFERS_align, /**< alignment of data block memory (Int) */
|
||||
SPA_PARAM_BUFFERS_dataType, /**< possible memory types (Int, mask of enum spa_data_type) */
|
||||
SPA_PARAM_BUFFERS_datas, /**< number of datas (Int) */
|
||||
};
|
||||
|
||||
/** properties for SPA_TYPE_OBJECT_ParamMeta */
|
||||
|
|
|
|||
|
|
@ -77,6 +77,20 @@ extern "C" {
|
|||
#define SPA_KEY_API_V4L2_PATH "api.v4l2.path" /**< v4l2 device path as can be
|
||||
* used in open() */
|
||||
|
||||
/** keys for libcamera api */
|
||||
#define SPA_KEY_API_LIBCAMERA "api.libcamera" /**< key for the libcamera api */
|
||||
#define SPA_KEY_API_LIBCAMERA_PATH "api.libcamera.path" /**< libcamera device path as can be
|
||||
* used in open() */
|
||||
|
||||
/** info from libcamera_capability */
|
||||
#define SPA_KEY_API_LIBCAMERA_CAP_DRIVER "api.libcamera.cap.driver" /**< driver from capbility */
|
||||
#define SPA_KEY_API_LIBCAMERA_CAP_CARD "api.libcamera.cap.card" /**< caps from capability */
|
||||
#define SPA_KEY_API_LIBCAMERA_CAP_BUS_INFO "api.libcamera.cap.bus_info"/**< bus_info from capability */
|
||||
#define SPA_KEY_API_LIBCAMERA_CAP_VERSION "api.libcamera.cap.version" /**< version from capability as %u.%u.%u */
|
||||
#define SPA_KEY_API_LIBCAMERA_CAP_CAPABILITIES \
|
||||
"api.libcamera.cap.capabilities" /**< capabilities from capability */
|
||||
#define SPA_KEY_API_LIBCAMERA_CAP_DEVICE_CAPS \
|
||||
"api.libcamera.cap.device-caps" /**< device_caps from capability */
|
||||
/** info from v4l2_capability */
|
||||
#define SPA_KEY_API_V4L2_CAP_DRIVER "api.v4l2.cap.driver" /**< driver from capbility */
|
||||
#define SPA_KEY_API_V4L2_CAP_CARD "api.v4l2.cap.card" /**< caps from capability */
|
||||
|
|
|
|||
|
|
@ -112,6 +112,13 @@ extern "C" {
|
|||
#define SPA_NAME_API_V4L2_DEVICE "api.v4l2.device" /**< a v4l2 Device interface */
|
||||
#define SPA_NAME_API_V4L2_SOURCE "api.v4l2.source" /**< a v4l2 Node interface for
|
||||
* capturing */
|
||||
|
||||
/** keys for libcamera factory names */
|
||||
#define SPA_NAME_API_LIBCAMERA_ENUM_CLIENT "api.libcamera.enum.client" /**< a libcamera client Device interface */
|
||||
#define SPA_NAME_API_LIBCAMERA_DEVICE "api.libcamera.device" /**< a libcamera Device interface */
|
||||
#define SPA_NAME_API_LIBCAMERA_SOURCE "api.libcamera.source" /**< a libcamera Node interface for
|
||||
* capturing */
|
||||
|
||||
/** keys for jack factory names */
|
||||
#define SPA_NAME_API_JACK_DEVICE "api.jack.device" /**< a jack device. This is a
|
||||
* client connected to a server */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue