commit | e8b2750904fd78cf168fa196b38d35594b060e8a | [log] [tgz] |
---|---|---|
author | James Zern <jzern@google.com> | Sun Apr 07 00:07:13 2019 |
committer | James Zern <jzern@google.com> | Sat Apr 13 06:50:08 2019 |
tree | 088087482d35b53b01ead6a03d83cea3372a0898 | |
parent | b758ba795a04d551caa3c1af2806cdf0c075803a [diff] |
loop_filter_rows_mt: unify worker count calculation fixes a deadlock with an odd number of threads that go from < number of tiles to >. the previous calculations were out of sync so going from e.g., 8 tiles to 2 with 3 threads would result in scheduling only 2 workers, but thread_loop_filter_rows() would expect 3. BUG=webm:1618 Change-Id: I78c967a8c3c927d929e13c949808a5ef443ebacb