• Mikhail Aksenov's avatar
    [vp9d] Lock reference frames before UpdateRefList · 4d413905
    Mikhail Aksenov authored
    Make reference frames are locked (increase reference counter)
    before UpdateRefList.
    
    UpdateRefList prepares the references for the next frame and
    removes frames from the current list, when it removes it calls
    DecreaseRefCount function.
    If frame refCount is zero Free function is called
    this function clears Locked member and the reference frame
    could be used as new target frame
    while still in use by HW decoder.
    
    Issue: MDP-52110
    Test: Linux/ICL
    4d413905
mfx_vpx_dec_common.cpp 17 KB