Lines Matching refs:sParam2
412 SEncParamExt sParam2; in TEST_F() local
419 memcpy (&sParam2, &sParam1, sizeof (SEncParamExt)); in TEST_F()
420 while (GET_MB_WIDTH (sParam2.iPicWidth) == GET_MB_WIDTH (sParam1.iPicWidth)) { in TEST_F()
421 sParam2.iPicWidth = GetRandWidth(); in TEST_F()
423 …pareParamDefault (iSpatialLayerNum, iSliceNum, sParam2.iPicWidth, sParam2.iPicHeight, fFrameRate, … in TEST_F()
424 sParam2.bSimulcastAVC = 1; in TEST_F()
425 sParam2.eSpsPpsIdStrategy = INCREASING_ID; in TEST_F()
456 rv = encoder_->SetOption (ENCODER_OPTION_SVC_ENCODE_PARAM_EXT, &sParam2); in TEST_F()
457 …ASSERT_TRUE (rv == cmResultSuccess) << "SetOption: rv = " << rv << " at " << sParam2.iPicWidth << … in TEST_F()
458 sParam2.iPicHeight; in TEST_F()
459 ASSERT_TRUE (EncDecOneFrame (sParam2.iPicWidth, sParam2.iPicHeight, iEncFrameNum++, fEnc)); in TEST_F()
464 ASSERT_TRUE (EncDecOneFrame (sParam2.iPicWidth, sParam2.iPicHeight, iEncFrameNum++, fEnc)); in TEST_F()
473 rv = encoder_->SetOption (ENCODER_OPTION_SVC_ENCODE_PARAM_EXT, &sParam2); in TEST_F()
474 ASSERT_TRUE (rv == cmResultSuccess) << "rv = " << rv << sParam2.iPicWidth << sParam2.iPicHeight; in TEST_F()
475 ASSERT_TRUE (EncDecOneFrame (sParam2.iPicWidth, sParam2.iPicHeight, iEncFrameNum++, fEnc)); in TEST_F()
487 rv = encoder_->SetOption (ENCODER_OPTION_SVC_ENCODE_PARAM_EXT, &sParam2); in TEST_F()
498 rv = encoder_->SetOption (ENCODER_OPTION_SVC_ENCODE_PARAM_EXT, &sParam2); in TEST_F()
500 ASSERT_TRUE (EncDecOneFrame (sParam2.iPicWidth, sParam2.iPicHeight, iEncFrameNum++, fEnc)); in TEST_F()
525 SEncParamExt sParam2; in TEST_F() local
531 memcpy (&sParam2, &sParam1, sizeof (SEncParamExt)); in TEST_F()
532 while (GET_MB_WIDTH (sParam2.iPicWidth) == GET_MB_WIDTH (sParam1.iPicWidth)) { in TEST_F()
533 sParam2.iPicWidth = GetRandWidth(); in TEST_F()
535 …pareParamDefault (iSpatialLayerNum, iSliceNum, sParam2.iPicWidth, sParam2.iPicHeight, fFrameRate, … in TEST_F()
536 sParam2.eSpsPpsIdStrategy = SPS_LISTING_AND_PPS_INCREASING; in TEST_F()
566 rv = encoder_->SetOption (ENCODER_OPTION_SVC_ENCODE_PARAM_EXT, &sParam2); in TEST_F()
567 …ASSERT_TRUE (rv == cmResultSuccess) << "SetOption: rv = " << rv << " at " << sParam2.iPicWidth << … in TEST_F()
568 sParam2.iPicHeight; in TEST_F()
569 ASSERT_TRUE (EncDecOneFrame (sParam2.iPicWidth, sParam2.iPicHeight, iEncFrameNum++, fEnc)); in TEST_F()
574 ASSERT_TRUE (EncDecOneFrame (sParam2.iPicWidth, sParam2.iPicHeight, iEncFrameNum++, fEnc)); in TEST_F()
583 rv = encoder_->SetOption (ENCODER_OPTION_SVC_ENCODE_PARAM_EXT, &sParam2); in TEST_F()
584 ASSERT_TRUE (rv == cmResultSuccess) << "rv = " << rv << sParam2.iPicWidth << sParam2.iPicHeight; in TEST_F()
585 ASSERT_TRUE (EncDecOneFrame (sParam2.iPicWidth, sParam2.iPicHeight, iEncFrameNum++, fEnc)); in TEST_F()
597 rv = encoder_->SetOption (ENCODER_OPTION_SVC_ENCODE_PARAM_EXT, &sParam2); in TEST_F()
608 rv = encoder_->SetOption (ENCODER_OPTION_SVC_ENCODE_PARAM_EXT, &sParam2); in TEST_F()
610 ASSERT_TRUE (EncDecOneFrame (sParam2.iPicWidth, sParam2.iPicHeight, iEncFrameNum++, fEnc)); in TEST_F()
637 SEncParamExt sParam2; in TEST_F() local
643 memcpy (&sParam2, &sParam1, sizeof (SEncParamExt)); in TEST_F()
644 …pareParamDefault (iSpatialLayerNum, iSliceNum, sParam2.iPicWidth, sParam2.iPicHeight, fFrameRate, … in TEST_F()
645 sParam2.eSpsPpsIdStrategy = SPS_LISTING_AND_PPS_INCREASING; in TEST_F()
646 sParam2.iTemporalLayerNum = 3; in TEST_F()
660 rv = encoder_->SetOption (ENCODER_OPTION_SVC_ENCODE_PARAM_EXT, &sParam2); in TEST_F()
692 SEncParamExt sParam2; in TEST_F() local
714 memcpy (&sParam2, &sParam1, sizeof (SEncParamExt)); in TEST_F()
716 sParam2.iPicWidth = GetRandWidth(); in TEST_F()
717 …vWidthTableIt = std::find (vWidthTable.begin(), vWidthTable.end(), GET_MB_WIDTH (sParam2.iPicWidth… in TEST_F()
719 vWidthTable.push_back (GET_MB_WIDTH (sParam2.iPicWidth)); in TEST_F()
720 …pareParamDefault (iSpatialLayerNum, iSliceNum, sParam2.iPicWidth, sParam2.iPicHeight, fFrameRate, … in TEST_F()
721 sParam2.eSpsPpsIdStrategy = SPS_LISTING_AND_PPS_INCREASING; in TEST_F()
723 rv = encoder_->SetOption (ENCODER_OPTION_SVC_ENCODE_PARAM_EXT, &sParam2); in TEST_F()
725 sParam2.iPicWidth; in TEST_F()
728 ASSERT_TRUE (EncDecOneFrame (sParam2.iPicWidth, sParam2.iPicHeight, iEncFrameNum++, fEnc)); in TEST_F()
824 SEncParamExt sParam2; in TEST_F() local
829 memcpy (&sParam2, &sParam1, sizeof (SEncParamExt)); in TEST_F()
830 while (GET_MB_WIDTH (sParam2.iPicWidth) == GET_MB_WIDTH (sParam1.iPicWidth)) { in TEST_F()
831 sParam2.iPicWidth = GetRandWidth(); in TEST_F()
833 …pareParamDefault (iSpatialLayerNum, iSliceNum, sParam2.iPicWidth, sParam2.iPicHeight, fFrameRate, … in TEST_F()
834 sParam2.eSpsPpsIdStrategy = SPS_PPS_LISTING; in TEST_F()
848 rv = encoder_->SetOption (ENCODER_OPTION_SVC_ENCODE_PARAM_EXT, &sParam2); in TEST_F()
850 ASSERT_TRUE (EncDecOneFrame (sParam2.iPicWidth, sParam2.iPicHeight, iEncFrameNum++, fEnc)); in TEST_F()
882 SEncParamExt sParam2; in TEST_F() local
888 memcpy (&sParam2, &sParam1, sizeof (SEncParamExt)); in TEST_F()
889 while (GET_MB_WIDTH (sParam2.iPicWidth) == GET_MB_WIDTH (sParam1.iPicWidth)) { in TEST_F()
890 sParam2.iPicWidth = GetRandWidth(); in TEST_F()
892 …pareParamDefault (iSpatialLayerNum, iSliceNum, sParam2.iPicWidth, sParam2.iPicHeight, fFrameRate, … in TEST_F()
893 sParam2.eSpsPpsIdStrategy = SPS_PPS_LISTING; in TEST_F()
897 GET_MB_WIDTH (sParam3.iPicWidth) == GET_MB_WIDTH (sParam2.iPicWidth)) { in TEST_F()
913 rv = encoder_->SetOption (ENCODER_OPTION_SVC_ENCODE_PARAM_EXT, &sParam2); in TEST_F()
915 ASSERT_TRUE (EncDecOneFrame (sParam2.iPicWidth, sParam2.iPicHeight, iEncFrameNum++, fEnc)); in TEST_F()
930 ASSERT_TRUE (EncDecOneFrame (sParam2.iPicWidth, sParam2.iPicHeight, iEncFrameNum++, fEnc)); in TEST_F()
1188 SEncParamExt sParam2; in TEST_F() local
1196 memcpy (&sParam2, &sParam1, sizeof (SEncParamExt)); in TEST_F()
1197 sParam2.sSpatialLayers[0].iVideoWidth = (sParam1.sSpatialLayers[0].iVideoWidth / 2); in TEST_F()
1198 sParam2.sSpatialLayers[0].iVideoHeight = (sParam1.sSpatialLayers[0].iVideoHeight / 2); in TEST_F()
1202 rv = encoder_->SetOption (ENCODER_OPTION_SVC_ENCODE_PARAM_EXT, &sParam2); in TEST_F()
1230 ASSERT_TRUE (TestOneSimulcastAVC (&sParam2, decoder, pBsBuf, iSpatialLayerNum, iEncFrameNum, 0)); in TEST_F()