commit | b729684b059d48b6bac0750045acbe6a4a9e9a6b | [log] [tgz] |
---|---|---|
author | Wan-Teh Chang <wtc@google.com> | Sun Oct 01 02:45:35 2023 |
committer | Wan-Teh Chang <wtc@google.com> | Mon Oct 02 20:55:16 2023 |
tree | f37c3bacfa83fad67e287eb73e63ab055e518be9 | |
parent | 95cb5eae70d2793d3d05413613aca96042261f26 [diff] |
Use big cfg.g_w in ConfigResizeChangeThreadCount vp8cx_create_encoder_threads() caps the thread count at (cm->mb_cols / cpi->mt_sync_range) - 1. If cfg.g_w is 16, cm->mb_cols is only 1 (see vp8_alloc_frame_buffers: mb_cols = width >> 4), so we won't be using multiple threads. To reproduce bug chromium:1486441, the test just needs to increase cfg.g_h sufficiently. Bug: chromium:1486441 Change-Id: Ie6b2da2e31cfa1717a481f55eebc8c875db94d87