Naveen Kumar P
c8d00a7dc9
Alloc extra bytes for bits buf for parse optimzation am: 4cf597a518 am: 847da962ca am: 1a4160b448 am: 0f0d14ee95
...
am: 1f1b528420
Change-Id: I3fc4d067b43e0ed57744231d5aec6e67d7176321
2017-10-10 01:22:50 +00:00
Naveen Kumar P
1f1b528420
Alloc extra bytes for bits buf for parse optimzation am: 4cf597a518 am: 847da962ca am: 1a4160b448
...
am: 0f0d14ee95
Change-Id: I41874af1fe263bd3b532d7034b0294d143fcf2b1
2017-10-10 01:20:50 +00:00
Naveen Kumar P
0f0d14ee95
Alloc extra bytes for bits buf for parse optimzation am: 4cf597a518 am: 847da962ca
...
am: 1a4160b448
Change-Id: Ibc63539ee338fa1da8570c1d2e865998b4651c19
2017-10-10 01:18:50 +00:00
Naveen Kumar P
1a4160b448
Alloc extra bytes for bits buf for parse optimzation am: 4cf597a518
...
am: 847da962ca
Change-Id: I96573114d5ca0b7d767d77c886e97a8ca325f078
2017-10-10 01:16:50 +00:00
Naveen Kumar P
847da962ca
Alloc extra bytes for bits buf for parse optimzation
...
am: 4cf597a518
Change-Id: I5b42d83e846aaca711dc121913dc1cb8890bc1db
2017-10-10 01:14:49 +00:00
Naveen Kumar P
4cf597a518
Alloc extra bytes for bits buf for parse optimzation
...
Without this extra allocation, if a nal fills entire bits
buffer, there will be out of bound memory read access.
Bug: 65719872
Test: ran poc before/after on ASAN of master
Change-Id: I1c36821505bdc4fe6c23f30a02ab2fb0fb657946
2017-10-03 15:30:34 -07:00
Naveen Kumar P
7bdfbc2d01
Fix reallocation for new sps
...
am: faa26fa3d7
Change-Id: I7c2d161e6f167c319b77a933db1a8e9a66a2e2f0
2017-09-27 01:13:52 +00:00
Naveen Kumar P
faa26fa3d7
Fix reallocation for new sps
...
Bug: 34779227
Bug: 62815506
Change-Id: I345f149eee46ae4ff4261526abca10d7ebc05ac5
2017-09-19 17:14:36 -07:00
Naveen Kumar P
40dd7c7348
Merge "Fix tile index buf alloc size" into nyc-dev am: 79ffdee092
...
am: c67922bab6
Change-Id: Ib997c4b6e6ce8011c84a2b456d1dc8a8515ff413
2017-09-13 20:34:46 +00:00
Naveen Kumar P
c67922bab6
Merge "Fix tile index buf alloc size" into nyc-dev
...
am: 79ffdee092
Change-Id: I4a488b9548124ccdc0844dc8338cd609359ae1be
2017-09-13 20:06:50 +00:00
TreeHugger Robot
79ffdee092
Merge "Fix tile index buf alloc size" into nyc-dev
2017-09-13 06:12:22 +00:00
Naveen Kumar P
25842932c5
RESTRICT AUTOMERGE Fix heap buffer overflow am: 5aee254181 -s ours am: a54382c9e5 am: e8a54726a6 am: 852dc53bcf -s ours am: 4f97f4dae9
...
am: 98e283d073
Change-Id: Idb83330a07476b067393553742cecf36867b32fb
2017-09-12 01:48:07 +00:00
Naveen Kumar P
98e283d073
RESTRICT AUTOMERGE Fix heap buffer overflow am: 5aee254181 -s ours am: a54382c9e5 am: e8a54726a6 am: 852dc53bcf -s ours
...
am: 4f97f4dae9
Change-Id: I7f60b52ab1be5fde681db5c8b3dad4e79b130fcd
2017-09-12 01:45:58 +00:00
Naveen Kumar P
4f97f4dae9
RESTRICT AUTOMERGE Fix heap buffer overflow am: 5aee254181 -s ours am: a54382c9e5 am: e8a54726a6
...
am: 852dc53bcf -s ours
Change-Id: I7b061b2ff7ff9f02e75658cb09f820fa33b719d1
2017-09-12 01:43:55 +00:00
Naveen Kumar P
852dc53bcf
RESTRICT AUTOMERGE Fix heap buffer overflow am: 5aee254181 -s ours am: a54382c9e5
...
am: e8a54726a6
Change-Id: I814cac70329bc5b5ee2c0d20e0cf911a1fa6c9a0
2017-09-12 01:42:13 +00:00
Naveen Kumar P
e8a54726a6
RESTRICT AUTOMERGE Fix heap buffer overflow am: 5aee254181 -s ours
...
am: a54382c9e5
Change-Id: I9c6d892eace3d10f6f7c16e16866cdbe055c40e7
2017-09-12 01:39:31 +00:00
Naveen Kumar P
a54382c9e5
RESTRICT AUTOMERGE Fix heap buffer overflow
...
am: 5aee254181 -s ours
Change-Id: If12a5f1e937892322763485fc3a6bdfadb0707f9
2017-09-12 01:36:29 +00:00
Naveen Kumar P
7c7bfa3477
Fix reallocation for new sps am: 9bae6dd3b4 -s ours
...
am: 2d517300f2 -s ours
Change-Id: I30f6325957f544ddae3c8aa3f49b5d9997d2bb3d
2017-09-11 23:52:38 +00:00
Naveen Kumar P
2d517300f2
Fix reallocation for new sps
...
am: 9bae6dd3b4 -s ours
Change-Id: I75599b097ebc4dc050f05b0a3470b7f98c7c2a1c
2017-09-11 23:50:27 +00:00
Naveen Kumar P
6921d875c1
Fix tile index buf alloc size
...
Bug: 64893226
Change-Id: Iec02f6a7b65804cc3daadf6e29d57a7ad955d517
2017-09-11 15:38:39 -07:00
Naveen Kumar P
5aee254181
RESTRICT AUTOMERGE Fix heap buffer overflow
...
Test:
- Push multi_rec.hevc (in the bug thread) to the device
- Build:
mmm external/libhevc
- Run on device:
hevcdec --input multi_res.hevc --num_frames -1 --num_cores 2
Bug: 62815506
Merged-In: I7e0828c9a9bb1e9997c379544ea5f4eb3556417d
Change-Id: I7e0828c9a9bb1e9997c379544ea5f4eb3556417d
2017-09-08 21:15:45 -07:00
Naveen Kumar P
9bae6dd3b4
Fix reallocation for new sps
...
This works for mnc-dr-dev and later.
Bug: 34779227
Test: re-ran POC before/after patch to verify behavior
Merged-In: Ida0bf6bcc236494c3c89b228039501e287839fbe
Change-Id: Ida0bf6bcc236494c3c89b228039501e287839fbe
(cherry picked from commit 99df61bb9a )
2017-09-09 00:39:18 +00:00
Naveen Kumar P
48b845a0bb
Merge "Fix slice decrement for skipped slices" into mnc-dev am: d743ed23ff am: 5109aa40af am: 55a71c00c2 am: a3fdd32e29 am: f3837f1e83
...
am: 99255d66c2
Change-Id: I6c1f12759158b9465ad4b07bac176a4a779f0562
2017-08-03 21:35:51 +00:00
Naveen Kumar P
99255d66c2
Merge "Fix slice decrement for skipped slices" into mnc-dev am: d743ed23ff am: 5109aa40af am: 55a71c00c2 am: a3fdd32e29
...
am: f3837f1e83
Change-Id: I13d13b0ae8537d9e4153294f92a8dda606ea2c01
2017-08-03 21:31:20 +00:00
Naveen Kumar P
f3837f1e83
Merge "Fix slice decrement for skipped slices" into mnc-dev am: d743ed23ff am: 5109aa40af am: 55a71c00c2
...
am: a3fdd32e29
Change-Id: Ibd3fd9fee1041d9395496925153c57e7db8c5797
2017-08-03 21:24:49 +00:00
Naveen Kumar P
a3fdd32e29
Merge "Fix slice decrement for skipped slices" into mnc-dev am: d743ed23ff am: 5109aa40af
...
am: 55a71c00c2
Change-Id: I9790b33b6515c3afbc6d80443b21c4baf63d52c4
2017-08-03 21:19:19 +00:00
Naveen Kumar P
55a71c00c2
Merge "Fix slice decrement for skipped slices" into mnc-dev am: d743ed23ff
...
am: 5109aa40af
Change-Id: I924d90f821dd1d9bf73775731cb6dc3adbe0bfbc
2017-08-03 21:14:48 +00:00
Naveen Kumar P
5109aa40af
Merge "Fix slice decrement for skipped slices" into mnc-dev
...
am: d743ed23ff
Change-Id: If31bb64ed4da5a773cc32b5a33e93ea85acda776
2017-08-03 21:08:48 +00:00
TreeHugger Robot
d743ed23ff
Merge "Fix slice decrement for skipped slices" into mnc-dev
2017-08-03 20:58:10 +00:00
Harish Mahendrakar
9cba8f5c2a
Merge "Ensure CTB size > 16 for clips with tiles and width/height >= 4096" into lmp-dev am: db15dd7102 am: 419fd4b745 am: 8e6cf47bf1 am: 61f3fbfe13 am: 107cdf1c41 am: 334f59340c am: 9b2d0a5137 am: a309f6605a
...
am: 3bf1fc3edf
Change-Id: If8031d86de753fe0af9a8ae501f7079a1522aee1
2017-08-03 19:27:40 +00:00
Harish Mahendrakar
3bf1fc3edf
Merge "Ensure CTB size > 16 for clips with tiles and width/height >= 4096" into lmp-dev am: db15dd7102 am: 419fd4b745 am: 8e6cf47bf1 am: 61f3fbfe13 am: 107cdf1c41 am: 334f59340c am: 9b2d0a5137
...
am: a309f6605a
Change-Id: I784e97dec42587cac275d2e0d12ce56f6ed79774
2017-08-03 19:22:10 +00:00
Harish Mahendrakar
a309f6605a
Merge "Ensure CTB size > 16 for clips with tiles and width/height >= 4096" into lmp-dev am: db15dd7102 am: 419fd4b745 am: 8e6cf47bf1 am: 61f3fbfe13 am: 107cdf1c41 am: 334f59340c
...
am: 9b2d0a5137
Change-Id: I40a53847609bf84fae00792a101ad751d9312a26
2017-08-03 19:15:10 +00:00
Harish Mahendrakar
9b2d0a5137
Merge "Ensure CTB size > 16 for clips with tiles and width/height >= 4096" into lmp-dev am: db15dd7102 am: 419fd4b745 am: 8e6cf47bf1 am: 61f3fbfe13 am: 107cdf1c41
...
am: 334f59340c
Change-Id: I04d29c17cfdcba3e946bdb9e461bf910e9f7ea0f
2017-08-03 19:10:09 +00:00
Harish Mahendrakar
334f59340c
Merge "Ensure CTB size > 16 for clips with tiles and width/height >= 4096" into lmp-dev am: db15dd7102 am: 419fd4b745 am: 8e6cf47bf1 am: 61f3fbfe13
...
am: 107cdf1c41
Change-Id: Ia61dfffd09ed16728e8e67c9a4278320b83fd5f0
2017-08-03 19:04:38 +00:00
Harish Mahendrakar
107cdf1c41
Merge "Ensure CTB size > 16 for clips with tiles and width/height >= 4096" into lmp-dev am: db15dd7102 am: 419fd4b745 am: 8e6cf47bf1
...
am: 61f3fbfe13
Change-Id: I640c619d9c69774e716ce43cb77b1bc1bb8869e7
2017-08-03 18:59:37 +00:00
Harish Mahendrakar
61f3fbfe13
Merge "Ensure CTB size > 16 for clips with tiles and width/height >= 4096" into lmp-dev am: db15dd7102 am: 419fd4b745
...
am: 8e6cf47bf1
Change-Id: I893a9a91df23625bf2cbd6ce2d226b682c773130
2017-08-03 18:53:37 +00:00
Harish Mahendrakar
8e6cf47bf1
Merge "Ensure CTB size > 16 for clips with tiles and width/height >= 4096" into lmp-dev am: db15dd7102
...
am: 419fd4b745
Change-Id: I6927b2d9e50fc8749031737f60b69d9bbca31f0a
2017-08-03 18:47:37 +00:00
Harish Mahendrakar
419fd4b745
Merge "Ensure CTB size > 16 for clips with tiles and width/height >= 4096" into lmp-dev
...
am: db15dd7102
Change-Id: Ie3b65dfa829d06fbdeb6590cf1458dc886ab6126
2017-08-03 18:40:37 +00:00
TreeHugger Robot
db15dd7102
Merge "Ensure CTB size > 16 for clips with tiles and width/height >= 4096" into lmp-dev
2017-08-03 18:28:53 +00:00
Harish Mahendrakar
248e72c7a8
Ensure CTB size > 16 for clips with tiles and width/height >= 4096
...
For clips with tiles and dimensions >= 4096,
CTB size of 16 can result in tile position > 255.
This is not supported by the decoder
Bug: 37930177
Test: ran poc w/o crashing
Change-Id: I2f223a124c4ea9bfd98343343fd010d80a5dd8bd
2017-07-24 12:33:29 -07:00
Naveen Kumar P
272f2c23c8
Fix slice decrement for skipped slices
...
Test: run the poc with and without the patch
Bug: 63045918
Change-Id: I27804d42c55480c25303d1a5dbb43b1d86d7fa94
2017-07-17 22:17:09 +00:00
Ray Essick
18973410d8
Merge "Fix array size for hrd parameters" into lmp-dev am: 9297a40b62 am: 12dd7731b5 am: 51aa4397cd am: 67445c2c08 -s ours am: dc89a04314 -s ours am: a7c754694b -s ours am: c4b1d51efb -s ours am: c44af2684f -s ours
...
am: da1583f371 -s ours
Change-Id: I81676c75270b30e5c89f95c3bd53efb2f98131be
2017-07-10 22:47:14 +00:00
Ray Essick
da1583f371
Merge "Fix array size for hrd parameters" into lmp-dev am: 9297a40b62 am: 12dd7731b5 am: 51aa4397cd am: 67445c2c08 -s ours am: dc89a04314 -s ours am: a7c754694b -s ours am: c4b1d51efb -s ours
...
am: c44af2684f -s ours
Change-Id: I2eb9ea1dc47c3cc2e6330e710d3fac3d20876a58
2017-07-10 22:40:13 +00:00
Ray Essick
c44af2684f
Merge "Fix array size for hrd parameters" into lmp-dev am: 9297a40b62 am: 12dd7731b5 am: 51aa4397cd am: 67445c2c08 -s ours am: dc89a04314 -s ours am: a7c754694b -s ours
...
am: c4b1d51efb -s ours
Change-Id: Ic81a808d91ea4a75766efe1a23303512779eb7f9
2017-07-10 22:33:13 +00:00
Ray Essick
c4b1d51efb
Merge "Fix array size for hrd parameters" into lmp-dev am: 9297a40b62 am: 12dd7731b5 am: 51aa4397cd am: 67445c2c08 -s ours am: dc89a04314 -s ours
...
am: a7c754694b -s ours
Change-Id: I1cb68ab0f3bea89c529bc0c0b7d59a9baa9e3e67
2017-07-10 22:26:11 +00:00
Ray Essick
a7c754694b
Merge "Fix array size for hrd parameters" into lmp-dev am: 9297a40b62 am: 12dd7731b5 am: 51aa4397cd am: 67445c2c08 -s ours
...
am: dc89a04314 -s ours
Change-Id: I03f8f4a7f5b194ef0ba2279149d1d7b16ea2a9e9
2017-07-10 22:19:17 +00:00
Ray Essick
dc89a04314
Merge "Fix array size for hrd parameters" into lmp-dev am: 9297a40b62 am: 12dd7731b5 am: 51aa4397cd
...
am: 67445c2c08 -s ours
Change-Id: I04d8c5c9c191600821028ef0a630a46da583fddd
2017-07-10 22:13:20 +00:00
Ray Essick
67445c2c08
Merge "Fix array size for hrd parameters" into lmp-dev am: 9297a40b62 am: 12dd7731b5
...
am: 51aa4397cd
Change-Id: I8a0c6a11c878b7ff25b7dddab4da0e84b1d4d12b
2017-07-10 22:07:38 +00:00
Ray Essick
51aa4397cd
Merge "Fix array size for hrd parameters" into lmp-dev am: 9297a40b62
...
am: 12dd7731b5
Change-Id: Id16040781a8c2e7570d1a17a6efaa18c16c36a73
2017-07-10 22:02:38 +00:00
Ray Essick
12dd7731b5
Merge "Fix array size for hrd parameters" into lmp-dev
...
am: 9297a40b62
Change-Id: Icca9783438398dda76e4d8617ed67d777a2a2e2a
2017-07-10 21:58:09 +00:00