2020-01-24 23:31:01 +01:00
|
|
|
#ifndef PIPEWIRE_SCREENCAST_H
|
|
|
|
#define PIPEWIRE_SCREENCAST_H
|
|
|
|
|
|
|
|
#include "screencast_common.h"
|
|
|
|
|
2022-03-02 17:57:07 +01:00
|
|
|
#define XDPW_PWR_BUFFERS 2
|
|
|
|
#define XDPW_PWR_BUFFERS_MIN 2
|
2020-12-21 11:40:02 +01:00
|
|
|
#define XDPW_PWR_ALIGN 16
|
2020-01-24 23:31:01 +01:00
|
|
|
|
2021-05-27 18:27:03 +02:00
|
|
|
void xdpw_pwr_dequeue_buffer(struct xdpw_screencast_instance *cast);
|
|
|
|
void xdpw_pwr_enqueue_buffer(struct xdpw_screencast_instance *cast);
|
2022-03-02 17:57:07 +01:00
|
|
|
void xdpw_pwr_swap_buffer(struct xdpw_screencast_instance *cast);
|
2021-05-26 02:10:45 +02:00
|
|
|
void pwr_update_stream_param(struct xdpw_screencast_instance *cast);
|
2021-05-09 13:42:24 +02:00
|
|
|
void xdpw_pwr_stream_create(struct xdpw_screencast_instance *cast);
|
2020-04-16 10:21:55 +02:00
|
|
|
void xdpw_pwr_stream_destroy(struct xdpw_screencast_instance *cast);
|
2021-05-09 13:42:24 +02:00
|
|
|
int xdpw_pwr_context_create(struct xdpw_state *state);
|
2021-05-09 13:44:10 +02:00
|
|
|
void xdpw_pwr_context_destroy(struct xdpw_state *state);
|
2020-01-24 23:31:01 +01:00
|
|
|
|
|
|
|
#endif
|