From e7f6b565e49702ebf49168f1a38fc4a22b12df9b Mon Sep 17 00:00:00 2001 From: Marco Date: Thu, 8 Oct 2015 13:55:30 -0700 Subject: [PATCH] VP9: Enable multi-threading for SVC. This was disabled due to issues with multi-threading and spatial layers, but have since been fixed. R=stefan@webrtc.org TBR=mflodman@webrtc.org, stefan@webrtc.org BUG= Review URL: https://codereview.webrtc.org/1390353003 . Cr-Commit-Position: refs/heads/master@{#10229} --- webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc b/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc index 530aa2d58a..50ec305c39 100644 --- a/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc +++ b/webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc @@ -364,12 +364,6 @@ int VP9EncoderImpl::InitEncode(const VideoCodec* inst, int VP9EncoderImpl::NumberOfThreads(int width, int height, int number_of_cores) { - // For the current libvpx library, only 1 thread is supported when SVC is - // turned on. - if (num_temporal_layers_ > 1 || num_spatial_layers_ > 1) { - return 1; - } - // Keep the number of encoder threads equal to the possible number of column // tiles, which is (1, 2, 4, 8). See comments below for VP9E_SET_TILE_COLUMNS. if (width * height >= 1280 * 720 && number_of_cores > 4) {