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
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;
/*