• Jingning Han's avatar
    Skip golden ref frame check when it is same as last ref frame · 6245a91e
    Jingning Han authored
    When golden reference frame is refreshed, the next frame has both
    its last and golden reference frames point to the same reference
    frame in real-time coding mode. Experiments suggest that using
    two separate reference frames for frames right after golden refresh
    frame does not provide further compression performance advantage.
    This commit hence retains the current encoder implementation and
    shuts off the mode search over golden reference frame in this case.
    It makes the encoder run slightly faster at no coding performance
    Change-Id: I1561f7799253a10e675d05c63c1749fe9e85b472