|
Packit Service |
9402ce |
/*
|
|
Packit Service |
9402ce |
* Copyright (c) 2007-2011 Intel Corporation. All Rights Reserved.
|
|
Packit Service |
9402ce |
*
|
|
Packit Service |
9402ce |
* Permission is hereby granted, free of charge, to any person obtaining a
|
|
Packit Service |
9402ce |
* copy of this software and associated documentation files (the
|
|
Packit Service |
9402ce |
* "Software"), to deal in the Software without restriction, including
|
|
Packit Service |
9402ce |
* without limitation the rights to use, copy, modify, merge, publish,
|
|
Packit Service |
9402ce |
* distribute, sub license, and/or sell copies of the Software, and to
|
|
Packit Service |
9402ce |
* permit persons to whom the Software is furnished to do so, subject to
|
|
Packit Service |
9402ce |
* the following conditions:
|
|
Packit Service |
9402ce |
*
|
|
Packit Service |
9402ce |
* The above copyright notice and this permission notice (including the
|
|
Packit Service |
9402ce |
* next paragraph) shall be included in all copies or substantial portions
|
|
Packit Service |
9402ce |
* of the Software.
|
|
Packit Service |
9402ce |
*
|
|
Packit Service |
9402ce |
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
Packit Service |
9402ce |
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
Packit Service |
9402ce |
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
|
|
Packit Service |
9402ce |
* IN NO EVENT SHALL INTEL AND/OR ITS SUPPLIERS BE LIABLE FOR
|
|
Packit Service |
9402ce |
* ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
Packit Service |
9402ce |
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
Packit Service |
9402ce |
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
Packit Service |
9402ce |
*/
|
|
Packit Service |
9402ce |
|
|
Packit Service |
9402ce |
#define VA_COMPAT_DISABLED 1
|
|
Packit Service |
9402ce |
#include "sysdeps.h"
|
|
Packit Service |
9402ce |
#include "va.h"
|
|
Packit Service |
9402ce |
#include "va_compat.h"
|
|
Packit Service |
9402ce |
|
|
Packit Service |
9402ce |
VAStatus
|
|
Packit Service |
9402ce |
vaCreateSurfaces_0_32_0(
|
|
Packit Service |
9402ce |
VADisplay dpy,
|
|
Packit Service |
9402ce |
int width,
|
|
Packit Service |
9402ce |
int height,
|
|
Packit Service |
9402ce |
int format,
|
|
Packit Service |
9402ce |
int num_surfaces,
|
|
Packit Service |
9402ce |
VASurfaceID *surfaces
|
|
Packit Service |
9402ce |
)
|
|
Packit Service |
9402ce |
{
|
|
Packit Service |
9402ce |
return vaCreateSurfaces(dpy, format, width, height, surfaces, num_surfaces,
|
|
Packit Service |
9402ce |
NULL, 0);
|
|
Packit Service |
9402ce |
}
|
|
Packit Service |
9402ce |
VA_CPP_HELPER_ALIAS(vaCreateSurfaces, 0,32,0);
|