Commit graph

28 commits

Author SHA1 Message Date
Naveen Kumar P
ef0772c3ca Merge "Fix slice address zero for not first slice in pic" into lmp-dev am: 114aff802c am: ad70f9c5e2
am: 20a7f0e1b4

Change-Id: I22705396bf416b34f1ad10767d638d47d5354c60
2017-11-03 19:10:37 +00:00
Naveen Kumar P
20a7f0e1b4 Merge "Fix slice address zero for not first slice in pic" into lmp-dev am: 114aff802c
am: ad70f9c5e2

Change-Id: I5c9a3536b5b280cb2c8119e5749605f7bf159319
2017-11-03 19:07:17 +00:00
Wei Jia
9d4d24e860 Merge "Fix prev slice incomplete check" into lmp-dev am: 94c2e4ad73 am: 7ec4d76835
am: c0b7da5b7c

Change-Id: I587e690d8cfcb96abbd19561df262eeff5f0469c
2017-11-03 19:07:04 +00:00
Wei Jia
c0b7da5b7c Merge "Fix prev slice incomplete check" into lmp-dev am: 94c2e4ad73
am: 7ec4d76835

Change-Id: I121231f5af58fd985a88e1aa14f32aa878fde903
2017-11-03 19:05:33 +00:00
TreeHugger Robot
114aff802c Merge "Fix slice address zero for not first slice in pic" into lmp-dev 2017-11-03 19:01:28 +00:00
Naveen Kumar P
ed3f6bb877 Fix slice address zero for not first slice in pic
The parameter slice address is parsed only slices that are not
first slice in the pic and the value cannot be zero.

Bug: 64380202
Test: ran PoC on master
Change-Id: Ic21c40cf67c916806113d2425790a27cb658b5d2
2017-10-31 14:57:18 -07:00
Naveen Kumar P
9c24714e25 Fix prev slice incomplete check
Bug: 64552185
Bug: 65034175

Move the decision to signal missing ctbs as skipped ctbs of
previous slice to the end of current slice hdr parsing to
ensure no error in slice hdr parsing.

Change-Id: Ia33b4be31dad6225b04e7b20b9000059c87941c4
(cherry picked from commit 74f35f191022c06863dacd33a3651a33be3ef08d)
2017-10-30 15:40:08 -07:00
Harish Mahendrakar
a136624479 Fix heap buffer overflow while searching for valid PPS am: 5204651228 am: 89e719dc77 am: 22af42db03
am: 8108fecdf7

Change-Id: If4d873c7e01ad27c2e8f2e66525448b909e0ee63
2017-05-17 10:12:42 +00:00
Harish Mahendrakar
8108fecdf7 Fix heap buffer overflow while searching for valid PPS am: 5204651228 am: 89e719dc77
am: 22af42db03

Change-Id: I63e5a3e0168b901968d070a7b6185cb209b765f4
2017-05-17 10:10:11 +00:00
Harish Mahendrakar
5204651228 Fix heap buffer overflow while searching for valid PPS
Bug: 37094889
Test: Tested POC on ASAN build
Change-Id: Id4e52cd10a4d5eac015efe4b752162dc39cc30b8
2017-05-16 16:48:29 -07:00
Naveen Kumar P
76c466f238 Merge "Check for buffer overflow in pps/slice header parsing" into lmp-dev am: 1853d3871a am: f7635dd278 am: 17caa64f8b
am: 0b13008b9a

Change-Id: Iff756412d3aae6cebffffde91c2577872e35813a
2017-05-16 22:33:32 +00:00
Naveen Kumar P
0b13008b9a Merge "Check for buffer overflow in pps/slice header parsing" into lmp-dev am: 1853d3871a am: f7635dd278
am: 17caa64f8b

Change-Id: Ibdf47e9ea494abfb70d387b48ff8b4f02b68e45c
2017-05-16 22:29:43 +00:00
Naveen Kumar P
d61d5e5f6a Check for buffer overflow in pps/slice header parsing
Bug: 36215950
Bug: 36215953
Bug: 36216719
Change-Id: Ibdc05e1d5aa21d060d7c683fd9af4bed8537053f
2017-05-15 15:45:50 -07:00
Naveen Kumar Ponnusamy
87c7e6a523 Merge "Check only allocated mv bufs for releasing from reference" into lmp-dev am: 397d2f6c42 am: 1ebd5e1d81 am: 998a1e26c0
am: a56dc1d7d0

