]> granicus.if.org Git - libvpx/commit
Remove reference frame buffer update for show_exsiting_frame
authorWei-ting Lin <weitinglin@google.com>
Thu, 30 Jun 2016 20:33:55 +0000 (13:33 -0700)
committerWei-ting Lin <weitinglin@google.com>
Fri, 1 Jul 2016 16:26:54 +0000 (09:26 -0700)
commitf9e38a7bb9e33bbfdc625e975a157492edecd20a
tree5fd8cdc9ee83a8cf8689c4b85c39cc0d977544d5
parentb04ea832a4fb9a5dbc5b10b5f53f065b141aeaed
Remove reference frame buffer update for show_exsiting_frame

Originally we need to send the refresh flag and the virtual indices
mapping for the reference frame buffer update for show_existing_frame to
have the BWDREF_FRAME replace the LAST_FRAME.

To remove sending this information, we update the the virtual indices
of the reference frame buffer after the last_bipred_frame is encoded,
and therefore the decoder will receive the updated reference mapping
at the next non-show-existing frame.

As a result, we can save 4 bytes per show-existing frame, and get 0.12,
0.2, and 0.07 BDRATE improvement in lowres, derf, and midref test set
respectively.

Change-Id: I63d41ee6ea99884798f0778b789d2701e2f2d3e0
vp10/decoder/decodeframe.c
vp10/decoder/decoder.c
vp10/encoder/bitstream.c
vp10/encoder/encoder.c