OSDN Git Service

va.h: VA_DECODE_ERROR_TYPE changed to VADecodeErrorType for unified codying style...
authorAustin Yuan <shengquan.yuan@gmail.com>
Tue, 26 Jul 2011 06:11:08 +0000 (14:11 +0800)
committerAustin Yuan <shengquan.yuan@gmail.com>
Tue, 26 Jul 2011 06:11:08 +0000 (14:11 +0800)
VA_DECODE_SLICE_MISSING --> VADecodeSliceMissing
VA_DECODE_MB_ERROR --> VADecodeMBError

Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
va/va.h

diff --git a/va/va.h b/va/va.h
index 604efb5..2a95413 100644 (file)
--- 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;
 
 /*