8 Commits

Author SHA1 Message Date
Stefan Holmer
0909b83427 Concealed MBs are always SPLITMV with partition=3. This can be optimized.
Also changed the criterion for when to skip decoding the residual,
now only skipping for blocks which actually is missing residual.
Now using mvs_corrupt_from_mb for this decision since asking the bool
decoder doesn't work (it has already finished decoding).

Change-Id: I3175f11c84ae701fc2935ebe22e1d75297072eae
2011-04-29 13:50:15 +02:00
Stefan Holmer
98ea0d71a4 Added more descriptive comments and did some smaller refactoring. Also changed to setting the mb_skip_coeff flag when a macroblock needs to be concealed.
Change-Id: I0bbf6de899f5b27f4a8ca0454da7e928e8b23919
2011-04-28 16:28:07 +02:00
Stefan Holmer
8d49ea12c2 Added correct handling of motion vectors outside frame boundaries.
Change-Id: Ibf81e1d188d8dd6de877e1c52761fa212e848865
2011-04-20 12:08:27 +02:00
Stefan Holmer
766ad7edb6 Reverting some of the changes done in a64b37..., moving back the bool dec
error check to vp8_decode_mb_row.

Change-Id: I717ee57efc29b8e0619d6f00d1c64d0d20114a8b
2011-04-19 16:23:05 +02:00
Stefan Holmer
1b913c1f78 Refactored find_neighboring_blocks() and moved the test for corrupt stream
and intra concealment inside vp8_decode_macroblock to be able tocapture
and conceal errors in the residual before reconstruction.

Change-Id: Id0f0bd87945a9bb1db0c20bb5467e2ff9aae5d28
2011-04-19 15:33:46 +02:00
Stefan Holmer
a64b37fdbc Added spatial motion vector interpolation. Used for intra blocks with missing residual coefficients.
Change-Id: I3e765b5dee251362d1330ebbcf9fa22d852377a1
2011-04-19 12:45:51 +02:00
Stefan Holmer
a2951d8deb Implemented a first version of the motion vector extrapolation error
concealment algorithm. Tested on foreman_cif.yuv only. Some special
cases are still not handled in a good way, for instance when receiving
intra blocks without coefficients.

Change-Id: Ie7bb41855860923b313645dacb3cf70f1e350549
2011-04-01 11:55:30 +02:00
Stefan Holmer
83a2b4e114 Added a first simple version of error-concealment
Added a first very simple version of error-concealment which simply
repeats the last decoded motion vector for corrupt MBs.

Change-Id: Ia83e111649afe11870c3c66065977bd0610c4fa1
2011-02-01 17:30:51 +01:00