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

Issue 7193001: Move rtc_video_decoder* from media/filter/ to content/renderer/media/. (Closed)

Created:
9 years, 6 months ago by Ronghua
Modified:
9 years, 5 months ago
CC:
chromium-reviews, hclam+watch_chromium.org, sjl, ddorwin+watch_chromium.org, fischman+watch_chromium.org, Paweł Hajdan Jr., jam, joi+watch-content_chromium.org, acolwell GONE FROM CHROMIUM, annacc, darin-cc_chromium.org, ajwong+watch_chromium.org, vrk (LEFT CHROMIUM)
Visibility:
Public.

Description

The RTCVideoDecoder will eventially need to depend on third_party lib (webrtc, libjinle etc), which is not allowed in media. So move rtc_video_decoder* from media/filter/ to content/renderer/media/. patch by ronghuawu@google.com BUG=none TEST=unit_tests, media_unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=91721

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 12

Patch Set 4 : '' #

Total comments: 14

Patch Set 5 : '' #

Total comments: 1

Patch Set 6 : '' #

Total comments: 32

Patch Set 7 : '' #

Patch Set 8 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -624 lines) Patch
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M content/content_renderer.gypi View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
A content/renderer/media/external_renderer.h View 1 2 3 4 5 6 1 chunk +21 lines, -0 lines 0 comments Download
A + content/renderer/media/rtc_video_decoder.h View 1 2 3 4 5 6 3 chunks +18 lines, -36 lines 0 comments Download
A + content/renderer/media/rtc_video_decoder.cc View 1 2 3 4 5 6 3 chunks +11 lines, -12 lines 0 comments Download
A + content/renderer/media/rtc_video_decoder_unittest.cc View 1 2 3 4 5 6 5 chunks +12 lines, -8 lines 0 comments Download
M media/base/pipeline.h View 1 2 3 4 5 6 7 2 chunks +4 lines, -2 lines 0 comments Download
M media/base/pipeline_impl.cc View 1 2 3 4 5 6 7 2 chunks +6 lines, -2 lines 0 comments Download
M media/base/pipeline_impl_unittest.cc View 1 2 3 4 5 6 7 3 chunks +5 lines, -4 lines 0 comments Download
D media/filters/rtc_video_decoder.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -93 lines 0 comments Download
D media/filters/rtc_video_decoder.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -277 lines 0 comments Download
D media/filters/rtc_video_decoder_unittest.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -174 lines 0 comments Download
M media/media.gyp View 1 2 3 4 5 6 7 3 chunks +0 lines, -4 lines 0 comments Download
M webkit/glue/webmediaplayer_impl.cc View 1 2 3 4 5 6 7 2 chunks +0 lines, -12 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
Ronghua
Hey Wei, Can you help take a look first before I send out for review?
9 years, 6 months ago (2011-06-16 20:47:39 UTC) #1
wjia(left Chromium)
On 2011/06/16 20:47:39, ronghuawu wrote: > Hey Wei, > > Can you help take a ...
9 years, 6 months ago (2011-06-16 21:49:38 UTC) #2
Ronghua
* Removed pipeline_impl.cc's dependency to rtc_video_decoder.h. * Add "bool raw_video" to the Pipeline:Start interface. * ...
9 years, 6 months ago (2011-06-16 23:28:15 UTC) #3
scherkus (not reviewing)
http://codereview.chromium.org/7193001/diff/3004/content/renderer/media/rtc_video_decoder.cc File content/renderer/media/rtc_video_decoder.cc (right): http://codereview.chromium.org/7193001/diff/3004/content/renderer/media/rtc_video_decoder.cc#newcode18 content/renderer/media/rtc_video_decoder.cc:18: namespace media { ditto http://codereview.chromium.org/7193001/diff/3004/content/renderer/media/rtc_video_decoder.h File content/renderer/media/rtc_video_decoder.h (right): http://codereview.chromium.org/7193001/diff/3004/content/renderer/media/rtc_video_decoder.h#newcode29 ...
9 years, 6 months ago (2011-06-17 00:31:46 UTC) #4
Ronghua
Hi Andrew, We can create the filter inside of render_view.cc and pass to webmediaplayer_**impl.cc via ...
9 years, 6 months ago (2011-06-23 17:42:26 UTC) #5
scherkus (not reviewing)
+acolwell to review + help answer ronghuawu's question
9 years, 6 months ago (2011-06-24 00:23:20 UTC) #6
wjia(left Chromium)
Ronghua, This problem can be resolved without touching FilterCollection in RenderView. A couple of helper ...
9 years, 6 months ago (2011-06-24 01:33:38 UTC) #7
Ronghua
Thanks Wei! That's a great idea. I'm going to do the moving first and remove ...
9 years, 6 months ago (2011-06-24 15:27:54 UTC) #8
acolwell GONE FROM CHROMIUM
Looks pretty good. Just adding to Andrew's comment about raw_video http://codereview.chromium.org/7193001/diff/3004/media/base/pipeline_impl.cc File media/base/pipeline_impl.cc (right): http://codereview.chromium.org/7193001/diff/3004/media/base/pipeline_impl.cc#newcode622 ...
9 years, 6 months ago (2011-06-24 17:11:27 UTC) #9
Ronghua
* Removed the "namespace media". * Removed the creation of RTCVideoDecoder from webmediaplayer_impl.cc. Will add ...
9 years, 6 months ago (2011-06-24 21:08:51 UTC) #10
scherkus (not reviewing)
few style stuff thanks for making the change to inspect the URL! http://codereview.chromium.org/7193001/diff/17003/content/renderer/media/rtc_video_decoder.cc File content/renderer/media/rtc_video_decoder.cc ...
9 years, 6 months ago (2011-06-24 21:33:39 UTC) #11
acolwell GONE FROM CHROMIUM
http://codereview.chromium.org/7193001/diff/17003/media/base/pipeline.h File media/base/pipeline.h (right): http://codereview.chromium.org/7193001/diff/17003/media/base/pipeline.h#newcode24 media/base/pipeline.h:24: static const char kRawVideoScheme[] = "media"; On 2011/06/24 21:33:39, ...
9 years, 6 months ago (2011-06-24 22:53:43 UTC) #12
Ronghua
* Used "x-raw-media" as the scheme as it will be used on video and audio. ...
9 years, 6 months ago (2011-06-27 22:34:51 UTC) #13
scherkus (not reviewing)
http://codereview.chromium.org/7193001/diff/22003/content/renderer/media/rtc_video_decoder.h File content/renderer/media/rtc_video_decoder.h (right): http://codereview.chromium.org/7193001/diff/22003/content/renderer/media/rtc_video_decoder.h#newcode16 content/renderer/media/rtc_video_decoder.h:16: #include "third_party/libjingle/source/talk/session/phone/mediachannel.h" woah!? why are we now implementing cricket::VideoRenderer? ...
9 years, 6 months ago (2011-06-27 23:06:08 UTC) #14
Ronghua
Hi Andrew, The ExternalRenderer is an interface defined in a header file in "third_party/webrtc". We ...
9 years, 6 months ago (2011-06-28 01:41:22 UTC) #15
scherkus (not reviewing)
Let's revert the cricket header inclusion + interface for now and move the file as ...
9 years, 5 months ago (2011-06-28 20:26:14 UTC) #16
Ronghua
The ExternalRenderer is spited into a new file "webrtc_external_renderer.h" as suggested by Andrew.
9 years, 5 months ago (2011-06-28 22:58:46 UTC) #17
scherkus (not reviewing)
thanks for making the change few more simple nits and we'll be good to go ...
9 years, 5 months ago (2011-06-29 00:39:27 UTC) #18
scherkus (not reviewing)
http://codereview.chromium.org/7193001/diff/24008/media/media.gyp File media/media.gyp (right): http://codereview.chromium.org/7193001/diff/24008/media/media.gyp#newcode19 media/media.gyp:19: '../build/temp_gyp/googleurl.gyp:googleurl', just noticed... please remove this dependency since it ...
9 years, 5 months ago (2011-06-29 17:28:05 UTC) #19
Ronghua
Updated according to the comments. The only thing I didn't change is the definition of ...
9 years, 5 months ago (2011-06-29 20:36:39 UTC) #20
Ronghua
On 2011/06/29 20:36:39, ronghuawu wrote: > Updated according to the comments. > > The only ...
9 years, 5 months ago (2011-07-06 17:37:33 UTC) #21
acolwell GONE FROM CHROMIUM
LGTM
9 years, 5 months ago (2011-07-06 17:50:31 UTC) #22
Ronghua
Merged with the latest chromium. Will let Wei help try it.
9 years, 5 months ago (2011-07-06 20:32:46 UTC) #23
commit-bot: I haz the power
9 years, 5 months ago (2011-07-06 20:41:19 UTC) #24
Can't process patch for file content/renderer/media/rtc_video_decoder.cc.
A  +

Powered by Google App Engine
This is Rietveld 408576698