Commit graph

197 commits

Author SHA1 Message Date
Harish Mahendrakar
b2403fdf0b Decoder: Fixed number of MB calculation for interlaced error streams am: e1cf7ea8ae am: 4e7779e0ef am: ba9af1da5d am: aa51017b8f am: 06b61cfbe1 am: f273d0f53b am: 2396631fe9 am: 523e19f292
am: d27fae00e1

Change-Id: I6c5c9813cc048a9f120532c57303c6b517ee3e48
2017-01-17 20:52:58 +00:00
Harish Mahendrakar
f273d0f53b Decoder: Fixed number of MB calculation for interlaced error streams am: e1cf7ea8ae am: 4e7779e0ef am: ba9af1da5d am: aa51017b8f
am: 06b61cfbe1

Change-Id: I7c8748afaefdddbc170ab55c1da7fa7fe7ae0d16
2017-01-17 20:44:57 +00:00
Harish Mahendrakar
06b61cfbe1 Decoder: Fixed number of MB calculation for interlaced error streams am: e1cf7ea8ae am: 4e7779e0ef am: ba9af1da5d
am: aa51017b8f

Change-Id: I4964046bdc2a49f2a0f70896a2a2d5f606899844
2017-01-17 20:42:28 +00:00
Harish Mahendrakar
4e7779e0ef Decoder: Fixed number of MB calculation for interlaced error streams
am: e1cf7ea8ae

Change-Id: If723b1da6adf7a816c095f327023853bcaccd0c5
2017-01-17 20:34:28 +00:00
Harish Mahendrakar
57dac5a753 Decoder: Fixed an out of bound access while parsing SEI am: 99a85bb469 am: 1a77185504 am: 9f0eec950d am: 66fc94467f am: 7697718da3 am: 1ee70550c4 am: ab51c1716f am: 43ff3318ce
am: 62ab78b273

Change-Id: If222811b1406a11d5f745ad12a9019368fba4e7d
2017-01-14 00:45:11 +00:00
Harish Mahendrakar
1ee70550c4 Decoder: Fixed an out of bound access while parsing SEI am: 99a85bb469 am: 1a77185504 am: 9f0eec950d am: 66fc94467f
am: 7697718da3

Change-Id: I60972b612d472e62a7e76be398496c78a33a89fc
2017-01-14 00:36:41 +00:00
Harish Mahendrakar
7697718da3 Decoder: Fixed an out of bound access while parsing SEI am: 99a85bb469 am: 1a77185504 am: 9f0eec950d
am: 66fc94467f

Change-Id: I8f6b2007c5f223e4333b72e7fedcecd4c2a7b2bf
2017-01-14 00:34:40 +00:00
Harish Mahendrakar
1a77185504 Decoder: Fixed an out of bound access while parsing SEI
am: 99a85bb469

Change-Id: I81440daff1ec1ff71dedb40e231e0b596de9a6fd
2017-01-14 00:27:40 +00:00
Harish Mahendrakar
99a85bb469 Decoder: Fixed an out of bound access while parsing SEI
Invalid SPS Id read was resulting in an out of bound read
Bug: 33552073
Change-Id: Ie5b80222fc7ac3a64475340371be0facdf999d7b

(cherry picked from commit d3d60c6a5d7ab605d19b9ac4b95bc227b7b870dc)
2017-01-13 10:33:18 -08:00
Harish Mahendrakar
d89d151c2a Call ih264d_deblock_display only for valid process calls am: 318368435f am: 2c71fb1941 am: d2977b77e3 am: d66e74cdbf am: 40ebdfd0fb am: cdb1b16a45 am: f9627fe750 am: ee30608e37
am: f38e192634

Change-Id: Ia0f241a57ec28cf5335ff66a7e1d8758a1b0f09c
2017-01-09 17:42:49 +00:00
Harish Mahendrakar
cdb1b16a45 Call ih264d_deblock_display only for valid process calls am: 318368435f am: 2c71fb1941 am: d2977b77e3 am: d66e74cdbf
am: 40ebdfd0fb

Change-Id: I363759fc9520fd49f2b365d42e578e10d858db04
2017-01-09 17:22:48 +00:00
Harish Mahendrakar
40ebdfd0fb Call ih264d_deblock_display only for valid process calls am: 318368435f am: 2c71fb1941 am: d2977b77e3
am: d66e74cdbf

