mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 15:58:39 +09:00
Issue #1542 - [WebRTC] Set CPU speed to -1 on MIPS
CPU is pretty slow due to lack of SIMD optmization.
This commit is contained in:
parent
8a6ebcdf2f
commit
2b6293d816
1 changed files with 5 additions and 0 deletions
|
|
@ -615,6 +615,11 @@ int VP8EncoderImpl::SetCpuSpeed(int width, int height) {
|
|||
// On mobile platform, always set to -12 to leverage between cpu usage
|
||||
// and video quality.
|
||||
return -12;
|
||||
#elif defined(WEBRTC_ARCH_MIPS)
|
||||
// On mips platform, temporarily set to -12 to leverage between cpu usage
|
||||
// and video quality.
|
||||
// TODO: Once improved the coding performance,recover the complexity setting.
|
||||
return -12;
|
||||
#else
|
||||
// For non-ARM, increase encoding complexity (i.e., use lower speed setting)
|
||||
// if resolution is below CIF. Otherwise, keep the default/user setting
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue