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

Issue 116623002: Cast: Adding support for GPU accelerated encode (Closed)

Created:
7 years ago by pwestin
Modified:
6 years, 11 months ago
Reviewers:
mikhal1
CC:
chromium-reviews, fischman+watch_chromium.org, feature-media-reviews_chromium.org, wjia+watch_chromium.org, mcasas+watch_chromium.org, miu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Cast: Adding support for GPU accelerated encode Removed the old VideoEncoderController interface and made video_encoder a pure virtual class that ExternalVideoEncoder and VideoEncoderImpl implements. This CL also remove the possibility to send in pre-encoded video frames. BUG=325998 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=243589

Patch Set 1 #

Patch Set 2 : Cleanup #

Total comments: 2

Patch Set 3 : Removed dependency on content #

Total comments: 30

Patch Set 4 : addressed comments #

Patch Set 5 : Merge TOT #

Patch Set 6 : Fixed style errors #

Patch Set 7 : Removed unused variable from test #

Patch Set 8 : Added include #

Patch Set 9 : Merge TOT #

Patch Set 10 : Fixed merge nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1020 lines, -706 lines) Patch
M media/cast/cast.gyp View 1 2 3 4 5 6 7 8 2 chunks +8 lines, -3 lines 0 comments Download
M media/cast/cast_config.h View 2 chunks +0 lines, -23 lines 0 comments Download
M media/cast/cast_environment.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M media/cast/cast_sender.h View 3 chunks +3 lines, -9 lines 0 comments Download
M media/cast/cast_sender_impl.h View 1 2 3 4 5 6 7 8 1 chunk +6 lines, -5 lines 0 comments Download
M media/cast/cast_sender_impl.cc View 2 chunks +5 lines, -17 lines 0 comments Download
media/cast/test/fake_gpu_video_accelerator_factories.h View 1 2 3 4 5 6 7 8 1 chunk +66 lines, -0 lines 0 comments Download
A media/cast/test/fake_gpu_video_accelerator_factories.cc View 1 2 3 4 5 6 7 8 1 chunk +68 lines, -0 lines 0 comments Download
A media/cast/test/fake_video_encode_accelerator.h View 1 chunk +52 lines, -0 lines 0 comments Download
A media/cast/test/fake_video_encode_accelerator.cc View 1 2 3 4 5 6 7 1 chunk +80 lines, -0 lines 0 comments Download
M media/cast/video_receiver/video_decoder.cc View 1 chunk +0 lines, -3 lines 0 comments Download
media/cast/video_receiver/video_decoder_unittest.cc View 1 2 3 4 5 6 2 chunks +0 lines, -13 lines 0 comments Download
M media/cast/video_sender/codecs/vp8/vp8_encoder.cc View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
A + media/cast/video_sender/external_video_encoder.h View 1 2 3 4 5 6 7 8 4 chunks +31 lines, -32 lines 0 comments Download
A media/cast/video_sender/external_video_encoder.cc View 1 2 3 4 5 6 7 8 9 1 chunk +439 lines, -0 lines 0 comments Download
A media/cast/video_sender/external_video_encoder_unittest.cc View 1 chunk +135 lines, -0 lines 0 comments Download
D media/cast/video_sender/mock_video_encoder_controller.h View 1 chunk +0 lines, -34 lines 0 comments Download
D media/cast/video_sender/mock_video_encoder_controller.cc View 1 chunk +0 lines, -17 lines 0 comments Download
M media/cast/video_sender/video_encoder.h View 1 2 3 4 5 6 7 8 9 1 chunk +22 lines, -46 lines 0 comments Download
D media/cast/video_sender/video_encoder.cc View 1 2 3 4 1 chunk +0 lines, -125 lines 0 comments Download
A + media/cast/video_sender/video_encoder_impl.h View 1 2 3 4 5 6 7 8 9 4 chunks +21 lines, -24 lines 0 comments Download
A + media/cast/video_sender/video_encoder_impl.cc View 1 2 3 4 7 chunks +19 lines, -15 lines 0 comments Download
A + media/cast/video_sender/video_encoder_impl_unittest.cc View 10 chunks +20 lines, -21 lines 0 comments Download
D media/cast/video_sender/video_encoder_unittest.cc View 1 chunk +0 lines, -247 lines 0 comments Download
M media/cast/video_sender/video_sender.h View 1 2 3 4 5 6 7 8 4 chunks +3 lines, -10 lines 0 comments Download
M media/cast/video_sender/video_sender.cc View 1 2 3 4 5 6 7 8 10 chunks +14 lines, -25 lines 0 comments Download
M media/cast/video_sender/video_sender.gypi View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -1 line 0 comments Download
M media/cast/video_sender/video_sender_unittest.cc View 1 2 3 4 5 6 7 8 5 chunks +21 lines, -32 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
pwestin
Please review
7 years ago (2013-12-16 19:49:12 UTC) #1
Ami GONE FROM CHROMIUM
drive-by https://codereview.chromium.org/116623002/diff/20001/media/cast/DEPS File media/cast/DEPS (right): https://codereview.chromium.org/116623002/diff/20001/media/cast/DEPS#newcode2 media/cast/DEPS:2: "+content/common/gpu/client", This is not ok; c/c/g/c depends on ...
7 years ago (2013-12-16 21:33:55 UTC) #2
pwestin
On 2013/12/16 21:33:55, Ami Fischman wrote: > drive-by > > https://codereview.chromium.org/116623002/diff/20001/media/cast/DEPS > File media/cast/DEPS (right): ...
7 years ago (2013-12-17 22:12:26 UTC) #3
pwestin
https://codereview.chromium.org/116623002/diff/20001/media/cast/DEPS File media/cast/DEPS (right): https://codereview.chromium.org/116623002/diff/20001/media/cast/DEPS#newcode2 media/cast/DEPS:2: "+content/common/gpu/client", On 2013/12/16 21:33:55, Ami Fischman wrote: > This ...
7 years ago (2013-12-17 22:13:31 UTC) #4
mikhal1
https://chromiumcodereview.appspot.com/116623002/diff/40001/media/cast/test/fake_gpu_video_accelerator_factories.h File media/cast/test/fake_gpu_video_accelerator_factories.h (right): https://chromiumcodereview.appspot.com/116623002/diff/40001/media/cast/test/fake_gpu_video_accelerator_factories.h#newcode67 media/cast/test/fake_gpu_video_accelerator_factories.h:67: #endif // MEDIA_CAST_TEST_FAKE_GPU_VIDEO_ACCELERATOR_FACTORIES_H_ missing new line https://chromiumcodereview.appspot.com/116623002/diff/40001/media/cast/test/fake_video_encode_accelerator.cc File media/cast/test/fake_video_encode_accelerator.cc ...
7 years ago (2013-12-17 22:39:46 UTC) #5
pwestin
PTAL https://codereview.chromium.org/116623002/diff/40001/media/cast/test/fake_gpu_video_accelerator_factories.h File media/cast/test/fake_gpu_video_accelerator_factories.h (right): https://codereview.chromium.org/116623002/diff/40001/media/cast/test/fake_gpu_video_accelerator_factories.h#newcode67 media/cast/test/fake_gpu_video_accelerator_factories.h:67: #endif // MEDIA_CAST_TEST_FAKE_GPU_VIDEO_ACCELERATOR_FACTORIES_H_ On 2013/12/17 22:39:47, mikhal1 wrote: ...
7 years ago (2013-12-19 16:03:46 UTC) #6
mikhal1
On 2013/12/19 16:03:46, pwestin wrote: > PTAL > > https://codereview.chromium.org/116623002/diff/40001/media/cast/test/fake_gpu_video_accelerator_factories.h > File media/cast/test/fake_gpu_video_accelerator_factories.h (right): > ...
7 years ago (2013-12-19 16:46:49 UTC) #7
mikhal1
https://codereview.chromium.org/116623002/diff/40001/media/cast/video_sender/external_video_encoder.cc File media/cast/video_sender/external_video_encoder.cc (right): https://codereview.chromium.org/116623002/diff/40001/media/cast/video_sender/external_video_encoder.cc#newcode75 media/cast/video_sender/external_video_encoder.cc:75: if (!video_encode_accelerator_) return; Add a todo On 2013/12/19 16:03:47, ...
7 years ago (2013-12-19 17:23:09 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pwestin@google.com/116623002/120001
7 years ago (2013-12-19 19:01:02 UTC) #9
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) base_unittests, browser_tests, interactive_ui_tests, net_unittests, unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=238522
7 years ago (2013-12-19 19:37:23 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pwestin@google.com/116623002/140001
7 years ago (2013-12-19 19:46:53 UTC) #11
commit-bot: I haz the power
Retried try job too often on win_x64_rel for step(s) base_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_x64_rel&number=63510
7 years ago (2013-12-19 21:42:45 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pwestin@google.com/116623002/590001
6 years, 11 months ago (2014-01-06 21:27:03 UTC) #13
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) nacl_integration http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=242097
6 years, 11 months ago (2014-01-07 10:08:57 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pwestin@google.com/116623002/590001
6 years, 11 months ago (2014-01-07 15:32:35 UTC) #15
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) nacl_integration http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=242586
6 years, 11 months ago (2014-01-07 21:15:23 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pwestin@google.com/116623002/590001
6 years, 11 months ago (2014-01-07 21:19:32 UTC) #17
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) nacl_integration http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=242856
6 years, 11 months ago (2014-01-08 02:04:39 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pwestin@google.com/116623002/590001
6 years, 11 months ago (2014-01-08 16:13:24 UTC) #19
commit-bot: I haz the power
6 years, 11 months ago (2014-01-08 17:26:41 UTC) #20
Message was sent while issue was closed.
Change committed as 243589

Powered by Google App Engine
This is Rietveld 408576698