hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef __MODESET_H_INCLUDED__
#define __MODESET_H_INCLUDED__
 
struct sp_dev;
struct sp_crtc;
 
int initialize_screens(struct sp_dev* dev);
 
 
struct sp_plane* get_sp_plane(struct sp_dev* dev, struct sp_crtc* crtc);
void put_sp_plane(struct sp_plane* plane);
 
int set_sp_plane(struct sp_dev* dev, struct sp_plane* plane,
                 struct sp_crtc* crtc, int x, int y);
 
#ifdef USE_ATOMIC_API
int set_sp_plane_pset(struct sp_dev* dev, struct sp_plane* plane,
                      drmModePropertySetPtr pset, struct sp_crtc* crtc, int x, int y);
#endif
 
#endif /* __MODESET_H_INCLUDED__ */