]> granicus.if.org Git - libvpx/commit
Adds an error-resilient mode with test
authorDeb Mukherjee <debargha@google.com>
Tue, 15 Jan 2013 14:43:35 +0000 (06:43 -0800)
committerDeb Mukherjee <debargha@google.com>
Thu, 24 Jan 2013 05:56:15 +0000 (21:56 -0800)
commit01cafaab1d99018c48c54178987101b490343a01
tree5cd366fc39f64e95886b0dde8add8a7a08e6151b
parent8410582b1dd3c247f26ba1264cf7e1f204cd8d71
Adds an error-resilient mode with test

Adds an error-resilient mode where frames can be continued
to be decoded even when there are errors (due to network losses)
on a prior frame. Specifically, backward updates are turned off
and probabilities of various symbols are reset to defaults at
the beginning of each frame. Further, the last frame's mvs are
not used for the mv reference list, and the sorting of the
initial list based on search on previous frames is turned off
as well.

Also adds a test where an arbitrary set of frames are skipped
from decoding to simulate errors. The test verifies (1) that if
the error frames are droppable - i.e. frame buffer updates have
been turned off - there are no mismatch errors for the remaining
frames after the error frames; and (2) if the error-frames are non
droppable, there are not only no decoding errors but the mismatch
PSNR between the decoder's version of the post-error frames and the
encoder's version is at least 20 dB.

Change-Id: Ie6e2bcd436b1e8643270356d3a930e8989ff52a5
25 files changed:
test/decode_test_driver.h
test/encode_test_driver.cc
test/encode_test_driver.h
test/error_resilience_test.cc
test/test.mk
test/util.h
vp9/common/vp9_alloccommon.c
vp9/common/vp9_entropymode.c
vp9/common/vp9_entropymode.h
vp9/common/vp9_findnearmv.c
vp9/common/vp9_findnearmv.h
vp9/common/vp9_loopfilter.c
vp9/common/vp9_mvref_common.c
vp9/common/vp9_onyx.h
vp9/common/vp9_onyxc_int.h
vp9/decoder/vp9_decodemv.c
vp9/decoder/vp9_decodframe.c
vp9/encoder/vp9_bitstream.c
vp9/encoder/vp9_encodeframe.c
vp9/encoder/vp9_onyx_if.c
vp9/encoder/vp9_ratectrl.c
vp9/encoder/vp9_rdopt.c
vp9/vp9_cx_iface.c
vp9/vp9_dx_iface.c
vpxenc.c