diff options
author | Thomas Balling Sørensen <tball@tball-laptop.(none)> | 2010-10-28 13:40:59 +0200 |
---|---|---|
committer | Thomas Balling Sørensen <tball@tball-laptop.(none)> | 2010-10-28 13:40:59 +0200 |
commit | a565f58edaad646942f2174e66ef1343f56ae679 (patch) | |
tree | cfbfb0e18f0e91af8201fe669c9963e5a6fd9727 /src/gallium/state_trackers/va | |
parent | 3fac09ad873b8a5239f84d07dc12e8b08a117561 (diff) |
vl: enable target va-r600
Diffstat (limited to 'src/gallium/state_trackers/va')
-rw-r--r-- | src/gallium/state_trackers/va/va_subpicture.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 <pipe/p_format.h> #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; |