Commit graph

1451 commits

Author SHA1 Message Date
Ritu Baldwa
bc664e6fa7 Decoder: Fixed memory overflow in shared display mode. am: c3b026a87d am: 0183e8df10 am: 53b26e4caa am: 64df5835a4 am: f55fa2495d am: 01f26b3531
am: 8467cf1390

Change-Id: I912f29bcf1afaf1b639c238f9224df62644dd227
2018-01-08 20:11:39 +00:00
Ritu Baldwa
8467cf1390 Decoder: Fixed memory overflow in shared display mode. am: c3b026a87d am: 0183e8df10 am: 53b26e4caa am: 64df5835a4 am: f55fa2495d
am: 01f26b3531

Change-Id: I00b84048f0f706facffc05c088ce7518adb095e7
2018-01-08 20:08:08 +00:00
Ritu Baldwa
01f26b3531 Decoder: Fixed memory overflow in shared display mode. am: c3b026a87d am: 0183e8df10 am: 53b26e4caa am: 64df5835a4
am: f55fa2495d

Change-Id: I112dc9e18949a368838162cfede42c00493ebb45
2018-01-08 20:06:07 +00:00
Ritu Baldwa
f55fa2495d Decoder: Fixed memory overflow in shared display mode. am: c3b026a87d am: 0183e8df10 am: 53b26e4caa
am: 64df5835a4

Change-Id: I7fbca58bb718b60c43468444704ae03baf5b0f42
2018-01-08 20:03:07 +00:00
Ritu Baldwa
64df5835a4 Decoder: Fixed memory overflow in shared display mode. am: c3b026a87d am: 0183e8df10
am: 53b26e4caa

Change-Id: I067deb23590912121dc5c5389284a5966b7c4aad
2018-01-08 20:00:37 +00:00
Ritu Baldwa
53b26e4caa Decoder: Fixed memory overflow in shared display mode. am: c3b026a87d
am: 0183e8df10

Change-Id: I2718f4005544d656db108891d8cf01d2a465408f
2018-01-08 19:58:06 +00:00
Ritu Baldwa
0183e8df10 Decoder: Fixed memory overflow in shared display mode.
am: c3b026a87d

Change-Id: I2b1d09b719db6dc4e5ee32be6653b4a64e89ebd5
2018-01-08 19:56:05 +00:00
Ritu Baldwa
c3b026a87d Decoder: Fixed memory overflow in shared display mode.
The factor multiplication should happen only at the source,
not at the destination.

Bug: 71375536
Test: manual
Change-Id: Ib5f00b87150a0533880346fac5464b0b1a802c36
2018-01-05 11:09:27 -08:00
Ritu Baldwa
e08336ba88 Decoder: Modified loop condition while parsing ref_list_reordering. am: 7ea47d575d am: 8d081b93a8 am: ae0dcda477 am: 65da9e8e53 am: 451792cab1 am: dc0e289d45
am: c1bff2a31b

Change-Id: Ic9248b0224f91b84d99e3df641a8f829dde235a3
2017-12-01 21:15:36 +00:00
Ritu Baldwa
c1bff2a31b Decoder: Modified loop condition while parsing ref_list_reordering. am: 7ea47d575d am: 8d081b93a8 am: ae0dcda477 am: 65da9e8e53 am: 451792cab1
am: dc0e289d45

Change-Id: Idefbf7b444c677cf0e79a37ffebcbd360ce3cfc5
2017-12-01 21:13:32 +00:00
Ritu Baldwa
dc0e289d45 Decoder: Modified loop condition while parsing ref_list_reordering. am: 7ea47d575d am: 8d081b93a8 am: ae0dcda477 am: 65da9e8e53
am: 451792cab1

Change-Id: I596a4b059c04866d998a613e4ecb9bfd7f4ec562
2017-12-01 21:11:28 +00:00
Ritu Baldwa
451792cab1 Decoder: Modified loop condition while parsing ref_list_reordering. am: 7ea47d575d am: 8d081b93a8 am: ae0dcda477
am: 65da9e8e53

Change-Id: I686d61080db8dddac95d6d43e14ade117e9dc42a
2017-12-01 21:09:28 +00:00
Ritu Baldwa
65da9e8e53 Decoder: Modified loop condition while parsing ref_list_reordering. am: 7ea47d575d am: 8d081b93a8
am: ae0dcda477