Change-Id: I962aae8ffd9d6acb93a92e12f1424bfe54f96d53
2017-01-09 17:18:38 +00:00
Harish Mahendrakar
2c71fb1941 Call ih264d_deblock_display only for valid process calls
am: 318368435f

Change-Id: I210dfb1eaf04b3ddceffa041c43e25e52023090d
2017-01-09 17:03:46 +00:00
Marco Nelissen
9c2c615c92 Merge "Call ih264d_deblock_display only for valid process calls" into mnc-dev 2017-01-09 16:58:51 +00:00
Harish Mahendrakar
d1fe8ffab7 Decoder: Fix in MB count in MBAff error handling am: 43e0aa2210 am: 5745d5d1a2 am: dafabbc424 am: 296ccc24de am: 8edce048d0 am: 2ce937ef07 am: fbd405bfc0 am: ce8b6307b2
am: f3aa3e74d0

Change-Id: I18f76f82f93c4266e3f91d91c365560a5895b591
2017-01-09 16:44:45 +00:00
Harish Mahendrakar
2ce937ef07 Decoder: Fix in MB count in MBAff error handling am: 43e0aa2210 am: 5745d5d1a2 am: dafabbc424 am: 296ccc24de
am: 8edce048d0

Change-Id: I0c65e48e0d63ce06e6f45aabc88351546a3834d3
2017-01-09 16:24:44 +00:00
Harish Mahendrakar
8edce048d0 Decoder: Fix in MB count in MBAff error handling am: 43e0aa2210 am: 5745d5d1a2 am: dafabbc424
am: 296ccc24de

Change-Id: If235abc0bf790d89d09cdd563a1002a4b3dc4284
2017-01-09 16:20:03 +00:00
Harish Mahendrakar
5745d5d1a2 Decoder: Fix in MB count in MBAff error handling
am: 43e0aa2210

Change-Id: I7e3f3ba1dacffb592fa08475652696be887be2ab
2017-01-09 16:06:12 +00:00
Marco Nelissen
d1ebbd7139 Merge "Decoder: Fix in MB count in MBAff error handling" into mnc-dev 2017-01-09 15:58:25 +00:00
Harish Mahendrakar
ef0f9380bd Decoder: Fixed allocation of ps_dec->ps_nbr_mb_row am: 9b095de571 am: ccd57d9029 am: 4ec0548b97 am: 6e50592ca9 am: c54813cf06 am: 22261bd5c3
am: 000ca8c68c

Change-Id: I978c2ff4af86543226f8ef4e899b51dffa59de31
2017-01-06 18:19:01 +00:00
Harish Mahendrakar
5435034015 Decoder: Fixed cur_mb_info initialization in error cases am: 902c15251f am: 89850806d1 am: c2ab726dc9 am: 45111c3c52 am: 2d9ee53783 am: 2593b52d4d am: 8c67b66b6e
am: 601f024ec8

Change-Id: I198e4a861a05d46faa75bffa3573a42f4f62f091
2017-01-06 18:06:35 +00:00
Harish Mahendrakar
89c8f093e3 Decoder: Fix in error concealment in the case of Mbaff clips am: 3ebff7dc62 am: 8dfaf7cf1b am: 7b9f87283b am: 0b7536238d am: 0cba21c6bf am: 79cfc9557d am: 2871e959d6
am: bb5851eb13

Change-Id: I5f73c5a8e15a5ae8108311e80ac306cd2bf1fd64
2017-01-06 18:06:33 +00:00
Harish Mahendrakar
d05806b2c0 Decoder: Fix in the case of error in the first MB in frame. am: 56b5563f3e am: 7f2a8c6fa8 am: f5d29ebf92 am: 9db31ee733 am: b95d51ad3a am: 2f0f7c3b81 am: f2efe71c75
am: 02a440bdec

Change-Id: Ia4e00557b2177bdad4501454ce5dba89089ab08a
2017-01-06 18:06:32 +00:00
Harish Mahendrakar
bbd43b445b Decoder: Fix in returning incomplete frame error am: d1896deaf1 am: 3e29786590 am: 252ecb244e am: 0f5870d0ce am: 862e10b430 am: b8a9406113 am: 16cd53294c
am: d9655fc433

