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

Issue 2780943003: Move video_encoder.h and video_decoder.h to /api and create GN targets for them (Closed)

Created:
3 years, 8 months ago by ilnik
Modified:
3 years, 8 months ago
Reviewers:
the sun, sprang_webrtc
CC:
webrtc-reviews_webrtc.org, interface-changes_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, qiang.lu, niklas.enbom, peah-webrtc, mflodman
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Move video_encoder.h and video_decoder.h to /api and create GN targets for them BUG=webrtc:5881 # Because PRESUBMIT ignores LINT blacklist for moved files and these # headers have some not easy to resolve issues. NOPRESUBMIT=True Review-Url: https://codereview.webrtc.org/2780943003 Cr-Commit-Position: refs/heads/master@{#17511} Committed: https://chromium.googlesource.com/external/webrtc/+/c42f54057050c933008a49d57582577bfb9aed25

Patch Set 1 #

Patch Set 2 : Add missing dependancies #

Patch Set 3 : Fix lint warnings #

Total comments: 2

Patch Set 4 : Implement Solenberg@ comments #

Patch Set 5 : Fix GN targets #

Patch Set 6 : Move GN targets inside webrtc/api/video_codecs. Rename /api/video_codec to api/video_codecs #

Total comments: 6

Patch Set 7 : Implement Solenberg@ comments #

Total comments: 2

Patch Set 8 : Add missing TODO #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -339 lines) Patch
M PRESUBMIT.py View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/DEPS View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download
A webrtc/api/video_codecs/BUILD.gn View 1 2 3 4 5 1 chunk +28 lines, -0 lines 0 comments Download
A + webrtc/api/video_codecs/video_decoder.h View 1 2 3 4 5 2 chunks +3 lines, -3 lines 0 comments Download
A + webrtc/api/video_codecs/video_encoder.h View 1 2 3 4 5 2 chunks +3 lines, -3 lines 0 comments Download
M webrtc/media/BUILD.gn View 1 2 3 4 5 3 chunks +3 lines, -0 lines 0 comments Download
M webrtc/media/engine/fakewebrtcvideoengine.h View 1 2 3 4 5 6 2 chunks +3 lines, -2 lines 0 comments Download
M webrtc/media/engine/videodecodersoftwarefallbackwrapper.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M webrtc/media/engine/videodecodersoftwarefallbackwrapper_unittest.cc View 1 2 3 4 5 6 1 chunk +1 line, -2 lines 0 comments Download
M webrtc/media/engine/videoencodersoftwarefallbackwrapper.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M webrtc/media/engine/webrtcvideoengine2.cc View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/media/engine/webrtcvideoengine2_unittest.cc View 1 2 3 4 5 6 3 chunks +1 line, -2 lines 0 comments Download
M webrtc/modules/video_coding/BUILD.gn View 1 2 3 4 5 4 chunks +4 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/codecs/test/video_codec_test.h View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/modules/video_coding/codecs/vp8/simulcast_rate_allocator.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/video_coding/include/video_codec_interface.h View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/modules/video_coding/utility/quality_scaler.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/video_coding/video_codec_initializer_unittest.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M webrtc/pc/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/sdk/android/src/jni/androidmediaencoder_jni.cc View 1 2 3 4 5 6 7 11 chunks +30 lines, -27 lines 0 comments Download
M webrtc/test/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/test/configurable_frame_size_encoder.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M webrtc/test/fake_encoder.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M webrtc/video/BUILD.gn View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M webrtc/video/end_to_end_tests.cc View 1 2 3 4 5 6 2 chunks +1 line, -1 line 0 comments Download
M webrtc/video/payload_router.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M webrtc/video/replay.cc View 1 2 3 4 5 6 2 chunks +1 line, -1 line 0 comments Download
M webrtc/video/video_receive_stream_unittest.cc View 1 2 3 4 5 6 2 chunks +1 line, -1 line 0 comments Download
M webrtc/video/vie_encoder.h View 1 2 3 4 5 6 2 chunks +1 line, -1 line 0 comments Download
D webrtc/video_decoder.h View 1 chunk +0 lines, -86 lines 0 comments Download
D webrtc/video_encoder.h View 1 chunk +0 lines, -192 lines 0 comments Download

Messages

