Skip unnecessary search of identical frames
authorJim Bankoski <jimbankoski@google.com>
Thu, 22 Jul 2010 20:07:13 +0000 (16:07 -0400)
committerJohn Koleszar <jkoleszar@google.com>
Wed, 8 Sep 2010 15:31:34 +0000 (11:31 -0400)
commit69ae8f475dd895fba0bc40ffdab0ca2d7537888c
treef20a49d6cc518be005d0f657d31b10eecd4e4cd1
parent63ccfbd54537cde423298703b42cd30001e2b053
Skip unnecessary search of identical frames

vp8_get_compressed_data() was defeating logic in
encode_frame_to_datarate() that determined the reference buffers to
search and forcing all frames to be eligible to search. In cases
where buffers have identical contents, this is unnecessary extra
work.

Change-Id: I9e667ac39128ae32dc455a3db4c62e3efce6f114
vp8/encoder/onyx_if.c