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

Issue 136763009: Add VideoProcessor interface. (Closed)

Created:
6 years, 11 months ago by Sergey Ulanov
Modified:
6 years, 11 months ago
Reviewers:
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

Add VideoProcessor interface. The new VideoProcessor interface abstracts video layer in chromoting client. RectangleUpdateDecoder is the default implementation. Another implementation will be added to suppord decoding using <video> and MediaSource API (or Pepper video decode API if we decide to use it instead in the future). BUG=321825 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=246547

Patch Set 1 #

Patch Set 2 : #

Total comments: 18

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 8

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+326 lines, -600 lines) Patch
M remoting/client/chromoting_client.h View 1 2 4 chunks +3 lines, -8 lines 0 comments Download
M remoting/client/chromoting_client.cc View 1 2 4 chunks +5 lines, -17 lines 0 comments Download
M remoting/client/frame_consumer.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M remoting/client/frame_consumer_proxy.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M remoting/client/frame_consumer_proxy.cc View 1 2 1 chunk +4 lines, -3 lines 0 comments Download
M remoting/client/frame_producer.h View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M remoting/client/jni/chromoting_jni_instance.h View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M remoting/client/jni/chromoting_jni_instance.cc View 1 2 3 4 5 6 4 chunks +11 lines, -4 lines 0 comments Download
M remoting/client/jni/jni_frame_consumer.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M remoting/client/jni/jni_frame_consumer.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M remoting/client/plugin/chromoting_instance.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M remoting/client/plugin/chromoting_instance.cc View 1 2 5 chunks +17 lines, -13 lines 0 comments Download
M remoting/client/plugin/pepper_view.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M remoting/client/plugin/pepper_view.cc View 1 2 3 chunks +3 lines, -6 lines 0 comments Download
M remoting/client/rectangle_update_decoder.h View 1 2 1 chunk +0 lines, -117 lines 0 comments Download
M remoting/client/rectangle_update_decoder.cc View 1 2 1 chunk +0 lines, -349 lines 0 comments Download
A remoting/client/software_video_renderer.h View 1 2 3 4 5 1 chunk +86 lines, -0 lines 0 comments Download
A + remoting/client/software_video_renderer.cc View 1 2 3 4 5 13 chunks +148 lines, -72 lines 0 comments Download
A remoting/client/video_renderer.h View 1 2 3 4 5 1 chunk +31 lines, -0 lines 0 comments Download
M remoting/remoting.gyp View 1 2 3 4 5 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Sergey Ulanov
6 years, 11 months ago (2014-01-14 01:26:15 UTC) #1
Wez
https://codereview.chromium.org/136763009/diff/30001/remoting/client/rectangle_update_decoder.cc File remoting/client/rectangle_update_decoder.cc (right): https://codereview.chromium.org/136763009/diff/30001/remoting/client/rectangle_update_decoder.cc#newcode140 remoting/client/rectangle_update_decoder.cc:140: ChromotingStats stats_; If you move ProcessVideoPacket and OnDecodeDone back ...
6 years, 11 months ago (2014-01-14 16:23:14 UTC) #2
Sergey Ulanov
Also minor fixes in FrameConsumer/FrameProducer to make them thread-safe https://codereview.chromium.org/136763009/diff/30001/remoting/client/rectangle_update_decoder.cc File remoting/client/rectangle_update_decoder.cc (right): https://codereview.chromium.org/136763009/diff/30001/remoting/client/rectangle_update_decoder.cc#newcode140 remoting/client/rectangle_update_decoder.cc:140: ...
6 years, 11 months ago (2014-01-15 00:58:17 UTC) #3
Wez
lgtm https://codereview.chromium.org/136763009/diff/180001/remoting/client/software_video_renderer.cc File remoting/client/software_video_renderer.cc (right): https://codereview.chromium.org/136763009/diff/180001/remoting/client/software_video_renderer.cc#newcode88 remoting/client/software_video_renderer.cc:88: void DrawBuffer(webrtc::DesktopFrame* buffer); nit: Do you really need ...
6 years, 11 months ago (2014-01-22 20:17:31 UTC) #4
Sergey Ulanov
https://codereview.chromium.org/136763009/diff/180001/remoting/client/software_video_renderer.cc File remoting/client/software_video_renderer.cc (right): https://codereview.chromium.org/136763009/diff/180001/remoting/client/software_video_renderer.cc#newcode88 remoting/client/software_video_renderer.cc:88: void DrawBuffer(webrtc::DesktopFrame* buffer); On 2014/01/22 20:17:31, Wez wrote: > ...
6 years, 11 months ago (2014-01-23 01:02:42 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/136763009/520001
6 years, 11 months ago (2014-01-23 01:04:02 UTC) #6
commit-bot: I haz the power
Retried try job too often on android_clang_dbg for step(s) slave_steps http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=android_clang_dbg&number=108777
6 years, 11 months ago (2014-01-23 02:14:19 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/136763009/800001
6 years, 11 months ago (2014-01-23 03:45:29 UTC) #8
commit-bot: I haz the power
6 years, 11 months ago (2014-01-23 09:32:47 UTC) #9
Message was sent while issue was closed.
Change committed as 246547

Powered by Google App Engine
This is Rietveld 408576698