summaryrefslogtreecommitdiff
path: root/examples/decoder_tmpl.c
diff options
context:
space:
mode:
authorStefan Holmer <holmer@google.com>2011-05-02 15:30:51 +0200
committerJohn Koleszar <jkoleszar@google.com>2011-05-19 13:46:33 -0400
commitd04f852368dcfb9432d7cef9917666a9bf722ee2 (patch)
treeb2861ee3c45e536328da210aeaa5c3f41277b1bf /examples/decoder_tmpl.c
parent00a1e2f8e4878f59c95f017f4cdbc80ada07a487 (diff)
downloadlibvpx-d04f852368dcfb9432d7cef9917666a9bf722ee2.tar
libvpx-d04f852368dcfb9432d7cef9917666a9bf722ee2.tar.gz
libvpx-d04f852368dcfb9432d7cef9917666a9bf722ee2.tar.bz2
libvpx-d04f852368dcfb9432d7cef9917666a9bf722ee2.zip
Adding error-concealment to the decoder.
The error-concealer is plugged in after any motion vectors have been decoded. It tries to estimate any missing motion vectors from the motion vectors of the previous frame. Intra blocks with missing residual are replaced with inter blocks with estimated motion vectors. This feature was developed in a separate sandbox (sandbox/holmer/error-concealment). Change-Id: I5c8917b031078d79dbafd90f6006680e84a23412
Diffstat (limited to 'examples/decoder_tmpl.c')
-rw-r--r--examples/decoder_tmpl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/decoder_tmpl.c b/examples/decoder_tmpl.c
index c70681b1a..8194f0ade 100644
--- a/examples/decoder_tmpl.c
+++ b/examples/decoder_tmpl.c
@@ -42,6 +42,8 @@ static void die(const char *fmt, ...) {
@DIE_CODEC
+@HELPERS
+
int main(int argc, char **argv) {
FILE *infile, *outfile;
vpx_codec_ctx_t codec;