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
Showing
- test/test-data.sha1 2 additions, 0 deletionstest/test-data.sha1
- test/test.mk 2 additions, 0 deletionstest/test.mk
- test/test_vectors.cc 1 addition, 0 deletionstest/test_vectors.cc
- vp9/common/vp9_onyxc_int.h 6 additions, 6 deletionsvp9/common/vp9_onyxc_int.h
- vp9/decoder/vp9_decodeframe.c 24 additions, 16 deletionsvp9/decoder/vp9_decodeframe.c
- vp9/decoder/vp9_decodeframe.h 5 additions, 0 deletionsvp9/decoder/vp9_decodeframe.h
- vp9/decoder/vp9_decoder.c 13 additions, 4 deletionsvp9/decoder/vp9_decoder.c
- vp9/decoder/vp9_decoder.h 0 additions, 1 deletionvp9/decoder/vp9_decoder.h
- vp9/vp9_dx_iface.c 27 additions, 15 deletionsvp9/vp9_dx_iface.c
Loading
Please register or sign in to comment