diff options
author | Waldo Bastian <waldo.bastian@intel.com> | 2008-02-04 18:46:07 -0800 |
---|---|---|
committer | Waldo Bastian <waldo.bastian@intel.com> | 2008-02-04 18:46:07 -0800 |
commit | 28992c714e71a8a91c6a896ce94651a600222b56 (patch) | |
tree | 8ac83e10cd2c8d4e35bc77a69d66a32f93dfbadc /src/va.h | |
parent | e6a8c6232859a359a5ab35979c7972d26f0957a4 (diff) |
* Add additional error code
* VC1: reference_distance can have values of 0 - 16 inclusive and needs 5 bits
Diffstat (limited to 'src/va.h')
-rwxr-xr-x | src/va.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -111,6 +111,7 @@ typedef int VAStatus; /* Return status type from functions */ #define VA_STATUS_ERROR_UNSUPPORTED_RT_FORMAT 0x0000000e #define VA_STATUS_ERROR_UNSUPPORTED_BUFFERTYPE 0x0000000f #define VA_STATUS_ERROR_SURFACE_BUSY 0x00000010 +#define VA_STATUS_ERROR_FLAG_NOT_SUPPORTED 0x00000011 #define VA_STATUS_ERROR_UNKNOWN 0xFFFFFFFF /* @@ -755,7 +756,7 @@ typedef struct _VAPictureParameterBufferVC1 union { struct { unsigned char reference_distance_flag : 1;/* PICTURE_LAYER::REFDIST_FLAG */ - unsigned char reference_distance : 1;/* PICTURE_LAYER::REFDIST */ + unsigned char reference_distance : 5;/* PICTURE_LAYER::REFDIST */ unsigned char num_reference_pictures: 1;/* PICTURE_LAYER::NUMREF */ unsigned char reference_field_pic_indicator : 1;/* PICTURE_LAYER::REFFIELD */ }; |