Showing the changes to test/encoder/EncUT_EncoderExt.cpp (1 of 26 files). Show all
Unified · Split
| @@ -892,7 +892,7 @@ TEST_F (EncoderInterfaceTest, SkipFrameCheck) { · 891 unmodified lines | ||
| 892 | 892 | sEncParamExt.sSpatialLayers[0].fFrameRate = 28.248587f; |
| 893 | 893 | sEncParamExt.sSpatialLayers[0].iSpatialBitrate = 573000; |
| 894 | 894 | sEncParamExt.sSpatialLayers[0].iMaxSpatialBitrate = 895839855; |
| 895 | − sEncParamExt.sSpatialLayers[0].sSliceCfg.uiSliceMode = SM_FIXEDSLCNUM_SLICE; | |
| 895 | + sEncParamExt.sSpatialLayers[0].sSliceArgument.uiSliceMode = SM_FIXEDSLCNUM_SLICE; | |
| 896 | 896 | |
| 897 | 897 | pParamExt->iPicWidth = sEncParamExt.sSpatialLayers[0].iVideoWidth; |
| 898 | 898 | pParamExt->iPicHeight = sEncParamExt.sSpatialLayers[0].iVideoHeight; |
| @@ -955,21 +955,21 @@ TEST_F (EncoderInterfaceTest, DiffResolutionCheck) { · 56 unmodified lines | ||
| 955 | 955 | sEncParamExt.sSpatialLayers[0].iVideoHeight = 160; |
| 956 | 956 | sEncParamExt.sSpatialLayers[0].fFrameRate = 6; |
| 957 | 957 | sEncParamExt.sSpatialLayers[0].iSpatialBitrate = 80000; |
| 958 | − sEncParamExt.sSpatialLayers[0].sSliceCfg.uiSliceMode = SM_FIXEDSLCNUM_SLICE; | |
| 958 | + sEncParamExt.sSpatialLayers[0].sSliceArgument.uiSliceMode = SM_FIXEDSLCNUM_SLICE; | |
| 959 | 959 | |
| 960 | 960 | sEncParamExt.sSpatialLayers[1].uiLevelIdc = LEVEL_UNKNOWN; |
| 961 | 961 | sEncParamExt.sSpatialLayers[1].iVideoWidth = 180; |
| 962 | 962 | sEncParamExt.sSpatialLayers[1].iVideoHeight = 320; |
| 963 | 963 | sEncParamExt.sSpatialLayers[1].fFrameRate = 12; |
| 964 | 964 | sEncParamExt.sSpatialLayers[1].iSpatialBitrate = 200000; |
| 965 | − sEncParamExt.sSpatialLayers[1].sSliceCfg.uiSliceMode = SM_FIXEDSLCNUM_SLICE; | |
| 965 | + sEncParamExt.sSpatialLayers[1].sSliceArgument.uiSliceMode = SM_FIXEDSLCNUM_SLICE; | |
| 966 | 966 | |
| 967 | 967 | sEncParamExt.sSpatialLayers[2].uiLevelIdc = LEVEL_UNKNOWN; |
| 968 | 968 | sEncParamExt.sSpatialLayers[2].iVideoWidth = 360; |
| 969 | 969 | sEncParamExt.sSpatialLayers[2].iVideoHeight = 640; |
| 970 | 970 | sEncParamExt.sSpatialLayers[2].fFrameRate = 24; |
| 971 | 971 | sEncParamExt.sSpatialLayers[2].iSpatialBitrate = 600000; |
| 972 | − sEncParamExt.sSpatialLayers[2].sSliceCfg.uiSliceMode = SM_FIXEDSLCNUM_SLICE; | |
| 972 | + sEncParamExt.sSpatialLayers[2].sSliceArgument.uiSliceMode = SM_FIXEDSLCNUM_SLICE; | |
| 973 | 973 | |
| 974 | 974 | pParamExt->iPicWidth = sEncParamExt.iPicWidth; |
| 975 | 975 | pParamExt->iPicHeight = sEncParamExt.iPicWidth; |