Change-Id: Ief0c78041bc4f3b81c140332cc8eebea27619e59
2017-12-01 21:05:31 +00:00
Ritu Baldwa
ae0dcda477 Decoder: Modified loop condition while parsing ref_list_reordering. am: 7ea47d575d
am: 8d081b93a8

Change-Id: Ideee6811b41224149d3f0d8bdfbd01d2e35ae0cc
2017-12-01 21:03:27 +00:00
Ritu Baldwa
8d081b93a8 Decoder: Modified loop condition while parsing ref_list_reordering.
am: 7ea47d575d

Change-Id: Icb916758da995402e81f4570e1325a761041cd14
2017-12-01 21:01:58 +00:00
Ritu Baldwa
7ea47d575d Decoder: Modified loop condition while parsing ref_list_reordering.
When ref_pic_list_reordering_flag_l1 is equal to 1, the number of times
that reordering_of_pic_nums_idc is not equal to 3 following
ref_pic_list_reordering_flag_l1 should not exceed
num_ref_idx_l1_active_minus1 + 1.

Bug: 69478425
Change-Id: I031bb744869ac8a57f85bb97574832efd0eefc25
2017-11-30 18:15:06 +00:00
Harish Mahendrakar
7fc07418ef Merge "Decoder: Handle dec_hdl memory allocation failure gracefully" into mnc-dr-dev am: ac0d9cecb5 am: f63836fed1 am: 5448bcea3e am: f87d4848af am: 18ae83b015
am: 04b8990195

Change-Id: I11f4250126af23bfd91e3c37f4c9cbc54519b889
2017-11-03 19:14:00 +00:00
Harish Mahendrakar
04b8990195 Merge "Decoder: Handle dec_hdl memory allocation failure gracefully" into mnc-dr-dev am: ac0d9cecb5 am: f63836fed1 am: 5448bcea3e am: f87d4848af
am: 18ae83b015

Change-Id: I7a6f9809f94ad7a73de8a7a76b1951d7baea87c4
2017-11-03 19:10:34 +00:00
Harish Mahendrakar
18ae83b015 Merge "Decoder: Handle dec_hdl memory allocation failure gracefully" into mnc-dr-dev am: ac0d9cecb5 am: f63836fed1 am: 5448bcea3e
am: f87d4848af

Change-Id: Ia060e78fe7cd7b4233733910f08caadbea05ff3d
2017-11-03 19:07:04 +00:00
Harish Mahendrakar
f87d4848af Merge "Decoder: Handle dec_hdl memory allocation failure gracefully" into mnc-dr-dev am: ac0d9cecb5 am: f63836fed1
am: 5448bcea3e

Change-Id: I7c8b99f374cf28015328b39fe0380f2baf5467d0
2017-11-03 19:05:33 +00:00
Harish Mahendrakar
5448bcea3e Merge "Decoder: Handle dec_hdl memory allocation failure gracefully" into mnc-dr-dev am: ac0d9cecb5
am: f63836fed1

Change-Id: I33c8f851d29112089254f21c13ef630f530ec0bc
2017-11-03 19:03:33 +00:00
Harish Mahendrakar
f63836fed1 Merge "Decoder: Handle dec_hdl memory allocation failure gracefully" into mnc-dr-dev
am: ac0d9cecb5

Change-Id: Ic77edca3f0f9a8dceb0c14cfa7f6c56ca0983581
2017-11-03 19:01:03 +00:00
TreeHugger Robot
ac0d9cecb5 Merge "Decoder: Handle dec_hdl memory allocation failure gracefully" into mnc-dr-dev 2017-11-03 18:57:47 +00:00
Ritu Baldwa
69c211c3f6 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

Change-Id: I345e8caf9d55758b9da9f584d96406cad6d63dfa
2017-11-02 23:50:55 +00:00
Ritu Baldwa
e43612817e Merge "Decoder: Fixed incorrect use of mmco parameters." into mnc-dev am: 4d0407c0bb am: 3bde3e435c am: 9247bdc4e7 am: be207cd092 am: 79cc418c53
am: 4b46ed02da

Change-Id: Ic17c86d3d2b35aea75ce38b69197ab44c5a858ec
2017-11-02 23:48:25 +00:00
Ritu Baldwa
4b46ed02da Merge "Decoder: Fixed incorrect use of mmco parameters." into mnc-dev am: 4d0407c0bb am: 3bde3e435c am: 9247bdc4e7 am: be207cd092
am: 79cc418c53

