From a565f58edaad646942f2174e66ef1343f56ae679 Mon Sep 17 00:00:00 2001 From: Thomas Balling Sørensen Date: Thu, 28 Oct 2010 13:40:59 +0200 Subject: vl: enable target va-r600 --- src/gallium/state_trackers/va/va_subpicture.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gallium/state_trackers/va') diff --git a/src/gallium/state_trackers/va/va_subpicture.c b/src/gallium/state_trackers/va/va_subpicture.c index 442b1acea5a..a6d2960e7e5 100644 --- a/src/gallium/state_trackers/va/va_subpicture.c +++ b/src/gallium/state_trackers/va/va_subpicture.c @@ -30,7 +30,7 @@ #include #include "va_private.h" -#define NUM_FORMAT_SUPPORTED 2 +#define NUM_FORMATS_SUPPORTED 2 typedef struct { enum pipe_format; @@ -38,7 +38,7 @@ typedef struct { unsigned int va_flags; } va_subpicture_formats_supported_t; -static const va_subpicture_formats_supported_t va_subpicture_formats_supported[NUM_FORMAT_SUPPORTED] = +static const va_subpicture_formats_supported_t va_subpicture_formats_supported[NUM_FORMATS_SUPPORTED] = { { PIPE_FORMAT_B8G8R8A8_UNORM, { VA_FOURCC('B','G','R','A'), VA_LSB_FIRST, 32, @@ -64,7 +64,7 @@ vlVaQuerySubpictureFormats( VADriverContextP ctx, int n = 0; /* Query supported formats */ - for (n = 0; n < NUM_FORMAT_SUPPORTED; n++) + for (n = 0; n < NUM_FORMATS_SUPPORTED; n++) { flags[n] = va_subpicture_formats_supported[n].va_flags; format_list[n] = va_subpicture_formats_supported[n].va_format; -- cgit v1.2.3