modules/video_coding/codecs/test/videoprocessor_integrationtest_mediacodec.cc
// TODO(brandtr): Enable this test when we have trybots/buildbots with
// HW encoders that support CHP.
Enable this test when we have trybots/buildbots with
HW encoders that support CHP.
Enable this test when we have trybots / buildbots with HW encoders that support CHP .
TEST_F(VideoProcessorIntegrationTestMediaCodec,
       DISABLED_ForemanCif500kbpsH264CHP) {
  ScopedFieldTrials override_field_trials("WebRTC-H264HighProfile/Enabled/");
  config_.h264_codec_settings.profile = H264::kProfileConstrainedHigh;
  config_.encoded_frame_checker = &h264_keyframe_checker_;
  config_.SetCodecSettings(kVideoCodecH264, 1, false, false, false, false,
                           false, 352, 288);
  std::vector<RateProfile> rate_profiles = {{500, 30, kForemanNumFrames + 1}};
  std::vector<RateControlThresholds> rc_thresholds = {{5, 60, 20, 5, 15, 0, 1}};
  QualityThresholds quality_thresholds(33.0, 30.0, 0.90, 0.85);
  ProcessFramesAndMaybeVerify(rate_profiles, &rc_thresholds,
                              &quality_thresholds, nullptr,
                              kNoVisualizationParams);
}
TEST_F ( VideoProcessorIntegrationTestMediaCodec , DISABLED_ForemanCif500kbpsH264CHP ) { ScopedFieldTrials override_field_trials ( " " ) ; config_ . h264_codec_settings . profile = H264 :: kProfileConstrainedHigh ; config_ . encoded_frame_checker = & h264_keyframe_checker_ ; config_ . SetCodecSettings ( kVideoCodecH264 , 1 , false , false , false , false , false , 352 , 288 ) ; std :: vector < RateProfile > rate_profiles = { { 500 , 30 , kForemanNumFrames + 1 } } ; std :: vector < RateControlThresholds > rc_thresholds = { { 5 , 60 , 20 , 5 , 15 , 0 , 1 } } ; QualityThresholds quality_thresholds ( 33.0 , 30.0 , 0.90 , 0.85 ) ; ProcessFramesAndMaybeVerify ( rate_profiles , & rc_thresholds , & quality_thresholds , nullptr , kNoVisualizationParams ) ; }
TODO(brandtr): Enable this test when we have trybots/buildbots with
HW encoders that support CHP.
TODO ( brandtr ) : Enable this test when we have trybots / buildbots with HW encoders that support CHP .
// The thresholds below may have to be tweaked to let even poor MediaCodec // implementations pass. If this test fails on the bots, disable it and // ping brandtr@.