Ashwin Natesan
8121651110
mvcdec: Integer overflow in imvcd_parse_subset_sps
...
The cases where the value for log2MaxPocLsb was exceeding
'MAX_BITS_IN_POC_LSB' was not being handled correctly,
which was resulting in an integer overflow. This has been
fixed.
Test: mvc_dec_fuzzer
2023-10-13 07:13:14 -07:00
srujan vandrangi
f27694faed
decoder: join threads in flush mode
...
Test: avcdec
2023-09-25 08:47:41 -07:00
wujianxing1
283f9fcecb
Correct comment spelling error.
...
Change-Id: Idd5e2c12da2b23f598c301bf6fb6a963c4420ae2
Signed-off-by: wujianxing1 <wujianxing1@xiaomi.corp-partner.google.com>
2023-08-11 15:54:38 -07:00
Ashwin Natesan
468e048959
mvcdec: Fixes for OOB accesses of refPicList
...
[x] For certain sequences of modification_of_pic_nums_idc,
OOB accessses of the aps_mod_dpb buffer within mvc_dpb_manager_t
struct could occur. This case has been now detected
and handled.
[x] Removed unused variables in 'imvcd_slice_functions.c'.
Test: mvc_dec_fuzzer
2023-07-26 07:34:30 -07:00
Srujan Vandrangi
5b04d419d2
decoder: join threads in reset()
...
Test: Build
2023-07-24 09:37:28 -07:00
Srujan Vandrangi
72e8241a64
decoder: replace KEEP_THREADS_ACTIVE macro with avc decoder struct variable
...
Bug: 289097296
Test: Build
2023-07-22 09:51:37 -07:00
Srujan Vandrangi
6685e380b5
decoder: handle error returned by ih264d_decode_gaps_in_frame_num
...
Bug: oss-fuzz:55598, oss-fuzz:57605, oss-fuzz:55641
Test: avc_dec_fuzzer
2023-06-21 06:51:49 -07:00
Mallikarjun Kamble
84f955dd77
svcdec: Fix for out of range reference index during base mode flag
...
Bug: 58278
Test: svc_dec_fuzzer
2023-04-27 07:47:13 -07:00
Ashwin Natesan
f8ae418b38
mvcdec: Bitstream buf allocation accounts for FGC SEI
...
The worst case FGC SEI payload size in cojunction with the worst
case sizes of other NALU's can be significantly larger than the
default bitstream buffer size of 256000. It is now set to the sum
of 256000 and MAX_FGC_SEI_SIZE.
Bug: ossFuzz:58190
Test: mvc_dec_fuzzer
2023-04-20 15:35:41 -07:00
Mallikarjun Kamble
5a7d4325be
svcdec: Fix for out of bound index in ii_pred
...
Bug: 274306469
Test: svc_dec_fuzzer
2023-03-23 12:10:07 -07:00
Harish Mahendrakar
7164209291
Updates to Android.bp and some formatting fixes
...
- Only libavcdec is marked as available to apex modules instead
of marking all decoder libraries to be available to apex modules.
- some formatting changes for consistency with neighboring lines.
Test: Builds
2023-03-08 20:27:18 -08:00
chamarthi.kishore
7855d6e872
svcdec: Bug fix in header and SPS parsing w.r.t non dyadic SVC decoding
...
BUG=oss-fuzz: 56176
Test: svc_dec_fuzzer
2023-03-01 15:01:00 -08:00
chamarthi.kishore
3a853e8247
svcdec: Bug fix in mark_err_slice_skip funtion w.r.t thread creation
...
BUG=oss-fuzz: 56023, 56050, 56089
Test: svc_dec_fuzzer
2023-02-28 15:11:26 -08:00
chamarthi.kishore
a49b596b8e
svcdec: Modifications to the conditions in NON VCL NAL parsing.
...
BUG=oss-fuzz: 56386
Test: svc_dec_fuzzer
2023-02-27 11:08:52 -08:00
chamarthi.kishore
c0ca3b2979
svcdec: Bug fix in NON VCL NAL parsing.
...
BUG=oss-fuzz: 56386
Test: svc_dec_fuzzer
2023-02-27 11:08:52 -08:00
chamarthi.kishore
4900778d4c
svcdec: Indentation changes
...
BUG=oss-fuzz: 56176
Test: svc_dec_fuzzer
2023-02-25 09:26:25 -08:00
chamarthi.kishore
5fabd43f6a
svcdec: Bug fix in header parsing w.r.t u1_extended_spatial_scalability_idc
...
BUG=oss-fuzz: 56176
Test: svc_dec_fuzzer
2023-02-25 09:26:25 -08:00
Harish Mahendrakar
a7c8d47643
Fix formatting in FGC commit
2023-02-21 12:36:55 -08:00
Shireesh Kadaramandalgi
b6b12cc5f0
libavc: Add support for FGC SEI message
...
- Decoder: Added support for FGC SEI parsing and exporting
2023-02-21 12:36:55 -08:00
chamarthi.kishore
992407f6c3
Resolved invalid memory access to Weighted pred offsets
...
BUG=oss-fuzz:56013
Test: svc_dec_fuzzer
2023-02-16 10:07:46 -08:00
Mallikarjun Kamble
7f19ac2206
Remove printf's from sei
...
These printf's were inserted for debugging
2023-02-14 22:00:13 -08:00
Mallikarjun Kamble
8e41a50de4
libavc: Added support for SII SEI message
...
- Add SII flag and SII parameters for the encoder and decoder.
- Encoder: Added support for SII SEI
- Decoder: Added support for SII SEI parsing and exporting
2023-02-14 22:00:13 -08:00
Mallikarjun Kamble
8739b7da75
svcdec: Limit min dimensions supported to 32x32
...
Also added macros for svc decoder max dimensions as well
BUG=oss-fuzz:55874, 55876, 55877, 55888, 55905 and 55911
Test: svc_dec_fuzzer
2023-02-14 21:55:58 -08:00
Mallikarjun Kamble
764ab7b702
Resolve the issue of non-vcl buffer overflow in nal_parse
...
BUG=oss-fuzz:55964
Test: svc_dec_fuzzer
2023-02-14 21:27:22 -08:00
Mallikarjun Kamble
8b8c7e390d
Resolve the issue of pps and sps counter overflow
...
BUG=oss-fuzz:55904
Test: svc_dec_fuzzer
2023-02-14 07:53:27 -08:00
chamarthi.kishore
e6c806df90
formatting changes
2023-02-08 07:55:47 -08:00
chamarthi.kishore
308e043ef6
VUI header file changes
2023-02-08 07:55:47 -08:00
chamarthi.kishore
375b9b7e44
SVC decoder support
2023-02-08 07:55:47 -08:00
Harish Mahendrakar
2219f68d19
decoder: Fix the size check for arguments to decode call.
...
Fixes #2
Test: avc_dec_fuzzer
2023-01-30 12:37:18 -08:00
Harish Mahendrakar
6334fd9a1c
Remove mips specific files
...
Test: Builds
Bug: 261484694
Change-Id: Ied9694ee9f7245e2db37ff42b7fb98cb58397af9
2022-12-06 02:52:33 +05:30
Mao Han
e8b0093646
Add riscv64 support
...
Use generic function pointers on riscv.
Test: built for aosp_riscv64
Signed-off-by: Mao Han <han_mao@linux.alibaba.com>
Change-Id: I424d15396d7e9711d23a6118f92aee0fc7924c28
2022-12-01 22:27:12 +00:00
Ashwin Natesan
d813b95df7
mvc: added check for incorrect pocs in DPB list
...
Bug: 250317489
Test: fuzzer poc in bug
Change-Id: I4defa4c3f58d3131893e694ba125b5e1a76e71ad
2022-10-06 15:22:16 +05:30
Ashwin Natesan
7e9911f8e0
mvc: added check for incorrect poc signaling
...
Bug: 242723830
Test: fuzzer poc in bug
Change-Id: Id52a4dfac055844bed3440e29eca924c47d4f226
2022-09-23 14:44:41 +05:30
Treehugger Robot
18763d60a2
Merge "mvc: fixed an integer overflow in prev_max_disp_seq"
2022-09-15 05:03:31 +00:00
Treehugger Robot
d46160f452
Merge "mvc: corrected logic for inserting long term refs"
2022-09-15 01:34:29 +00:00
Ashwin Natesan
aa3c12e605
mvc: fixed an integer overflow in prev_max_disp_seq
...
Bug: 246041870
Test: fuzzer poc in bug
Change-Id: Id4e5d358a7a8395a450f43ae8adcc1c320ffd652
2022-09-14 12:31:22 +05:30
Ashwin Natesan
c411bb53e6
mvc: corrected logic for inserting long term refs
...
The logic for inserting long term refs was failing
when the new ltIdx was greater than any of the
existing ltIdx in the DPB
Bug: 242723830
Test: fuzzer poc in bug
Change-Id: Iea9d71e563910a884ddfc2ddc6d6ab2b32581fde
2022-09-10 11:31:09 +05:30
Treehugger Robot
c0b08788bb
Merge "mvc: added check for incorrect abs_diff_pic_num_minus1"
2022-09-07 17:36:37 +00:00
Ashwin Natesan
d2f8ae1661
mvc: added check for incorrect abs_diff_pic_num_minus1
...
Bug: 242723830
Test: fuzzer poc in bug
Change-Id: Ic5190ac52aa2fe145f9b7a7cbaaf5c460a7fbd01
2022-09-06 11:04:57 +05:30
Ashwin Natesan
83047b4d6e
mvc: added check for incorrect abs_diff_view_idx_minus1
...
abs_diff_view_idx_minus1 is present in NALU with NALUID=20
within ref_pic_list_mvc_modification
Bug: 242723830
Test: fuzzer poc in bug
Change-Id: I6ff31b3294cd01484712eebdb6bff1e336f06e38
2022-09-05 14:12:12 +05:30
Treehugger Robot
9c75f6b991
Merge "mvc: fixed an integer overflow in max_disp_seq computation"
2022-09-02 16:30:01 +00:00
Ashwin Natesan
80bba33ec2
mvc: fix integer overflows while computing display poc
...
Bug: 242274872
Bug: 244651074
Test: fuzzer poc in bug
Change-Id: I6c4ff7d48ea435913a79e30f3c61d93777d03975
2022-09-02 05:19:18 +00:00
Ashwin Natesan
3a6e67d2eb
mvc: fixed an integer overflow in max_disp_seq computation
...
Bug: 242723830
Test: fuzzer poc in bug
Change-Id: I38db0a26317c6ae978b2599cfe989a396a50c0ab
2022-08-31 20:30:58 +05:30
Harish Mahendrakar
eb463e5aa2
cmake: Set C standard to C90 and move few macros to specific targets
...
- Set CMAKE_C_STANDARD to 90
Because of this, moved some declarations to start of the block
- Move PROFILE_ENABLE and MD5_DISABLE to specific targets as these
macros are not used when building libraries
Bug: 242076773
Test: Builds
Change-Id: Icd0b8a48f015a695185ce2220800348f7a7512f1
2022-08-30 20:00:54 +00:00
Treehugger Robot
b7ac6e9575
Merge "mvc: corrected handling of incorrect bitstreams in mmco parsing"
2022-08-30 15:29:42 +00:00
Ashwin Natesan
17f097626f
mvc: corrected handling of incorrect bitstreams in mmco parsing
...
Test: fuzzer poc in bug
Bug: 243507465
Bug: 243980319
Change-Id: Ie0fa865791948693d7cd1665965022302ec56203
2022-08-30 10:14:10 +05:30
Treehugger Robot
7215ecabd3
Merge "mvc: Fix for cases where PPS is replaced while still in use"
2022-08-24 22:25:05 +00:00
Treehugger Robot
6a99b2b6c3
Merge "mvc: Fix for with excessive number of 'modification_of_pic_nums_idc'"
2022-08-23 21:14:38 +00:00
Treehugger Robot
4a1c3fbce0
Merge "mvc: Fixed integer overflow erros while computing picNum"
2022-08-23 17:38:28 +00:00
Ashwin Natesan
f548c7afab
mvc: Fix for with excessive number of 'modification_of_pic_nums_idc'
...
Bug: 242600232
Test: fuzzer poc in bug
Change-Id: Ibb566320a452b38235b57bd4b7dd1215a37ca515
2022-08-20 15:58:51 +05:30