media: Increase max number of decode threads for VP9 decodes at higher resolutions.
This improves decode performance of VP9 input encoded with tiling enabled. Each tile must be at least 256 pixels wide. The number of tile columns are log2. So encoded files can have 1, 2, 4, 8, 16 tile columns. E.g. 1920x1080 files can have up to 4 encoded tile columns. Tile rows do not matter for decode performance. Specifically, any system with multiple cores and/or hyper threading will benefit from this change. On desktop 1080p decode speed is roughly 1.5-2x with this change. For example, on the low end of the results from the test set used to produce these numbers an average increase is from 82 frames/second to 163 frames/second. This holds on Android devices as well, with the same clip on a Nexus 7 going from 14 frames/second to 25. Chrome OS shows similar gains. This puts some 1080p in the playable range and gives 720p more clearance. Review URL: https://codereview.chromium.org/55213002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232932 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment