shithub: libvpx

Download patch

ref: 51d933769f7b0afca60be79eef15c3edf0901967
parent: ff944467758a44a908248bde5034da0deab96326
parent: 3356cbfe0e75ca3aef28a43dce2231f188e500cf
author: Jingning Han <jingning@google.com>
date: Mon Aug 20 11:59:31 EDT 2018

Merge "Skip frame bit-stream writing for show-existing frame"

--- a/vp9/encoder/vp9_bitstream.c
+++ b/vp9/encoder/vp9_bitstream.c
@@ -1340,6 +1340,10 @@
   struct vpx_write_bit_buffer saved_wb;
 
   write_uncompressed_header(cpi, &wb);
+
+  // Skip the rest coding process if use show existing frame.
+  if (cpi->common.show_existing_frame) return;
+
   saved_wb = wb;
   vpx_wb_write_literal(&wb, 0, 16);  // don't know in advance first part. size