Change-Id: I9a0d60cec34503652f87d6a68268c3b7703a5611
2017-04-12 20:15:31 +00:00
Naveen Kumar Ponnusamy
a56dc1d7d0 Merge "Check only allocated mv bufs for releasing from reference" into lmp-dev am: 397d2f6c42 am: 1ebd5e1d81
am: 998a1e26c0

Change-Id: Icc0d6cc373368c73fe186b0e36417695ae7b38dd
2017-04-12 20:10:00 +00:00
TreeHugger Robot
397d2f6c42 Merge "Check only allocated mv bufs for releasing from reference" into lmp-dev 2017-04-12 19:49:50 +00:00
Ray Essick
1f26f4efca Merge "Set current slice ctb x and y to fill prev incomplete slice" into lmp-dev am: bfcdbd6a5b am: 88133ef0a3 am: 6249eafc05
am: 60db7fead3

Change-Id: I57b1ec58668fd68ec943f8d9b7b6d8ee95174284
2017-04-10 23:09:10 +00:00
Ray Essick
60db7fead3 Merge "Set current slice ctb x and y to fill prev incomplete slice" into lmp-dev am: bfcdbd6a5b am: 88133ef0a3
am: 6249eafc05

Change-Id: I2766292140004cf757db19ebf114b8ff14b96953
2017-04-10 23:05:10 +00:00
Naveen Kumar P
830858436b Set current slice ctb x and y to fill prev incomplete slice
If previous slice is not completed, update the current slice
ctb_x and ctb_y so that while filling the previous slice,
the parse slice code can break properly.

Bug: 32322258
Test: boot, ran POC supplied with bug
Change-Id: Ie9090694514a018268851560a3f056194ff6fc91
2017-04-07 20:00:54 +00:00
Naveen Kumar Ponnusamy
23bfe3e06d Check only allocated mv bufs for releasing from reference
When checking mv bufs for releasing from reference, unallocated
mv bufs were also checked. This issue was fixed by restricting
the loop count to allocated number of mv bufs.

Bug: 34896906
Bug: 34819017

Change-Id: If832f590b301f414d4cd5206414efc61a70c17cb
2017-03-15 18:13:38 +00:00
Marco Nelissen
667e459e3f Merge "Handle error return from ref list in slice hdr parsing" into mnc-dev
am: 8883b3e2a3

Change-Id: I84b859bc5358e8b650871dfeb09a2563a03764eb
2017-03-13 22:56:54 +00:00
Naveen Kumar Ponnusamy
766f97657f Handle error return from ref list in slice hdr parsing
The error returned by ref_list function was not handled by the
caller parse_slice_header.

Bug: 34672748
Change-Id: I55f6cb0e651746e77f7ff3375115894ec3964203
2017-03-13 15:37:19 -07:00
Naveen Kumar Ponnusamy
25206ffa6e Handle error return from ref list in slice hdr parsing
The error returned by ref_list function was not handled by the
caller parse_slice_header.

Bug: 34672748
Change-Id: I55f6cb0e651746e77f7ff3375115894ec3964203
2017-03-10 19:01:38 +00:00
Harish Mahendrakar
b2451d1375 Fix in reading short_term_ref_pic_set_idx in slice header
This is to be set to 0, when num_short_term_ref_pic_sets in sps is 1.

Change-Id: Ied061106952eddadd1c92281c6183fd510e2b0b0
2015-10-09 11:44:26 -07:00
Naveen Kumar Ponnusamy
221aaccb7a Few bug fixes in loop filter
Removed few unused functions
Fixed an issue in 420P output in shared mdoe
Few bug fixes in handling loop filter corner cases in multi-tile multi-slice clips
Renamed few elements in mv_buf_t for consistency

Bug: 22860270

Change-Id: I8d179b9ad3c7ee3ad27972ee02ea2658fd2c3c25
2015-07-31 01:59:55 +00:00
Naveen Kumar Ponnusamy
6c166a9e18 Source files clean up
Cleaned up source files for redundant and inactive #if directives
2014-07-12 15:09:24 -07:00
Harish Mahendrakar
707042fda9 Few bug fixes and warnings removed
Added support for returning coded width and height along with display dimensions
Fixed few macros for mips
Removed signed comparison warnings
Removed few files that are not needed
Fixed an issue in handling more than 256 slices in a picture

Bug: 14571712
Change-Id: Ie485aaae3a13744bc9acff8aa699efbbc31f94f1
2014-06-06 06:42:02 -07:00
Harish Mahendrakar
0d8951cef4 Initial Version of HEVC decoder
Compliant to reference software HM11.0 onwards

Bug: 14571712
Change-Id: I8af25c1221cc6ab70440141c4d9b48c1ac69696a
2014-05-21 18:14:55 -07:00