Change-Id: Ibd427351e4eee5451ce90cf50ccd87bd50fbce6e
2017-01-06 18:06:31 +00:00
Harish Mahendrakar
c54813cf06 Decoder: Fixed allocation of ps_dec->ps_nbr_mb_row am: 9b095de571 am: ccd57d9029 am: 4ec0548b97
am: 6e50592ca9

Change-Id: I56a790e1ee613f91e55319d1265bc5218fe5dfeb
2017-01-06 18:06:30 +00:00
Harish Mahendrakar
8d404d4e08 Decoder: Fix initialization of ps_next_dpb during reference list creation am: 54cbe1b29b am: a13436200c am: e057ae1738 am: 5fc3db621b am: 31e1ffeacb am: 53b01d5b00 am: d1dce9bafb
am: 5a2732bb3f

Change-Id: I8805f8e1fb95077c8cc63b9c3345618eab8c7887
2017-01-06 18:06:29 +00:00
Harish Mahendrakar
6e50592ca9 Decoder: Fixed allocation of ps_dec->ps_nbr_mb_row am: 9b095de571 am: ccd57d9029
am: 4ec0548b97

Change-Id: I266651c36b1634945d4113f8cf0a9e4df7bbd604
2017-01-06 18:03:29 +00:00
Harish Mahendrakar
2593b52d4d Decoder: Fixed cur_mb_info initialization in error cases am: 902c15251f am: 89850806d1 am: c2ab726dc9 am: 45111c3c52
am: 2d9ee53783

Change-Id: Iccd3dfabcd039f1c273a56b02ebd81ae40b224dc
2017-01-06 17:55:03 +00:00
Harish Mahendrakar
79cfc9557d Decoder: Fix in error concealment in the case of Mbaff clips am: 3ebff7dc62 am: 8dfaf7cf1b am: 7b9f87283b am: 0b7536238d
am: 0cba21c6bf

Change-Id: Ibb9eec593c179d3d198be1e2863456c4ef32569d
2017-01-06 17:55:02 +00:00
Harish Mahendrakar
2f0f7c3b81 Decoder: Fix in the case of error in the first MB in frame. am: 56b5563f3e am: 7f2a8c6fa8 am: f5d29ebf92 am: 9db31ee733
am: b95d51ad3a

Change-Id: I85f54150ad95561e240a5fc90d396692c181eecd
2017-01-06 17:55:01 +00:00
Harish Mahendrakar
b8a9406113 Decoder: Fix in returning incomplete frame error am: d1896deaf1 am: 3e29786590 am: 252ecb244e am: 0f5870d0ce
am: 862e10b430

Change-Id: Iffb1a1cdd3f0e49552ef88cfccb8f49607706088
2017-01-06 17:55:00 +00:00
Harish Mahendrakar
ccd57d9029 Decoder: Fixed allocation of ps_dec->ps_nbr_mb_row
am: 9b095de571

Change-Id: I121da793917f162c10093e37b4bf2777fee7ff1e
2017-01-06 17:54:59 +00:00
Harish Mahendrakar
53b01d5b00 Decoder: Fix initialization of ps_next_dpb during reference list creation am: 54cbe1b29b am: a13436200c am: e057ae1738 am: 5fc3db621b
am: 31e1ffeacb

Change-Id: I33a45c49e0c97a272af911c812c108c827c6a413
2017-01-06 17:54:59 +00:00
Harish Mahendrakar
2d9ee53783 Decoder: Fixed cur_mb_info initialization in error cases am: 902c15251f am: 89850806d1 am: c2ab726dc9
am: 45111c3c52

Change-Id: I654c589a26495834f59d4bb3ca0de15b985d69d3
2017-01-06 17:51:32 +00:00
Harish Mahendrakar
0cba21c6bf Decoder: Fix in error concealment in the case of Mbaff clips am: 3ebff7dc62 am: 8dfaf7cf1b am: 7b9f87283b
am: 0b7536238d

Change-Id: I7eb6ba967c2ef32a58aef670d17b18176314f9a2
2017-01-06 17:51:31 +00:00
Harish Mahendrakar
b95d51ad3a Decoder: Fix in the case of error in the first MB in frame. am: 56b5563f3e am: 7f2a8c6fa8 am: f5d29ebf92
am: 9db31ee733

