History

example: Enable row-mt on low res and speed 7 8.

Verified row-mt works for low res and speed 7 8.

Jerome Jiang committed 7 years ago

Commit c7aa0881 parent 17f24741 file · +1 −3Browse files

Unified · Split

examples/vpx_temporal_svc_encoder.c+1−3
@@ -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#endif848#endif
849 // TODO(marpan/jianj): There is an issue with row-mt for low resolutons at849 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 else851 else
854 vpx_codec_control(&codec, VP9E_SET_ROW_MT, 0);852 vpx_codec_control(&codec, VP9E_SET_ROW_MT, 0);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t