Commit 6c9ff077 authored by Austin Yuan's avatar Austin Yuan

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: default avatarAustin Yuan <shengquan.yuan@gmail.com>
parent c3e7bd87
...@@ -1451,9 +1451,9 @@ VAStatus vaQuerySurfaceStatus ( ...@@ -1451,9 +1451,9 @@ VAStatus vaQuerySurfaceStatus (
typedef enum typedef enum
{ {
VA_DECODE_SLICE_MISSING = 0, VADecodeSliceMissing = 0,
VA_DECODE_MB_ERROR = 1, VADecodeMBError = 1,
} VA_DECODE_ERROR_TYPE; } VADecodeErrorType;
/* /*
* Client calls vaQuerySurfaceError with VA_STATUS_ERROR_DECODING_ERROR, server side returns * Client calls vaQuerySurfaceError with VA_STATUS_ERROR_DECODING_ERROR, server side returns
...@@ -1464,7 +1464,7 @@ typedef struct _VASurfaceDecodeMBErrors ...@@ -1464,7 +1464,7 @@ typedef struct _VASurfaceDecodeMBErrors
int status; /* 1 if hardware has returned detailed info below, -1 means this record is invalid */ 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 start_mb; /* start mb address with errors */
unsigned int end_mb; /* end 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; } VASurfaceDecodeMBErrors;
/* /*
......
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