Commit graph

226 commits

Author SHA1 Message Date
Marco Nelissen
de511dec6e Merge "Decoder: Fix in checking first_mb_in_slice" into mnc-dev am: 78523d557a
am: 11e48510ee

Change-Id: Ied98c92a625d59b7f96cd0a8cc6fc0877aed8cbc
2017-01-18 18:20:31 +00:00
Harish Mahendrakar
3c332522de Decoder: Fix in checking first_mb_in_slice am: ef27433ca8
am: 274529d8aa

Change-Id: I2a495130b4fe30f917a8490a96577f526e9e5b8f
2017-01-18 18:20:24 +00:00
Marco Nelissen
11e48510ee Merge "Decoder: Fix in checking first_mb_in_slice" into mnc-dev
am: 78523d557a

Change-Id: Ic0f4f9f01614c91acb3892cf398cd3f58827970c
2017-01-18 18:18:25 +00:00
Harish Mahendrakar
274529d8aa Decoder: Fix in checking first_mb_in_slice
am: ef27433ca8

Change-Id: Ic27ccbbcad3d991862b7e680595ab0ae4fd23eb0
2017-01-18 18:18:24 +00:00
Marco Nelissen
78523d557a Merge "Decoder: Fix in checking first_mb_in_slice" into mnc-dev 2017-01-18 18:07:51 +00:00
Marco Nelissen
8a4bb00e14 Merge "Decoder: Padded gau1_ih264d_top_left_mb_part_indx_mod to avoid an out of bound read" into mnc-dev am: 4e0cdd450e
am: 2bdef88e48

Change-Id: Ib02027ca423fbb09b93ac2243759105666c1b02c
2017-01-18 17:39:26 +00:00
Harish Mahendrakar
5508b75095 Decoder: Padded gau1_ih264d_top_left_mb_part_indx_mod to avoid an out of bound read am: b88f59d835
am: bb4b279eb1

Change-Id: I6ecf9de69fca276c6d1e3526e43d8eab84ad2a29
2017-01-18 17:39:18 +00:00
Marco Nelissen
2bdef88e48 Merge "Decoder: Padded gau1_ih264d_top_left_mb_part_indx_mod to avoid an out of bound read" into mnc-dev
am: 4e0cdd450e

Change-Id: I0c3dae5ca61ddac6b129ccb6c73d72aec224d440
2017-01-18 17:32:48 +00:00
Harish Mahendrakar
bb4b279eb1 Decoder: Padded gau1_ih264d_top_left_mb_part_indx_mod to avoid an out of bound read
am: b88f59d835

Change-Id: If2e3c4258f8e64918e0ab066c9cc75cf8887c797
2017-01-18 17:32:47 +00:00
Marco Nelissen
4e0cdd450e Merge "Decoder: Padded gau1_ih264d_top_left_mb_part_indx_mod to avoid an out of bound read" into mnc-dev 2017-01-18 17:25:17 +00:00
Marco Nelissen
b4eb922142 Merge "Decoder: Increase memory allocation for weights & offsets for interlaced clips" into mnc-dr-dev
am: 696b6f666c

Change-Id: I189be36f6cefa684e60780d8a9fb8ea56b14440f
2017-01-18 16:41:14 +00:00
Harish Mahendrakar
bfc735cf17 Decoder: Increase memory allocation for weights & offsets for interlaced clips
am: bee9b9a54b

Change-Id: I8c0bd3d77b87e6fb3f982ef70854b8ec73298636
2017-01-18 16:41:13 +00:00
Marco Nelissen
696b6f666c Merge "Decoder: Increase memory allocation for weights & offsets for interlaced clips" into mnc-dr-dev 2017-01-18 16:27:26 +00:00
Harish Mahendrakar
001ba00c41 Merge "Decoder: Fixed DoS in header decode when no PPS is present" into mnc-dev am: e74ab7dba4
am: 9c99d74842

Change-Id: I93993f3ab67bcf3bc39feaeef01cf8d6d7b56c14
2017-01-18 00:28:53 +00:00
Harish Mahendrakar
031a3fdbba Decoder: Fixed DoS in header decode when no PPS is present am: 2cd2f7a335
am: cec6503a20

Change-Id: I4cd503fce00a79db877b739a3b8db82e92f37329
2017-01-18 00:28:44 +00:00
Harish Mahendrakar
9c99d74842 Merge "Decoder: Fixed DoS in header decode when no PPS is present" into mnc-dev
am: e74ab7dba4

Change-Id: I430b2a280792584e0c82d85584a13cb43383b67f
2017-01-18 00:26:16 +00:00
Harish Mahendrakar
cec6503a20 Decoder: Fixed DoS in header decode when no PPS is present
am: 2cd2f7a335

