Verified row-mt works for low res and speed 7 8.
Unified · Split
| @@ -846,9 +846,7 @@ int main(int argc, char **argv) { · 845 unmodified lines | |||
| 846 | die_codec(&codec, "Failed to set ROI map"); | 846 | die_codec(&codec, "Failed to set ROI map"); |
| 847 | vpx_codec_control(&codec, VP9E_SET_AQ_MODE, 0); | 847 | vpx_codec_control(&codec, VP9E_SET_AQ_MODE, 0); |
| 848 | #endif | 848 | #endif |
| 849 | // TODO(marpan/jianj): There is an issue with row-mt for low resolutons at | 849 | if (cfg.g_threads > 1) |
| 850 | // high speed settings, disable its use for those cases for now. | ||
| 851 | if (cfg.g_threads > 1 && ((cfg.g_w > 320 && cfg.g_h > 240) || speed < 7)) | ||
| 852 | vpx_codec_control(&codec, VP9E_SET_ROW_MT, 1); | 850 | vpx_codec_control(&codec, VP9E_SET_ROW_MT, 1); |
| 853 | else | 851 | else |
| 854 | vpx_codec_control(&codec, VP9E_SET_ROW_MT, 0); | 852 | vpx_codec_control(&codec, VP9E_SET_ROW_MT, 0); |