Fix decoder handling of intra-only frames
authorAdrian Grange <agrange@google.com>
Mon, 9 Jun 2014 22:22:17 +0000 (15:22 -0700)
committerAdrian Grange <agrange@google.com>
Tue, 8 Jul 2014 23:24:03 +0000 (16:24 -0700)
commit7c43fb67ae5f8cd3ca39756281f63cc9e29bdb55
tree79b0beab6a3f80f85075d5ec47e6e7faeba71369
parentc0061cc24f254d648737986ce14ac1a4bcb45874
Fix decoder handling of intra-only frames

This patch fixes bug 633:
https://code.google.com/p/webm/issues/detail?id=633

The first decoded frame does not have to be a keyframe,
it could be an inter-frame that is coded intra-only.

This patch fixes the handling of intra-only frames.

A test vector has also been added that encodes 3
intra-only frames at the start of the clip. The
test vector was generated using the code in the
following patch:
https://gerrit.chromium.org/gerrit/#/c/70680/

Change-Id: Ib40b1dbf91aae2bc047e23c626eaef09d1860147
test/test-data.sha1
test/test.mk
test/test_vectors.cc
vp9/common/vp9_onyxc_int.h
vp9/decoder/vp9_decodeframe.c
vp9/decoder/vp9_decodeframe.h
vp9/decoder/vp9_decoder.c
vp9/decoder/vp9_decoder.h
vp9/vp9_dx_iface.c