Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(168)

Issue 2903163002: Add unit tests for qp parser. (Closed)

Created:
3 years, 7 months ago by jianj
Modified:
3 years, 6 months ago
Reviewers:
brandtr, marpan2, mflodman
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Add unit tests for qp parser. Add test for vp8/vp9 qp parser in both videoprocessor_integrationtest. Check the qp from parser equal to that from the encoder on every frame in every test. Add test for vp8/vp9 qp parser in vp8/vp9_impl_test. Check the qp parser on a single key frame. BUG=None Review-Url: https://codereview.webrtc.org/2903163002 Cr-Commit-Position: refs/heads/master@{#18334} Committed: https://chromium.googlesource.com/external/webrtc/+/b5f5bdba77a8f10cd46c229166a2bcce96be55f3

Patch Set 1 #

Patch Set 2 : Fix header. #

Patch Set 3 : Add qp parser test to videoprocessor_integrationtest. #

Patch Set 4 : Add vp8 qp parser test. Refactor. #

Patch Set 5 : Fix test failure. #

Total comments: 20

Patch Set 6 : Refactor. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -3 lines) Patch
M webrtc/modules/video_coding/codecs/test/video_codec_test.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/codecs/test/videoprocessor.h View 1 2 3 4 5 5 chunks +19 lines, -1 line 0 comments Download
M webrtc/modules/video_coding/codecs/test/videoprocessor.cc View 1 2 3 4 5 2 chunks +18 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest.h View 1 2 3 4 5 2 chunks +9 lines, -1 line 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/test/vp8_impl_unittest.cc View 1 2 3 4 2 chunks +13 lines, -1 line 0 comments Download
M webrtc/modules/video_coding/codecs/vp9/test/vp9_impl_unittest.cc View 1 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (31 generated)
jianj
3 years, 7 months ago (2017-05-25 20:29:02 UTC) #15
brandtr
Thanks for adding this! It looks good, but I have added some comments. https://codereview.webrtc.org/2903163002/diff/80001/webrtc/modules/video_coding/codecs/test/videoprocessor.cc File ...
3 years, 7 months ago (2017-05-26 07:18:46 UTC) #26
jianj
https://codereview.webrtc.org/2903163002/diff/80001/webrtc/modules/video_coding/codecs/test/videoprocessor.cc File webrtc/modules/video_coding/codecs/test/videoprocessor.cc (right): https://codereview.webrtc.org/2903163002/diff/80001/webrtc/modules/video_coding/codecs/test/videoprocessor.cc#newcode366 webrtc/modules/video_coding/codecs/test/videoprocessor.cc:366: qp_encoder_ = encoded_image.qp_; On 2017/05/26 07:18:45, brandtr wrote: > ...
3 years, 6 months ago (2017-05-26 18:20:28 UTC) #29
brandtr
lgtm
3 years, 6 months ago (2017-05-29 07:20:28 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2903163002/100001
3 years, 6 months ago (2017-05-30 17:32:09 UTC) #34
commit-bot: I haz the power
3 years, 6 months ago (2017-05-30 17:57:31 UTC) #37
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/external/webrtc/+/b5f5bdba77a8f10cd46c22916...

Powered by Google App Engine
This is Rietveld 408576698