Change-Id: I23b7fdc4df2e6bf2f544327b1ca580cdeb35e0a9
2017-01-06 17:51:30 +00:00
Harish Mahendrakar
862e10b430 Decoder: Fix in returning incomplete frame error am: d1896deaf1 am: 3e29786590 am: 252ecb244e
am: 0f5870d0ce

Change-Id: Id90926aceae1d9474bb594b2a054c0b6d2f79cab
2017-01-06 17:51:29 +00:00
Harish Mahendrakar
31e1ffeacb Decoder: Fix initialization of ps_next_dpb during reference list creation am: 54cbe1b29b am: a13436200c am: e057ae1738
am: 5fc3db621b

Change-Id: I76300b1ea0f555ffe64f4658f25bda4c320b4f6a
2017-01-06 17:51:28 +00:00
Ray Essick
5e6147a424 Merge "Decoder: Fixed allocation of ps_dec->ps_nbr_mb_row" into mnc-dr-dev 2017-01-06 17:50:41 +00:00
Harish Mahendrakar
89850806d1 Decoder: Fixed cur_mb_info initialization in error cases
am: 902c15251f

Change-Id: I53e87b68254973492dac02a48a1b179a9eb4fc93
2017-01-06 17:41:01 +00:00
Harish Mahendrakar
8dfaf7cf1b Decoder: Fix in error concealment in the case of Mbaff clips
am: 3ebff7dc62

Change-Id: I53964cef3c617f22fee7a2db27dac09323db2daf
2017-01-06 17:41:00 +00:00
Harish Mahendrakar
7f2a8c6fa8 Decoder: Fix in the case of error in the first MB in frame.
am: 56b5563f3e

Change-Id: I600140bafcda9d4d9792db53d2a20cc13d90bfe1
2017-01-06 17:40:59 +00:00
Harish Mahendrakar
3e29786590 Decoder: Fix in returning incomplete frame error
am: d1896deaf1

Change-Id: I81b68c6f7b30c3ba048967cd64426b204b8ee895
2017-01-06 17:40:58 +00:00
Harish Mahendrakar
a13436200c Decoder: Fix initialization of ps_next_dpb during reference list creation
am: 54cbe1b29b

Change-Id: I20cc2843ab762c35b8c6a35745d0a674f3f6ef8b
2017-01-06 17:40:57 +00:00
Harish Mahendrakar
e1cf7ea8ae Decoder: Fixed number of MB calculation for interlaced error streams
At the end of picture processing, if the current pic is partially
decoded, number of MBs to be processed was wrongly calculated for
interlaced cases.

Bug: 33129467
Change-Id: Ia81186c60d346f02663607f2dc14166781db6a69
2016-12-28 15:07:09 -08:00
Harish Mahendrakar
43e0aa2210 Decoder: Fix in MB count in MBAff error handling
Number of MBs to be marked as skip should be even for MBAff
error streams

Bug: 33450635
Change-Id: I6af59632e4b2d2882881fe8c52472164ea088f7a
2016-12-28 15:05:36 -08:00
Harish Mahendrakar
318368435f Call ih264d_deblock_display only for valid process calls
ih264d_deblock_display() should be called only if current
decoder call has got a picture buffer during start of pic

Bug: 33751193
Change-Id: I3bf2fdbb910bf7240484dae48b85d72833830d56
2016-12-28 15:03:10 -08:00
Harish Mahendrakar
9b095de571 Decoder: Fixed allocation of ps_dec->ps_nbr_mb_row
This needs an additional row of data to hold top row
Issue is seen only for MBAff error cases which start with a field
at lower resolutions

Bug: 33139050
2016-12-28 13:04:00 -08:00
Harish Mahendrakar
902c15251f Decoder: Fixed cur_mb_info initialization in error cases
When number of MBs decoded in the current frame is zero and an error is
detected, MB info was unnecessarily decremented in multi-core case.

Bug: 33351708
Bug: 33298089
Bug: 33250932
Change-Id: I150c48c6fb382736f1de855ba5384c12bf84710d
2016-12-28 12:36:35 -08:00
Harish Mahendrakar
3ebff7dc62 Decoder: Fix in error concealment in the case of Mbaff clips
In case of MBAff clips, if error is detected after parsing odd MB,
then treat that odd MB also as error. All MBAff processing is done
as an MB-Pair.

Bug: 33298089
2016-12-28 12:36:15 -08:00