libavc/decoder
Harish Mahendrakar dc110841d6 Move slice increments after completing header parsing
Slice increments are now done after completing header parse.
Earlier this was done before validating mmco related parameters
and calculating poc. In case there were errors that were detected
at this stage, slice increments were incorrect.

Bug: 199536974
Bug: 199733300
Bug: 205702093
Bug: oss-fuzz#38387
Bug: oss-fuzz#38482
Bug: oss-fuzz#40851
Test: ossfuzz generated poc in bug

Change-Id: I8569e9369e4ab6f6c69c81b937f111c299b7a134
(cherry picked from commit cd0385dc07)
2021-12-06 21:55:35 +00:00
..
arm fix file permissions 2015-05-05 17:51:34 +00:00
mips fix file permissions 2015-05-05 17:51:34 +00:00
x86 fix file permissions 2015-05-05 17:51:34 +00:00
ih264d.h DO NOT MERGE Decoder: Added support for exporting VUI params 2016-07-11 22:21:03 +00:00
ih264d_api.c decoder: Move initialization of dbp_mgr entries to init_decoder() 2019-10-29 19:52:49 -07:00
ih264d_bitstrm.c fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_bitstrm.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_cabac.c fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_cabac.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_cabac_init_tables.c Multithreading changes and better error resilience 2015-06-03 07:27:36 -07:00
ih264d_compute_bs.c fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_deblocking.c Multithreading changes and better error resilience 2015-06-03 07:27:36 -07:00
ih264d_deblocking.h Multithreading changes and better error resilience 2015-06-03 07:27:36 -07:00
ih264d_debug.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_defs.h Decoder: Increased allocation and added checks in sei parsing. am: f2b70d3537 am: 8d32a711ac am: a0827a3bb1 am: cd831159ce am: 2a3efcfcde am: 013d98b763 am: 48d8b5bbc9 am: ccc5298ffb am: a1f8cef8c4 2017-10-31 18:41:52 +00:00
ih264d_dpb_manager.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_dpb_mgr.c [automerger] Decoder: Modify setting short term reference field flag am: 47cc04b40c am: 1991ec77e7 am: c18d0ab03a am: 8f05a87c39 am: ce46d15877 am: 8781a2aa9b am: 9cb460fb64 am: bae32f4c46 am: b8dd278100 2018-03-28 17:26:02 +00:00
ih264d_error_handler.h DO NOT MERGE Decoder: Added support for exporting VUI params 2016-07-11 22:21:03 +00:00
ih264d_format_conv.c Multithreading changes and better error resilience 2015-06-03 07:27:36 -07:00
ih264d_format_conv.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_function_selector.h Remove an unused and unnecessary function prototype and associated define 2015-06-25 08:25:51 -07:00
ih264d_function_selector_generic.c fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_inter_pred.c Decoder: Fixes for handling errors in multi-slice MB Aff streams 2016-09-22 18:19:55 +00:00
ih264d_inter_pred.h Multithreading changes and better error resilience 2015-06-03 07:27:36 -07:00
ih264d_mb_utils.c Decoder: Reduced memory requirements 2015-09-23 18:35:27 +00:00
ih264d_mb_utils.h Multithreading changes and better error resilience 2015-06-03 07:27:36 -07:00
ih264d_mem_request.h Decoder: Reduced memory requirements 2015-09-23 18:35:27 +00:00
ih264d_mvpred.c fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_mvpred.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_nal.c fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_nal.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_parse_bslice.c Merge "Decoder: Updated error check while parsing num_ref_idx_lx_active." into mnc-dev 2017-09-13 05:51:32 +00:00
ih264d_parse_cabac.c fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_parse_cabac.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_parse_cavlc.c Decoder: Fix stack underflow in CAVLC 4x4 parse functions 2016-02-22 14:54:08 -08:00
ih264d_parse_cavlc.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_parse_headers.c [automerger] decoder: Signal IVD_RES_CHANGED error for change in crop params am: 442a01bf37 am: 1d7d7f9bf6 am: acacf063c2 am: f33c02ed73 am: c09d3f99ab am: 145ae0d049 2018-11-27 12:10:36 -08:00
ih264d_parse_headers.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_parse_islice.c Merge "Decoder: Fix end of bitstream error." into mnc-dev am: 810356f4de am: 65077f6cfe am: 82c7a3628e am: fa3361f209 am: b1d2064d95 am: c81da59a51 am: 5b33069e8f am: 45c34bc177 2017-05-16 21:15:17 +00:00
ih264d_parse_islice.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_parse_mb_header.c Decoder: Remove unnecssary optimization while setting MV context 2016-11-24 12:20:42 +05:30
ih264d_parse_mb_header.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_parse_pslice.c Merge "Decoder: Updated error check while parsing num_ref_idx_lx_active." into mnc-dev 2017-09-13 05:51:32 +00:00
ih264d_parse_slice.c Move slice increments after completing header parsing 2021-12-06 21:55:35 +00:00
ih264d_parse_slice.h Decoder: Delete node from st if lt and st point to same 2019-05-08 11:44:40 -07:00
ih264d_process_bslice.c Decoder: Fixed overflow in refernce list creation. 2017-07-07 10:34:44 -07:00
ih264d_process_bslice.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_process_intra_mb.c Fix stack buffer overflow in ih264d_process_intra_mb 2017-05-10 15:58:24 +00:00
ih264d_process_intra_mb.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_process_pslice.c Decoder: Fixed overflow in refernce list creation. 2017-07-10 18:49:51 +00:00
ih264d_process_pslice.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_quant_scaling.c fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_quant_scaling.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_sei.c DO NOT MERGE Decoder: Increased allocation and added checks in sei parsing. 2017-10-17 15:09:06 -07:00
ih264d_sei.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_structs.h Merge "Decoder: Fixed incorrect use of mmco parameters." into mnc-dev am: 4d0407c0bb am: 3bde3e435c am: 9247bdc4e7 am: be207cd092 am: 79cc418c53 am: 4b46ed02da am: e43612817e am: 69c211c3f6 2017-11-02 23:54:26 +00:00
ih264d_tables.c Decoder: Padded gau1_ih264d_top_left_mb_part_indx_mod to avoid an out of bound read 2017-01-17 16:12:12 -08:00
ih264d_tables.h Multithreading changes and better error resilience 2015-06-03 07:27:36 -07:00
ih264d_thread_compute_bs.c Multithreading changes and better error resilience 2015-06-03 07:27:36 -07:00
ih264d_thread_compute_bs.h Multithreading changes and better error resilience 2015-06-03 07:27:36 -07:00
ih264d_thread_parse_decode.c Decoder: Reduced memory requirements 2015-09-23 18:35:27 +00:00
ih264d_thread_parse_decode.h Multithreading changes and better error resilience 2015-06-03 07:27:36 -07:00
ih264d_transfer_address.h fix file permissions 2015-05-05 17:51:34 +00:00
ih264d_utils.c Merge "decoder: Fix minimum poc calculation check while adding to display" into oc-dev am: 9d7a036d7b am: cebf26ab4d 2020-01-09 04:06:39 +00:00
ih264d_utils.h Decoder: Reduced memory requirements 2015-09-23 18:35:27 +00:00
ih264d_vui.c DO NOT MERGE Decoder: Initialize few VUI params to signal unspecified values 2016-07-11 22:29:33 +00:00
ih264d_vui.h Decoder: Reduced memory requirements 2015-09-23 18:35:27 +00:00
iv.h Decoder: Reduced memory requirements 2015-09-23 18:35:27 +00:00
ivd.h Decoder: Reduced memory requirements 2015-09-23 18:35:27 +00:00