Change-Id: If8de16da446d535e558f93b1a45e1c9ba369cb7e
2017-11-02 23:46:24 +00:00
Ritu Baldwa
79cc418c53 Merge "Decoder: Fixed incorrect use of mmco parameters." into mnc-dev am: 4d0407c0bb am: 3bde3e435c am: 9247bdc4e7
am: be207cd092

Change-Id: I019dd2f426db294f086280df774b580d4d527c47
2017-11-02 23:43:54 +00:00
Ritu Baldwa
be207cd092 Merge "Decoder: Fixed incorrect use of mmco parameters." into mnc-dev am: 4d0407c0bb am: 3bde3e435c
am: 9247bdc4e7

Change-Id: Iad9be20b5ba3e1bbe09c00678552f85bc764e14f
2017-11-02 23:41:01 +00:00
Ritu Baldwa
9247bdc4e7 Merge "Decoder: Fixed incorrect use of mmco parameters." into mnc-dev am: 4d0407c0bb
am: 3bde3e435c

Change-Id: I2d3a4abf01043e0ff769822e3c401d3e2f6e5667
2017-11-02 23:38:54 +00:00
Ritu Baldwa
3bde3e435c Merge "Decoder: Fixed incorrect use of mmco parameters." into mnc-dev
am: 4d0407c0bb

Change-Id: Iad247fb8d10d2610fe5f8d6bb064fc52b20952ba
2017-11-02 23:36:53 +00:00
TreeHugger Robot
4d0407c0bb Merge "Decoder: Fixed incorrect use of mmco parameters." into mnc-dev 2017-11-02 23:27:42 +00:00
Harish Mahendrakar
7720b3fe3d Decoder: Handle dec_hdl memory allocation failure gracefully
If memory allocation for dec_hdl fails, return gracefully
with an error code. All other allocation failures are
handled correctly.

Bug: 68300072
Test: ran poc before/after
Change-Id: I118ae71f4aded658441f1932bd4ede3536f5028b
2017-11-01 09:57:48 -07:00
Ray Essick
0bae3de163 Merge "DO NOT MERGE Decoder: Increased allocation and added checks in sei parsing." into mnc-dev am: 23e7899124 -s ours am: 235cb0137f -s ours am: 7fb19b8cd4 -s ours am: ebb5c8ce01 -s ours am: fd87d6685b -s ours am: b18ce49706 -s ours
am: 2207401ca1  -s ours

Change-Id: I6f548d1c8adaa915050459a449217d712547d739
2017-10-31 19:24:55 +00:00
Ray Essick
2207401ca1 Merge "DO NOT MERGE Decoder: Increased allocation and added checks in sei parsing." into mnc-dev am: 23e7899124 -s ours am: 235cb0137f -s ours am: 7fb19b8cd4 -s ours am: ebb5c8ce01 -s ours am: fd87d6685b -s ours
am: b18ce49706  -s ours

Change-Id: If585e7c569c97ccae0ad87ea7561ef9900742eb3
2017-10-31 19:18:25 +00:00
Ray Essick
b18ce49706 Merge "DO NOT MERGE Decoder: Increased allocation and added checks in sei parsing." into mnc-dev am: 23e7899124 -s ours am: 235cb0137f -s ours am: 7fb19b8cd4 -s ours am: ebb5c8ce01 -s ours
am: fd87d6685b  -s ours

Change-Id: If3b0558c0c60b2396572b20dff767b7638a15ea6
2017-10-31 19:07:56 +00:00
Ray Essick
fd87d6685b Merge "DO NOT MERGE Decoder: Increased allocation and added checks in sei parsing." into mnc-dev am: 23e7899124 -s ours am: 235cb0137f -s ours am: 7fb19b8cd4 -s ours
am: ebb5c8ce01  -s ours

Change-Id: I4145a1cd0931eb8ac554dda6dc9321328bcc8392
2017-10-31 19:01:20 +00:00
Ray Essick
ebb5c8ce01 Merge "DO NOT MERGE Decoder: Increased allocation and added checks in sei parsing." into mnc-dev am: 23e7899124 -s ours am: 235cb0137f -s ours
am: 7fb19b8cd4  -s ours

