|
|
Created:
3 years, 10 months ago by åsapersson Modified:
3 years, 9 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. |
Descriptionvp8_impl.cc: Enable postproc for arm under field trial.
For resolutions:
<= 320x240: enable full postproc (VP8_MFQE, VP8_DEBLOCK, VP8_DEMACROBLOCK).
> 320x240: enable VP8_MFQE.
TBR=marpan@webrtc.org
BUG=webrtc:6634
Review-Url: https://codereview.webrtc.org/2696403002
Cr-Commit-Position: refs/heads/master@{#16962}
Committed: https://chromium.googlesource.com/external/webrtc/+/55eb6d621489730084927868fed195d3645a9ec9
Patch Set 1 #Patch Set 2 #Patch Set 3 : add field trial #
Total comments: 6
Patch Set 4 : address comments #
Messages
Total messages: 39 (29 generated)
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.
Description was changed from ========== vp8_impl.cc: Enable postproc for arm. Use stronger deblocking level (3 -> 6) for low resolutions (<= 320x240). BUG=webrtc:6634 ========== to ========== vp8_impl.cc: Enable postproc for arm. For resolutions: (<= 640x360): enable full postproc (VP8_MFQE, VP8_DEBLOCK, VP8_DEMACROBLOCK). (> 640x360): enable VP8_MFQE. On all platforms: Use stronger deblocking level (3 -> 6) for low resolutions (<= 320x240). BUG=webrtc:6634 ==========
Description was changed from ========== vp8_impl.cc: Enable postproc for arm. For resolutions: (<= 640x360): enable full postproc (VP8_MFQE, VP8_DEBLOCK, VP8_DEMACROBLOCK). (> 640x360): enable VP8_MFQE. On all platforms: Use stronger deblocking level (3 -> 6) for low resolutions (<= 320x240). BUG=webrtc:6634 ========== to ========== vp8_impl.cc: Enable postproc for arm. For resolutions: <= 640x360: enable full postproc (VP8_MFQE, VP8_DEBLOCK, VP8_DEMACROBLOCK). > 640x360: enable VP8_MFQE. On all platforms: Use stronger deblocking level (3 -> 6) for low resolutions (<= 320x240). BUG=webrtc:6634 ==========
Patchset #2 (id:20001) has been deleted
Patchset #2 (id:40001) has been deleted
Description was changed from ========== vp8_impl.cc: Enable postproc for arm. For resolutions: <= 640x360: enable full postproc (VP8_MFQE, VP8_DEBLOCK, VP8_DEMACROBLOCK). > 640x360: enable VP8_MFQE. On all platforms: Use stronger deblocking level (3 -> 6) for low resolutions (<= 320x240). BUG=webrtc:6634 ========== to ========== vp8_impl.cc: Enable postproc for arm. For resolutions: <= 320x240: enable full postproc (VP8_MFQE, VP8_DEBLOCK, VP8_DEMACROBLOCK). > 320x240: enable VP8_MFQE. BUG=webrtc:6634 ==========
Patchset #3 (id:80001) has been deleted
Patchset #3 (id:100001) has been deleted
Description was changed from ========== vp8_impl.cc: Enable postproc for arm. For resolutions: <= 320x240: enable full postproc (VP8_MFQE, VP8_DEBLOCK, VP8_DEMACROBLOCK). > 320x240: enable VP8_MFQE. BUG=webrtc:6634 ========== to ========== vp8_impl.cc: Enable postproc for arm. For resolutions: <= 320x240: enable full postproc (VP8_MFQE, VP8_DEBLOCK, VP8_DEMACROBLOCK). > 320x240: enable VP8_MFQE. BUG=webrtc:6634 ==========
Patchset #3 (id:120001) has been deleted
Description was changed from ========== vp8_impl.cc: Enable postproc for arm. For resolutions: <= 320x240: enable full postproc (VP8_MFQE, VP8_DEBLOCK, VP8_DEMACROBLOCK). > 320x240: enable VP8_MFQE. BUG=webrtc:6634 ========== to ========== vp8_impl.cc: Enable postproc for arm under field trial. For resolutions: <= 320x240: enable full postproc (VP8_MFQE, VP8_DEBLOCK, VP8_DEMACROBLOCK). > 320x240: enable VP8_MFQE. BUG=webrtc:6634 ==========
asapersson@webrtc.org changed reviewers: + brandtr@webrtc.org, marpan@webrtc.org
marpan@google.com changed reviewers: + marpan@google.com
lgtm https://codereview.webrtc.org/2696403002/diff/140001/webrtc/modules/video_cod... File webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc (right): https://codereview.webrtc.org/2696403002/diff/140001/webrtc/modules/video_cod... webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc:1086: ppcfg.deblocking_level = 3; can remove this setting, as its set below (line 1091) and only used when deblocking is on.
brandtr@webrtc.org changed reviewers: + glaznev@webrtc.org
Looks good, but I have one question. Also adding Alex. https://codereview.webrtc.org/2696403002/diff/140001/webrtc/modules/video_cod... File webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc (right): https://codereview.webrtc.org/2696403002/diff/140001/webrtc/modules/video_cod... webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc:1041: flags = VPX_CODEC_USE_POSTPROC; This file seems to use a mix of {}-style, but here I think it would be clearer to add the {}. https://codereview.webrtc.org/2696403002/diff/140001/webrtc/modules/video_cod... webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc:1090: if (last_frame_width_ * last_frame_height_ <= 320 * 240) { Should we check the current frame size here, rather than the previous frame size? By checking |last_frame_width_| (and height), the first frame will always have full postproc enabled. Should we check that last_frame_width_ != 0 (and same for height) here?
Patchset #4 (id:160001) has been deleted
https://codereview.webrtc.org/2696403002/diff/140001/webrtc/modules/video_cod... File webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc (right): https://codereview.webrtc.org/2696403002/diff/140001/webrtc/modules/video_cod... webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc:1041: flags = VPX_CODEC_USE_POSTPROC; On 2017/02/27 22:12:17, brandtr wrote: > This file seems to use a mix of {}-style, but here I think it would be clearer > to add the {}. Done. https://codereview.webrtc.org/2696403002/diff/140001/webrtc/modules/video_cod... webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc:1086: ppcfg.deblocking_level = 3; On 2017/02/27 17:43:14, marpan wrote: > can remove this setting, as its set below (line 1091) and only used when > deblocking is on. Done. https://codereview.webrtc.org/2696403002/diff/140001/webrtc/modules/video_cod... webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc:1090: if (last_frame_width_ * last_frame_height_ <= 320 * 240) { On 2017/02/27 22:12:17, brandtr wrote: > Should we check the current frame size here, rather than the previous frame > size? > > By checking |last_frame_width_| (and height), the first frame will always have > full postproc enabled. Should we check that last_frame_width_ != 0 (and same for > height) here? The current frame size is known after decode. Added a check for > 0.
lgtm
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 marpan@google.com Link to the patchset: https://codereview.webrtc.org/2696403002/#ps180001 (title: "address comments")
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
Try jobs failed on following builders: presubmit on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/14334)
Description was changed from ========== vp8_impl.cc: Enable postproc for arm under field trial. For resolutions: <= 320x240: enable full postproc (VP8_MFQE, VP8_DEBLOCK, VP8_DEMACROBLOCK). > 320x240: enable VP8_MFQE. BUG=webrtc:6634 ========== to ========== vp8_impl.cc: Enable postproc for arm under field trial. For resolutions: <= 320x240: enable full postproc (VP8_MFQE, VP8_DEBLOCK, VP8_DEMACROBLOCK). > 320x240: enable VP8_MFQE. TBR=marpan@webrtc.org BUG=webrtc:6634 ==========
The CQ bit was checked by asapersson@webrtc.org
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": 180001, "attempt_start_ts": 1488440994777200, "parent_rev": "0ef30eff415f04cb039148180663151b55c75e0d", "commit_rev": "55eb6d621489730084927868fed195d3645a9ec9"}
Message was sent while issue was closed.
Description was changed from ========== vp8_impl.cc: Enable postproc for arm under field trial. For resolutions: <= 320x240: enable full postproc (VP8_MFQE, VP8_DEBLOCK, VP8_DEMACROBLOCK). > 320x240: enable VP8_MFQE. TBR=marpan@webrtc.org BUG=webrtc:6634 ========== to ========== vp8_impl.cc: Enable postproc for arm under field trial. For resolutions: <= 320x240: enable full postproc (VP8_MFQE, VP8_DEBLOCK, VP8_DEMACROBLOCK). > 320x240: enable VP8_MFQE. TBR=marpan@webrtc.org BUG=webrtc:6634 Review-Url: https://codereview.webrtc.org/2696403002 Cr-Commit-Position: refs/heads/master@{#16962} Committed: https://chromium.googlesource.com/external/webrtc/+/55eb6d621489730084927868f... ==========
Message was sent while issue was closed.
Committed patchset #4 (id:180001) as https://chromium.googlesource.com/external/webrtc/+/55eb6d621489730084927868f... |