Skip to content

Commit

Permalink
Update VP8E_SET_CPUUSED to 9 for VP9 in CRD
Browse files Browse the repository at this point in the history
This is the last of 3 CLs where I drop VP8E_SET_CPUUSED to the
target value for the M103 release.

Bug: b:217468304
Change-Id: I937ccd2dcd9439936ac5d3ed09b5a3e07d40d885
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3626044
Reviewed-by: Lambros Lambrou <lambroslambrou@chromium.org>
Commit-Queue: Joe Downing <joedow@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1000400}
  • Loading branch information
joedow-42 authored and Chromium LUCI CQ committed May 6, 2022
1 parent 20e383d commit f058b4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion remoting/codec/webrtc_video_encoder_vpx.cc
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ void SetVp9CodecOptions(vpx_codec_ctx_t* codec, bool lossless_encode) {
// Request the lowest-CPU usage that VP9 supports, which depends on whether
// we are encoding lossy or lossless.
// Note that this knob uses the same parameter name as VP8.
int cpu_used = lossless_encode ? 5 : 8;
int cpu_used = lossless_encode ? 5 : 9;
vpx_codec_err_t ret = vpx_codec_control(codec, VP8E_SET_CPUUSED, cpu_used);
DCHECK_EQ(VPX_CODEC_OK, ret) << "Failed to set CPUUSED";

Expand Down

0 comments on commit f058b4f

Please sign in to comment.