Commit graph

126 commits

Author SHA1 Message Date
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
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
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
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
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
Harish Mahendrakar
56b5563f3e Decoder: Fix in the case of error in the first MB in frame.
In case of error in first MB in a frame, ps_dec->i4_submb_ofst
was decremented to result in negative offsets.

Bug: 33351708
2016-12-28 12:35:44 -08:00
Harish Mahendrakar
d1896deaf1 Decoder: Fix in returning incomplete frame error
In case a slice start code is found and picture decode is not complete
and a non slice NAL is encountered, then mark the current pic as incomplete

Bug: 33250932
Bug: 33139050

Change-Id: I9db4446338b307310805dba90c60c8cbdeee0739
2016-12-28 12:35:25 -08:00
Harish Mahendrakar
54cbe1b29b Decoder: Fix initialization of ps_next_dpb during reference list creation
ps_dpb_mgr->ps_dpb_ht_head is a linked list with
ps_dpb_mgr->u1_num_lt_ref_bufs number of valid buffers.
So ps_next_dbp has to be initialized to ps_dpb_mgr->ps_dpb_ht_head
for each u1_lt_index loop iteration

Bug: 33387820
Change-Id: I2dfd962bad5640a829afc123adbd0709e563e621
2016-12-28 12:33:39 -08:00
Harish Mahendrakar
f30749947b Decoder: Fix in checking for valid profile flags am: d7eee555dc am: 637cb7f434 am: 3735b426ae am: 4b8b6ff6cb
am: 5c225e8959

Change-Id: I95cad16f41abab8c7c97e074df8eac238cc449f2
2016-12-08 00:33:33 +00:00
Harish Mahendrakar
5c225e8959 Decoder: Fix in checking for valid profile flags am: d7eee555dc am: 637cb7f434 am: 3735b426ae
am: 4b8b6ff6cb

Change-Id: I885af804897da15c8f83d65bb0da9345a0dee766
2016-12-08 00:29:33 +00:00
Harish Mahendrakar
637cb7f434 Decoder: Fix in checking for valid profile flags
am: d7eee555dc

Change-Id: I73b07d5ce0b248387d5f4b492caf63f02d372881
2016-12-08 00:16:31 +00:00
Harish Mahendrakar
d7eee555dc Decoder: Fix in checking for valid profile flags
Apart from Baseline, main and high profile, only extended profile
is supported provided, constraint_set0_flag or constraint_set1_flag are set to 1

Bug: 31999646
Change-Id: I3b62069efc49e222a7126fba0805fa9124aac8f2
2016-12-06 14:19:39 -08:00
Harish Mahendrakar
80f3b06d90 Decoder: Fixes in handling errors in Mbaff clips. am: 6676aeb419 am: fab0729908 am: 05bd0e8d4c am: 69b2803e55
am: dcb099e183

Change-Id: I9d542a27d8d0410758485a6ca7799c9715bb0729
2016-10-19 00:05:30 +00:00
Harish Mahendrakar
30243167b0 Decoder: Ignore few dpb errors am: 026745ef04 am: 5d794693d5 am: 4483ecc64b am: 7e5239dd82
am: a3a7de7001

Change-Id: I8c3ae6a50d75574789e5540372b0bf7a3170438f
2016-10-19 00:05:11 +00:00
Harish Mahendrakar
dcb099e183 Decoder: Fixes in handling errors in Mbaff clips. am: 6676aeb419 am: fab0729908 am: 05bd0e8d4c
am: 69b2803e55

Change-Id: Ie26061f05f05cc1095401966bd6902d186fa1591
2016-10-18 23:58:44 +00:00
Harish Mahendrakar
a3a7de7001 Decoder: Ignore few dpb errors am: 026745ef04 am: 5d794693d5 am: 4483ecc64b
am: 7e5239dd82

Change-Id: I4cbbe4ecf9a16e92941409b26a1b23fa09d80fa1
2016-10-18 23:58:28 +00:00
Harish Mahendrakar
fab0729908 Decoder: Fixes in handling errors in Mbaff clips.
am: 6676aeb419

Change-Id: If83edf15d904c166661b3ab6065c5230269231dd
2016-10-18 23:36:38 +00:00
Harish Mahendrakar
5d794693d5 Decoder: Ignore few dpb errors
am: 026745ef04

Change-Id: Ibd9e7f2c7936fcd1f8bea8a84b99eb9780947feb
2016-10-18 23:36:27 +00:00
Marco Nelissen
23d5bc6405 Merge "Decoder: Fixes in handling errors in Mbaff clips." into mnc-dev 2016-10-18 23:33:12 +00:00
TreeHugger Robot
b4a6d2037b Merge "Decoder: Ignore few dpb errors" into mnc-dev 2016-10-18 23:25:25 +00:00
Harish Mahendrakar
6676aeb419 Decoder: Fixes in handling errors in Mbaff clips.
Fixes mb_x, mb_y and first_mb_in_slice for Mbaff error streams

Bug: 30481714

Change-Id: Ie99f3b57e48a620a4bc7aee88031955a2e1b6753
2016-10-18 12:19:18 -07:00
Harish Mahendrakar
026745ef04 Decoder: Ignore few dpb errors
Ignore dpb errors, where decoder fails to release a non-existing picture
from reference lists. This is needed to decode streams where few pictures
are missing.

Change-Id: I8ece68cb1fa22473029e16158cd86ce7a197027a
2016-10-18 12:19:06 -07:00
Harish Mahendrakar
fe243c2298 Decoder: Fixes for handling errors in multi-slice MB Aff streams am: bc71ad2d43 am: 02f663b3c2 am: ea085f8526 am: 19ab04056d
am: 670293535c

Change-Id: I16015eb69ae5dd257debbaea2de12966b559bb48
2016-09-22 22:00:31 +00:00
Harish Mahendrakar
670293535c Decoder: Fixes for handling errors in multi-slice MB Aff streams am: bc71ad2d43 am: 02f663b3c2 am: ea085f8526
am: 19ab04056d

Change-Id: Ia8b75b824f8225143f52295460c5ec8285b6b443
2016-09-22 21:58:32 +00:00
Harish Mahendrakar
02f663b3c2 Decoder: Fixes for handling errors in multi-slice MB Aff streams
am: bc71ad2d43

Change-Id: Ibcbdbb3c4473b3199abff8d47444e59416589695
2016-09-22 18:19:55 +00:00