|
|
Chromium Code Reviews|
Created:
3 years, 11 months ago by åsapersson Modified:
3 years, 10 months ago CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, zhengzhonghou_agora.io, video-team_agora.io, stefan-webrtc, mflodman Target Ref:
refs/heads/master Project:
webrtc Visibility:
Public. |
DescriptionUse std::unique_ptr in VideoProcessorIntegrationTest.
Add more logging of codec settings.
BUG=webrtc:6634
Review-Url: https://codereview.webrtc.org/2639203005
Cr-Commit-Position: refs/heads/master@{#16464}
Committed: https://chromium.googlesource.com/external/webrtc/+/e0ac5a6c15899830a95828c87823357fd27e3d84
Patch Set 1 #Patch Set 2 #
Total comments: 2
Patch Set 3 : address comment #
Total comments: 2
Patch Set 4 : use CodecTypeToPayloadName #Patch Set 5 : rebase #
Messages
Total messages: 36 (26 generated)
Description was changed from ========== Use std::unique_ptr in VideoProcessorIntegrationTest. BUG=webrtc:6634 ========== to ========== Use std::unique_ptr in VideoProcessorIntegrationTest. Add more logging of codec settings. BUG=webrtc:6634 ==========
The CQ bit was checked by asapersson@webrtc.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/...
asapersson@webrtc.org changed reviewers: + brandtr@webrtc.org
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
lgtm https://codereview.webrtc.org/2639203005/diff/20001/webrtc/modules/video_codi... File webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.cc (right): https://codereview.webrtc.org/2639203005/diff/20001/webrtc/modules/video_codi... webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.cc:522: void SetRateProfilePars(RateProfile* rate_profile, Make these four functions static?
The CQ bit was checked by asapersson@webrtc.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/...
asapersson@webrtc.org changed reviewers: + sprang@webrtc.org
+sprang https://codereview.webrtc.org/2639203005/diff/20001/webrtc/modules/video_codi... File webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.cc (right): https://codereview.webrtc.org/2639203005/diff/20001/webrtc/modules/video_codi... webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.cc:522: void SetRateProfilePars(RateProfile* rate_profile, On 2017/02/07 08:25:53, brandtr wrote: > Make these four functions static? Done.
https://codereview.webrtc.org/2639203005/diff/40001/webrtc/modules/video_codi... File webrtc/modules/video_coding/codecs/test/videoprocessor.cc (right): https://codereview.webrtc.org/2639203005/diff/40001/webrtc/modules/video_codi... webrtc/modules/video_coding/codecs/test/videoprocessor.cc:42: } Maybe use CodecTypeToPayloadName() from webrtc/common_types.h instead?
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
https://codereview.webrtc.org/2639203005/diff/40001/webrtc/modules/video_codi... File webrtc/modules/video_coding/codecs/test/videoprocessor.cc (right): https://codereview.webrtc.org/2639203005/diff/40001/webrtc/modules/video_codi... webrtc/modules/video_coding/codecs/test/videoprocessor.cc:42: } On 2017/02/07 09:18:36, språng wrote: > Maybe use CodecTypeToPayloadName() from webrtc/common_types.h instead? Done.
lgtm
The CQ bit was checked by asapersson@webrtc.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by asapersson@webrtc.org
The patchset sent to the CQ was uploaded after l-g-t-m from brandtr@webrtc.org Link to the patchset: https://codereview.webrtc.org/2639203005/#ps60001 (title: "use CodecTypeToPayloadName")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/...
The CQ bit was unchecked by commit-bot@chromium.org
Failed to apply patch for
webrtc/modules/video_coding/codecs/test/videoprocessor.cc:
While running git apply --index -p1;
error: patch failed:
webrtc/modules/video_coding/codecs/test/videoprocessor.cc:19
error: webrtc/modules/video_coding/codecs/test/videoprocessor.cc: patch does
not apply
Patch: webrtc/modules/video_coding/codecs/test/videoprocessor.cc
Index: webrtc/modules/video_coding/codecs/test/videoprocessor.cc
diff --git a/webrtc/modules/video_coding/codecs/test/videoprocessor.cc
b/webrtc/modules/video_coding/codecs/test/videoprocessor.cc
index
63f0a871503cf700bcf09f7d06425de09215c0d5..6877cad7c8ef0efc894720c02cd87e468b7caa04
100644
--- a/webrtc/modules/video_coding/codecs/test/videoprocessor.cc
+++ b/webrtc/modules/video_coding/codecs/test/videoprocessor.cc
@@ -19,6 +19,7 @@
#include "webrtc/base/checks.h"
#include "webrtc/base/timeutils.h"
+#include "webrtc/common_types.h"
#include "webrtc/modules/video_coding/include/video_codec_initializer.h"
#include
"webrtc/modules/video_coding/utility/default_video_bitrate_allocator.h"
#include "webrtc/modules/video_coding/utility/simulcast_rate_allocator.h"
@@ -146,10 +147,30 @@ bool VideoProcessorImpl::Init() {
printf(" #CPU cores used : %d\n", nbr_of_cores);
printf(" Total # of frames: %d\n", frame_reader_->NumberOfFrames());
printf(" Codec settings:\n");
- printf(" Start bitrate : %d kbps\n",
+ printf(" Start bitrate : %d kbps\n",
config_.codec_settings->startBitrate);
- printf(" Width : %d\n", config_.codec_settings->width);
- printf(" Height : %d\n", config_.codec_settings->height);
+ printf(" Width : %d\n", config_.codec_settings->width);
+ printf(" Height : %d\n", config_.codec_settings->height);
+ printf(" Codec type : %s\n",
+ CodecTypeToPayloadName(config_.codec_settings->codecType)
+ .value_or("Unknown"));
+ printf(" Encoder implementation name: %s\n",
+ encoder_->ImplementationName());
+ printf(" Decoder implementation name: %s\n",
+ decoder_->ImplementationName());
+ if (config_.codec_settings->codecType == kVideoCodecVP8) {
+ printf(" Denoising : %d\n",
+ config_.codec_settings->VP8()->denoisingOn);
+ printf(" Error concealment: %d\n",
+ config_.codec_settings->VP8()->errorConcealmentOn);
+ printf(" Frame dropping : %d\n",
+ config_.codec_settings->VP8()->frameDroppingOn);
+ printf(" Resilience : %d\n",
+ config_.codec_settings->VP8()->resilience);
+ } else if (config_.codec_settings->codecType == kVideoCodecVP9) {
+ printf(" Resilience : %d\n",
+ config_.codec_settings->VP9()->resilience);
+ }
}
initialized_ = true;
return true;
The CQ bit was checked by asapersson@webrtc.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by asapersson@webrtc.org
The patchset sent to the CQ was uploaded after l-g-t-m from brandtr@webrtc.org, sprang@webrtc.org Link to the patchset: https://codereview.webrtc.org/2639203005/#ps80001 (title: "rebase")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/...
CQ is committing da patch.
Bot data: {"patchset_id": 80001, "attempt_start_ts": 1486468301414270,
"parent_rev": "1b21b9bbf8e9d3911dba39ab09ee3d3398975c49", "commit_rev":
"e0ac5a6c15899830a95828c87823357fd27e3d84"}
Message was sent while issue was closed.
Description was changed from ========== Use std::unique_ptr in VideoProcessorIntegrationTest. Add more logging of codec settings. BUG=webrtc:6634 ========== to ========== Use std::unique_ptr in VideoProcessorIntegrationTest. Add more logging of codec settings. BUG=webrtc:6634 Review-Url: https://codereview.webrtc.org/2639203005 Cr-Commit-Position: refs/heads/master@{#16464} Committed: https://chromium.googlesource.com/external/webrtc/+/e0ac5a6c15899830a95828c87... ==========
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as https://chromium.googlesource.com/external/webrtc/+/e0ac5a6c15899830a95828c87... |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
