diff options
author | Hamsalekha S <hamsalekha.s@ittiam.com> | 2015-06-09 15:54:31 +0530 |
---|---|---|
committer | Marco Nelissen <marcone@google.com> | 2015-06-24 20:39:37 +0000 |
commit | 1f2d0129ef50caf4aca2d9e042cff9ecfa2e0668 (patch) | |
tree | 823cc8ecdc00dc94684abffc7926d6e8a456d157 /decoder/ih264d_structs.h | |
parent | 202a538fdbbec8982a85ebf705f12c2acfe18ea3 (diff) | |
download | libavc-1f2d0129ef50caf4aca2d9e042cff9ecfa2e0668.tar.gz |
Improved error resilience in decoder
Fixed buffer management for error cases
Fixed end of picture detection logic for multiple slice error cases
Fixed handling of incomplete frame, missing slices.
Change-Id: Iae447667e4d88869a8bf992180cacd77870b9877
Diffstat (limited to 'decoder/ih264d_structs.h')
-rw-r--r-- | decoder/ih264d_structs.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/decoder/ih264d_structs.h b/decoder/ih264d_structs.h index 4e3f0bb..062747b 100644 --- a/decoder/ih264d_structs.h +++ b/decoder/ih264d_structs.h @@ -524,7 +524,6 @@ typedef struct unsigned. LSB byte : weight and MSB byte: u4_ofst */ UWORD32 u4_wt_ofst_lx[2][MAX_REF_BUFS][3]; void * pv_codec_handle; /* For Error Handling */ - UWORD8 u1_end_of_frame_signal; /* This is used when reordering is done in Forward or */ /* backward lists. This is because reordering can point */ @@ -607,6 +606,9 @@ typedef struct code_overlay_ctxt #define REJECT_CUR_PIC (0x01) #define REJECT_PB_PICS (0x02) +#define MASK_REJECT_CUR_PIC (0xFE) +#define MASK_REJECT_PB_PICS (0xFD) + #define PIC_TYPE_UNKNOWN (0xFF) #define PIC_TYPE_I (0x00) #define SYNC_FRM_DEFAULT (0xFFFFFFFF) @@ -1351,6 +1353,7 @@ typedef struct _DecStruct UWORD32 u4_cur_slice_decode_done; UWORD32 u4_extra_mem_used; + /* 2 first slice not parsed , 1 :first slice parsed , 0 :first valid slice header parsed*/ UWORD32 u4_first_slice_in_pic; UWORD32 u4_num_cores; IVD_ARCH_T e_processor_arch; |