summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_bitstream.c
diff options
context:
space:
mode:
authorJohn Koleszar <jkoleszar@google.com>2012-10-03 12:11:05 -0700
committerJohn Koleszar <jkoleszar@google.com>2013-06-07 00:48:03 -0700
commit2584a5e5e5b2c8bb0659944083efd55378303b0c (patch)
tree9b824ad7db7da784e12e0176850fd350a130b79c /vp9/encoder/vp9_bitstream.c
parente5b956f620ffc3b84c71b88e41e67c15095f7c1c (diff)
downloadlibvpx-2584a5e5e5b2c8bb0659944083efd55378303b0c.tar
libvpx-2584a5e5e5b2c8bb0659944083efd55378303b0c.tar.gz
libvpx-2584a5e5e5b2c8bb0659944083efd55378303b0c.tar.bz2
libvpx-2584a5e5e5b2c8bb0659944083efd55378303b0c.zip
Add cheap show-buffer operation
Adds the ability to have the decoder show one of the existing reference frames directly, without having to code it indirectly as a series of skip blocks. Change-Id: Ib6c26c5f6a8709863cf304ab890db8559687d25e
Diffstat (limited to 'vp9/encoder/vp9_bitstream.c')
-rw-r--r--vp9/encoder/vp9_bitstream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vp9/encoder/vp9_bitstream.c b/vp9/encoder/vp9_bitstream.c
index c0da212f4..6caec080f 100644
--- a/vp9/encoder/vp9_bitstream.c
+++ b/vp9/encoder/vp9_bitstream.c
@@ -1327,10 +1327,10 @@ void write_uncompressed_header(VP9_COMP *cpi,
vp9_wb_write_bit(wb, cm->version);
vp9_wb_write_bit(wb, 0);
+ vp9_wb_write_bit(wb, 0);
vp9_wb_write_bit(wb, cm->frame_type);
vp9_wb_write_bit(wb, cm->show_frame);
vp9_wb_write_bit(wb, scaling_active);
- vp9_wb_write_bit(wb, 0);
if (cm->frame_type == KEY_FRAME) {
vp9_wb_write_literal(wb, SYNC_CODE_0, 8);