Change-Id: If94904894bea1c2b744f6df7dea260274eb5270c
2017-10-31 18:58:52 +00:00
Ray Essick
7fb19b8cd4 Merge "DO NOT MERGE Decoder: Increased allocation and added checks in sei parsing." into mnc-dev am: 23e7899124 -s ours
am: 235cb0137f  -s ours

Change-Id: If5597054fa57dd36ac072665039c20ac0a5e7e48
2017-10-31 18:56:53 +00:00
Ray Essick
235cb0137f Merge "DO NOT MERGE Decoder: Increased allocation and added checks in sei parsing." into mnc-dev
am: 23e7899124  -s ours

Change-Id: I6cfb805bdb9378464ca37518b8743ce044584854
2017-10-31 18:54:52 +00:00
Ray Essick
23e7899124 Merge "DO NOT MERGE Decoder: Increased allocation and added checks in sei parsing." into mnc-dev 2017-10-31 18:45:31 +00:00
Hamsalekha S
2b0c57b966 Decoder: Detect change of mbaff flag in SPS am: d524ba0310 am: c30baf4986 am: 16388ca052 am: 7a94552676 am: e6d5d77d9a am: 2e965b33b3
am: 8ffbcc3c8c

Change-Id: Ia63624375278c6173871eeed28d8e29ac4eac031
2017-10-31 18:15:31 +00:00
Hamsalekha S
48d8b5bbc9 Decoder: Increased allocation and added checks in sei parsing. am: f2b70d3537 am: 8d32a711ac am: a0827a3bb1 am: cd831159ce am: 2a3efcfcde
am: 013d98b763

Change-Id: I2dabb18db187948eaeb13c74fc5dc66a730cfc03
2017-10-31 18:15:18 +00:00
Hamsalekha S
8ffbcc3c8c Decoder: Detect change of mbaff flag in SPS am: d524ba0310 am: c30baf4986 am: 16388ca052 am: 7a94552676 am: e6d5d77d9a
am: 2e965b33b3

Change-Id: I958630a63c2ad84230de2aa73636cb70c7954c89
2017-10-31 18:13:29 +00:00
Hamsalekha S
013d98b763 Decoder: Increased allocation and added checks in sei parsing. am: f2b70d3537 am: 8d32a711ac am: a0827a3bb1 am: cd831159ce
am: 2a3efcfcde

Change-Id: Ifd227cbbeef9e14069dd5c48f1b30bdb6856030c
2017-10-31 18:13:17 +00:00
Hamsalekha S
2e965b33b3 Decoder: Detect change of mbaff flag in SPS am: d524ba0310 am: c30baf4986 am: 16388ca052 am: 7a94552676
am: e6d5d77d9a

Change-Id: I6048ae548b5ad5fe272df8e1853fce6e05215555
2017-10-31 18:11:00 +00:00
Hamsalekha S
2a3efcfcde Decoder: Increased allocation and added checks in sei parsing. am: f2b70d3537 am: 8d32a711ac am: a0827a3bb1
am: cd831159ce

Change-Id: I49ada0ebdcca121f739c753dbedaca8e80ea6da5
2017-10-31 18:10:47 +00:00
Hamsalekha S
e6d5d77d9a Decoder: Detect change of mbaff flag in SPS am: d524ba0310 am: c30baf4986 am: 16388ca052
am: 7a94552676

Change-Id: I470bd0b4ea2640f18f1957a41dd285f964aaa1ee
2017-10-31 18:07:59 +00:00
Hamsalekha S
cd831159ce Decoder: Increased allocation and added checks in sei parsing. am: f2b70d3537 am: 8d32a711ac
am: a0827a3bb1

Change-Id: I7a686f0252fa8de0bed2f58991ee4351caff8632
2017-10-31 18:07:47 +00:00
Hamsalekha S
7a94552676 Decoder: Detect change of mbaff flag in SPS am: d524ba0310 am: c30baf4986
am: 16388ca052

Change-Id: I89d322ef140026da5c7fa997b320e9052f3a114b
2017-10-31 18:06:53 +00:00
Hamsalekha S
a0827a3bb1 Decoder: Increased allocation and added checks in sei parsing. am: f2b70d3537
am: 8d32a711ac

Change-Id: Icfca7e25144ea8e4c6ac7a60da1f84332e3031f7
2017-10-31 18:04:47 +00:00