Fix breakout thresh computation for golden & AltRef frames
authoragrange <agrange@google.com>
Mon, 21 Jun 2010 12:44:42 +0000 (13:44 +0100)
committeragrange <agrange@google.com>
Mon, 21 Jun 2010 15:50:59 +0000 (16:50 +0100)
commita08df4552a73529e12fdad10bc1b04e5f82fbcb6
tree661eb3f5100d4446b870fe9bfc083f169ff03775
parentdaa5d0eb3d837aefdf30c96c11a1af93566d318d
Fix breakout thresh computation for golden & AltRef frames

1. Unavailability of each reference frame type should be tested
independently,
2. Also, only the VP8_GOLD_FLAG needs to be tested before setting
golden frame specific thresholds, and only VP8_ALT_FLAG needs
testing before setting thresholds relevant to the AltRef frame.
(Raised by gbvalor, in response to Issue 47)

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