Change-Id: If8a7c11ef215a84a350cd0a734bca9c69b91f1c6
2017-01-18 00:26:14 +00:00
TreeHugger Robot
e74ab7dba4 Merge "Decoder: Fixed DoS in header decode when no PPS is present" into mnc-dev 2017-01-18 00:23:33 +00:00
Harish Mahendrakar
b88f59d835 Decoder: Padded gau1_ih264d_top_left_mb_part_indx_mod to avoid an out of bound read
Change-Id: Ie8761de856ed8c7d08f3da61631c1bef446448e6
2017-01-17 16:12:12 -08:00
Harish Mahendrakar
ef27433ca8 Decoder: Fix in checking first_mb_in_slice
Also, increment slice header only if previous slice had atleast one MB
This is to ensure there is no out of bound read for streams with 1 MB, and
due to error 2 slices were being accessed.

Bug: 33982658
Change-Id: I5f1918c09e922ca39f495f6059dfea3fa1d49448
2017-01-17 16:02:35 -08:00
Harish Mahendrakar
bee9b9a54b Decoder: Increase memory allocation for weights & offsets for interlaced clips
Bug: 33816782
Change-Id: I65a5376f46902139f9fc49a2fff54b53b518d703
2017-01-17 15:25:56 -08:00
Harish Mahendrakar
2cd2f7a335 Decoder: Fixed DoS in header decode when no PPS is present
When the input does not contain PPS and decoder is in header decode
mode, decoder was entering an infinite loop.

Bug: 33621215
(cherry picked from commit 33e1b190d6db09bd72a9f0f51acef4b14eabd6ff)
2017-01-17 15:25:13 -08:00
Marco Nelissen
57345397eb Merge "Decoder: Fixed number of MB calculation for interlaced error streams" into mnc-dev am: c4f317b873
am: f353a610f3

Change-Id: I1bae300154cd3fff6abf3e94437c9953259afd4a
2017-01-17 20:37:04 +00:00
Harish Mahendrakar
ba9af1da5d Decoder: Fixed number of MB calculation for interlaced error streams am: e1cf7ea8ae
am: 4e7779e0ef

Change-Id: Id863990ebc1984eb726aa8d004febf235fdcc582
2017-01-17 20:36:57 +00:00
Marco Nelissen
f353a610f3 Merge "Decoder: Fixed number of MB calculation for interlaced error streams" into mnc-dev
am: c4f317b873

Change-Id: I1b82e26ba6272edc8c58faf4d543bebd001169d1
2017-01-17 20:34:29 +00:00
Harish Mahendrakar
4e7779e0ef Decoder: Fixed number of MB calculation for interlaced error streams
am: e1cf7ea8ae

Change-Id: If723b1da6adf7a816c095f327023853bcaccd0c5
2017-01-17 20:34:28 +00:00
Marco Nelissen
c4f317b873 Merge "Decoder: Fixed number of MB calculation for interlaced error streams" into mnc-dev 2017-01-17 20:27:24 +00:00
Harish Mahendrakar
9f0eec950d Decoder: Fixed an out of bound access while parsing SEI am: 99a85bb469
am: 1a77185504

Change-Id: I8044c1d6b8b966e1d95015aeeacf4cee45d7a4c3
2017-01-14 00:29:41 +00:00
Harish Mahendrakar
1a77185504 Decoder: Fixed an out of bound access while parsing SEI
am: 99a85bb469

Change-Id: I81440daff1ec1ff71dedb40e231e0b596de9a6fd
2017-01-14 00:27:40 +00:00
Harish Mahendrakar
99a85bb469 Decoder: Fixed an out of bound access while parsing SEI
Invalid SPS Id read was resulting in an out of bound read
Bug: 33552073
Change-Id: Ie5b80222fc7ac3a64475340371be0facdf999d7b

(cherry picked from commit d3d60c6a5d7ab605d19b9ac4b95bc227b7b870dc)
2017-01-13 10:33:18 -08:00
Marco Nelissen
5436064c98 Merge "Call ih264d_deblock_display only for valid process calls" into mnc-dev am: 9c2c615c92
am: c8b5569444

Change-Id: Id2b3fa4878c59735703d1a1390a6151b8d98ee51
2017-01-09 17:08:56 +00:00
Harish Mahendrakar
d2977b77e3 Call ih264d_deblock_display only for valid process calls am: 318368435f
am: 2c71fb1941

Change-Id: I792631b3cc8c4eed2982b62325dd0fa56e92ad94
2017-01-09 17:08:46 +00:00
Marco Nelissen
c8b5569444 Merge "Call ih264d_deblock_display only for valid process calls" into mnc-dev
am: 9c2c615c92

