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

Issue 23477059: Simplify VideoEncoder interface. (Closed)

Created:
7 years, 3 months ago by Sergey Ulanov
Modified:
7 years, 3 months ago
Reviewers:
Jamie, Wez
CC:
chromium-reviews, jamiewalch+watch_chromium.org, dcaiafa+watch_chromium.org, hclam+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, rmsousa+watch_chromium.org, weitaosu+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Simplify VideoEncoder interface. This should also avoid assert in the linked bug. BUG=284775 R=wez@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=223152

Patch Set 1 : #

Patch Set 2 : #

Total comments: 21

Patch Set 3 : #

Total comments: 8

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+177 lines, -572 lines) Patch
M remoting/client/rectangle_update_decoder.h View 1 2 1 chunk +3 lines, -6 lines 0 comments Download
M remoting/client/rectangle_update_decoder.cc View 1 2 1 chunk +8 lines, -16 lines 0 comments Download
M remoting/codec/codec_test.cc View 1 2 9 chunks +15 lines, -120 lines 0 comments Download
M remoting/codec/video_decoder.h View 1 2 3 1 chunk +3 lines, -7 lines 0 comments Download
M remoting/codec/video_decoder_verbatim.h View 1 1 chunk +0 lines, -24 lines 0 comments Download
M remoting/codec/video_decoder_verbatim.cc View 1 2 2 chunks +36 lines, -121 lines 0 comments Download
M remoting/codec/video_encoder.h View 2 chunks +3 lines, -14 lines 0 comments Download
M remoting/codec/video_encoder_verbatim.h View 1 2 2 chunks +3 lines, -27 lines 0 comments Download
M remoting/codec/video_encoder_verbatim.cc View 1 2 2 chunks +50 lines, -97 lines 0 comments Download
M remoting/codec/video_encoder_verbatim_unittest.cc View 1 2 1 chunk +1 line, -14 lines 0 comments Download
M remoting/codec/video_encoder_vp8.h View 2 chunks +3 lines, -4 lines 0 comments Download
M remoting/codec/video_encoder_vp8.cc View 1 2 6 chunks +18 lines, -21 lines 0 comments Download
M remoting/codec/video_encoder_vp8_unittest.cc View 4 chunks +7 lines, -25 lines 0 comments Download
M remoting/host/client_session.cc View 1 1 chunk +1 line, -3 lines 0 comments Download
M remoting/host/video_scheduler.cc View 1 2 3 chunks +9 lines, -22 lines 0 comments Download
M remoting/host/video_scheduler_unittest.cc View 1 2 4 chunks +7 lines, -7 lines 0 comments Download
M remoting/proto/video.proto View 1 2 3 4 2 chunks +5 lines, -44 lines 0 comments Download
M remoting/protocol/protobuf_video_writer.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Sergey Ulanov
7 years, 3 months ago (2013-09-11 01:04:23 UTC) #1
Wez
LGTM, but doesn't the Verbatim encoder also need updating?
7 years, 3 months ago (2013-09-11 07:34:16 UTC) #2
Sergey Ulanov
On 2013/09/11 07:34:16, Wez wrote: > LGTM, but doesn't the Verbatim encoder also need updating? ...
7 years, 3 months ago (2013-09-11 07:50:05 UTC) #3
Jamie
On 2013/09/11 07:50:05, Sergey Ulanov wrote: > On 2013/09/11 07:34:16, Wez wrote: > > LGTM, ...
7 years, 3 months ago (2013-09-11 15:08:08 UTC) #4
Sergey Ulanov
On 2013/09/11 15:08:08, Jamie wrote: > On 2013/09/11 07:50:05, Sergey Ulanov wrote: > > On ...
7 years, 3 months ago (2013-09-11 19:00:28 UTC) #5
Jamie
On 2013/09/11 19:00:28, Sergey Ulanov wrote: > On 2013/09/11 15:08:08, Jamie wrote: > > On ...
7 years, 3 months ago (2013-09-11 19:26:31 UTC) #6
Sergey Ulanov
I've rewritten verbatim video codec implementation. PTAL.
7 years, 3 months ago (2013-09-11 22:07:47 UTC) #7
Wez
https://codereview.chromium.org/23477059/diff/12001/remoting/client/rectangle_update_decoder.cc File remoting/client/rectangle_update_decoder.cc (right): https://codereview.chromium.org/23477059/diff/12001/remoting/client/rectangle_update_decoder.cc#newcode47 remoting/client/rectangle_update_decoder.cc:47: if (codec == ChannelConfig::CODEC_VP8) { Need to restore the ...
7 years, 3 months ago (2013-09-12 14:20:15 UTC) #8
Sergey Ulanov
cleaned up video.proto too. https://codereview.chromium.org/23477059/diff/12001/remoting/client/rectangle_update_decoder.cc File remoting/client/rectangle_update_decoder.cc (right): https://codereview.chromium.org/23477059/diff/12001/remoting/client/rectangle_update_decoder.cc#newcode47 remoting/client/rectangle_update_decoder.cc:47: if (codec == ChannelConfig::CODEC_VP8) { ...
7 years, 3 months ago (2013-09-12 19:18:45 UTC) #9
Wez
lgtm https://codereview.chromium.org/23477059/diff/12001/remoting/codec/video_encoder_verbatim.cc File remoting/codec/video_encoder_verbatim.cc (right): https://codereview.chromium.org/23477059/diff/12001/remoting/codec/video_encoder_verbatim.cc#newcode52 remoting/codec/video_encoder_verbatim.cc:52: const int row_size = webrtc::DesktopFrame::kBytesPerPixel * rect.width(); On ...
7 years, 3 months ago (2013-09-13 11:12:20 UTC) #10
Sergey Ulanov
https://codereview.chromium.org/23477059/diff/29001/remoting/codec/video_decoder.h File remoting/codec/video_decoder.h (right): https://codereview.chromium.org/23477059/diff/29001/remoting/codec/video_decoder.h#newcode19 remoting/codec/video_decoder.h:19: // TODO(ajwong): Beef up this documentation once the API ...
7 years, 3 months ago (2013-09-13 18:53:15 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/23477059/24001
7 years, 3 months ago (2013-09-13 19:05:47 UTC) #12
Sergey Ulanov
7 years, 3 months ago (2013-09-13 22:45:07 UTC) #13
Message was sent while issue was closed.
Committed patchset #5 manually as r223152 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698