Showing the changes to test/encoder/EncUT_ParameterSetStrategy.cpp (1 of 54 files). Show all
Unified · Split
| @@ -16,9 +16,9 @@ class ParameterSetStrategyTest : public ::testing::Test { · 15 unmodified lines | ||
| 16 | 16 | m_pSubsetArray = NULL; |
| 17 | 17 | |
| 18 | 18 | pMa = new CMemoryAlign (0); |
| 19 | − m_pSpsArray = (SWelsSPS*)pMa->WelsMalloc (MAX_SPS_COUNT * sizeof (SWelsSPS), "m_pSpsArray"); | |
| 19 | + m_pSpsArray = (SWelsSPS*)pMa->WelsMalloc (MAX_SPS_COUNT * sizeof (SWelsSPS), "m_pSpsArray"); | |
| 20 | 20 | ASSERT_TRUE (NULL != m_pSpsArray); |
| 21 | − m_pSubsetArray = (SSubsetSps*)pMa->WelsMalloc (MAX_SPS_COUNT * sizeof (SSubsetSps), "m_pSubsetArray"); | |
| 21 | + m_pSubsetArray = (SSubsetSps*)pMa->WelsMalloc (MAX_SPS_COUNT * sizeof (SSubsetSps), "m_pSubsetArray"); | |
| 22 | 22 | ASSERT_TRUE (NULL != m_pSubsetArray); |
| 23 | 23 | |
| 24 | 24 | m_pSpsArrayPointer = &m_pSpsArray[0]; |
| @@ -70,7 +70,7 @@ TEST_F (ParameterSetStrategyTest, FindExistingSps) { · 45 unmodified lines | ||
| 70 | 70 | int iCurSpsInUse = 1; |
| 71 | 71 | m_pSpsArrayPointer = &m_pSpsArray[iCurSpsId]; |
| 72 | 72 | |
| 73 | − pDlayerParam = & (sParam1.sSpatialLayers[iDlayerIndex]); | |
| 73 | + pDlayerParam = & (sParam1.sSpatialLayers[iDlayerIndex]); | |
| 74 | 74 | iRet = WelsInitSps (m_pSpsArrayPointer, pDlayerParam, &sParam1.sDependencyLayers[iDlayerIndex], sParam1.uiIntraPeriod, |
| 75 | 75 | sParam1.iMaxNumRefFrame, |
| 76 | 76 | iCurSpsId, sParam1.bEnableFrameCroppingFlag, sParam1.iRCMode != RC_OFF_MODE, iDlayerCount, false); |
| @@ -90,7 +90,7 @@ TEST_F (ParameterSetStrategyTest, FindExistingSps) { · 13 unmodified lines | ||
| 90 | 90 | // add new sps |
| 91 | 91 | iCurSpsId = 1; |
| 92 | 92 | m_pSpsArrayPointer = &m_pSpsArray[iCurSpsId]; |
| 93 | − pDlayerParam = & (sParam2.sSpatialLayers[iDlayerIndex]); | |
| 93 | + pDlayerParam = & (sParam2.sSpatialLayers[iDlayerIndex]); | |
| 94 | 94 | iRet = WelsInitSps (m_pSpsArrayPointer, pDlayerParam, &sParam2.sDependencyLayers[iDlayerIndex], sParam2.uiIntraPeriod, |
| 95 | 95 | sParam2.iMaxNumRefFrame, |
| 96 | 96 | iCurSpsId, sParam2.bEnableFrameCroppingFlag, sParam2.iRCMode != RC_OFF_MODE, iDlayerCount, false); |