Implement error tracking in the decoder
authorHenrik Lundin <hlundin@google.com>
Thu, 16 Dec 2010 15:46:31 +0000 (16:46 +0100)
committerHenrik Lundin <hlundin@google.com>
Wed, 19 Jan 2011 08:53:21 +0000 (09:53 +0100)
commit67fb3a5155bd7dcb6aacbc7e3bb05be308040367
treebe4013600755cd05a0cbad5433c7e6a0eb02e376
parent2a87491fb07221886c8c570e6b0b48f56855a2c7
Implement error tracking in the decoder

A new vpx_codec_control called VP8D_GET_FRAME_CORRUPTED. The output
from the function is non-zero if the last decoded frame contains
corruption due to packet losses.

The decoder is also modified to accept encoded frames of zero length.
A zero length frame indicates to the decoder that one or more frames
have been completely lost. This will mark the last decoded reference
buffer as corrupted. The data pointer can be NULL if the length is
zero.

Change-Id: Ic5902c785a281c6e05329deea958554b7a6c75ce
vp8/common/blockd.h
vp8/decoder/dboolhuff.h
vp8/decoder/decodframe.c
vp8/decoder/onyxd_if.c
vp8/decoder/threading.c
vp8/vp8_dx_iface.c
vpx/src/vpx_decoder.c
vpx/vp8dx.h
vpx_scale/generic/yv12config.c
vpx_scale/yv12config.h