From 6c9ff077897362e881173c5b2cf4c2dd642a0189 Mon Sep 17 00:00:00 2001 From: Austin Yuan Date: Tue, 26 Jul 2011 14:11:08 +0800 Subject: va.h: VA_DECODE_ERROR_TYPE changed to VADecodeErrorType for unified codying style (CamelCase) VA_DECODE_SLICE_MISSING --> VADecodeSliceMissing VA_DECODE_MB_ERROR --> VADecodeMBError Signed-off-by: Austin Yuan --- va/va.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/va/va.h b/va/va.h index 604efb5..2a95413 100644 --- a/va/va.h +++ b/va/va.h @@ -1451,9 +1451,9 @@ VAStatus vaQuerySurfaceStatus ( typedef enum { - VA_DECODE_SLICE_MISSING = 0, - VA_DECODE_MB_ERROR = 1, -} VA_DECODE_ERROR_TYPE; + VADecodeSliceMissing = 0, + VADecodeMBError = 1, +} VADecodeErrorType; /* * Client calls vaQuerySurfaceError with VA_STATUS_ERROR_DECODING_ERROR, server side returns @@ -1464,7 +1464,7 @@ typedef struct _VASurfaceDecodeMBErrors int status; /* 1 if hardware has returned detailed info below, -1 means this record is invalid */ unsigned int start_mb; /* start mb address with errors */ unsigned int end_mb; /* end mb address with errors */ - VA_DECODE_ERROR_TYPE decode_error_type; + VADecodeErrorType decode_error_type; } VASurfaceDecodeMBErrors; /* -- cgit v1.2.1