|
Plumb through cropped output size for VideoFrame
The video playback path needs to be able to handle cropped video frames,
e.g. for HW decoders that output to macroblock-rounded buffer sizes.
* Composite only the visible subrect from WebVideoFrame in
cc::VideoLayerImpl
* Remove some extraneous cropping logic from cc::VideoLayerImpl now that
we have exact cropping info.
* media::VideoFrame replaces "data_size_" member with "coded_size_", and
adds a "visible_rect_" gfx::Rect to indicate the sub-rect of the
entire frame that should be visible (after cropping)
* Associated changes to various decoder/capture pipelines to plumb this
through.
TEST=build, run on x86, ARM
BUG= 155416, 140509, chrome-os-partner:15230
Change-Id: I284bc893959db427bc9ae677aed8b07292d228ae
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=166988
Total comments: 25
Total comments: 10
Total comments: 4
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+572 lines, -282 lines) |
Patch |
 |
M |
cc/draw_quad_unittest.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+3 lines, -7 lines |
0 comments
|
Download
|
 |
M |
cc/gl_renderer.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -6 lines |
0 comments
|
Download
|
 |
M |
cc/layer_tree_host_impl_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
5 chunks |
+22 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/resource_provider.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
cc/shader.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/shader.cc
|
View
|
1
2
3
4
5
6
|
5 chunks |
+12 lines, -19 lines |
0 comments
|
Download
|
 |
M |
cc/video_layer_impl.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
cc/video_layer_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
9 chunks |
+60 lines, -52 lines |
0 comments
|
Download
|
 |
M |
cc/yuv_video_draw_quad.h
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+20 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/yuv_video_draw_quad.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+22 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/local_video_capture.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/rtc_video_decoder.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/rtc_video_decoder_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+12 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/rtc_video_renderer.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
media/base/video_decoder_config.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
media/base/video_frame.h
|
View
|
|
9 chunks |
+28 lines, -15 lines |
0 comments
|
Download
|
 |
M |
media/base/video_frame.cc
|
View
|
1
2
|
9 chunks |
+34 lines, -23 lines |
0 comments
|
Download
|
 |
M |
media/base/video_frame_unittest.cc
|
View
|
1
2
3
4
|
5 chunks |
+23 lines, -19 lines |
0 comments
|
Download
|
 |
M |
media/base/video_util_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
media/filters/ffmpeg_video_decoder.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/filters/ffmpeg_video_decoder_unittest.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
media/filters/gpu_video_decoder.h
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/filters/gpu_video_decoder.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
5 chunks |
+17 lines, -10 lines |
0 comments
|
Download
|
 |
M |
media/filters/skcanvas_video_renderer.cc
|
View
|
1
2
3
4
|
3 chunks |
+49 lines, -22 lines |
0 comments
|
Download
|
 |
M |
media/filters/skcanvas_video_renderer_unittest.cc
|
View
|
1
2
3
4
5
6
|
7 chunks |
+148 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/filters/video_frame_generator.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
media/filters/video_renderer_base_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
media/tools/player_wtl/view.h
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+13 lines, -12 lines |
0 comments
|
Download
|
 |
M |
media/tools/player_x11/gl_video_renderer.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
media/tools/player_x11/gl_video_renderer.cc
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+13 lines, -6 lines |
0 comments
|
Download
|
 |
M |
media/tools/player_x11/x11_video_renderer.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
media/tools/player_x11/x11_video_renderer.cc
|
View
|
1
2
3
4
5
6
7
8
|
6 chunks |
+25 lines, -22 lines |
0 comments
|
Download
|
 |
M |
media/tools/scaler_bench/scaler_bench.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/tools/shader_bench/cpu_color_painter.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+9 lines, -5 lines |
0 comments
|
Download
|
 |
M |
media/tools/shader_bench/gpu_color_painter.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/tools/shader_bench/shader_bench.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
webkit/media/android/webmediaplayer_android.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
webkit/media/simple_video_frame_provider.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/media/webvideoframe_impl.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
webkit/media/webvideoframe_impl.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+12 lines, -18 lines |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/content_decryptor_delegate.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 21 (0 generated)
|