pipewire/pipewire-jack/src/pipewire-jack-extensions.h
Barnabás Pőcze 934ab3036e treewide: use SPDX tags to specify copyright information
SPDX tags make the licensing information easy to understand and clear,
and they are machine parseable.

See https://spdx.dev for more information.
2023-02-16 10:54:48 +00:00

30 lines
692 B
C

/* PipeWire JACK extensions */
/* SPDX-FileCopyrightText: Copyright © 2020 Wim Taymans */
/* SPDX-License-Identifier: MIT */
#ifndef PIPEWIRE_JACK_EXTENSIONS_H
#define PIPEWIRE_JACK_EXTENSIONS_H
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
/** 1.0 gamma, full range HDR 0.0 -> 1.0, pre-multiplied
* alpha, BT.2020 primaries, progressive */
#define JACK_DEFAULT_VIDEO_TYPE "32 bit float RGBA video"
typedef struct jack_image_size {
uint32_t width;
uint32_t height;
uint32_t stride;
uint32_t flags;
} jack_image_size_t;
int jack_get_video_image_size(jack_client_t *client, jack_image_size_t *size);
#ifdef __cplusplus
}
#endif
#endif /* PIPEWIRE_JACK_EXTENSIONS_H */