summaryrefslogtreecommitdiffstats
path: root/decoder/ih264d_error_handler.h
diff options
context:
space:
mode:
authorMarco Nelissen <marcone@google.com>2015-06-03 07:26:32 -0700
committerMarco Nelissen <marcone@google.com>2015-06-03 07:27:36 -0700
commit8ef4c3f6142028732a155cbfc1febd6ef5da72fd (patch)
tree79da99e029f5c41581f6878f49d025ecfccc32b9 /decoder/ih264d_error_handler.h
parent7497191460a9504f8b4f64df169ab633f0b74353 (diff)
downloadandroid_external_libavc-8ef4c3f6142028732a155cbfc1febd6ef5da72fd.tar.gz
android_external_libavc-8ef4c3f6142028732a155cbfc1febd6ef5da72fd.tar.bz2
android_external_libavc-8ef4c3f6142028732a155cbfc1febd6ef5da72fd.zip
Multithreading changes and better error resilience
Fixed the following bugs Issue 21145276 Issue 21144884 Issue 21181133 Issue 21181134 Decoder now returns error if the level in stream is higher than level at init Change-Id: I8892c62bd98f7854d046510330c05a1e9ca826b2
Diffstat (limited to 'decoder/ih264d_error_handler.h')
-rw-r--r--decoder/ih264d_error_handler.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/decoder/ih264d_error_handler.h b/decoder/ih264d_error_handler.h
index 20c0f89..1ff5c7d 100644
--- a/decoder/ih264d_error_handler.h
+++ b/decoder/ih264d_error_handler.h
@@ -38,6 +38,7 @@
#include "ih264_typedefs.h"
#include "ih264_macros.h"
#include "ih264_platform_macros.h"
+#include "ih264d_structs.h"
typedef enum
{
@@ -109,7 +110,14 @@ typedef enum
ERROR_LEVEL_UNSUPPORTED = 0x90,
ERROR_START_CODE_NOT_FOUND = 0x91,
ERROR_PIC_NUM_IS_REPEATED = 0x92,
+ ERROR_IN_LAST_SLICE_OF_PIC = 0x93
} h264_decoder_error_code_t;
+WORD32 ih264d_mark_err_slice_skip(dec_struct_t * ps_dec,
+ WORD32 num_mb_skip,
+ UWORD8 u1_is_idr_slice,
+ pocstruct_t *ps_cur_poc,
+ WORD32 prev_slice_err);
+
#endif /* _IH264D_ERROR_HANDLER_H_ */