diff options
author | Dan Liang <dan.liang@intel.com> | 2014-01-30 10:02:12 +0800 |
---|---|---|
committer | Patrick Tjin <pattjin@google.com> | 2014-07-21 22:03:43 -0700 |
commit | 7cc9fbfc0cc668adf018b9d2d3f08c50724903c6 (patch) | |
tree | a040fb6f210914bc407b1bfab5e3d15674b83088 | |
parent | 553a23247aa6a416f89a51e9d20b1789a63c3d41 (diff) | |
download | wrs_omxil_core-7cc9fbfc0cc668adf018b9d2d3f08c50724903c6.tar.gz |
refine the data structure for error reporting
BZ: 168230
Add one type of error: OMX_Decode_HeaderError
And num_mbs.
Signed-off-by: Dan Liang <dan.liang@intel.com>
Change-Id: I5860e062876be6420b8781e43d5c57d592eb3924
-rw-r--r-- | core/inc/khronos/openmax/include/OMX_IntelVideoExt.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/inc/khronos/openmax/include/OMX_IntelVideoExt.h b/core/inc/khronos/openmax/include/OMX_IntelVideoExt.h index 8cbc456..4b119f6 100644 --- a/core/inc/khronos/openmax/include/OMX_IntelVideoExt.h +++ b/core/inc/khronos/openmax/include/OMX_IntelVideoExt.h @@ -160,13 +160,15 @@ typedef struct OMX_VIDEO_CONFIG_INTEL_ERROR_REPORT { typedef enum { - OMX_Decode_SliceMissing = 0, + OMX_Decode_HeaderError = 0, OMX_Decode_MBError = 1, - OMX_Decode_RefMissing = 2, + OMX_Decode_SliceMissing = 2, + OMX_Decode_RefMissing = 3, } OMX_VIDEO_DECODE_ERRORTYPE; typedef struct OMX_VIDEO_ERROR_INFO { OMX_VIDEO_DECODE_ERRORTYPE type; + OMX_U32 num_mbs; union { struct {OMX_U32 start_mb; OMX_U32 end_mb;} mb_pos; } error_data; |