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

Issue 10824141: Remove VideoDecoder::natural_size() & added VideoFrame::natural_size(). (Closed)

Created:
8 years, 4 months ago by acolwell GONE FROM CHROMIUM
Modified:
8 years, 4 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, pam+watch_chromium.org, feature-media-reviews_chromium.org
Visibility:
Public.

Description

Remove VideoDecoder::natural_size() & added VideoFrame::natural_size(). BUG=122913 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=149728

Patch Set 1 #

Total comments: 15

Patch Set 2 : Changed width & height to size #

Patch Set 3 : Minor cleanup #

Total comments: 14

Patch Set 4 : Address CR comments & fix content_unittests. #

Total comments: 2

Patch Set 5 : Fix android, player_x11, player_wtl #

Patch Set 6 : Fix test name #

Patch Set 7 : Fix copyright year. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+338 lines, -310 lines) Patch
M content/renderer/media/capture_video_decoder.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/media/capture_video_decoder.cc View 1 2 3 4 chunks +3 lines, -8 lines 0 comments Download
M content/renderer/media/capture_video_decoder_unittest.cc View 1 2 3 4 5 8 chunks +41 lines, -37 lines 0 comments Download
M content/renderer/media/rtc_video_decoder.h View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M content/renderer/media/rtc_video_decoder.cc View 1 2 chunks +2 lines, -7 lines 0 comments Download
M content/renderer/media/rtc_video_decoder_unittest.cc View 1 2 3 5 chunks +36 lines, -16 lines 0 comments Download
M media/base/video_decoder.h View 1 chunk +0 lines, -9 lines 0 comments Download
M media/base/video_decoder_config.cc View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M media/base/video_frame.h View 1 2 3 5 chunks +24 lines, -17 lines 0 comments Download
M media/base/video_frame.cc View 1 2 3 8 chunks +39 lines, -33 lines 0 comments Download
M media/base/video_frame_unittest.cc View 1 2 3 7 chunks +33 lines, -32 lines 0 comments Download
M media/base/video_util_unittest.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M media/filters/ffmpeg_video_decoder.h View 1 2 chunks +0 lines, -9 lines 0 comments Download
M media/filters/ffmpeg_video_decoder.cc View 1 3 chunks +12 lines, -9 lines 0 comments Download
M media/filters/ffmpeg_video_decoder_unittest.cc View 1 2 3 3 chunks +8 lines, -10 lines 0 comments Download
M media/filters/gpu_video_decoder.h View 1 4 chunks +12 lines, -10 lines 0 comments Download
M media/filters/gpu_video_decoder.cc View 1 5 chunks +30 lines, -23 lines 0 comments Download
M media/filters/video_frame_generator.h View 2 chunks +1 line, -2 lines 0 comments Download
M media/filters/video_frame_generator.cc View 1 3 chunks +2 lines, -9 lines 0 comments Download
M media/filters/video_renderer_base.h View 2 chunks +7 lines, -0 lines 0 comments Download
M media/filters/video_renderer_base.cc View 4 chunks +15 lines, -9 lines 0 comments Download
M media/filters/video_renderer_base_unittest.cc View 1 3 chunks +4 lines, -5 lines 0 comments Download
M media/media.gyp View 1 2 3 4 3 chunks +3 lines, -0 lines 0 comments Download
M media/tools/player_wtl/view.h View 1 2 3 4 3 chunks +13 lines, -13 lines 0 comments Download
M media/tools/player_x11/gl_video_renderer.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M media/tools/player_x11/x11_video_renderer.cc View 1 2 3 4 5 6 3 chunks +5 lines, -5 lines 0 comments Download
M media/tools/scaler_bench/scaler_bench.cc View 1 2 3 chunks +7 lines, -9 lines 0 comments Download
M media/tools/shader_bench/cpu_color_painter.cc View 1 2 3 1 chunk +6 lines, -6 lines 0 comments Download
M media/tools/shader_bench/gpu_color_painter.cc View 1 2 3 1 chunk +7 lines, -5 lines 0 comments Download
M media/tools/shader_bench/shader_bench.cc View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M webkit/media/android/webmediaplayer_android.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M webkit/media/skcanvas_video_renderer.cc View 1 2 3 3 chunks +10 lines, -10 lines 0 comments Download
M webkit/media/skcanvas_video_renderer_unittest.cc View 1 2 3 1 chunk +5 lines, -3 lines 0 comments Download
M webkit/media/webvideoframe_impl.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
acolwell GONE FROM CHROMIUM
http://codereview.chromium.org/10824141/diff/1/media/filters/ffmpeg_video_decoder.h File media/filters/ffmpeg_video_decoder.h (left): http://codereview.chromium.org/10824141/diff/1/media/filters/ffmpeg_video_decoder.h#oldcode112 media/filters/ffmpeg_video_decoder.h:112: int frame_rate_denominator_; Missed these on my last CL. http://codereview.chromium.org/10824141/diff/1/media/filters/video_renderer_base_unittest.cc ...
8 years, 4 months ago (2012-08-01 23:58:13 UTC) #1
Ami GONE FROM CHROMIUM
http://codereview.chromium.org/10824141/diff/1/media/base/video_frame.h File media/base/video_frame.h (right): http://codereview.chromium.org/10824141/diff/1/media/base/video_frame.h#newcode45 media/base/video_frame.h:45: size_t width, this width/height pair should be gfx::Size'ified. And ...
8 years, 4 months ago (2012-08-02 00:16:14 UTC) #2
acolwell GONE FROM CHROMIUM
PTAL.. I just want to make sure this is going in a direction you're happy ...
8 years, 4 months ago (2012-08-02 02:16:29 UTC) #3
acolwell GONE FROM CHROMIUM
Ok now PTAL.. for realz
8 years, 4 months ago (2012-08-02 16:46:22 UTC) #4
Ami GONE FROM CHROMIUM
LGTM % nits. http://codereview.chromium.org/10824141/diff/12003/media/base/video_frame.cc File media/base/video_frame.cc (right): http://codereview.chromium.org/10824141/diff/12003/media/base/video_frame.cc#newcode44 media/base/video_frame.cc:44: const gfx::Size& size) { shouldn't this ...
8 years, 4 months ago (2012-08-02 17:34:44 UTC) #5
acolwell GONE FROM CHROMIUM
address comments & fixed WebRTC content_unittests http://codereview.chromium.org/10824141/diff/12003/media/base/video_frame.cc File media/base/video_frame.cc (right): http://codereview.chromium.org/10824141/diff/12003/media/base/video_frame.cc#newcode44 media/base/video_frame.cc:44: const gfx::Size& size) ...
8 years, 4 months ago (2012-08-02 20:20:20 UTC) #6
Ami GONE FROM CHROMIUM
LGTM http://codereview.chromium.org/10824141/diff/5006/content/renderer/media/capture_video_decoder_unittest.cc File content/renderer/media/capture_video_decoder_unittest.cc (right): http://codereview.chromium.org/10824141/diff/5006/content/renderer/media/capture_video_decoder_unittest.cc#newcode179 content/renderer/media/capture_video_decoder_unittest.cc:179: TEST_F(CaptureVideoDecoderTest, ReadAndResetonde) { onde?
8 years, 4 months ago (2012-08-02 21:41:31 UTC) #7
acolwell GONE FROM CHROMIUM
8 years, 4 months ago (2012-08-02 22:38:18 UTC) #8
http://codereview.chromium.org/10824141/diff/5006/content/renderer/media/capt...
File content/renderer/media/capture_video_decoder_unittest.cc (right):

http://codereview.chromium.org/10824141/diff/5006/content/renderer/media/capt...
content/renderer/media/capture_video_decoder_unittest.cc:179:
TEST_F(CaptureVideoDecoderTest, ReadAndResetonde) {
On 2012/08/02 21:41:32, Ami Fischman wrote:
> onde?
Oops.. not sure what happened there. Removed.

Powered by Google App Engine
This is Rietveld 408576698