• hkuang's avatar
    Fix a tsan error bug in frame parallel decode. · a723f5ec
    hkuang authored
    A frame may be waiting for an out of border pixel from another
    frame. A frame's row progress variable is set to -1 when start being decoded
    and another frame may be waiting for -2 row pixel from this frame.
    In this case, vp9_frameworker_wait will return directly and skip the waiting
    which leads to tsan error between threads.
    Change-Id: Id16604915fb598b823e34393f696e3aa46fb6422
vp9_decodeframe.c 72 KB