Total messages: 51 (38 generated)
ilnik
3 years, 8 months ago (2017-03-29 10:36:53 UTC) #2
the sun
Thanks for doing this! Looks good, but I think it'd make sense to use the ...
3 years, 8 months ago (2017-03-30 08:10:36 UTC) #15
ilnik
https://codereview.webrtc.org/2780943003/diff/40001/PRESUBMIT.py File PRESUBMIT.py (right): https://codereview.webrtc.org/2780943003/diff/40001/PRESUBMIT.py#newcode41 PRESUBMIT.py:41: 'webrtc/api/video_decoder.h', On 2017/03/30 08:10:36, the sun wrote: > 1. ...
3 years, 8 months ago (2017-03-30 11:15:57 UTC) #16
ilnik
On 2017/03/30 11:15:57, ilnik wrote: > https://codereview.webrtc.org/2780943003/diff/40001/PRESUBMIT.py > File PRESUBMIT.py (right): > > https://codereview.webrtc.org/2780943003/diff/40001/PRESUBMIT.py#newcode41 > ...
3 years, 8 months ago (2017-03-30 14:48:12 UTC) #30
the sun
On 2017/03/30 14:48:12, ilnik wrote: > On 2017/03/30 11:15:57, ilnik wrote: > > https://codereview.webrtc.org/2780943003/diff/40001/PRESUBMIT.py > ...
3 years, 8 months ago (2017-03-31 06:31:32 UTC) #31
ilnik
On 2017/03/31 06:31:32, the sun wrote: > On 2017/03/30 14:48:12, ilnik wrote: > > On ...
3 years, 8 months ago (2017-03-31 07:45:11 UTC) #32
the sun
Looks good, but include order is off in most cpp files. https://codereview.webrtc.org/2780943003/diff/100001/PRESUBMIT.py File PRESUBMIT.py (left): ...
3 years, 8 months ago (2017-03-31 08:10:27 UTC) #35
ilnik
https://codereview.webrtc.org/2780943003/diff/100001/PRESUBMIT.py File PRESUBMIT.py (left): https://codereview.webrtc.org/2780943003/diff/100001/PRESUBMIT.py#oldcode1 PRESUBMIT.py:1: # Copyright (c) 2012 The WebRTC project authors. All ...
3 years, 8 months ago (2017-04-03 07:42:36 UTC) #38
the sun
lgtm https://codereview.webrtc.org/2780943003/diff/120001/webrtc/sdk/android/src/jni/androidmediaencoder_jni.cc File webrtc/sdk/android/src/jni/androidmediaencoder_jni.cc (right): https://codereview.webrtc.org/2780943003/diff/120001/webrtc/sdk/android/src/jni/androidmediaencoder_jni.cc#newcode556 webrtc/sdk/android/src/jni/androidmediaencoder_jni.cc:556: picture_id_ = static_cast<uint16_t>(rand()) & 0x7FFF; // NOLINT What's ...
3 years, 8 months ago (2017-04-03 14:48:30 UTC) #39
ilnik
https://codereview.webrtc.org/2780943003/diff/120001/webrtc/sdk/android/src/jni/androidmediaencoder_jni.cc File webrtc/sdk/android/src/jni/androidmediaencoder_jni.cc (right): https://codereview.webrtc.org/2780943003/diff/120001/webrtc/sdk/android/src/jni/androidmediaencoder_jni.cc#newcode556 webrtc/sdk/android/src/jni/androidmediaencoder_jni.cc:556: picture_id_ = static_cast<uint16_t>(rand()) & 0x7FFF; // NOLINT On 2017/04/03 ...
3 years, 8 months ago (2017-04-03 14:58:22 UTC) #40
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/2780943003/140001
3 years, 8 months ago (2017-04-03 15:37:17 UTC) #47
commit-bot: I haz the power
Committed patchset #8 (id:140001) as https://chromium.googlesource.com/external/webrtc/+/c42f54057050c933008a49d57582577bfb9aed25
3 years, 8 months ago (2017-04-03 15:37:37 UTC) #50
guidou
3 years, 8 months ago (2017-04-03 16:15:35 UTC) #51
Message was sent while issue was closed.
A revert of this CL (patchset #8 id:140001) has been created in
https://codereview.webrtc.org/2794033002/ by guidou@webrtc.org.

The reason for reverting is: Suspect of breaking Chrome FYI bots.

See
https://build.chromium.org/p/chromium.webrtc.fyi/builders/Mac%20Builder/build...
https://build.chromium.org/p/chromium.webrtc.fyi/builders/Android%20Builder

Example logs:
../../content/renderer/media/gpu/rtc_video_encoder_unittest.cc:18:46: fatal
error: third_party/webrtc/video_encoder.h: No such file or directory
 #include "third_party/webrtc/video_encoder.h"
                                              ^.

Powered by Google App Engine
This is Rietveld 408576698