|
Reland: Reorganize media::VideoCapture* types
Relanding after revert in r236927. Original commit message below:
The purpose of this CL is to clean up the distinction between
VideoCaptureFormat (which identifies the captured type of a frame),
VideoCaptureParams (which identifies the requested format of a capture),
and VideoCaptureCapability (which identifies the capture capabilities of a
device).
Notably:
* VideoCaptureFormat::frame_size_type ->
VideoCaptureParams::allow_resolution_change, as variable resolution
capability is a per-session, not a per-frame property.
* VideoCaptureCapability::color -> VideoCaptureFormat::pixel_format, as frame
color format is a per-frame property.
* As VideoCaptureParams holds a VideoCaptureFormat member, capture requests
are able now to request a particular capture color format.
BUG= 269312
TEST=local build, run unittests, chrome on CrOS snow, desktop Linux
TBR=ncarter@chromium.org,jiayl@chromium.org,yzshen@chromium.org,wjia@chromium.org,jschuh@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=236979
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+744 lines, -811 lines) |
Patch |
|
M |
content/browser/renderer_host/media/desktop_capture_device.h
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/media/desktop_capture_device.cc
|
View
|
|
9 chunks |
+29 lines, -36 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/media/desktop_capture_device_unittest.cc
|
View
|
|
8 chunks |
+41 lines, -39 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/media/video_capture_controller.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/media/video_capture_controller.cc
|
View
|
|
12 chunks |
+32 lines, -34 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/media/video_capture_controller_unittest.cc
|
View
|
|
10 chunks |
+56 lines, -48 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/media/video_capture_host.h
|
View
|
|
1 chunk |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/media/video_capture_host.cc
|
View
|
|
1 chunk |
+20 lines, -13 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/media/video_capture_host_unittest.cc
|
View
|
|
4 chunks |
+12 lines, -14 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/media/video_capture_manager.h
|
View
|
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/media/video_capture_manager.cc
|
View
|
|
3 chunks |
+18 lines, -25 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/media/video_capture_manager_unittest.cc
|
View
|
|
1 chunk |
+9 lines, -4 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/media/web_contents_video_capture_device.h
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/media/web_contents_video_capture_device.cc
|
View
|
|
6 chunks |
+18 lines, -24 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/media/web_contents_video_capture_device_unittest.cc
|
View
|
|
10 chunks |
+50 lines, -65 lines |
0 comments
|
Download
|
|
M |
content/common/media/media_param_traits.cc
|
View
|
|
2 chunks |
+10 lines, -11 lines |
0 comments
|
Download
|
|
M |
content/common/media/video_capture_messages.h
|
View
|
|
2 chunks |
+7 lines, -4 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/rtc_video_capture_delegate.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/rtc_video_capturer.cc
|
View
|
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/video_capture_impl.cc
|
View
|
|
7 chunks |
+21 lines, -23 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/video_capture_impl_unittest.cc
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/video_capture_message_filter_unittest.cc
|
View
|
|
2 chunks |
+9 lines, -8 lines |
0 comments
|
Download
|
|
M |
content/renderer/pepper/pepper_video_capture_host.cc
|
View
|
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
media/video/capture/android/video_capture_device_android.h
|
View
|
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
|
M |
media/video/capture/android/video_capture_device_android.cc
|
View
|
|
4 chunks |
+24 lines, -30 lines |
0 comments
|
Download
|
|
M |
media/video/capture/fake_video_capture_device.h
|
View
|
|
2 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
|
M |
media/video/capture/fake_video_capture_device.cc
|
View
|
|
7 chunks |
+49 lines, -64 lines |
0 comments
|
Download
|
|
M |
media/video/capture/linux/video_capture_device_linux.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
media/video/capture/linux/video_capture_device_linux.cc
|
View
|
|
7 chunks |
+20 lines, -18 lines |
0 comments
|
Download
|
|
M |
media/video/capture/mac/video_capture_device_mac.h
|
View
|
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
media/video/capture/mac/video_capture_device_mac.mm
|
View
|
|
8 chunks |
+32 lines, -34 lines |
0 comments
|
Download
|
|
M |
media/video/capture/mac/video_capture_device_qtkit_mac.mm
|
View
|
|
2 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
|
M |
media/video/capture/video_capture_device.h
|
View
|
|
3 chunks |
+6 lines, -7 lines |
0 comments
|
Download
|
|
M |
media/video/capture/video_capture_device_unittest.cc
|
View
|
|
18 chunks |
+86 lines, -96 lines |
0 comments
|
Download
|
|
M |
media/video/capture/video_capture_proxy.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
media/video/capture/video_capture_types.h
|
View
|
|
3 chunks |
+22 lines, -22 lines |
0 comments
|
Download
|
|
M |
media/video/capture/video_capture_types.cc
|
View
|
|
1 chunk |
+16 lines, -32 lines |
0 comments
|
Download
|
|
M |
media/video/capture/win/capability_list_win.h
|
View
|
|
3 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
|
M |
media/video/capture/win/capability_list_win.cc
|
View
|
|
3 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
media/video/capture/win/sink_filter_win.h
|
View
|
|
1 chunk |
+3 lines, -4 lines |
0 comments
|
Download
|
|
M |
media/video/capture/win/sink_filter_win.cc
|
View
|
|
1 chunk |
+4 lines, -5 lines |
0 comments
|
Download
|
|
M |
media/video/capture/win/sink_input_pin_win.h
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
media/video/capture/win/sink_input_pin_win.cc
|
View
|
|
5 chunks |
+27 lines, -33 lines |
0 comments
|
Download
|
|
M |
media/video/capture/win/video_capture_device_mf_win.h
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
media/video/capture/win/video_capture_device_mf_win.cc
|
View
|
|
6 chunks |
+13 lines, -17 lines |
0 comments
|
Download
|
|
M |
media/video/capture/win/video_capture_device_win.h
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
media/video/capture/win/video_capture_device_win.cc
|
View
|
|
9 chunks |
+34 lines, -32 lines |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|