mirror of
https://github.com/X11Libre/xf86-video-intel.git
synced 2026-04-14 10:54:23 +00:00
compat-api.h: replace ddStopVideo_ARGS
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
@@ -71,7 +71,6 @@ region_get_boxes(const RegionRec *r, const BoxRec **s, const BoxRec **e)
|
||||
if ((d)->pScreen->SourceValidate) (d)->pScreen->SourceValidate(d, x, y, w, h, mode)
|
||||
|
||||
#define XORG_XV_VERSION 2
|
||||
#define ddStopVideo_ARGS XvPortPtr port, DrawablePtr draw
|
||||
#define ddSetPortAttribute_ARGS XvPortPtr port, Atom attribute, INT32 value
|
||||
#define ddGetPortAttribute_ARGS XvPortPtr port, Atom attribute, INT32 *value
|
||||
#define ddQueryBestSize_ARGS XvPortPtr port, CARD8 motion, CARD16 vid_w, CARD16 vid_h, CARD16 drw_w, CARD16 drw_h, unsigned int *p_w, unsigned int *p_h
|
||||
|
||||
@@ -125,7 +125,7 @@ static bool sna_video_overlay_update_attrs(struct sna_video *video)
|
||||
return drmIoctl(video->sna->kgem.fd, DRM_IOCTL_I915_OVERLAY_ATTRS, &attrs) == 0;
|
||||
}
|
||||
|
||||
static int sna_video_overlay_stop(ddStopVideo_ARGS)
|
||||
static int sna_video_overlay_stop(XvPortPtr port, DrawablePtr draw)
|
||||
{
|
||||
struct sna_video *video = port->devPriv.ptr;
|
||||
struct sna *sna = video->sna;
|
||||
|
||||
@@ -120,7 +120,7 @@ static void sna_video_sprite_hide(xf86CrtcPtr crtc, struct sna_video *video)
|
||||
video->color_key_changed |= 1 << index;
|
||||
}
|
||||
|
||||
static int sna_video_sprite_stop(ddStopVideo_ARGS)
|
||||
static int sna_video_sprite_stop(XvPortPtr port, DrawablePtr draw)
|
||||
{
|
||||
struct sna_video *video = port->devPriv.ptr;
|
||||
xf86CrtcConfigPtr config = XF86_CRTC_CONFIG_PTR(video->sna->scrn);
|
||||
|
||||
@@ -82,7 +82,7 @@ static const XvImageRec gen9_Images[] = {
|
||||
XVMC_YUV,
|
||||
};
|
||||
|
||||
static int sna_video_textured_stop(ddStopVideo_ARGS)
|
||||
static int sna_video_textured_stop(XvPortPtr port, DrawablePtr draw)
|
||||
{
|
||||
struct sna_video *video = port->devPriv.ptr;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user