diff options
author | John Koleszar <jkoleszar@google.com> | 2013-03-05 12:23:34 -0800 |
---|---|---|
committer | John Koleszar <jkoleszar@google.com> | 2013-03-05 12:45:40 -0800 |
commit | 522d4bf852c484579de0591879a1d006abf08959 (patch) | |
tree | 3089a8f11e1378823755c5f313f91be450f2a74d /vp9/encoder/vp9_onyx_if.c | |
parent | 4209bba4627bb148fce5b8b6caa4de5ac526fa92 (diff) | |
download | libvpx-522d4bf852c484579de0591879a1d006abf08959.tar libvpx-522d4bf852c484579de0591879a1d006abf08959.tar.gz libvpx-522d4bf852c484579de0591879a1d006abf08959.tar.bz2 libvpx-522d4bf852c484579de0591879a1d006abf08959.zip |
Add 'superframe' index
A 'superframe' is a group of frames that share the same PTS, but have a
defined decoding order. This commit adds the ability to append an index
to such a group of frames, allowing for random access to the constituent
frames. This could be useful for frame-level parallelism or partial
decoding in a multilayer scenario.
Decoding the stream serially without such an index should work as a
fallback, and VP9/TestSuperframeIndexIsOptional verifies that.
Change-Id: Idff83b7560e1a7077d8fb067bfbc45b567e78b1c
Diffstat (limited to 'vp9/encoder/vp9_onyx_if.c')
-rw-r--r-- | vp9/encoder/vp9_onyx_if.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vp9/encoder/vp9_onyx_if.c b/vp9/encoder/vp9_onyx_if.c index 6335827cf..1d9e7a4e9 100644 --- a/vp9/encoder/vp9_onyx_if.c +++ b/vp9/encoder/vp9_onyx_if.c @@ -4009,7 +4009,7 @@ int vp9_get_preview_raw_frame(VP9_PTR comp, YV12_BUFFER_CONFIG *dest, vp9_ppflags_t *flags) { VP9_COMP *cpi = (VP9_COMP *) comp; - if (cpi->refresh_alt_ref_frame) + if (!cpi->common.show_frame) return -1; else { int ret; |