Harish Mahendrakar
b248b90e5c
Merge "Decoder: Handle ps_codec_obj memory allocation failure gracefully" into mnc-dr-dev am: 59d29f3a42 am: 1232ed762a am: c3388332a1
...
am: 9616d06d9f
Change-Id: I9302f1123e6db6215640364bc8e2382d03544974
2017-11-03 19:10:47 +00:00
Naveen Kumar P
c8bb308566
Fix incomplete frame error am: ee0e003a0f am: 9fb45f7a68 am: e3d3a992af am: 6284aca74a am: 038c1a11ef am: c0ba9641ea
...
am: 0d7628a0cd
Change-Id: I2fc160694197f3374db49cce1eeba0254379dd91
2017-11-03 19:05:33 +00:00
TreeHugger Robot
59d29f3a42
Merge "Decoder: Handle ps_codec_obj memory allocation failure gracefully" into mnc-dr-dev
2017-11-03 19:00:16 +00:00
Naveen Kumar P
6284aca74a
Fix incomplete frame error am: ee0e003a0f am: 9fb45f7a68
...
am: e3d3a992af
Change-Id: Ibac9789daedaa37b9bfbec9c4fb67d66a648012a
2017-11-03 18:57:32 +00:00
Naveen Kumar P
e3d3a992af
Fix incomplete frame error am: ee0e003a0f
...
am: 9fb45f7a68
Change-Id: I16e5f80a1ff8b88f8042b3cf3ff5563a5f80b865
2017-11-03 18:55:07 +00:00
Naveen Kumar P
9fb45f7a68
Fix incomplete frame error
...
am: ee0e003a0f
Change-Id: I43d586f52753cfb210be26dd343e274fe292fd55
2017-11-03 18:52:32 +00:00
Naveen Kumar P
ee0e003a0f
Fix incomplete frame error
...
Bug: 63522067
Bug: 64380403
Test: ran POC before/after
Change-Id: If22f2ed8936e0ead9fcfa64ddde99e85c10cecd2
2017-11-01 12:42:30 -07:00
Harish Mahendrakar
a966e2a65d
Decoder: Handle ps_codec_obj memory allocation failure gracefully
...
If memory allocation for ps_codec_obj fails, return gracefully
with an error code. All other allocation failures are
handled correctly.
Bug: 68299873
Test: before/after with always-failing malloc
Change-Id: I5e6c07b147b13df81e65476851662d4b55d33b83
2017-10-31 16:31:31 -07:00
Marco Nelissen
92c2b4cc1a
Merge "Fix tile index buf alloc size" into mnc-dr-dev
2017-10-31 17:50:36 +00:00
Naveen Kumar P
4b51fe8471
Merge "Set error skip ctbs as multiple 8x8 pus" into lmp-dev am: 6587d735fa am: 27e8401a7c am: 862bb09d83 am: 44b8f080fb am: 7ec22794a9 am: 4d3f1cc304
...
am: 5669203fdf
Change-Id: I10dafebc1b85ff9521a15f01082e4794d1766df6
2017-10-20 20:04:11 +00:00
Naveen Kumar P
5669203fdf
Merge "Set error skip ctbs as multiple 8x8 pus" into lmp-dev am: 6587d735fa am: 27e8401a7c am: 862bb09d83 am: 44b8f080fb am: 7ec22794a9
...
am: 4d3f1cc304
Change-Id: Ic0cda98016f5afdada7c2eb04c772d0f448d5ae4
2017-10-20 20:02:12 +00:00
Naveen Kumar P
44b8f080fb
Merge "Set error skip ctbs as multiple 8x8 pus" into lmp-dev am: 6587d735fa am: 27e8401a7c
...
am: 862bb09d83
Change-Id: I5de0426f1e6ab5ae6611f32881196290260b775f
2017-10-20 19:56:40 +00:00
Naveen Kumar P
862bb09d83
Merge "Set error skip ctbs as multiple 8x8 pus" into lmp-dev am: 6587d735fa
...
am: 27e8401a7c
Change-Id: Ia7712ae3fa31002fbde12b2491d42c8532555a26
2017-10-20 19:54:10 +00:00
Naveen Kumar P
27e8401a7c
Merge "Set error skip ctbs as multiple 8x8 pus" into lmp-dev
...
am: 6587d735fa
Change-Id: Iec9ffae348591115bb7d21c93acbdbb69adbf703
2017-10-20 19:52:10 +00:00
TreeHugger Robot
6587d735fa
Merge "Set error skip ctbs as multiple 8x8 pus" into lmp-dev
2017-10-20 19:44:51 +00:00
Robert Shih
e7af63d071
Merge "Added an out of bound check on u4_num_bufs in input argument" into lmp-dev am: 4b5c23e393 am: b49adbf304 am: 4ff7f4bfee am: 556af11a03 am: 7fa961814d am: 731ca5667e
...
am: 28ca35d693
Change-Id: I331a8a2b96992542a1658877865be0369e985066
2017-10-18 19:26:51 +00:00
Robert Shih
28ca35d693
Merge "Added an out of bound check on u4_num_bufs in input argument" into lmp-dev am: 4b5c23e393 am: b49adbf304 am: 4ff7f4bfee am: 556af11a03 am: 7fa961814d
...
am: 731ca5667e
Change-Id: I4a6e30464ee53103214340ea3702e3ca5c7903c8
2017-10-18 19:20:18 +00:00
Robert Shih
556af11a03
Merge "Added an out of bound check on u4_num_bufs in input argument" into lmp-dev am: 4b5c23e393 am: b49adbf304
...
am: 4ff7f4bfee
Change-Id: Idd6ee6f7ce322c025864b954cabe098776718ca7
2017-10-18 18:43:28 +00:00
Naveen Kumar P
1ee4f5d773
Fix tile index buf alloc size
...
Bug: 64893226
Change-Id: Iec02f6a7b65804cc3daadf6e29d57a7ad955d517
(cherry picked from commit 6921d875c1 )
2017-10-18 18:29:40 +00:00
Ray Essick
425ee10a01
Alloc extra bytes for bits buf for parse optimzation am: 2ae456c2a3
...
am: 512ea0e115
Change-Id: I5c6c1817e1033548246f37a66b0c4f273526eec5
2017-10-18 18:12:48 +00:00
Robert Shih
4ff7f4bfee
Merge "Added an out of bound check on u4_num_bufs in input argument" into lmp-dev am: 4b5c23e393
...
am: b49adbf304
Change-Id: I8798964119251ab311a0884ccdc326f7fba11871
2017-10-18 18:12:17 +00:00
Marco Nelissen
8db8414337
Merge "Fix tile index buf alloc size" into lmp-dev am: 4b9053c15c
...
am: b1d1fad9f6
Change-Id: I71d054275736897960883d16b3fe6cb1807b39a4
2017-10-18 18:11:58 +00:00
Ray Essick
512ea0e115
Alloc extra bytes for bits buf for parse optimzation
...
am: 2ae456c2a3
Change-Id: I433259a5e1a0f17be601b126c558abde80c8aa80
2017-10-10 02:58:15 +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
2b9fb0c207
Set error skip ctbs as multiple 8x8 pus
...
Bug: 65123471
This is required for incomplete ctbs at the frame
boundaries
Change-Id: I7e41a3ac2f6e35a929ba4ff3ca4cfcc859a7b867
2017-10-05 13:56:13 -07:00
Ray Essick
2ae456c2a3
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: I9f4fca0739db84db023b1252c1365bfd13355541
Merged-In: I1c36821505bdc4fe6c23f30a02ab2fb0fb657946
2017-10-03 16:04:33 -07: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
faa26fa3d7
Fix reallocation for new sps
...
Bug: 34779227
Bug: 62815506
Change-Id: I345f149eee46ae4ff4261526abca10d7ebc05ac5
2017-09-19 17:14:36 -07:00
Robert Shih
b49adbf304
Merge "Added an out of bound check on u4_num_bufs in input argument" into lmp-dev
...
am: 4b5c23e393
Change-Id: I8608961e4cbf7c7d2d73711a7b7ce6cf2332aa8c
2017-09-13 20:36:55 +00:00
Robert Shih
4b5c23e393
Merge "Added an out of bound check on u4_num_bufs in input argument" into lmp-dev
2017-09-13 20:15:11 +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
Marco Nelissen
b1d1fad9f6
Merge "Fix tile index buf alloc size" into lmp-dev
...
am: 4b9053c15c
Change-Id: If94227bf83556964569337503bae0b75feca7991
2017-09-13 05:51:33 +00:00
Marco Nelissen
4b9053c15c
Merge "Fix tile index buf alloc size" into lmp-dev
2017-09-13 05:00:56 +00:00
Harish Mahendrakar
8221313d58
Added an out of bound check on u4_num_bufs in input argument
...
ps_dec_ip->s_out_buffer.u4_num_bufs was missing out of bound checks
Bug: 35430570
Change-Id: Ibbf9891a885f69e208107725e34e7217147b891e
2017-09-12 13:13:26 -07:00
Naveen Kumar P
578f676115
Fix heap buffer overflow
...
am: f6ba5eae65
Change-Id: I6e8bcefce5e4a7df8cdc5519734b8c0f4a9c1ce6
2017-09-11 23:50:27 +00:00
Naveen Kumar P
334f896e61
Fix tile index buf alloc size
...
Bug: 64893226
2017-09-11 15:40:03 -07: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
f6ba5eae65
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:14:34 -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
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
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
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
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