Commit f5b058c0 authored by Austin Yuan's avatar Austin Yuan

test: Use IN_LIBVA, so that they can be built out of libva

Signed-off-by: default avatarAustin Yuan <shengquan.yuan@intel.com>
parent fd3dcfae
...@@ -22,7 +22,11 @@ ...@@ -22,7 +22,11 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/ */
#ifdef IN_LIBVA
#include <va_x11.h> #include <va_x11.h>
#else
#include <va/va_x11.h>
#endif
#include "assert.h" #include "assert.h"
#include <stdarg.h> #include <stdarg.h>
......
...@@ -24,7 +24,12 @@ ...@@ -24,7 +24,12 @@
#define TEST_DESCRIPTION "Sample MPEG2 VLD Decoding" #define TEST_DESCRIPTION "Sample MPEG2 VLD Decoding"
#ifdef IN_LIBVA
#include <va_x11.h> #include <va_x11.h>
#else
#include <va/va_x11.h>
#endif
#include "test_common.c" #include "test_common.c"
#include <sys/types.h> #include <sys/types.h>
......
...@@ -22,7 +22,11 @@ ...@@ -22,7 +22,11 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/ */
#ifdef IN_LIBVA
#include <va_x11.h> #include <va_x11.h>
#else
#include <va/va_x11.h>
#endif
#include "assert.h" #include "assert.h"
#include <stdarg.h> #include <stdarg.h>
......
...@@ -22,7 +22,11 @@ ...@@ -22,7 +22,11 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/ */
#ifdef IN_LIBVA
#include <va_x11.h> #include <va_x11.h>
#else
#include <va/va_x11.h>
#endif
#include <stdarg.h> #include <stdarg.h>
#include <stdio.h> #include <stdio.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment