Added Vp9 simulcast tests.
For them implemeted upscaling in libyuv metrics calculation. Updated maximum number of SL in vp9 encoder to 3. Refactored names of some fields in Video_quality_check analyzer. BUG=webrtc:7095 Review-Url: https://codereview.webrtc.org/2681683003 Cr-Commit-Position: refs/heads/master@{#16625}
This commit is contained in:
@ -251,8 +251,8 @@ int VP9EncoderImpl::InitEncode(const VideoCodec* inst,
|
||||
if (inst->VP9().numberOfTemporalLayers > 3) {
|
||||
return WEBRTC_VIDEO_CODEC_ERR_PARAMETER;
|
||||
}
|
||||
// libvpx currently supports only one or two spatial layers.
|
||||
if (inst->VP9().numberOfSpatialLayers > 2) {
|
||||
// libvpx probably does not support more than 3 spatial layers.
|
||||
if (inst->VP9().numberOfSpatialLayers > 3) {
|
||||
return WEBRTC_VIDEO_CODEC_ERR_PARAMETER;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user