summaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorsheu@chromium.org <sheu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-23 21:11:44 +0000
committersheu@chromium.org <sheu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-23 21:11:44 +0000
commita79372826c8cb9d2cd3362433e992610dccd2498 (patch)
tree1e131f390ab410a64f1c487b576f1157ba8875da /ui
parent3bd8aea5ebd49e8caf90b68e1e5d2ca45d24b682 (diff)
downloadchromium_src-a79372826c8cb9d2cd3362433e992610dccd2498.zip
chromium_src-a79372826c8cb9d2cd3362433e992610dccd2498.tar.gz
chromium_src-a79372826c8cb9d2cd3362433e992610dccd2498.tar.bz2
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 Review URL: https://codereview.chromium.org/83633008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236979 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui')
0 files changed, 0 insertions, 0 deletions