Showing the changes to test/api/BaseEncoderTest.cpp (1 of 9 files). Show all
Unified · Split
| @@ -16,7 +16,6 @@ static int InitWithParam (ISVCEncoder* encoder, EUsageType usageType, int width, · 15 unmodified lines | |||
| 16 | param.iPicWidth = width; | 16 | param.iPicWidth = width; |
| 17 | param.iPicHeight = height; | 17 | param.iPicHeight = height; |
| 18 | param.iTargetBitrate = 5000000; | 18 | param.iTargetBitrate = 5000000; |
| 19 | param.iInputCsp = videoFormatI420; | ||
| 20 | 19 | ||
| 21 | return encoder->Initialize (¶m); | 20 | return encoder->Initialize (¶m); |
| 22 | } else { | 21 | } else { |
| @@ -28,7 +27,6 @@ static int InitWithParam (ISVCEncoder* encoder, EUsageType usageType, int width, · 5 unmodified lines | |||
| 28 | param.iPicWidth = width; | 27 | param.iPicWidth = width; |
| 29 | param.iPicHeight = height; | 28 | param.iPicHeight = height; |
| 30 | param.iTargetBitrate = 5000000; | 29 | param.iTargetBitrate = 5000000; |
| 31 | param.iInputCsp = videoFormatI420; | ||
| 32 | param.bEnableDenoise = denoise; | 30 | param.bEnableDenoise = denoise; |
| 33 | param.iSpatialLayerNum = layers; | 31 | param.iSpatialLayerNum = layers; |
| 34 | 32 | ||