Lines Matching refs:iSpatialLayerNum
51 param_.iSpatialLayerNum = rand() % SPATIAL_LAYER_NUM_RANGE; in RandomParamExtCombination()
108 for (int iSpatialIdx = 0; iSpatialIdx < param_.iSpatialLayerNum; iSpatialIdx++) { in RandomParamExtCombination()
146 param_.iSpatialLayerNum = WELS_CLIP3 (param_.iSpatialLayerNum, 1, MAX_SPATIAL_LAYER_NUM); in ValidateParamExtCombination()
148 param_.iSpatialLayerNum = 1; in ValidateParamExtCombination()
179 for (int iSpatialIdx = 0; iSpatialIdx < param_.iSpatialLayerNum; iSpatialIdx++) { in ValidateParamExtCombination()
181 pSpatialLayer->iVideoWidth = param_.iPicWidth >> (param_.iSpatialLayerNum - 1 - iSpatialIdx); in ValidateParamExtCombination()
182 pSpatialLayer->iVideoHeight = param_.iPicHeight >> (param_.iSpatialLayerNum - 1 - iSpatialIdx); in ValidateParamExtCombination()
292 for (int iSpatialIdx = 0; iSpatialIdx < param_.iSpatialLayerNum; iSpatialIdx++) { in SliceParamValidationForMode4()
300 int iSpatialLayerNum = 4; in TEST_F() local
301 …int iWidth = WelsClip3 ((((rand() % MAX_WIDTH) >> 1) + 1) << 1, 1 << iSpatialLayerNum, MAX_… in TEST_F()
302 …int iHeight = WelsClip3 ((((rand() % MAX_HEIGHT) >> 1) + 1) << 1, 1 << iSpatialLayerNum, MAX… in TEST_F()
307 prepareParamDefault (iSpatialLayerNum, iSliceNum, iWidth, iHeight, fFrameRate, ¶m_); in TEST_F()
350 int iSpatialLayerNum = 4; in TEST_F() local
351 …int iWidth = WelsClip3 ((((rand() % MAX_WIDTH) >> 1) + 1) << 1, 1 << iSpatialLayerNum, MAX_… in TEST_F()
352 …int iHeight = WelsClip3 ((((rand() % MAX_HEIGHT) >> 1) + 1) << 1, 1 << iSpatialLayerNum, MAX… in TEST_F()
357 prepareParamDefault (iSpatialLayerNum, iSliceNum, iWidth, iHeight, fFrameRate, ¶m_); in TEST_F()
407 int iSpatialLayerNum = 1; in TEST_F() local
415 prepareParamDefault (iSpatialLayerNum, iSliceNum, iWidth, iHeight, fFrameRate, &sParam1); in TEST_F()
423 …prepareParamDefault (iSpatialLayerNum, iSliceNum, sParam2.iPicWidth, sParam2.iPicHeight, fFrameRat… in TEST_F()
431 …prepareParamDefault (iSpatialLayerNum, iSliceNum, sParam3.iPicWidth, sParam3.iPicHeight, fFrameRat… in TEST_F()
520 int iSpatialLayerNum = 1; in TEST_F() local
528 prepareParamDefault (iSpatialLayerNum, iSliceNum, iWidth, iHeight, fFrameRate, &sParam1); in TEST_F()
535 …prepareParamDefault (iSpatialLayerNum, iSliceNum, sParam2.iPicWidth, sParam2.iPicHeight, fFrameRat… in TEST_F()
542 …prepareParamDefault (iSpatialLayerNum, iSliceNum, sParam3.iPicWidth, sParam3.iPicHeight, fFrameRat… in TEST_F()
632 int iSpatialLayerNum = 1; in TEST_F() local
639 prepareParamDefault (iSpatialLayerNum, iSliceNum, iWidth, iHeight, fFrameRate, &sParam1); in TEST_F()
644 …prepareParamDefault (iSpatialLayerNum, iSliceNum, sParam2.iPicWidth, sParam2.iPicHeight, fFrameRat… in TEST_F()
687 int iSpatialLayerNum = 1; in TEST_F() local
694 prepareParamDefault (iSpatialLayerNum, iSliceNum, iWidth, iHeight, fFrameRate, &sParam1); in TEST_F()
720 …prepareParamDefault (iSpatialLayerNum, iSliceNum, sParam2.iPicWidth, sParam2.iPicHeight, fFrameRat… in TEST_F()
755 int iSpatialLayerNum = 1; in TEST_F() local
761 prepareParamDefault (iSpatialLayerNum, iSliceNum, iWidth, iHeight, fFrameRate, &sParam1); in TEST_F()
819 int iSpatialLayerNum = 1; in TEST_F() local
826 prepareParamDefault (iSpatialLayerNum, iSliceNum, iWidth, iHeight, fFrameRate, &sParam1); in TEST_F()
833 …prepareParamDefault (iSpatialLayerNum, iSliceNum, sParam2.iPicWidth, sParam2.iPicHeight, fFrameRat… in TEST_F()
877 int iSpatialLayerNum = 1; in TEST_F() local
885 prepareParamDefault (iSpatialLayerNum, iSliceNum, iWidth, iHeight, fFrameRate, &sParam1); in TEST_F()
892 …prepareParamDefault (iSpatialLayerNum, iSliceNum, sParam2.iPicWidth, sParam2.iPicHeight, fFrameRat… in TEST_F()
900 …prepareParamDefault (iSpatialLayerNum, iSliceNum, sParam3.iPicWidth, sParam3.iPicHeight, fFrameRat… in TEST_F()
947 int iSpatialLayerNum = WelsClip3 ((rand() % MAX_SPATIAL_LAYER_NUM), 2, MAX_SPATIAL_LAYER_NUM); in TEST_F() local
954 prepareParam (iSpatialLayerNum, iSliceNum, iWidth, iHeight, fFrameRate, ¶m_); in TEST_F()
973 for (iIdx = 0; iIdx < iSpatialLayerNum; iIdx++) { in TEST_F()
1001 for (iIdx = 0; iIdx < iSpatialLayerNum; iIdx++) { in TEST_F()
1013 for (iIdx = 0; iIdx < iSpatialLayerNum; iIdx++) { in TEST_F()
1019 EXPECT_TRUE (iIdx < iSpatialLayerNum); in TEST_F()
1025 for (iIdx = 0; iIdx < iSpatialLayerNum; iIdx++) { in TEST_F()
1048 for (iIdx = 0; iIdx < iSpatialLayerNum; iIdx++) { in TEST_F()
1067 int iSpatialLayerNum = WelsClip3 ((rand() % MAX_SPATIAL_LAYER_NUM), 2, MAX_SPATIAL_LAYER_NUM); in TEST_F() local
1074 prepareParam (iSpatialLayerNum, iSliceNum, iWidth, iHeight, fFrameRate, ¶m_); in TEST_F()
1097 for (iIdx = 0; iIdx < iSpatialLayerNum; iIdx++) { in TEST_F()
1126 for (iIdx = 0; iIdx < iSpatialLayerNum; iIdx++) { in TEST_F()
1140 EXPECT_TRUE (iIdx < iSpatialLayerNum); in TEST_F()
1145 for (iIdx = 0; iIdx < iSpatialLayerNum; iIdx++) { in TEST_F()
1161 for (iIdx = 0; iIdx < iSpatialLayerNum; iIdx++) { in TEST_F()
1178 int iSpatialLayerNum = WelsClip3 ((rand() % MAX_SPATIAL_LAYER_NUM), 2, MAX_SPATIAL_LAYER_NUM);; in TEST_F() local
1179 …int iWidth = WelsClip3 ((((rand() % MAX_WIDTH) >> 1) + 1) << 1, 1 << iSpatialLayerNum, MAX_… in TEST_F()
1180 …int iHeight = WelsClip3 ((((rand() % MAX_HEIGHT) >> 1) + 1) << 1, 1 << iSpatialLayerNum, MAX… in TEST_F()
1190 prepareParamDefault (iSpatialLayerNum, iSliceNum, iWidth, iHeight, fFrameRate, &sParam1); in TEST_F()
1211 for (iIdx = 0; iIdx < iSpatialLayerNum; iIdx++) { in TEST_F()
1229 ASSERT_TRUE (TestOneSimulcastAVC (&sParam1, decoder, pBsBuf, iSpatialLayerNum, iEncFrameNum, 0)); in TEST_F()
1230 ASSERT_TRUE (TestOneSimulcastAVC (&sParam2, decoder, pBsBuf, iSpatialLayerNum, iEncFrameNum, 0)); in TEST_F()
1232 for (iIdx = 0; iIdx < iSpatialLayerNum; iIdx++) { in TEST_F()
1335 param_.iSpatialLayerNum = 1; in TEST_P()
1438 int iSpatialLayerNum = WelsClip3 ((rand() % MAX_SPATIAL_LAYER_NUM), 2, MAX_SPATIAL_LAYER_NUM); in TEST_F() local
1439 …int iWidth = WelsClip3 ((((rand() % MAX_WIDTH) >> 1) + 1) << 1, 1 << iSpatialLayerNum, MAX_… in TEST_F()
1440 …int iHeight = WelsClip3 ((((rand() % MAX_HEIGHT) >> 1) + 1) << 1, 1 << iSpatialLayerNum, MAX… in TEST_F()
1448 prepareParam (iSpatialLayerNum, iSliceNum, iWidth, iHeight, fFrameRate, ¶m_); in TEST_F()
1469 for (iIdx = 0; iIdx < iSpatialLayerNum; iIdx++) { in TEST_F()
1495 for (int i = 0; i < iSpatialLayerNum; i++) { in TEST_F()
1517 for (iIdx = 0; iIdx < iSpatialLayerNum; iIdx++) { in TEST_F()
1531 EXPECT_TRUE (iIdx < iSpatialLayerNum); in TEST_F()
1536 for (iIdx = 0; iIdx < iSpatialLayerNum; iIdx++) { in TEST_F()
1555 for (iIdx = 0; iIdx < iSpatialLayerNum; iIdx++) { in TEST_F()
1571 int iSpatialLayerNum = 3; in TEST_F() local
1581 prepareParamDefault (iSpatialLayerNum, 1, iWidth, iHeight, fFrameRate, &sParam); in TEST_F()
1610 for (iIdx = 0; iIdx < iSpatialLayerNum; iIdx++) { in TEST_F()
1628 ASSERT_TRUE (TestOneSimulcastAVC (&sParam, decoder, pBsBuf, iSpatialLayerNum, iEncFrameNum, 0)); in TEST_F()
1630 for (iIdx = 0; iIdx < iSpatialLayerNum; iIdx++) { in TEST_F()
1645 int iSpatialLayerNum = 2; in TEST_F() local
1655 prepareParamDefault (iSpatialLayerNum, 1, iWidth, iHeight, fFrameRate, &sParam); in TEST_F()
1681 for (iIdx = 0; iIdx < iSpatialLayerNum; iIdx++) { in TEST_F()
1699 ASSERT_TRUE (TestOneSimulcastAVC (&sParam, decoder, pBsBuf, iSpatialLayerNum, iEncFrameNum, 0)); in TEST_F()
1701 for (iIdx = 0; iIdx < iSpatialLayerNum; iIdx++) { in TEST_F()
1714 int iSpatialLayerNum = 1; in TEST_F() local
1724 prepareParamDefault (iSpatialLayerNum, 1, iWidth, iHeight, fFrameRate, &sParam); in TEST_F()
1742 for (iIdx = 0; iIdx < iSpatialLayerNum; iIdx++) { in TEST_F()
1760 ASSERT_TRUE (TestOneSimulcastAVC (&sParam, decoder, pBsBuf, iSpatialLayerNum, iEncFrameNum, 0)); in TEST_F()
1762 for (iIdx = 0; iIdx < iSpatialLayerNum; iIdx++) { in TEST_F()
1775 int iSpatialLayerNum = 1; in TEST_F() local
1785 prepareParamDefault (iSpatialLayerNum, 1, iWidth, iHeight, fFrameRate, &sParam); in TEST_F()
1807 for (iIdx = 0; iIdx < iSpatialLayerNum; iIdx++) { in TEST_F()
1852 for (iIdx = 0; iIdx < iSpatialLayerNum; iIdx++) { in TEST_F()
1863 …EXPECT_TRUE (iIdx < iSpatialLayerNum) << "iIdx = " << iIdx << ", iSpatialLayerNum = " << iSpatialL… in TEST_F()
1868 for (iIdx = 0; iIdx < iSpatialLayerNum; iIdx++) { in TEST_F()
1884 for (iIdx = 0; iIdx < iSpatialLayerNum; iIdx++) { in TEST_F()
1935 int iSpatialLayerNum = 1; in TEST_F() local
1959 prepareParamDefault (iSpatialLayerNum, iSliceNum, iWidth, iHeight, fFrameRate, &sParam); in TEST_F()
2345 int iSpatialLayerNum = 1; in TEST_F() local
2346 …int iWidth = WelsClip3 ((((rand() % MAX_WIDTH) >> 1) + 1) << 1, 1 << iSpatialLayerNum, MAX_… in TEST_F()
2347 …int iHeight = WelsClip3 ((((rand() % MAX_HEIGHT) >> 1) + 1) << 1, 1 << iSpatialLayerNum, MAX… in TEST_F()
2351 prepareParamDefault (iSpatialLayerNum, iSliceNum, iWidth, iHeight, fFrameRate, ¶m_); in TEST_F()