Commit graph

1460 commits

Author SHA1 Message Date
Ray Essick
17b987beec Merge "Decoder: Adding Error Check for Output Buffer Size in Shared Display Mode." into mnc-dev am: afc729db25 am: 1fb89d8488 am: 56f836a29c am: 33675f68d6 am: 547804d647 am: 7adc4d57f1
am: cfe44b34c0

Change-Id: Ic6b0950e3b1eaa42fcf5054e8ba34fcabba4d6bf
2018-01-08 22:45:22 +00:00
Ray Essick
cfe44b34c0 Merge "Decoder: Adding Error Check for Output Buffer Size in Shared Display Mode." into mnc-dev am: afc729db25 am: 1fb89d8488 am: 56f836a29c am: 33675f68d6 am: 547804d647
am: 7adc4d57f1

Change-Id: Id5d113d0381fb737359a2a40219c10f74771571d
2018-01-08 22:43:22 +00:00
Ray Essick
7adc4d57f1 Merge "Decoder: Adding Error Check for Output Buffer Size in Shared Display Mode." into mnc-dev am: afc729db25 am: 1fb89d8488 am: 56f836a29c am: 33675f68d6
am: 547804d647

Change-Id: I22c555cc975abbfa80aa38810c9e7a0f59ce3450
2018-01-08 22:41:22 +00:00
Ray Essick
547804d647 Merge "Decoder: Adding Error Check for Output Buffer Size in Shared Display Mode." into mnc-dev am: afc729db25 am: 1fb89d8488 am: 56f836a29c
am: 33675f68d6

Change-Id: I25b7f17cb59210ddffad8ea5a2ab49b248c72e08
2018-01-08 22:39:21 +00:00
Ray Essick
33675f68d6 Merge "Decoder: Adding Error Check for Output Buffer Size in Shared Display Mode." into mnc-dev am: afc729db25 am: 1fb89d8488
am: 56f836a29c

Change-Id: I0a63588b48d7089ec2f2b24357bd36c6f42c2b3e
2018-01-08 22:36:51 +00:00
Ray Essick
56f836a29c Merge "Decoder: Adding Error Check for Output Buffer Size in Shared Display Mode." into mnc-dev am: afc729db25
am: 1fb89d8488

Change-Id: Idf649d14813a04f25267cd68a149ffc79d7b244c
2018-01-08 22:34:54 +00:00
Ray Essick
1fb89d8488 Merge "Decoder: Adding Error Check for Output Buffer Size in Shared Display Mode." into mnc-dev
am: afc729db25

Change-Id: Ic57cdca65a505c45bec9c6ff8dd9b5d9dab5fec7
2018-01-08 22:27:38 +00:00
Ray Essick
afc729db25 Merge "Decoder: Adding Error Check for Output Buffer Size in Shared Display Mode." into mnc-dev 2018-01-08 22:16:23 +00:00
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
3692aceb1b Decoder: Adding Error Check for Output Buffer Size in Shared Display Mode.
The output buffer size given by the application, needs to be checked
in every process call. This is required in the case of resolution
change in shared display mode.

Bug: 70294343
Bug: 70350193
Bug: 70526411
Bug: 70526485
Test: manual
Change-Id: I2c1e59425e84ac62a874e5ee180e1b98f0a4058f
2018-01-02 14:25: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