Change-Id: If941336a0f464d30ba9a171a6f81290eb5737c1f
2017-01-09 17:03:46 +00:00
Harish Mahendrakar
2c71fb1941 Call ih264d_deblock_display only for valid process calls
am: 318368435f

Change-Id: I210dfb1eaf04b3ddceffa041c43e25e52023090d
2017-01-09 17:03:46 +00:00
Marco Nelissen
9c2c615c92 Merge "Call ih264d_deblock_display only for valid process calls" into mnc-dev 2017-01-09 16:58:51 +00:00
Marco Nelissen
87b1aa95e4 Merge "Decoder: Fix in MB count in MBAff error handling" into mnc-dev am: d1ebbd7139
am: 2d98342fe7

Change-Id: I982275877828ba0e0990384ddd24cc6ab3321fd8
2017-01-09 16:10:51 +00:00
Harish Mahendrakar
dafabbc424 Decoder: Fix in MB count in MBAff error handling am: 43e0aa2210
am: 5745d5d1a2

Change-Id: Id4dc0c46a07a4f2ae2b9aa67133ba7b3653909ad
2017-01-09 16:10:42 +00:00
Marco Nelissen
2d98342fe7 Merge "Decoder: Fix in MB count in MBAff error handling" into mnc-dev
am: d1ebbd7139

Change-Id: I9fb675ee3a2b7cd4610989f441e075f0b2ee067c
2017-01-09 16:06:12 +00:00
Harish Mahendrakar
5745d5d1a2 Decoder: Fix in MB count in MBAff error handling
am: 43e0aa2210

Change-Id: I7e3f3ba1dacffb592fa08475652696be887be2ab
2017-01-09 16:06:12 +00:00
Marco Nelissen
d1ebbd7139 Merge "Decoder: Fix in MB count in MBAff error handling" into mnc-dev 2017-01-09 15:58:25 +00:00
Ray Essick
25d0aea361 Merge "Decoder: Fixed allocation of ps_dec->ps_nbr_mb_row" into mnc-dr-dev
am: 5e6147a424

Change-Id: I2458e0a26e2b636623b2b0f12ae54aacaacb364c
2017-01-06 17:55:00 +00:00
Harish Mahendrakar
ccd57d9029 Decoder: Fixed allocation of ps_dec->ps_nbr_mb_row
am: 9b095de571

Change-Id: I121da793917f162c10093e37b4bf2777fee7ff1e
2017-01-06 17:54:59 +00:00
Ray Essick
5e6147a424 Merge "Decoder: Fixed allocation of ps_dec->ps_nbr_mb_row" into mnc-dr-dev 2017-01-06 17:50:41 +00:00
Harish Mahendrakar
c2ab726dc9 Decoder: Fixed cur_mb_info initialization in error cases am: 902c15251f
am: 89850806d1

Change-Id: I83e45a0b278fc45b9192c4b495b56fd01baa6c6d
2017-01-06 17:44:31 +00:00
Harish Mahendrakar
7b9f87283b Decoder: Fix in error concealment in the case of Mbaff clips am: 3ebff7dc62
am: 8dfaf7cf1b

Change-Id: I78bf4b86259b08c82cf6e7b7b5a26e9fabb19167
2017-01-06 17:44:30 +00:00
Harish Mahendrakar
f5d29ebf92 Decoder: Fix in the case of error in the first MB in frame. am: 56b5563f3e
am: 7f2a8c6fa8

Change-Id: I435bf9672aca534d253e7e583f35335015fa5e17
2017-01-06 17:44:30 +00:00
Harish Mahendrakar
252ecb244e Decoder: Fix in returning incomplete frame error am: d1896deaf1
am: 3e29786590

Change-Id: Ie1b47e0ec9a24daba2cc253887ac804aff2d9a86
2017-01-06 17:44:29 +00:00
Harish Mahendrakar
e057ae1738 Decoder: Fix initialization of ps_next_dpb during reference list creation am: 54cbe1b29b
am: a13436200c

Change-Id: I2d108671a98bfb304f140348d9fc43475a219010
2017-01-06 17:44:27 +00:00
Harish Mahendrakar
89850806d1 Decoder: Fixed cur_mb_info initialization in error cases
am: 902c15251f

Change-Id: I53e87b68254973492dac02a48a1b179a9eb4fc93
2017-01-06 17:41:01 +00:00
Harish Mahendrakar
8dfaf7cf1b Decoder: Fix in error concealment in the case of Mbaff clips
am: 3ebff7dc62

Change-Id: I53964cef3c617f22fee7a2db27dac09323db2daf
2017-01-06 17:41:00 +00:00